diff --git a/tools/astexplorer_babel.js b/tools/astexplorer_babel.js index b9d7b7d..1688ba4 100644 --- a/tools/astexplorer_babel.js +++ b/tools/astexplorer_babel.js @@ -9,6 +9,1906 @@ (window.webpackJsonp=window.webpackJsonp||[]).push([[79],{VkAN:function(t,r){t.exports=function _taggedTemplateLiteral(t,r){return r||(r=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(r)}}))},t.exports.__esModule=!0,t.exports.default=t.exports},xmhC:function(t,r,a){"use strict";var i,o,l,h,c,p=a("TqRt"),u=p(a("RIqP")),d=p(a("iWIM")),m=p(a("7W2i")),y=p(a("a1gu")),v=p(a("Nsbk")),x=p(a("VkAN")),P=p(a("J4zp")),k=p(a("W8MJ")),g=p(a("lwsE"));function _createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function _unsupportedIterableToArray(t,r){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,r);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return _arrayLikeToArray(t,r)}(t))||r&&t&&"number"==typeof t.length){a&&(t=a);var i=0,o=function F(){};return{s:o,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,h=!0,c=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return h=t.done,t},e:function e(t){c=!0,l=t},f:function f(){try{h||null==a.return||a.return()}finally{if(c)throw l}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var a=0,i=new Array(r);a=0||(o[a]=t[a]);return o}Object.defineProperty(r,"__esModule",{value:!0});var T=(0,k.default)((function Position(t,r,a){(0,g.default)(this,Position),this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=r,this.index=a})),b=(0,k.default)((function SourceLocation(t,r){(0,g.default)(this,SourceLocation),this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=r}));function createPositionWithColumnOffset(t,r){var a=t.line,i=t.column,o=t.index;return new T(a,i+r,o+r)}var A=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),w=function reflect(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length-1;return{get:function get(){return t.reduce((function(t,r){return t[r]}),this)},set:function set(a){t.reduce((function(t,i,o){return o===r?t[i]=a:t[i]}),this)}}},E={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},S=function toNodeDescription(t){var r=t.type,a=t.prefix;return"UpdateExpression"===r?E.UpdateExpression[String(a)]:E[r]},C=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),I=["toMessage"];function toParseErrorConstructor(t){var r=t.toMessage,a=_objectWithoutPropertiesLoose(t,I);return function constructor(t){var i=t.loc,o=t.details;return function instantiate(t,r,a){return Object.keys(a).map((function(t){return[t,a[t]]})).filter((function(t){return!!(0,P.default)(t,2)[1]})).map((function(t){var r=(0,P.default)(t,2),a=r[0],i=r[1];return[a,"function"==typeof i?{value:i,enumerable:!1}:"string"==typeof i.reflect?Object.assign({},i,w(i.reflect.split("."))):i]})).reduce((function(t,r){var a=(0,P.default)(r,2),i=a[0],o=a[1];return Object.defineProperty(t,i,Object.assign({configurable:!0},o))}),Object.assign(new t,r))}(SyntaxError,Object.assign({},a,{loc:i}),{clone:function clone(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.loc||{};return constructor({loc:new T("line"in r?r.line:this.loc.line,"column"in r?r.column:this.loc.column,"index"in r?r.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:o,enumerable:!1},message:{get:function get(){return"".concat(r(this.details)," (").concat(this.loc.line,":").concat(this.loc.column,")")},set:function set(t){Object.defineProperty(this,"message",{value:t})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in o&&{reflect:"details.missingPlugin",enumerable:!0}})}}function toParseErrorCredentials(t,r){return Object.assign({toMessage:"string"==typeof t?function(){return t}:t},r)}function ParseErrorEnum(t,r){if(Array.isArray(t))return function(r){return ParseErrorEnum(r,t[0])};for(var a=t(toParseErrorCredentials),i={},o=0,l=Object.keys(a);o'."),MalformedRegExpFlags:t("Invalid regular expression flag."),MissingClassName:t("A class name is required."),MissingEqInAssignment:t("Only '=' operator can be used for specifying default value."),MissingSemicolon:t("Missing semicolon."),MissingPlugin:t((function(t){var r=t.missingPlugin;return"This experimental syntax requires enabling the parser plugin: ".concat(r.map((function(t){return JSON.stringify(t)})).join(", "),".")})),MissingOneOfPlugins:t((function(t){var r=t.missingPlugin;return"This experimental syntax requires enabling one of the following parser plugin(s): ".concat(r.map((function(t){return JSON.stringify(t)})).join(", "),".")})),MissingUnicodeEscape:t("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:t("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:t("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:t("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:t((function(t){var r=t.key;return'Duplicate key "'.concat(r,'" is not allowed in module attributes.')})),ModuleExportNameHasLoneSurrogate:t((function(t){var r=t.surrogateCharCode;return"An export name cannot include a lone surrogate, found '\\u".concat(r.toString(16),"'.")})),ModuleExportUndefined:t((function(t){var r=t.localName;return"Export '".concat(r,"' is not defined.")})),MultipleDefaultsInSwitch:t("Multiple default clauses."),NewlineAfterThrow:t("Illegal newline after throw."),NoCatchOrFinally:t("Missing catch or finally clause."),NumberIdentifier:t("Identifier directly after number."),NumericSeparatorInEscapeSequence:t("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:t("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:t("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:t("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:t("'override' modifier cannot appear on a constructor declaration."),ParamDupe:t("Argument name clash."),PatternHasAccessor:t("Object pattern can't contain getter or setter."),PatternHasMethod:t("Object pattern can't contain methods."),PrivateInExpectedIn:t((function(t){var r=t.identifierName;return"Private names are only allowed in property accesses (`obj.#".concat(r,"`) or in `in` expressions (`#").concat(r," in obj`).")})),PrivateNameRedeclaration:t((function(t){var r=t.identifierName;return"Duplicate private name #".concat(r,".")})),RecordExpressionBarIncorrectEndSyntaxType:t("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:t("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:t("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:t("'__proto__' is not allowed in Record expressions."),RestTrailingComma:t("Unexpected trailing comma after rest element."),SloppyFunction:t("In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement."),StaticPrototype:t("Classes may not have static property named prototype."),SuperNotAllowed:t("`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:t("Private fields can't be accessed on super."),TrailingDecorator:t("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:t("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:t("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:t("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:t("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:t('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:t("Unexpected digit after hash token."),UnexpectedImportExport:t("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:t((function(t){var r=t.keyword;return"Unexpected keyword '".concat(r,"'.")})),UnexpectedLeadingDecorator:t("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:t("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:t("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:t("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:t("Unexpected private name."),UnexpectedReservedWord:t((function(t){var r=t.reservedWord;return"Unexpected reserved word '".concat(r,"'.")})),UnexpectedSuper:t("'super' is only allowed in object methods and classes."),UnexpectedToken:t((function(t){var r=t.expected,a=t.unexpected;return"Unexpected token".concat(a?" '".concat(a,"'."):"").concat(r?', expected "'.concat(r,'"'):"")})),UnexpectedTokenUnaryExponentiation:t("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:t("Binding should be performed on object property."),UnsupportedDecoratorExport:t("A decorated export must export a class declaration."),UnsupportedDefaultExport:t("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:t("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:t((function(t){var r=t.target,a=t.onlyValidPropertyName;return"The only valid meta property for ".concat(r," is ").concat(r,".").concat(a,".")})),UnsupportedParameterDecorator:t("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:t("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:t("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:t("Unterminated comment."),UnterminatedRegExp:t("Unterminated regular expression."),UnterminatedString:t("Unterminated string constant."),UnterminatedTemplate:t("Unterminated template."),VarRedeclaration:t((function(t){var r=t.identifierName;return"Identifier '".concat(r,"' has already been declared.")})),YieldBindingIdentifier:t("Can not use 'yield' as identifier inside a generator."),YieldInParameter:t("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:t("Numeric separator can not be used after leading 0.")}})),ParseErrorEnum((function StrictModeErrors(t){return{StrictDelete:t("Deleting local variable in strict mode."),StrictEvalArguments:t((function(t){var r=t.referenceName;return"Assigning to '".concat(r,"' in strict mode.")})),StrictEvalArgumentsBinding:t((function(t){var r=t.bindingName;return"Binding '".concat(r,"' in strict mode.")})),StrictFunction:t("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:t("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:t("Legacy octal literals are not allowed in strict mode."),StrictWith:t("'with' in strict mode.")}})),ParseErrorEnum(i||(i=(0,x.default)(["pipelineOperator"])))((function PipelineOperatorErrors(t){return{PipeBodyIsTighter:t("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:t('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:t("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:t((function(t){var r=t.token;return"Invalid topic token ".concat(r,". In order to use ").concat(r,' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "').concat(r,'" }.')})),PipeTopicUnused:t("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:t((function(t){var r=t.type;return"Hack-style pipe body cannot be an unparenthesized ".concat(S({type:r}),"; please wrap it in parentheses.")})),PipelineBodyNoArrow:t('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:t("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:t("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:t("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:t("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:t('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')}}))),L=Object.defineProperty,M=function toUnenumerable(t,r){return L(t,r,{enumerable:!1,value:t[r]})};function toESTreeLocation(t){return M(t.loc.start,"index"),M(t.loc.end,"index"),t}var O=(0,k.default)((function TokContext(t,r){(0,g.default)(this,TokContext),this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!r})),D={brace:new O("{"),j_oTag:new O("...",!0)};D.template=new O("`",!0);var _=(0,k.default)((function ExportedTokenType(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,g.default)(this,ExportedTokenType),this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.rightAssociative=!!r.rightAssociative,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=null!=r.binop?r.binop:null,this.updateContext=null})),B=new Map;function createKeyword(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.keyword=t;var a=createToken(t,r);return B.set(t,a),a}function createBinop(t,r){return createToken(t,{beforeExpr:!0,binop:r})}var R=-1,j=[],U=[],H=[],K=[],V=[],z=[];function createToken(t){var r,a,i,o,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return++R,U.push(t),H.push(null!=(r=l.binop)?r:-1),K.push(null!=(a=l.beforeExpr)&&a),V.push(null!=(i=l.startsExpr)&&i),z.push(null!=(o=l.prefix)&&o),j.push(new _(t,l)),R}function createKeywordLike(t){var r,a,i,o,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return++R,B.set(t,R),U.push(t),H.push(null!=(r=l.binop)?r:-1),K.push(null!=(a=l.beforeExpr)&&a),V.push(null!=(i=l.startsExpr)&&i),z.push(null!=(o=l.prefix)&&o),j.push(new _("name",l)),R}var q={bracketL:createToken("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:createToken("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:createToken("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:createToken("]"),bracketBarR:createToken("|]"),braceL:createToken("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:createToken("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:createToken("#{",{beforeExpr:!0,startsExpr:!0}),braceR:createToken("}"),braceBarR:createToken("|}"),parenL:createToken("(",{beforeExpr:!0,startsExpr:!0}),parenR:createToken(")"),comma:createToken(",",{beforeExpr:!0}),semi:createToken(";",{beforeExpr:!0}),colon:createToken(":",{beforeExpr:!0}),doubleColon:createToken("::",{beforeExpr:!0}),dot:createToken("."),question:createToken("?",{beforeExpr:!0}),questionDot:createToken("?."),arrow:createToken("=>",{beforeExpr:!0}),template:createToken("template"),ellipsis:createToken("...",{beforeExpr:!0}),backQuote:createToken("`",{startsExpr:!0}),dollarBraceL:createToken("${",{beforeExpr:!0,startsExpr:!0}),templateTail:createToken("...`",{startsExpr:!0}),templateNonTail:createToken("...${",{beforeExpr:!0,startsExpr:!0}),at:createToken("@"),hash:createToken("#",{startsExpr:!0}),interpreterDirective:createToken("#!..."),eq:createToken("=",{beforeExpr:!0,isAssign:!0}),assign:createToken("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:createToken("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:createToken("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:createToken("_=",{beforeExpr:!0,isAssign:!0}),incDec:createToken("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:createToken("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:createToken("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:createToken("^^",{startsExpr:!0}),doubleAt:createToken("@@",{startsExpr:!0}),pipeline:createBinop("|>",0),nullishCoalescing:createBinop("??",1),logicalOR:createBinop("||",1),logicalAND:createBinop("&&",2),bitwiseOR:createBinop("|",3),bitwiseXOR:createBinop("^",4),bitwiseAND:createBinop("&",5),equality:createBinop("==/!=/===/!==",6),lt:createBinop("/<=/>=",7),gt:createBinop("/<=/>=",7),relational:createBinop("/<=/>=",7),bitShift:createBinop("<>/>>>",8),bitShiftL:createBinop("<>/>>>",8),bitShiftR:createBinop("<>/>>>",8),plusMin:createToken("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:createToken("%",{binop:10,startsExpr:!0}),star:createToken("*",{binop:10}),slash:createBinop("/",10),exponent:createToken("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:createKeyword("in",{beforeExpr:!0,binop:7}),_instanceof:createKeyword("instanceof",{beforeExpr:!0,binop:7}),_break:createKeyword("break"),_case:createKeyword("case",{beforeExpr:!0}),_catch:createKeyword("catch"),_continue:createKeyword("continue"),_debugger:createKeyword("debugger"),_default:createKeyword("default",{beforeExpr:!0}),_else:createKeyword("else",{beforeExpr:!0}),_finally:createKeyword("finally"),_function:createKeyword("function",{startsExpr:!0}),_if:createKeyword("if"),_return:createKeyword("return",{beforeExpr:!0}),_switch:createKeyword("switch"),_throw:createKeyword("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:createKeyword("try"),_var:createKeyword("var"),_const:createKeyword("const"),_with:createKeyword("with"),_new:createKeyword("new",{beforeExpr:!0,startsExpr:!0}),_this:createKeyword("this",{startsExpr:!0}),_super:createKeyword("super",{startsExpr:!0}),_class:createKeyword("class",{startsExpr:!0}),_extends:createKeyword("extends",{beforeExpr:!0}),_export:createKeyword("export"),_import:createKeyword("import",{startsExpr:!0}),_null:createKeyword("null",{startsExpr:!0}),_true:createKeyword("true",{startsExpr:!0}),_false:createKeyword("false",{startsExpr:!0}),_typeof:createKeyword("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:createKeyword("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:createKeyword("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:createKeyword("do",{isLoop:!0,beforeExpr:!0}),_for:createKeyword("for",{isLoop:!0}),_while:createKeyword("while",{isLoop:!0}),_as:createKeywordLike("as",{startsExpr:!0}),_assert:createKeywordLike("assert",{startsExpr:!0}),_async:createKeywordLike("async",{startsExpr:!0}),_await:createKeywordLike("await",{startsExpr:!0}),_from:createKeywordLike("from",{startsExpr:!0}),_get:createKeywordLike("get",{startsExpr:!0}),_let:createKeywordLike("let",{startsExpr:!0}),_meta:createKeywordLike("meta",{startsExpr:!0}),_of:createKeywordLike("of",{startsExpr:!0}),_sent:createKeywordLike("sent",{startsExpr:!0}),_set:createKeywordLike("set",{startsExpr:!0}),_static:createKeywordLike("static",{startsExpr:!0}),_yield:createKeywordLike("yield",{startsExpr:!0}),_asserts:createKeywordLike("asserts",{startsExpr:!0}),_checks:createKeywordLike("checks",{startsExpr:!0}),_exports:createKeywordLike("exports",{startsExpr:!0}),_global:createKeywordLike("global",{startsExpr:!0}),_implements:createKeywordLike("implements",{startsExpr:!0}),_intrinsic:createKeywordLike("intrinsic",{startsExpr:!0}),_infer:createKeywordLike("infer",{startsExpr:!0}),_is:createKeywordLike("is",{startsExpr:!0}),_mixins:createKeywordLike("mixins",{startsExpr:!0}),_proto:createKeywordLike("proto",{startsExpr:!0}),_require:createKeywordLike("require",{startsExpr:!0}),_keyof:createKeywordLike("keyof",{startsExpr:!0}),_readonly:createKeywordLike("readonly",{startsExpr:!0}),_unique:createKeywordLike("unique",{startsExpr:!0}),_abstract:createKeywordLike("abstract",{startsExpr:!0}),_declare:createKeywordLike("declare",{startsExpr:!0}),_enum:createKeywordLike("enum",{startsExpr:!0}),_module:createKeywordLike("module",{startsExpr:!0}),_namespace:createKeywordLike("namespace",{startsExpr:!0}),_interface:createKeywordLike("interface",{startsExpr:!0}),_type:createKeywordLike("type",{startsExpr:!0}),_opaque:createKeywordLike("opaque",{startsExpr:!0}),name:createToken("name",{startsExpr:!0}),string:createToken("string",{startsExpr:!0}),num:createToken("num",{startsExpr:!0}),bigint:createToken("bigint",{startsExpr:!0}),decimal:createToken("decimal",{startsExpr:!0}),regexp:createToken("regexp",{startsExpr:!0}),privateName:createToken("#name",{startsExpr:!0}),eof:createToken("eof"),jsxName:createToken("jsxName"),jsxText:createToken("jsxText",{beforeExpr:!0}),jsxTagStart:createToken("jsxTagStart",{startsExpr:!0}),jsxTagEnd:createToken("jsxTagEnd"),placeholder:createToken("%%",{startsExpr:!0})};function tokenIsIdentifier(t){return t>=93&&t<=128}function tokenIsKeywordOrIdentifier(t){return t>=58&&t<=128}function tokenIsLiteralPropertyName(t){return t>=58&&t<=132}function tokenCanStartExpression(t){return V[t]}function tokenIsFlowInterfaceOrTypeOrOpaque(t){return t>=125&&t<=127}function tokenIsKeyword(t){return t>=58&&t<=92}function tokenLabelName(t){return U[t]}function tokenOperatorPrecedence(t){return H[t]}function tokenIsTemplate(t){return t>=24&&t<=25}function getExportedToken(t){return j[t]}j[8].updateContext=function(t){t.pop()},j[5].updateContext=j[7].updateContext=j[23].updateContext=function(t){t.push(D.brace)},j[22].updateContext=function(t){t[t.length-1]===D.template?t.pop():t.push(D.template)},j[138].updateContext=function(t){t.push(D.j_expr,D.j_oTag)};var W="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",J="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",X=new RegExp("["+W+"]"),G=new RegExp("["+W+J+"]");W=J=null;var Y=[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,85,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,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,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,46,2,18,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,482,44,11,6,17,0,322,29,19,43,1269,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,4152,8,221,3,5761,15,7472,3104,541,1507,4938],Q=[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,154,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,161,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,19306,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,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(t,r){for(var a=65536,i=0,o=r.length;it)return!1;if((a+=r[i+1])>=t)return!0}return!1}function isIdentifierStart(t){return t<65?36===t:t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&X.test(String.fromCharCode(t)):isInAstralSet(t,Y)))}function isIdentifierChar(t){return t<48?36===t:t<58||!(t<65)&&(t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&G.test(String.fromCharCode(t)):isInAstralSet(t,Y)||isInAstralSet(t,Q))))}var $=["implements","interface","let","package","private","protected","public","static","yield"],Z=["eval","arguments"],ee=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"]),te=new Set($),se=new Set(Z);function isReservedWord(t,r){return r&&"await"===t||"enum"===t}function isStrictReservedWord(t,r){return isReservedWord(t,r)||te.has(t)}function isStrictBindOnlyReservedWord(t){return se.has(t)}function isStrictBindReservedWord(t,r){return isStrictReservedWord(t,r)||isStrictBindOnlyReservedWord(t)}var re=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 setTrailingComments(t,r){var a;void 0===t.trailingComments?t.trailingComments=r:(a=t.trailingComments).unshift.apply(a,(0,u.default)(r))}function setInnerComments(t,r){var a;void 0===t.innerComments?t.innerComments=r:(a=t.innerComments).unshift.apply(a,(0,u.default)(r))}function adjustInnerComments(t,r,a){for(var i=null,o=r.length;null===i&&o>0;)i=r[--o];null===i||i.start>a.start?setInnerComments(t,a.comments):setTrailingComments(i,a.comments)}var ae=function(t){(0,m.default)(CommentsParser,t);var r=_createSuper(CommentsParser);function CommentsParser(){return(0,g.default)(this,CommentsParser),r.apply(this,arguments)}return(0,k.default)(CommentsParser,[{key:"addComment",value:function addComment(t){this.filename&&(t.loc.filename=this.filename),this.state.comments.push(t)}},{key:"processComment",value:function processComment(t){var r=this.state.commentStack,a=r.length;if(0!==a){var i=a-1,o=r[i];o.start===t.end&&(o.leadingNode=t,i--);for(var l=t.start;i>=0;i--){var h=r[i],c=h.end;if(!(c>l)){c===l&&(h.trailingNode=t);break}h.containingNode=t,this.finalizeComment(h),r.splice(i,1)}}}},{key:"finalizeComment",value:function finalizeComment(t){var r=t.comments;if(null!==t.leadingNode||null!==t.trailingNode)null!==t.leadingNode&&setTrailingComments(t.leadingNode,r),null!==t.trailingNode&&function setLeadingComments(t,r){var a;void 0===t.leadingComments?t.leadingComments=r:(a=t.leadingComments).unshift.apply(a,(0,u.default)(r))}(t.trailingNode,r);else{var a=t.containingNode,i=t.start;if(44===this.input.charCodeAt(i-1))switch(a.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":adjustInnerComments(a,a.properties,t);break;case"CallExpression":case"OptionalCallExpression":adjustInnerComments(a,a.arguments,t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":adjustInnerComments(a,a.params,t);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":adjustInnerComments(a,a.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":adjustInnerComments(a,a.specifiers,t);break;default:setInnerComments(a,r)}else setInnerComments(a,r)}}},{key:"finalizeRemainingComments",value:function finalizeRemainingComments(){for(var t=this.state.commentStack,r=t.length-1;r>=0;r--)this.finalizeComment(t[r]);this.state.commentStack=[]}},{key:"resetPreviousNodeTrailingComments",value:function resetPreviousNodeTrailingComments(t){var r=this.state.commentStack,a=r.length;if(0!==a){var i=r[a-1];i.leadingNode===t&&(i.leadingNode=null)}}},{key:"takeSurroundingComments",value:function takeSurroundingComments(t,r,a){var i=this.state.commentStack,o=i.length;if(0!==o)for(var l=o-1;l>=0;l--){var h=i[l],c=h.end;if(h.start===a)h.leadingNode=t;else if(c===r)h.trailingNode=t;else if(c=48&&t<=57},fe=new Set([103,109,115,105,121,117,100,118]),me={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},ye={bin:function bin(t){return 48===t||49===t},oct:function oct(t){return t>=48&&t<=55},dec:function dec(t){return t>=48&&t<=57},hex:function hex(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}},ve=(0,k.default)((function Token(t){(0,g.default)(this,Token),this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,this.loc=new b(t.startLoc,t.endLoc)})),xe=function(t){(0,m.default)(Tokenizer,t);var r=_createSuper(Tokenizer);function Tokenizer(t,a){var i;return(0,g.default)(this,Tokenizer),(i=r.call(this)).isLookahead=void 0,i.tokens=[],i.state=new ce,i.state.init(t),i.input=a,i.length=a.length,i.isLookahead=!1,i}return(0,k.default)(Tokenizer,[{key:"pushToken",value:function pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}},{key:"next",value:function next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new ve(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}},{key:"eat",value:function eat(t){return!!this.match(t)&&(this.next(),!0)}},{key:"match",value:function match(t){return this.state.type===t}},{key:"createLookaheadState",value:function 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}}},{key:"lookahead",value:function lookahead(){var t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;var r=this.state;return this.state=t,r}},{key:"nextTokenStart",value:function nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}},{key:"nextTokenStartSince",value:function nextTokenStartSince(t){return oe.lastIndex=t,oe.test(this.input)?oe.lastIndex:t}},{key:"lookaheadCharCode",value:function lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}},{key:"codePointAtPos",value:function codePointAtPos(t){var r=this.input.charCodeAt(t);if(55296==(64512&r)&&++t=this.length?this.finishToken(135):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}},{key:"skipBlockComment",value:function skipBlockComment(){var t;this.isLookahead||(t=this.state.curPosition());var r=this.state.pos,a=this.input.indexOf("*/",r+2);if(-1===a)throw this.raise(N.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=a+2,ne.lastIndex=r+2;ne.test(this.input)&&ne.lastIndex<=a;)++this.state.curLine,this.state.lineStart=ne.lastIndex;if(!this.isLookahead){var i={type:"CommentBlock",value:this.input.slice(r+2,a),start:r,end:a+2,loc:new b(t,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}}},{key:"skipLineComment",value:function skipLineComment(t){var r,a=this.state.pos;this.isLookahead||(r=this.state.curPosition());var i=this.input.charCodeAt(this.state.pos+=t);if(this.state.post))break e;var p=this.skipLineComment(3);void 0!==p&&(this.addComment(p),this.options.attachComment&&r.push(p))}}}if(r.length>0){var u={start:t,end:this.state.pos,comments:r,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(u)}}},{key:"finishToken",value:function finishToken(t,r){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var a=this.state.type;this.state.type=t,this.state.value=r,this.isLookahead||this.updateContext(a)}},{key:"replaceToken",value:function replaceToken(t){this.state.type=t,this.updateContext()}},{key:"readToken_numberSign",value:function readToken_numberSign(){if(0!==this.state.pos||!this.readToken_interpreter()){var t=this.state.pos+1,r=this.codePointAtPos(t);if(r>=48&&r<=57)throw this.raise(N.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===r||91===r&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===r?N.RecordExpressionHashIncorrectStartSyntaxType:N.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===r?this.finishToken(7):this.finishToken(1)}else isIdentifierStart(r)?(++this.state.pos,this.finishToken(134,this.readWord1(r))):92===r?(++this.state.pos,this.finishToken(134,this.readWord1())):this.finishOp(27,1)}}},{key:"readToken_dot",value:function readToken_dot(){var t=this.input.charCodeAt(this.state.pos+1);t>=48&&t<=57?this.readNumber(!0):46===t&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}},{key:"readToken_slash",value:function readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}},{key:"readToken_interpreter",value:function readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;var t=this.input.charCodeAt(this.state.pos+1);if(33!==t)return!1;var r=this.state.pos;for(this.state.pos+=1;!isNewLine(t)&&++this.state.pos=48&&r<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}},{key:"getTokenFromCode",value:function getTokenFromCode(t){switch(t){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(N.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(N.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:var r=this.input.charCodeAt(this.state.pos+1);if(120===r||88===r)return void this.readRadixNumber(16);if(111===r||79===r)return void this.readRadixNumber(8);if(98===r||66===r)return void this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(t);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(t);case 124:case 38:return void this.readToken_pipe_amp(t);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(t);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(t);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(isIdentifierStart(t))return void this.readWord(t)}throw this.raise(N.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(t)})}},{key:"finishOp",value:function finishOp(t,r){var a=this.input.slice(this.state.pos,this.state.pos+r);this.state.pos+=r,this.finishToken(t,a)}},{key:"readRegexp",value:function readRegexp(){for(var t,r,a=this.state.startLoc,i=this.state.start+1,o=this.state.pos;;++o){if(o>=this.length)throw this.raise(N.UnterminatedRegExp,{at:createPositionWithColumnOffset(a,1)});var l=this.input.charCodeAt(o);if(isNewLine(l))throw this.raise(N.UnterminatedRegExp,{at:createPositionWithColumnOffset(a,1)});if(t)t=!1;else{if(91===l)r=!0;else if(93===l&&r)r=!1;else if(47===l&&!r)break;t=92===l}}var h=this.input.slice(i,o);++o;for(var c="",p=function nextPos(){return createPositionWithColumnOffset(a,o+2-i)};o3&&void 0!==arguments[3])||arguments[3],o=this.state.pos,l=16===t?me.hex:me.decBinOct,h=16===t?ye.hex:10===t?ye.dec:8===t?ye.oct:ye.bin,c=!1,p=0,u=0,d=null==r?1/0:r;u=97?m-97+10:m>=65?m-65+10:de(m)?m-48:1/0)>=t)if(this.options.errorRecovery&&y<=9)y=0,this.raise(N.InvalidDigit,{at:this.state.curPosition(),radix:t});else{if(!a)break;y=0,c=!0}++this.state.pos,p=p*t+y}else{var v=this.input.charCodeAt(this.state.pos-1),x=this.input.charCodeAt(this.state.pos+1);i?(Number.isNaN(x)||!h(x)||l.has(v)||l.has(x))&&this.raise(N.UnexpectedNumericSeparator,{at:this.state.curPosition()}):this.raise(N.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos}}return this.state.pos===o||null!=r&&this.state.pos-o!==r||c?null:p}},{key:"readRadixNumber",value:function readRadixNumber(t){var r=this.state.curPosition(),a=!1;this.state.pos+=2;var i=this.readInt(t);null==i&&this.raise(N.InvalidDigit,{at:createPositionWithColumnOffset(r,2),radix:t});var o=this.input.charCodeAt(this.state.pos);if(110===o)++this.state.pos,a=!0;else if(109===o)throw this.raise(N.InvalidDecimal,{at:r});if(isIdentifierStart(this.codePointAtPos(this.state.pos)))throw this.raise(N.NumberIdentifier,{at:this.state.curPosition()});if(a){var l=this.input.slice(r.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,l)}else this.finishToken(130,i)}},{key:"readNumber",value:function readNumber(t){var r=this.state.pos,a=this.state.curPosition(),i=!1,o=!1,l=!1,h=!1,c=!1;t||null!==this.readInt(10)||this.raise(N.InvalidNumber,{at:this.state.curPosition()});var p=this.state.pos-r>=2&&48===this.input.charCodeAt(r);if(p){var u=this.input.slice(r,this.state.pos);if(this.recordStrictModeErrors(N.StrictOctalLiteral,{at:a}),!this.state.strict){var d=u.indexOf("_");d>0&&this.raise(N.ZeroDigitNumericSeparator,{at:createPositionWithColumnOffset(a,d)})}c=p&&!/[89]/.test(u)}var m=this.input.charCodeAt(this.state.pos);if(46!==m||c||(++this.state.pos,this.readInt(10),i=!0,m=this.input.charCodeAt(this.state.pos)),69!==m&&101!==m||c||(43!==(m=this.input.charCodeAt(++this.state.pos))&&45!==m||++this.state.pos,null===this.readInt(10)&&this.raise(N.InvalidOrMissingExponent,{at:a}),i=!0,h=!0,m=this.input.charCodeAt(this.state.pos)),110===m&&((i||p)&&this.raise(N.InvalidBigIntLiteral,{at:a}),++this.state.pos,o=!0),109===m&&(this.expectPlugin("decimal",this.state.curPosition()),(h||p)&&this.raise(N.InvalidDecimal,{at:a}),++this.state.pos,l=!0),isIdentifierStart(this.codePointAtPos(this.state.pos)))throw this.raise(N.NumberIdentifier,{at:this.state.curPosition()});var y=this.input.slice(r,this.state.pos).replace(/[_mn]/g,"");if(o)this.finishToken(131,y);else if(l)this.finishToken(132,y);else{var v=c?parseInt(y,8):parseFloat(y);this.finishToken(130,v)}}},{key:"readCodePoint",value:function readCodePoint(t){var r;if(123===this.input.charCodeAt(this.state.pos)){if(++this.state.pos,r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,t),++this.state.pos,null!==r&&r>1114111){if(!t)return null;this.raise(N.InvalidCodePoint,{at:this.state.curPosition()})}}else r=this.readHexChar(4,!1,t);return r}},{key:"readString",value:function readString(t){for(var r="",a=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(N.UnterminatedString,{at:this.state.startLoc});var i=this.input.charCodeAt(this.state.pos);if(i===t)break;if(92===i)r+=this.input.slice(a,this.state.pos),r+=this.readEscapedChar(!1),a=this.state.pos;else if(8232===i||8233===i)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(isNewLine(i))throw this.raise(N.UnterminatedString,{at:this.state.startLoc});++this.state.pos}}r+=this.input.slice(a,this.state.pos++),this.finishToken(129,r)}},{key:"readTemplateContinuation",value:function readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}},{key:"readTemplateToken",value:function readTemplateToken(){var t="",r=this.state.pos,a=!1;for(++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(N.UnterminatedTemplate,{at:createPositionWithColumnOffset(this.state.startLoc,1)});var i=this.input.charCodeAt(this.state.pos);if(96===i)return++this.state.pos,t+=this.input.slice(r,this.state.pos),void this.finishToken(24,a?null:t);if(36===i&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos+=2,t+=this.input.slice(r,this.state.pos),void this.finishToken(25,a?null:t);if(92===i){t+=this.input.slice(r,this.state.pos);var o=this.readEscapedChar(!0);null===o?a=!0:t+=o,r=this.state.pos}else if(isNewLine(i)){switch(t+=this.input.slice(r,this.state.pos),++this.state.pos,i){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(i)}++this.state.curLine,this.state.lineStart=this.state.pos,r=this.state.pos}else++this.state.pos}}},{key:"recordStrictModeErrors",value:function recordStrictModeErrors(t,r){var a=r.at,i=a.index;this.state.strict&&!this.state.strictErrors.has(i)?this.raise(t,{at:a}):this.state.strictErrors.set(i,[t,a])}},{key:"readEscapedChar",value:function readEscapedChar(t){var r=!t,a=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,a){case 110:return"\n";case 114:return"\r";case 120:var i=this.readHexChar(2,!1,r);return null===i?null:String.fromCharCode(i);case 117:var o=this.readCodePoint(r);return null===o?null:String.fromCodePoint(o);case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(t)return null;this.recordStrictModeErrors(N.StrictNumericEscape,{at:createPositionWithColumnOffset(this.state.curPosition(),-1)});default:if(a>=48&&a<=55){var l=createPositionWithColumnOffset(this.state.curPosition(),-1),h=this.input.slice(this.state.pos-1,this.state.pos+2).match(/^[0-7]+/)[0],c=parseInt(h,8);c>255&&(h=h.slice(0,-1),c=parseInt(h,8)),this.state.pos+=h.length-1;var p=this.input.charCodeAt(this.state.pos);if("0"!==h||56===p||57===p){if(t)return null;this.recordStrictModeErrors(N.StrictNumericEscape,{at:l})}return String.fromCharCode(c)}return String.fromCharCode(a)}}},{key:"readHexChar",value:function readHexChar(t,r,a){var i=this.state.curPosition(),o=this.readInt(16,t,r,!1);return null===o&&(a?this.raise(N.InvalidEscapeSequence,{at:i}):this.state.pos=i.index-1),o}},{key:"readWord1",value:function readWord1(t){this.state.containsEsc=!1;var r="",a=this.state.pos,i=this.state.pos;for(void 0!==t&&(this.state.pos+=t<=65535?1:2);this.state.pos=0;c--){var p=h[c];if(p.loc.index===l)return h[c]=t({loc:o,details:i});if(p.loc.index0}},{key:"allowSuper",get:function get(){return(16&this.currentThisScopeFlags())>0}},{key:"allowDirectSuper",get:function get(){return(32&this.currentThisScopeFlags())>0}},{key:"inClass",get:function get(){return(64&this.currentThisScopeFlags())>0}},{key:"inClassAndNotInNonArrowFunction",get:function get(){var t=this.currentThisScopeFlags();return(64&t)>0&&0==(2&t)}},{key:"inStaticBlock",get:function get(){for(var t=this.scopeStack.length-1;;t--){var r=this.scopeStack[t].flags;if(128&r)return!0;if(323&r)return!1}}},{key:"inNonArrowFunction",get:function get(){return(2&this.currentThisScopeFlags())>0}},{key:"treatFunctionsAsVar",get:function get(){return this.treatFunctionsAsVarInScope(this.currentScope())}},{key:"createScope",value:function createScope(t){return new Pe(t)}},{key:"enter",value:function enter(t){this.scopeStack.push(this.createScope(t))}},{key:"exit",value:function exit(){this.scopeStack.pop()}},{key:"treatFunctionsAsVarInScope",value:function treatFunctionsAsVarInScope(t){return!!(130&t.flags||!this.parser.inModule&&1&t.flags)}},{key:"declareName",value:function declareName(t,r,a){var i=this.currentScope();if(8&r||16&r)this.checkRedeclarationInScope(i,t,r,a),16&r?i.functions.add(t):i.lexical.add(t),8&r&&this.maybeExportDefined(i,t);else if(4&r)for(var o=this.scopeStack.length-1;o>=0&&(i=this.scopeStack[o],this.checkRedeclarationInScope(i,t,r,a),i.var.add(t),this.maybeExportDefined(i,t),!(259&i.flags));--o);this.parser.inModule&&1&i.flags&&this.undefinedExports.delete(t)}},{key:"maybeExportDefined",value:function maybeExportDefined(t,r){this.parser.inModule&&1&t.flags&&this.undefinedExports.delete(r)}},{key:"checkRedeclarationInScope",value:function checkRedeclarationInScope(t,r,a,i){this.isRedeclaredInScope(t,r,a)&&this.parser.raise(N.VarRedeclaration,{at:i,identifierName:r})}},{key:"isRedeclaredInScope",value:function isRedeclaredInScope(t,r,a){return!!(1&a)&&(8&a?t.lexical.has(r)||t.functions.has(r)||t.var.has(r):16&a?t.lexical.has(r)||!this.treatFunctionsAsVarInScope(t)&&t.var.has(r):t.lexical.has(r)&&!(8&t.flags&&t.lexical.values().next().value===r)||!this.treatFunctionsAsVarInScope(t)&&t.functions.has(r))}},{key:"checkLocalExport",value:function checkLocalExport(t){var r=t.name,a=this.scopeStack[0];a.lexical.has(r)||a.var.has(r)||a.functions.has(r)||this.undefinedExports.set(r,t.loc.start)}},{key:"currentScope",value:function currentScope(){return this.scopeStack[this.scopeStack.length-1]}},{key:"currentVarScopeFlags",value:function currentVarScopeFlags(){for(var t=this.scopeStack.length-1;;t--){var r=this.scopeStack[t].flags;if(259&r)return r}}},{key:"currentThisScopeFlags",value:function currentThisScopeFlags(){for(var t=this.scopeStack.length-1;;t--){var r=this.scopeStack[t].flags;if(323&r&&!(4&r))return r}}}]),ScopeHandler}(),ge=function(t){(0,m.default)(FlowScope,t);var r=_createSuper(FlowScope);function FlowScope(){var t;(0,g.default)(this,FlowScope);for(var a=arguments.length,i=new Array(a),o=0;o0&&void 0!==arguments[0]?arguments[0]:0;(0,g.default)(this,ExpressionScope),this.type=void 0,this.type=t}return(0,k.default)(ExpressionScope,[{key:"canBeArrowParameterDeclaration",value:function canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}},{key:"isCertainlyParameterDeclaration",value:function isCertainlyParameterDeclaration(){return 3===this.type}}]),ExpressionScope}(),Ee=function(t){(0,m.default)(ArrowHeadParsingScope,t);var r=_createSuper(ArrowHeadParsingScope);function ArrowHeadParsingScope(t){var a;return(0,g.default)(this,ArrowHeadParsingScope),(a=r.call(this,t)).declarationErrors=new Map,a}return(0,k.default)(ArrowHeadParsingScope,[{key:"recordDeclarationError",value:function recordDeclarationError(t,r){var a=r.at,i=a.index;this.declarationErrors.set(i,[t,a])}},{key:"clearDeclarationError",value:function clearDeclarationError(t){this.declarationErrors.delete(t)}},{key:"iterateErrors",value:function iterateErrors(t){this.declarationErrors.forEach(t)}}]),ArrowHeadParsingScope}(we),Se=function(){function ExpressionScopeHandler(t){(0,g.default)(this,ExpressionScopeHandler),this.parser=void 0,this.stack=[new we],this.parser=t}return(0,k.default)(ExpressionScopeHandler,[{key:"enter",value:function enter(t){this.stack.push(t)}},{key:"exit",value:function exit(){this.stack.pop()}},{key:"recordParameterInitializerError",value:function recordParameterInitializerError(t,r){for(var a={at:r.at.loc.start},i=this.stack,o=i.length-1,l=i[o];!l.isCertainlyParameterDeclaration();){if(!l.canBeArrowParameterDeclaration())return;l.recordDeclarationError(t,a),l=i[--o]}this.parser.raise(t,a)}},{key:"recordArrowParemeterBindingError",value:function recordArrowParemeterBindingError(t,r){var a=r.at,i=this.stack,o=i[i.length-1],l={at:a.loc.start};if(o.isCertainlyParameterDeclaration())this.parser.raise(t,l);else{if(!o.canBeArrowParameterDeclaration())return;o.recordDeclarationError(t,l)}}},{key:"recordAsyncArrowParametersError",value:function recordAsyncArrowParametersError(t){for(var r=t.at,a=this.stack,i=a.length-1,o=a[i];o.canBeArrowParameterDeclaration();)2===o.type&&o.recordDeclarationError(N.AwaitBindingIdentifier,{at:r}),o=a[--i]}},{key:"validateAsPattern",value:function validateAsPattern(){var t=this,r=this.stack,a=r[r.length-1];a.canBeArrowParameterDeclaration()&&a.iterateErrors((function(a){var i=(0,P.default)(a,2),o=i[0],l=i[1];t.parser.raise(o,{at:l});for(var h=r.length-2,c=r[h];c.canBeArrowParameterDeclaration();)c.clearDeclarationError(l.index),c=r[--h]}))}}]),ExpressionScopeHandler}();function newExpressionScope(){return new we}var Ce=function(){function ProductionParameterHandler(){(0,g.default)(this,ProductionParameterHandler),this.stacks=[]}return(0,k.default)(ProductionParameterHandler,[{key:"enter",value:function enter(t){this.stacks.push(t)}},{key:"exit",value:function exit(){this.stacks.pop()}},{key:"currentFlags",value:function currentFlags(){return this.stacks[this.stacks.length-1]}},{key:"hasAwait",get:function get(){return(2&this.currentFlags())>0}},{key:"hasYield",get:function get(){return(1&this.currentFlags())>0}},{key:"hasReturn",get:function get(){return(4&this.currentFlags())>0}},{key:"hasIn",get:function get(){return(8&this.currentFlags())>0}}]),ProductionParameterHandler}();function functionFlags(t,r){return(t?2:0)|(r?1:0)}var Ie=function(t){(0,m.default)(UtilParser,t);var r=_createSuper(UtilParser);function UtilParser(){return(0,g.default)(this,UtilParser),r.apply(this,arguments)}return(0,k.default)(UtilParser,[{key:"addExtra",value:function addExtra(t,r,a){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t){var o=t.extra=t.extra||{};i?o[r]=a:Object.defineProperty(o,r,{enumerable:i,value:a})}}},{key:"isContextual",value:function isContextual(t){return this.state.type===t&&!this.state.containsEsc}},{key:"isUnparsedContextual",value:function isUnparsedContextual(t,r){var a=t+r.length;if(this.input.slice(t,a)===r){var i=this.input.charCodeAt(a);return!(isIdentifierChar(i)||55296==(64512&i))}return!1}},{key:"isLookaheadContextual",value:function isLookaheadContextual(t){var r=this.nextTokenStart();return this.isUnparsedContextual(r,t)}},{key:"eatContextual",value:function eatContextual(t){return!!this.isContextual(t)&&(this.next(),!0)}},{key:"expectContextual",value:function expectContextual(t,r){if(!this.eatContextual(t)){if(null!=r)throw this.raise(r,{at:this.state.startLoc});throw this.unexpected(null,t)}}},{key:"canInsertSemicolon",value:function canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}},{key:"hasPrecedingLineBreak",value:function hasPrecedingLineBreak(){return ie.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}},{key:"hasFollowingLineBreak",value:function hasFollowingLineBreak(){return he.lastIndex=this.state.end,he.test(this.input)}},{key:"isLineTerminator",value:function isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}},{key:"semicolon",value:function semicolon(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(t?this.isLineTerminator():this.eat(13))||this.raise(N.MissingSemicolon,{at:this.state.lastTokEndLoc})}},{key:"expect",value:function expect(t,r){this.eat(t)||this.unexpected(r,t)}},{key:"tryParse",value:function tryParse(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),a={node:null};try{var i=t((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw a.node=t,a}));if(this.state.errors.length>r.errors.length){var o=this.state;return this.state=r,this.state.tokensLength=o.tokensLength,{node:i,error:o.errors[r.errors.length],thrown:!1,aborted:!1,failState:o}}return{node:i,error:null,thrown:!1,aborted:!1,failState:null}}catch(t){var l=this.state;if(this.state=r,t instanceof SyntaxError)return{node:null,error:t,thrown:!0,aborted:!1,failState:l};if(t===a)return{node:a.node,error:null,thrown:!1,aborted:!0,failState:l};throw t}}},{key:"checkExpressionErrors",value:function checkExpressionErrors(t,r){if(!t)return!1;var a=t.shorthandAssignLoc,i=t.doubleProtoLoc,o=t.privateKeyLoc,l=t.optionalParametersLoc;if(!r)return!!(a||i||l||o);null!=a&&this.raise(N.InvalidCoverInitializedName,{at:a}),null!=i&&this.raise(N.DuplicateProto,{at:i}),null!=o&&this.raise(N.UnexpectedPrivateField,{at:o}),null!=l&&this.unexpected(l)}},{key:"isLiteralPropertyName",value:function isLiteralPropertyName(){return tokenIsLiteralPropertyName(this.state.type)}},{key:"isPrivateName",value:function isPrivateName(t){return"PrivateName"===t.type}},{key:"getPrivateNameSV",value:function getPrivateNameSV(t){return t.id.name}},{key:"hasPropertyAsPrivateName",value:function hasPropertyAsPrivateName(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&this.isPrivateName(t.property)}},{key:"isOptionalChain",value:function isOptionalChain(t){return"OptionalMemberExpression"===t.type||"OptionalCallExpression"===t.type}},{key:"isObjectProperty",value:function isObjectProperty(t){return"ObjectProperty"===t.type}},{key:"isObjectMethod",value:function isObjectMethod(t){return"ObjectMethod"===t.type}},{key:"initializeScopes",value:function initializeScopes(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"module"===this.options.sourceType,a=this.state.labels;this.state.labels=[];var i=this.exportedIdentifiers;this.exportedIdentifiers=new Set;var o=this.inModule;this.inModule=r;var l=this.scope,h=this.getScopeHandler();this.scope=new h(this,r);var c=this.prodParam;this.prodParam=new Ce;var p=this.classScope;this.classScope=new Ae(this);var u=this.expressionScope;return this.expressionScope=new Se(this),function(){t.state.labels=a,t.exportedIdentifiers=i,t.inModule=o,t.scope=l,t.prodParam=c,t.classScope=p,t.expressionScope=u}}},{key:"enterInitialScopes",value:function enterInitialScopes(){var t=0;this.inModule&&(t|=2),this.scope.enter(1),this.prodParam.enter(t)}},{key:"checkDestructuringPrivate",value:function checkDestructuringPrivate(t){var r=t.privateKeyLoc;null!==r&&this.expectPlugin("destructuringPrivate",r)}}]),UtilParser}(xe),Ne=(0,k.default)((function ExpressionErrors(){(0,g.default)(this,ExpressionErrors),this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null})),Le=(0,k.default)((function Node(t,r,a){(0,g.default)(this,Node),this.type="",this.start=r,this.end=0,this.loc=new b(a),null!=t&&t.options.ranges&&(this.range=[r,0]),null!=t&&t.filename&&(this.loc.filename=t.filename)})),Me=Le.prototype;function cloneIdentifier(t){var r=t.type,a=t.start,i=t.end,o=t.loc,l=t.range,h=t.extra,c=t.name,p=Object.create(Me);return p.type=r,p.start=a,p.end=i,p.loc=o,p.range=l,p.extra=h,p.name=c,"Placeholder"===r&&(p.expectedNode=t.expectedNode),p}function cloneStringLiteral(t){var r=t.type,a=t.start,i=t.end,o=t.loc,l=t.range,h=t.extra;if("Placeholder"===r)return function clonePlaceholder(t){return cloneIdentifier(t)}(t);var c=Object.create(Me);return c.type=r,c.start=a,c.end=i,c.loc=o,c.range=l,void 0!==t.raw?c.raw=t.raw:c.extra=h,c.value=t.value,c}Me.__clone=function(){for(var t=new Le,r=Object.keys(this),a=0,i=r.length;a1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;t.end=r.index,t.loc.end=r,this.options.ranges&&(t.range[1]=r.index)}},{key:"resetStartLocationFromNode",value:function resetStartLocationFromNode(t,r){this.resetStartLocation(t,r.start,r.loc.start)}}]),NodeUtils}(Ie),De=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Fe=ParseErrorEnum(o||(o=(0,x.default)(["flow"])))((function(t){return{AmbiguousConditionalArrow:t("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:t("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:t((function(t){var r=t.reservedType;return"Cannot overwrite reserved type ".concat(r,".")})),DeclareClassElement:t("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:t("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:t("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:t((function(t){var r=t.memberName,a=t.enumName;return"Boolean enum members need to be initialized. Use either `".concat(r," = true,` or `").concat(r," = false,` in enum `").concat(a,"`.")})),EnumDuplicateMemberName:t((function(t){var r=t.memberName,a=t.enumName;return"Enum member names need to be unique, but the name `".concat(r,"` has already been used before in enum `").concat(a,"`.")})),EnumInconsistentMemberValues:t((function(t){var r=t.enumName;return"Enum `".concat(r,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.")})),EnumInvalidExplicitType:t((function(t){var r=t.invalidEnumType,a=t.enumName;return"Enum type `".concat(r,"` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `").concat(a,"`.")})),EnumInvalidExplicitTypeUnknownSupplied:t((function(t){var r=t.enumName;return"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `".concat(r,"`.")})),EnumInvalidMemberInitializerPrimaryType:t((function(t){var r=t.enumName,a=t.memberName,i=t.explicitType;return"Enum `".concat(r,"` has type `").concat(i,"`, so the initializer of `").concat(a,"` needs to be a ").concat(i," literal.")})),EnumInvalidMemberInitializerSymbolType:t((function(t){var r=t.enumName,a=t.memberName;return"Symbol enum members cannot be initialized. Use `".concat(a,",` in enum `").concat(r,"`.")})),EnumInvalidMemberInitializerUnknownType:t((function(t){var r=t.enumName,a=t.memberName;return"The enum member initializer for `".concat(a,"` needs to be a literal (either a boolean, number, or string) in enum `").concat(r,"`.")})),EnumInvalidMemberName:t((function(t){var r=t.enumName,a=t.memberName,i=t.suggestion;return"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `".concat(a,"`, consider using `").concat(i,"`, in enum `").concat(r,"`.")})),EnumNumberMemberNotInitialized:t((function(t){var r=t.enumName,a=t.memberName;return"Number enum members need to be initialized, e.g. `".concat(a," = 1` in enum `").concat(r,"`.")})),EnumStringMemberInconsistentlyInitailized:t((function(t){var r=t.enumName;return"String enum members need to consistently either all use initializers, or use no initializers, in enum `".concat(r,"`.")})),GetterMayNotHaveThisParam:t("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:t("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:t("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:t("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:t("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:t("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:t("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:t("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:t("Cannot have a flow comment inside another flow comment."),PatternIsOptional:t("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:t("A setter cannot have a `this` parameter."),SpreadVariance:t("Spread properties cannot have variance."),ThisParamAnnotationRequired:t("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:t("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:t("The `this` parameter cannot be optional."),ThisParamMustBeFirst:t("The `this` parameter must be the first function parameter."),ThisParamNoDefault:t("The `this` parameter may not have a default value."),TypeBeforeInitializer:t("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:t("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:t("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:t((function(t){var r=t.reservedType;return"Unexpected reserved type ".concat(r,".")})),UnexpectedReservedUnderscore:t("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:t("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:t("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:t('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:t("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:t("Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`."),UnsupportedDeclareExportKind:t((function(t){var r=t.unsupportedExportKind,a=t.suggestion;return"`declare export ".concat(r,"` is not supported. Use `").concat(a,"` instead.")})),UnsupportedStatementInDeclareModule:t("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:t("Unterminated flow-comment.")}}));function hasTypeImportKind(t){return"type"===t.importKind||"typeof"===t.importKind}function isMaybeDefaultImport(t){return tokenIsKeywordOrIdentifier(t)&&97!==t}var _e={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};var Be=/\*?\s*@((?:no)?flow)\b/,Re={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},je=ParseErrorEnum(l||(l=(0,x.default)(["jsx"])))((function(t){return{AttributeIsEmpty:t("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:t((function(t){var r=t.openingTagName;return"Expected corresponding JSX closing tag for <".concat(r,">.")})),MissingClosingTagFragment:t("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:t("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:t((function(t){var r=t.unexpected,a=t.HTMLEntity;return"Unexpected token `".concat(r,"`. Did you mean `").concat(a,"` or `{'").concat(r,"'}`?")})),UnsupportedJsxValue:t("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:t("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:t("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?")}}));function isFragment(t){return!!t&&("JSXOpeningFragment"===t.type||"JSXClosingFragment"===t.type)}function getQualifiedJSXName(t){if("JSXIdentifier"===t.type)return t.name;if("JSXNamespacedName"===t.type)return t.namespace.name+":"+t.name.name;if("JSXMemberExpression"===t.type)return getQualifiedJSXName(t.object)+"."+getQualifiedJSXName(t.property);throw new Error("Node had unexpected type: "+t.type)}var Ue=function(t){(0,m.default)(TypeScriptScope,t);var r=_createSuper(TypeScriptScope);function TypeScriptScope(){var t;(0,g.default)(this,TypeScriptScope);for(var a=arguments.length,i=new Array(a),o=0;o() => ...`."),ReservedTypeAssertion:t("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:t("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:t("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:t("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:t((function(t){var r=t.typeParameterName;return"Single type parameter ".concat(r," should have a trailing comma. Example usage: <").concat(r,",>.")})),StaticBlockCannotHaveModifier:t("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:t("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:t("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:t("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:t("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:t("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:t("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:t("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:t("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:t("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:t("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:t((function(t){var r=t.type;return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ".concat(r,".")}))}}));function tsIsAccessModifier(t){return"private"===t||"public"===t||"protected"===t}function tsIsVarianceAnnotations(t){return"in"===t||"out"===t}function isPossiblyLiteralEnum(t){if("MemberExpression"!==t.type)return!1;var r=t.computed,a=t.property;return(!r||"StringLiteral"===a.type||!("TemplateLiteral"!==a.type||a.expressions.length>0))&&function isUncomputedMemberExpressionChain(t){return"Identifier"===t.type||"MemberExpression"===t.type&&(!t.computed&&isUncomputedMemberExpressionChain(t.object))}(t.object)}var Ve=ParseErrorEnum(c||(c=(0,x.default)(["placeholders"])))((function(t){return{ClassNameIsRequired:t("A class name is required."),UnexpectedSpace:t("Unexpected space in placeholder.")}}));function hasPlugin(t,r){var a="string"==typeof r?[r,{}]:r,i=(0,P.default)(a,2),o=i[0],l=i[1],h=Object.keys(l),c=0===h.length;return t.some((function(t){if("string"==typeof t)return c&&t===o;var r=(0,P.default)(t,2),a=r[0],i=r[1];if(a!==o)return!1;var p,u=_createForOfIteratorHelper(h);try{for(u.s();!(p=u.n()).done;){var d=p.value;if(i[d]!==l[d])return!1}}catch(t){u.e(t)}finally{u.f()}return!0}))}function getPluginOption(t,r,a){var i=t.find((function(t){return Array.isArray(t)?t[0]===r:t===r}));return i&&Array.isArray(i)?i[1][a]:null}var ze=["minimal","fsharp","hack","smart"],qe=["^^","@@","^","%","#"],We=["hash","bar"];var Je={estree:function estree(t){return function(t){(0,m.default)(_class,t);var r=_createSuper(_class);function _class(){return(0,g.default)(this,_class),r.apply(this,arguments)}return(0,k.default)(_class,[{key:"parse",value:function parse(){var t=toESTreeLocation((0,d.default)((0,v.default)(_class.prototype),"parse",this).call(this));return this.options.tokens&&(t.tokens=t.tokens.map(toESTreeLocation)),t}},{key:"parseRegExpLiteral",value:function parseRegExpLiteral(t){var r=t.pattern,a=t.flags,i=null;try{i=new RegExp(r,a)}catch(t){}var o=this.estreeParseLiteral(i);return o.regex={pattern:r,flags:a},o}},{key:"parseBigIntLiteral",value:function parseBigIntLiteral(t){var r;try{r=BigInt(t)}catch(t){r=null}var a=this.estreeParseLiteral(r);return a.bigint=String(a.value||t),a}},{key:"parseDecimalLiteral",value:function parseDecimalLiteral(t){var r=this.estreeParseLiteral(null);return r.decimal=String(r.value||t),r}},{key:"estreeParseLiteral",value:function estreeParseLiteral(t){return this.parseLiteral(t,"Literal")}},{key:"parseStringLiteral",value:function parseStringLiteral(t){return this.estreeParseLiteral(t)}},{key:"parseNumericLiteral",value:function parseNumericLiteral(t){return this.estreeParseLiteral(t)}},{key:"parseNullLiteral",value:function parseNullLiteral(){return this.estreeParseLiteral(null)}},{key:"parseBooleanLiteral",value:function parseBooleanLiteral(t){return this.estreeParseLiteral(t)}},{key:"directiveToStmt",value:function directiveToStmt(t){var r=t.value,a=this.startNodeAt(t.start,t.loc.start),i=this.startNodeAt(r.start,r.loc.start);return i.value=r.extra.expressionValue,i.raw=r.extra.raw,a.expression=this.finishNodeAt(i,"Literal",r.loc.end),a.directive=r.extra.raw.slice(1,-1),this.finishNodeAt(a,"ExpressionStatement",t.loc.end)}},{key:"initFunction",value:function initFunction(t,r){(0,d.default)((0,v.default)(_class.prototype),"initFunction",this).call(this,t,r),t.expression=!1}},{key:"checkDeclaration",value:function checkDeclaration(t){null!=t&&this.isObjectProperty(t)?this.checkDeclaration(t.value):(0,d.default)((0,v.default)(_class.prototype),"checkDeclaration",this).call(this,t)}},{key:"getObjectOrClassMethodParams",value:function getObjectOrClassMethodParams(t){return t.value.params}},{key:"isValidDirective",value:function isValidDirective(t){var r;return"ExpressionStatement"===t.type&&"Literal"===t.expression.type&&"string"==typeof t.expression.value&&!(null!=(r=t.expression.extra)&&r.parenthesized)}},{key:"parseBlockBody",value:function parseBlockBody(t){for(var r,a=this,i=arguments.length,o=new Array(i>1?i-1:0),l=1;l2&&void 0!==arguments[2]&&arguments[2];(0,d.default)((0,v.default)(_class.prototype),"parseFunctionBody",this).call(this,t,r,a),t.expression="BlockStatement"!==t.body.type}},{key:"parseMethod",value:function parseMethod(t,r,a,i,o,l){var h=arguments.length>6&&void 0!==arguments[6]&&arguments[6],c=this.startNode();return c.kind=t.kind,(c=(0,d.default)((0,v.default)(_class.prototype),"parseMethod",this).call(this,c,r,a,i,o,l,h)).type="FunctionExpression",delete c.kind,t.value=c,"ClassPrivateMethod"===l&&(t.computed=!1),l="MethodDefinition",this.finishNode(t,l)}},{key:"parseClassProperty",value:function parseClassProperty(){for(var t,r=arguments.length,a=new Array(r),i=0;i1?a-1:0),o=1;o1&&void 0!==arguments[1]&&arguments[1];if(null!=t&&this.isObjectProperty(t)){var a=t.key,i=t.value;this.isPrivateName(a)&&this.classScope.usePrivateName(this.getPrivateNameSV(a),a.loc.start),this.toAssignable(i,r)}else(0,d.default)((0,v.default)(_class.prototype),"toAssignable",this).call(this,t,r)}},{key:"toAssignableObjectExpressionProp",value:function toAssignableObjectExpressionProp(t){"get"===t.kind||"set"===t.kind?this.raise(N.PatternHasAccessor,{at:t.key}):t.method?this.raise(N.PatternHasMethod,{at:t.key}):(0,d.default)((0,v.default)(_class.prototype),"toAssignableObjectExpressionProp",this).apply(this,arguments)}},{key:"finishCallExpression",value:function finishCallExpression(t,r){if((0,d.default)((0,v.default)(_class.prototype),"finishCallExpression",this).call(this,t,r),"Import"===t.callee.type){var a;if(t.type="ImportExpression",t.source=t.arguments[0],this.hasPlugin("importAssertions"))t.attributes=null!=(a=t.arguments[1])?a:null;delete t.arguments,delete t.callee}return t}},{key:"toReferencedArguments",value:function toReferencedArguments(t){"ImportExpression"!==t.type&&(0,d.default)((0,v.default)(_class.prototype),"toReferencedArguments",this).call(this,t)}},{key:"parseExport",value:function parseExport(t){switch((0,d.default)((0,v.default)(_class.prototype),"parseExport",this).call(this,t),t.type){case"ExportAllDeclaration":t.exported=null;break;case"ExportNamedDeclaration":1===t.specifiers.length&&"ExportNamespaceSpecifier"===t.specifiers[0].type&&(t.type="ExportAllDeclaration",t.exported=t.specifiers[0].exported,delete t.specifiers)}return t}},{key:"parseSubscript",value:function parseSubscript(t,r,a,i,o){var l=(0,d.default)((0,v.default)(_class.prototype),"parseSubscript",this).call(this,t,r,a,i,o);if(o.optionalChainMember){if("OptionalMemberExpression"!==l.type&&"OptionalCallExpression"!==l.type||(l.type=l.type.substring(8)),o.stop){var h=this.startNodeAtNode(l);return h.expression=l,this.finishNode(h,"ChainExpression")}}else"MemberExpression"!==l.type&&"CallExpression"!==l.type||(l.optional=!1);return l}},{key:"hasPropertyAsPrivateName",value:function hasPropertyAsPrivateName(t){return"ChainExpression"===t.type&&(t=t.expression),(0,d.default)((0,v.default)(_class.prototype),"hasPropertyAsPrivateName",this).call(this,t)}},{key:"isOptionalChain",value:function isOptionalChain(t){return"ChainExpression"===t.type}},{key:"isObjectProperty",value:function isObjectProperty(t){return"Property"===t.type&&"init"===t.kind&&!t.method}},{key:"isObjectMethod",value:function isObjectMethod(t){return t.method||"get"===t.kind||"set"===t.kind}},{key:"finishNodeAt",value:function finishNodeAt(t,r,a){return toESTreeLocation((0,d.default)((0,v.default)(_class.prototype),"finishNodeAt",this).call(this,t,r,a))}},{key:"resetEndLocation",value:function resetEndLocation(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;(0,d.default)((0,v.default)(_class.prototype),"resetEndLocation",this).call(this,t,r),toESTreeLocation(t)}}]),_class}(t)},jsx:function jsx(t){return function(t){(0,m.default)(_class3,t);var r=_createSuper(_class3);function _class3(){return(0,g.default)(this,_class3),r.apply(this,arguments)}return(0,k.default)(_class3,[{key:"jsxReadToken",value:function jsxReadToken(){for(var t="",r=this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(je.UnterminatedJsxContent,{at:this.state.startLoc});var a=this.input.charCodeAt(this.state.pos);switch(a){case 60:case 123:return this.state.pos===this.state.start?60===a&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(138)):(0,d.default)((0,v.default)(_class3.prototype),"getTokenFromCode",this).call(this,a):(t+=this.input.slice(r,this.state.pos),this.finishToken(137,t));case 38:t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos;break;case 62:case 125:default:isNewLine(a)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!0),r=this.state.pos):++this.state.pos}}}},{key:"jsxReadNewLine",value:function jsxReadNewLine(t){var r,a=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===a&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,r=t?"\n":"\r\n"):r=String.fromCharCode(a),++this.state.curLine,this.state.lineStart=this.state.pos,r}},{key:"jsxReadString",value:function jsxReadString(t){for(var r="",a=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(N.UnterminatedString,{at:this.state.startLoc});var i=this.input.charCodeAt(this.state.pos);if(i===t)break;38===i?(r+=this.input.slice(a,this.state.pos),r+=this.jsxReadEntity(),a=this.state.pos):isNewLine(i)?(r+=this.input.slice(a,this.state.pos),r+=this.jsxReadNewLine(!1),a=this.state.pos):++this.state.pos}return r+=this.input.slice(a,this.state.pos++),this.finishToken(129,r)}},{key:"jsxReadEntity",value:function jsxReadEntity(){var t=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;var r=10;120===this.codePointAtPos(this.state.pos)&&(r=16,++this.state.pos);var a=this.readInt(r,void 0,!1,"bail");if(null!==a&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(a)}else{for(var i=0,o=!1;i++<10&&this.state.posr.index+1&&this.raise(Fe.UnexpectedSpaceBetweenModuloChecks,{at:r}),this.eat(10)?(t.value=this.parseExpression(),this.expect(11),this.finishNode(t,"DeclaredPredicate")):this.finishNode(t,"InferredPredicate")}},{key:"flowParseTypeAndPredicateInitialiser",value:function flowParseTypeAndPredicateInitialiser(){var t=this.state.inType;this.state.inType=!0,this.expect(14);var r=null,a=null;return this.match(54)?(this.state.inType=t,a=this.flowParsePredicate()):(r=this.flowParseType(),this.state.inType=t,this.match(54)&&(a=this.flowParsePredicate())),[r,a]}},{key:"flowParseDeclareClass",value:function flowParseDeclareClass(t){return this.next(),this.flowParseInterfaceish(t,!0),this.finishNode(t,"DeclareClass")}},{key:"flowParseDeclareFunction",value:function flowParseDeclareFunction(t){this.next();var r=t.id=this.parseIdentifier(),a=this.startNode(),i=this.startNode();this.match(47)?a.typeParameters=this.flowParseTypeParameterDeclaration():a.typeParameters=null,this.expect(10);var o=this.flowParseFunctionTypeParams();a.params=o.params,a.rest=o.rest,a.this=o._this,this.expect(11);var l=this.flowParseTypeAndPredicateInitialiser(),h=(0,P.default)(l,2);return a.returnType=h[0],t.predicate=h[1],i.typeAnnotation=this.finishNode(a,"FunctionTypeAnnotation"),r.typeAnnotation=this.finishNode(i,"TypeAnnotation"),this.resetEndLocation(r),this.semicolon(),this.scope.declareName(t.id.name,2048,t.id.loc.start),this.finishNode(t,"DeclareFunction")}},{key:"flowParseDeclare",value:function flowParseDeclare(t,r){if(this.match(80))return this.flowParseDeclareClass(t);if(this.match(68))return this.flowParseDeclareFunction(t);if(this.match(74))return this.flowParseDeclareVariable(t);if(this.eatContextual(123))return this.match(16)?this.flowParseDeclareModuleExports(t):(r&&this.raise(Fe.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(t));if(this.isContextual(126))return this.flowParseDeclareTypeAlias(t);if(this.isContextual(127))return this.flowParseDeclareOpaqueType(t);if(this.isContextual(125))return this.flowParseDeclareInterface(t);if(this.match(82))return this.flowParseDeclareExportDeclaration(t,r);throw this.unexpected()}},{key:"flowParseDeclareVariable",value:function flowParseDeclareVariable(t){return this.next(),t.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(t.id.name,5,t.id.loc.start),this.semicolon(),this.finishNode(t,"DeclareVariable")}},{key:"flowParseDeclareModule",value:function flowParseDeclareModule(t){var r=this;this.scope.enter(0),this.match(129)?t.id=this.parseExprAtom():t.id=this.parseIdentifier();var a=t.body=this.startNode(),i=a.body=[];for(this.expect(5);!this.match(8);){var o=this.startNode();this.match(83)?(this.next(),this.isContextual(126)||this.match(87)||this.raise(Fe.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(o)):(this.expectContextual(121,Fe.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),i.push(o)}this.scope.exit(),this.expect(8),this.finishNode(a,"BlockStatement");var l=null,h=!1;return i.forEach((function(t){!function isEsModuleType(t){return"DeclareExportAllDeclaration"===t.type||"DeclareExportDeclaration"===t.type&&(!t.declaration||"TypeAlias"!==t.declaration.type&&"InterfaceDeclaration"!==t.declaration.type)}(t)?"DeclareModuleExports"===t.type&&(h&&r.raise(Fe.DuplicateDeclareModuleExports,{at:t}),"ES"===l&&r.raise(Fe.AmbiguousDeclareModuleKind,{at:t}),l="CommonJS",h=!0):("CommonJS"===l&&r.raise(Fe.AmbiguousDeclareModuleKind,{at:t}),l="ES")})),t.kind=l||"CommonJS",this.finishNode(t,"DeclareModule")}},{key:"flowParseDeclareExportDeclaration",value:function flowParseDeclareExportDeclaration(t,r){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?t.declaration=this.flowParseDeclare(this.startNode()):(t.declaration=this.flowParseType(),this.semicolon()),t.default=!0,this.finishNode(t,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(126)||this.isContextual(125))&&!r){var a=this.state.value;throw this.raise(Fe.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:a,suggestion:_e[a]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127))return t.declaration=this.flowParseDeclare(this.startNode()),t.default=!1,this.finishNode(t,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127))return"ExportNamedDeclaration"===(t=this.parseExport(t)).type&&(t.type="ExportDeclaration",t.default=!1,delete t.exportKind),t.type="Declare"+t.type,t;throw this.unexpected()}},{key:"flowParseDeclareModuleExports",value:function flowParseDeclareModuleExports(t){return this.next(),this.expectContextual(108),t.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(t,"DeclareModuleExports")}},{key:"flowParseDeclareTypeAlias",value:function flowParseDeclareTypeAlias(t){return this.next(),this.flowParseTypeAlias(t),t.type="DeclareTypeAlias",t}},{key:"flowParseDeclareOpaqueType",value:function flowParseDeclareOpaqueType(t){return this.next(),this.flowParseOpaqueType(t,!0),t.type="DeclareOpaqueType",t}},{key:"flowParseDeclareInterface",value:function flowParseDeclareInterface(t){return this.next(),this.flowParseInterfaceish(t),this.finishNode(t,"DeclareInterface")}},{key:"flowParseInterfaceish",value:function flowParseInterfaceish(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t.id=this.flowParseRestrictedIdentifier(!r,!0),this.scope.declareName(t.id.name,r?17:9,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.extends=[],t.implements=[],t.mixins=[],this.eat(81))do{t.extends.push(this.flowParseInterfaceExtends())}while(!r&&this.eat(12));if(this.isContextual(114)){this.next();do{t.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(110)){this.next();do{t.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}t.body=this.flowParseObjectType({allowStatic:r,allowExact:!1,allowSpread:!1,allowProto:r,allowInexact:!1})}},{key:"flowParseInterfaceExtends",value:function flowParseInterfaceExtends(){var t=this.startNode();return t.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?t.typeParameters=this.flowParseTypeParameterInstantiation():t.typeParameters=null,this.finishNode(t,"InterfaceExtends")}},{key:"flowParseInterface",value:function flowParseInterface(t){return this.flowParseInterfaceish(t),this.finishNode(t,"InterfaceDeclaration")}},{key:"checkNotUnderscore",value:function checkNotUnderscore(t){"_"===t&&this.raise(Fe.UnexpectedReservedUnderscore,{at:this.state.startLoc})}},{key:"checkReservedType",value:function checkReservedType(t,r,a){De.has(t)&&this.raise(a?Fe.AssignReservedType:Fe.UnexpectedReservedType,{at:r,reservedType:t})}},{key:"flowParseRestrictedIdentifier",value:function flowParseRestrictedIdentifier(t,r){return this.checkReservedType(this.state.value,this.state.startLoc,r),this.parseIdentifier(t)}},{key:"flowParseTypeAlias",value:function flowParseTypeAlias(t){return t.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(t.id.name,9,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(t,"TypeAlias")}},{key:"flowParseOpaqueType",value:function flowParseOpaqueType(t,r){return this.expectContextual(126),t.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(t.id.name,9,t.id.loc.start),this.match(47)?t.typeParameters=this.flowParseTypeParameterDeclaration():t.typeParameters=null,t.supertype=null,this.match(14)&&(t.supertype=this.flowParseTypeInitialiser(14)),t.impltype=null,r||(t.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(t,"OpaqueType")}},{key:"flowParseTypeParameter",value:function flowParseTypeParameter(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.state.startLoc,a=this.startNode(),i=this.flowParseVariance(),o=this.flowParseTypeAnnotatableIdentifier();return a.name=o.name,a.variance=i,a.bound=o.typeAnnotation,this.match(29)?(this.eat(29),a.default=this.flowParseType()):t&&this.raise(Fe.MissingTypeParamDefault,{at:r}),this.finishNode(a,"TypeParameter")}},{key:"flowParseTypeParameterDeclaration",value:function flowParseTypeParameterDeclaration(){var t=this.state.inType,r=this.startNode();r.params=[],this.state.inType=!0,this.match(47)||this.match(138)?this.next():this.unexpected();var a=!1;do{var i=this.flowParseTypeParameter(a);r.params.push(i),i.default&&(a=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=t,this.finishNode(r,"TypeParameterDeclaration")}},{key:"flowParseTypeParameterInstantiation",value:function flowParseTypeParameterInstantiation(){var t=this.startNode(),r=this.state.inType;t.params=[],this.state.inType=!0,this.expect(47);var a=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)t.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=a,this.expect(48),this.state.inType=r,this.finishNode(t,"TypeParameterInstantiation")}},{key:"flowParseTypeParameterInstantiationCallOrNew",value:function flowParseTypeParameterInstantiationCallOrNew(){var t=this.startNode(),r=this.state.inType;for(t.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)t.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=r,this.finishNode(t,"TypeParameterInstantiation")}},{key:"flowParseInterfaceType",value:function flowParseInterfaceType(){var t=this.startNode();if(this.expectContextual(125),t.extends=[],this.eat(81))do{t.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return t.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(t,"InterfaceTypeAnnotation")}},{key:"flowParseObjectPropertyKey",value:function flowParseObjectPropertyKey(){return this.match(130)||this.match(129)?this.parseExprAtom():this.parseIdentifier(!0)}},{key:"flowParseObjectTypeIndexer",value:function flowParseObjectTypeIndexer(t,r,a){return t.static=r,14===this.lookahead().type?(t.id=this.flowParseObjectPropertyKey(),t.key=this.flowParseTypeInitialiser()):(t.id=null,t.key=this.flowParseType()),this.expect(3),t.value=this.flowParseTypeInitialiser(),t.variance=a,this.finishNode(t,"ObjectTypeIndexer")}},{key:"flowParseObjectTypeInternalSlot",value:function flowParseObjectTypeInternalSlot(t,r){return t.static=r,t.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(t.method=!0,t.optional=!1,t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.start,t.loc.start))):(t.method=!1,this.eat(17)&&(t.optional=!0),t.value=this.flowParseTypeInitialiser()),this.finishNode(t,"ObjectTypeInternalSlot")}},{key:"flowParseObjectTypeMethodish",value:function flowParseObjectTypeMethodish(t){for(t.params=[],t.rest=null,t.typeParameters=null,t.this=null,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(t.this=this.flowParseFunctionTypeParam(!0),t.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)t.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),t.returnType=this.flowParseTypeInitialiser(),this.finishNode(t,"FunctionTypeAnnotation")}},{key:"flowParseObjectTypeCallProperty",value:function flowParseObjectTypeCallProperty(t,r){var a=this.startNode();return t.static=r,t.value=this.flowParseObjectTypeMethodish(a),this.finishNode(t,"ObjectTypeCallProperty")}},{key:"flowParseObjectType",value:function flowParseObjectType(t){var r=t.allowStatic,a=t.allowExact,i=t.allowSpread,o=t.allowProto,l=t.allowInexact,h=this.state.inType;this.state.inType=!0;var c,p,u=this.startNode();u.callProperties=[],u.properties=[],u.indexers=[],u.internalSlots=[];var d=!1;for(a&&this.match(6)?(this.expect(6),c=9,p=!0):(this.expect(5),c=8,p=!1),u.exact=p;!this.match(c);){var m=!1,y=null,v=null,x=this.startNode();if(o&&this.isContextual(115)){var P=this.lookahead();14!==P.type&&17!==P.type&&(this.next(),y=this.state.startLoc,r=!1)}if(r&&this.isContextual(104)){var k=this.lookahead();14!==k.type&&17!==k.type&&(this.next(),m=!0)}var g=this.flowParseVariance();if(this.eat(0))null!=y&&this.unexpected(y),this.eat(0)?(g&&this.unexpected(g.loc.start),u.internalSlots.push(this.flowParseObjectTypeInternalSlot(x,m))):u.indexers.push(this.flowParseObjectTypeIndexer(x,m,g));else if(this.match(10)||this.match(47))null!=y&&this.unexpected(y),g&&this.unexpected(g.loc.start),u.callProperties.push(this.flowParseObjectTypeCallProperty(x,m));else{var T="init";if(this.isContextual(98)||this.isContextual(103))tokenIsLiteralPropertyName(this.lookahead().type)&&(T=this.state.value,this.next());var b=this.flowParseObjectTypeProperty(x,m,y,g,T,i,null!=l?l:!p);null===b?(d=!0,v=this.state.lastTokStartLoc):u.properties.push(b)}this.flowObjectTypeSemicolon(),!v||this.match(8)||this.match(9)||this.raise(Fe.UnexpectedExplicitInexactInObject,{at:v})}this.expect(c),i&&(u.inexact=d);var A=this.finishNode(u,"ObjectTypeAnnotation");return this.state.inType=h,A}},{key:"flowParseObjectTypeProperty",value:function flowParseObjectTypeProperty(t,r,a,i,o,l,h){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(l?h||this.raise(Fe.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Fe.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),i&&this.raise(Fe.InexactVariance,{at:i}),null):(l||this.raise(Fe.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=a&&this.unexpected(a),i&&this.raise(Fe.SpreadVariance,{at:i}),t.argument=this.flowParseType(),this.finishNode(t,"ObjectTypeSpreadProperty"));t.key=this.flowParseObjectPropertyKey(),t.static=r,t.proto=null!=a,t.kind=o;var c=!1;return this.match(47)||this.match(10)?(t.method=!0,null!=a&&this.unexpected(a),i&&this.unexpected(i.loc.start),t.value=this.flowParseObjectTypeMethodish(this.startNodeAt(t.start,t.loc.start)),"get"!==o&&"set"!==o||this.flowCheckGetterSetterParams(t),!l&&"constructor"===t.key.name&&t.value.this&&this.raise(Fe.ThisParamBannedInConstructor,{at:t.value.this})):("init"!==o&&this.unexpected(),t.method=!1,this.eat(17)&&(c=!0),t.value=this.flowParseTypeInitialiser(),t.variance=i),t.optional=c,this.finishNode(t,"ObjectTypeProperty")}},{key:"flowCheckGetterSetterParams",value:function flowCheckGetterSetterParams(t){var r="get"===t.kind?0:1,a=t.value.params.length+(t.value.rest?1:0);t.value.this&&this.raise("get"===t.kind?Fe.GetterMayNotHaveThisParam:Fe.SetterMayNotHaveThisParam,{at:t.value.this}),a!==r&&this.raise("get"===t.kind?N.BadGetterArity:N.BadSetterArity,{at:t}),"set"===t.kind&&t.value.rest&&this.raise(N.BadSetterRestParameter,{at:t})}},{key:"flowObjectTypeSemicolon",value:function flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}},{key:"flowParseQualifiedTypeIdentifier",value:function flowParseQualifiedTypeIdentifier(t,r,a){t=t||this.state.start,r=r||this.state.startLoc;for(var i=a||this.flowParseRestrictedIdentifier(!0);this.eat(16);){var o=this.startNodeAt(t,r);o.qualification=i,o.id=this.flowParseRestrictedIdentifier(!0),i=this.finishNode(o,"QualifiedTypeIdentifier")}return i}},{key:"flowParseGenericType",value:function flowParseGenericType(t,r,a){var i=this.startNodeAt(t,r);return i.typeParameters=null,i.id=this.flowParseQualifiedTypeIdentifier(t,r,a),this.match(47)&&(i.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(i,"GenericTypeAnnotation")}},{key:"flowParseTypeofType",value:function flowParseTypeofType(){var t=this.startNode();return this.expect(87),t.argument=this.flowParsePrimaryType(),this.finishNode(t,"TypeofTypeAnnotation")}},{key:"flowParseTupleType",value:function flowParseTupleType(){var t=this.startNode();for(t.types=[],this.expect(0);this.state.pos0&&void 0!==arguments[0]?arguments[0]:[],r=null,a=null;for(this.match(78)&&((a=this.flowParseFunctionTypeParam(!0)).name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)t.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(r=this.flowParseFunctionTypeParam(!1)),{params:t,rest:r,_this:a}}},{key:"flowIdentToTypeAnnotation",value:function flowIdentToTypeAnnotation(t,r,a,i){switch(i.name){case"any":return this.finishNode(a,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(a,"BooleanTypeAnnotation");case"mixed":return this.finishNode(a,"MixedTypeAnnotation");case"empty":return this.finishNode(a,"EmptyTypeAnnotation");case"number":return this.finishNode(a,"NumberTypeAnnotation");case"string":return this.finishNode(a,"StringTypeAnnotation");case"symbol":return this.finishNode(a,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(i.name),this.flowParseGenericType(t,r,i)}}},{key:"flowParsePrimaryType",value:function flowParsePrimaryType(){var t,r,a=this.state.start,i=this.state.startLoc,o=this.startNode(),l=!1,h=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,r=this.flowParseTupleType(),this.state.noAnonFunctionType=h,r;case 47:return o.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),t=this.flowParseFunctionTypeParams(),o.params=t.params,o.rest=t.rest,o.this=t._this,this.expect(11),this.expect(19),o.returnType=this.flowParseType(),this.finishNode(o,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(tokenIsIdentifier(this.state.type)||this.match(78)){var c=this.lookahead().type;l=17!==c&&14!==c}else l=!0;if(l){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=h,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),r;this.eat(12)}return t=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),o.params=t.params,o.rest=t.rest,o.this=t._this,this.expect(11),this.expect(19),o.returnType=this.flowParseType(),o.typeParameters=null,this.finishNode(o,"FunctionTypeAnnotation");case 129:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return o.value=this.match(85),this.next(),this.finishNode(o,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(130))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",o);if(this.match(131))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",o);throw this.raise(Fe.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 130:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(o,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(o,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(o,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(o,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(tokenIsKeyword(this.state.type)){var p=tokenLabelName(this.state.type);return this.next(),(0,d.default)((0,v.default)(_class2.prototype),"createIdentifier",this).call(this,o,p)}if(tokenIsIdentifier(this.state.type))return this.isContextual(125)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(a,i,o,this.parseIdentifier())}throw this.unexpected()}},{key:"flowParsePostfixType",value:function flowParsePostfixType(){for(var t=this.state.start,r=this.state.startLoc,a=this.flowParsePrimaryType(),i=!1;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){var o=this.startNodeAt(t,r),l=this.eat(18);i=i||l,this.expect(0),!l&&this.match(3)?(o.elementType=a,this.next(),a=this.finishNode(o,"ArrayTypeAnnotation")):(o.objectType=a,o.indexType=this.flowParseType(),this.expect(3),i?(o.optional=l,a=this.finishNode(o,"OptionalIndexedAccessType")):a=this.finishNode(o,"IndexedAccessType"))}return a}},{key:"flowParsePrefixType",value:function flowParsePrefixType(){var t=this.startNode();return this.eat(17)?(t.typeAnnotation=this.flowParsePrefixType(),this.finishNode(t,"NullableTypeAnnotation")):this.flowParsePostfixType()}},{key:"flowParseAnonFunctionWithoutParens",value:function flowParseAnonFunctionWithoutParens(){var t=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){var r=this.startNodeAt(t.start,t.loc.start);return r.params=[this.reinterpretTypeAsFunctionTypeParam(t)],r.rest=null,r.this=null,r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation")}return t}},{key:"flowParseIntersectionType",value:function flowParseIntersectionType(){var t=this.startNode();this.eat(45);var r=this.flowParseAnonFunctionWithoutParens();for(t.types=[r];this.eat(45);)t.types.push(this.flowParseAnonFunctionWithoutParens());return 1===t.types.length?r:this.finishNode(t,"IntersectionTypeAnnotation")}},{key:"flowParseUnionType",value:function flowParseUnionType(){var t=this.startNode();this.eat(43);var r=this.flowParseIntersectionType();for(t.types=[r];this.eat(43);)t.types.push(this.flowParseIntersectionType());return 1===t.types.length?r:this.finishNode(t,"UnionTypeAnnotation")}},{key:"flowParseType",value:function flowParseType(){var t=this.state.inType;this.state.inType=!0;var r=this.flowParseUnionType();return this.state.inType=t,r}},{key:"flowParseTypeOrImplicitInstantiation",value:function flowParseTypeOrImplicitInstantiation(){if(128===this.state.type&&"_"===this.state.value){var t=this.state.start,r=this.state.startLoc,a=this.parseIdentifier();return this.flowParseGenericType(t,r,a)}return this.flowParseType()}},{key:"flowParseTypeAnnotation",value:function flowParseTypeAnnotation(){var t=this.startNode();return t.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(t,"TypeAnnotation")}},{key:"flowParseTypeAnnotatableIdentifier",value:function flowParseTypeAnnotatableIdentifier(t){var r=t?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(r)),r}},{key:"typeCastToParameter",value:function typeCastToParameter(t){return t.expression.typeAnnotation=t.typeAnnotation,this.resetEndLocation(t.expression,t.typeAnnotation.loc.end),t.expression}},{key:"flowParseVariance",value:function flowParseVariance(){var t=null;return this.match(53)&&(t=this.startNode(),"+"===this.state.value?t.kind="plus":t.kind="minus",this.next(),this.finishNode(t,"Variance")),t}},{key:"parseFunctionBody",value:function parseFunctionBody(t,r){var a=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r?this.forwardNoArrowParamsConversionAt(t,(function(){return(0,d.default)((0,v.default)(_class2.prototype),"parseFunctionBody",a).call(a,t,!0,i)})):(0,d.default)((0,v.default)(_class2.prototype),"parseFunctionBody",this).call(this,t,!1,i)}},{key:"parseFunctionBodyAndFinish",value:function parseFunctionBodyAndFinish(t,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(14)){var i=this.startNode(),o=this.flowParseTypeAndPredicateInitialiser(),l=(0,P.default)(o,2);i.typeAnnotation=l[0],t.predicate=l[1],t.returnType=i.typeAnnotation?this.finishNode(i,"TypeAnnotation"):null}(0,d.default)((0,v.default)(_class2.prototype),"parseFunctionBodyAndFinish",this).call(this,t,r,a)}},{key:"parseStatement",value:function parseStatement(t,r){if(this.state.strict&&this.isContextual(125)){if(tokenIsKeywordOrIdentifier(this.lookahead().type)){var a=this.startNode();return this.next(),this.flowParseInterface(a)}}else if(this.shouldParseEnums()&&this.isContextual(122)){var i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}var o=(0,d.default)((0,v.default)(_class2.prototype),"parseStatement",this).call(this,t,r);return void 0!==this.flowPragma||this.isValidDirective(o)||(this.flowPragma=null),o}},{key:"parseExpressionStatement",value:function parseExpressionStatement(t,r){if("Identifier"===r.type)if("declare"===r.name){if(this.match(80)||tokenIsIdentifier(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(t)}else if(tokenIsIdentifier(this.state.type)){if("interface"===r.name)return this.flowParseInterface(t);if("type"===r.name)return this.flowParseTypeAlias(t);if("opaque"===r.name)return this.flowParseOpaqueType(t,!1)}return(0,d.default)((0,v.default)(_class2.prototype),"parseExpressionStatement",this).call(this,t,r)}},{key:"shouldParseExportDeclaration",value:function shouldParseExportDeclaration(){var t=this.state.type;return tokenIsFlowInterfaceOrTypeOrOpaque(t)||this.shouldParseEnums()&&122===t?!this.state.containsEsc:(0,d.default)((0,v.default)(_class2.prototype),"shouldParseExportDeclaration",this).call(this)}},{key:"isExportDefaultSpecifier",value:function isExportDefaultSpecifier(){var t=this.state.type;return tokenIsFlowInterfaceOrTypeOrOpaque(t)||this.shouldParseEnums()&&122===t?this.state.containsEsc:(0,d.default)((0,v.default)(_class2.prototype),"isExportDefaultSpecifier",this).call(this)}},{key:"parseExportDefaultExpression",value:function parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(122)){var t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return(0,d.default)((0,v.default)(_class2.prototype),"parseExportDefaultExpression",this).call(this)}},{key:"parseConditional",value:function parseConditional(t,r,a,i){var o=this;if(!this.match(17))return t;if(this.state.maybeInArrowParameters){var l=this.lookaheadCharCode();if(44===l||61===l||58===l||41===l)return this.setOptionalParametersError(i),t}this.expect(17);var h=this.state.clone(),c=this.state.noArrowAt,p=this.startNodeAt(r,a),d=this.tryParseConditionalConsequent(),m=d.consequent,y=d.failed,v=this.getArrowLikeExpressions(m),x=(0,P.default)(v,2),k=x[0],g=x[1];if(y||g.length>0){var T=(0,u.default)(c);if(g.length>0){this.state=h,this.state.noArrowAt=T;for(var b=0;b1&&this.raise(Fe.AmbiguousConditionalArrow,{at:h.startLoc}),y&&1===k.length){this.state=h,T.push(k[0].start),this.state.noArrowAt=T;var S=this.tryParseConditionalConsequent();m=S.consequent,y=S.failed}}return this.getArrowLikeExpressions(m,!0),this.state.noArrowAt=c,this.expect(14),p.test=t,p.consequent=m,p.alternate=this.forwardNoArrowParamsConversionAt(p,(function(){return o.parseMaybeAssign(void 0,void 0)})),this.finishNode(p,"ConditionalExpression")}},{key:"tryParseConditionalConsequent",value:function tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);var t=this.parseMaybeAssignAllowIn(),r=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:t,failed:r}}},{key:"getArrowLikeExpressions",value:function getArrowLikeExpressions(t,r){for(var a=this,i=[t],o=[];0!==i.length;){var l=i.pop();"ArrowFunctionExpression"===l.type?(l.typeParameters||!l.returnType?this.finishArrowValidation(l):o.push(l),i.push(l.body)):"ConditionalExpression"===l.type&&(i.push(l.consequent),i.push(l.alternate))}return r?(o.forEach((function(t){return a.finishArrowValidation(t)})),[o,[]]):function partition(t,r){for(var a=[],i=[],o=0;o1&&void 0!==arguments[1]&&arguments[1];r||"AssignmentExpression"!==t.type||"TypeCastExpression"!==t.left.type||(t.left=this.typeCastToParameter(t.left)),(0,d.default)((0,v.default)(_class2.prototype),"toAssignable",this).apply(this,arguments)}},{key:"toAssignableList",value:function toAssignableList(t,r,a){for(var i=0;i1)&&r||this.raise(Fe.TypeCastInPattern,{at:o.typeAnnotation})}return t}},{key:"parseArrayLike",value:function parseArrayLike(t,r,a,i){var o=(0,d.default)((0,v.default)(_class2.prototype),"parseArrayLike",this).call(this,t,r,a,i);return r&&!this.state.maybeInArrowParameters&&this.toReferencedList(o.elements),o}},{key:"isValidLVal",value:function isValidLVal(t){for(var r,a=arguments.length,i=new Array(a>1?a-1:0),o=1;o0&&this.isThisParam(h[0])&&this.raise(Fe.ThisParamBannedInConstructor,{at:r})}else if("MethodDefinition"===r.type&&o&&r.value.params){var c=r.value.params;c.length>0&&this.isThisParam(c[0])&&this.raise(Fe.ThisParamBannedInConstructor,{at:r})}}},{key:"pushClassPrivateMethod",value:function pushClassPrivateMethod(t,r,a,i){r.variance&&this.unexpected(r.variance.loc.start),delete r.variance,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),(0,d.default)((0,v.default)(_class2.prototype),"pushClassPrivateMethod",this).call(this,t,r,a,i)}},{key:"parseClassSuper",value:function parseClassSuper(t){if((0,d.default)((0,v.default)(_class2.prototype),"parseClassSuper",this).call(this,t),t.superClass&&this.match(47)&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(110)){this.next();var r=t.implements=[];do{var a=this.startNode();a.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?a.typeParameters=this.flowParseTypeParameterInstantiation():a.typeParameters=null,r.push(this.finishNode(a,"ClassImplements"))}while(this.eat(12))}}},{key:"checkGetterSetterParams",value:function checkGetterSetterParams(t){(0,d.default)((0,v.default)(_class2.prototype),"checkGetterSetterParams",this).call(this,t);var r=this.getObjectOrClassMethodParams(t);if(r.length>0){var a=r[0];this.isThisParam(a)&&"get"===t.kind?this.raise(Fe.GetterMayNotHaveThisParam,{at:a}):this.isThisParam(a)&&this.raise(Fe.SetterMayNotHaveThisParam,{at:a})}}},{key:"parsePropertyNamePrefixOperator",value:function parsePropertyNamePrefixOperator(t){t.variance=this.flowParseVariance()}},{key:"parseObjPropValue",value:function parseObjPropValue(t,r,a,i,o,l,h,c){var p;t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&!h&&(p=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),(0,d.default)((0,v.default)(_class2.prototype),"parseObjPropValue",this).call(this,t,r,a,i,o,l,h,c),p&&((t.value||t).typeParameters=p)}},{key:"parseAssignableListItemTypes",value:function parseAssignableListItemTypes(t){return this.eat(17)&&("Identifier"!==t.type&&this.raise(Fe.PatternIsOptional,{at:t}),this.isThisParam(t)&&this.raise(Fe.ThisParamMayNotBeOptional,{at:t}),t.optional=!0),this.match(14)?t.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(t)&&this.raise(Fe.ThisParamAnnotationRequired,{at:t}),this.match(29)&&this.isThisParam(t)&&this.raise(Fe.ThisParamNoDefault,{at:t}),this.resetEndLocation(t),t}},{key:"parseMaybeDefault",value:function parseMaybeDefault(t,r,a){var i=(0,d.default)((0,v.default)(_class2.prototype),"parseMaybeDefault",this).call(this,t,r,a);return"AssignmentPattern"===i.type&&i.typeAnnotation&&i.right.start0&&this.raise(Fe.ThisParamMustBeFirst,{at:t.params[i]});return(0,d.default)((0,v.default)(_class2.prototype),"checkParams",this).apply(this,arguments)}}},{key:"parseParenAndDistinguishExpression",value:function parseParenAndDistinguishExpression(t){return(0,d.default)((0,v.default)(_class2.prototype),"parseParenAndDistinguishExpression",this).call(this,t&&-1===this.state.noArrowAt.indexOf(this.state.start))}},{key:"parseSubscripts",value:function parseSubscripts(t,r,a,i){var o=this;if("Identifier"===t.type&&"async"===t.name&&-1!==this.state.noArrowAt.indexOf(r)){this.next();var l=this.startNodeAt(r,a);l.callee=t,l.arguments=this.parseCallExpressionArguments(11,!1),t=this.finishNode(l,"CallExpression")}else if("Identifier"===t.type&&"async"===t.name&&this.match(47)){var h=this.state.clone(),c=this.tryParse((function(t){return o.parseAsyncArrowWithTypeParameters(r,a)||t()}),h);if(!c.error&&!c.aborted)return c.node;var p=this.tryParse((function(){return(0,d.default)((0,v.default)(_class2.prototype),"parseSubscripts",o).call(o,t,r,a,i)}),h);if(p.node&&!p.error)return p.node;if(c.node)return this.state=c.failState,c.node;if(p.node)return this.state=p.failState,p.node;throw c.error||p.error}return(0,d.default)((0,v.default)(_class2.prototype),"parseSubscripts",this).call(this,t,r,a,i)}},{key:"parseSubscript",value:function parseSubscript(t,r,a,i,o){var l=this;if(this.match(18)&&this.isLookaheadToken_lt()){if(o.optionalChainMember=!0,i)return o.stop=!0,t;this.next();var h=this.startNodeAt(r,a);return h.callee=t,h.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),h.arguments=this.parseCallExpressionArguments(11,!1),h.optional=!0,this.finishCallExpression(h,!0)}if(!i&&this.shouldParseTypes()&&this.match(47)){var c=this.startNodeAt(r,a);c.callee=t;var p=this.tryParse((function(){return c.typeArguments=l.flowParseTypeParameterInstantiationCallOrNew(),l.expect(10),c.arguments=l.parseCallExpressionArguments(11,!1),o.optionalChainMember&&(c.optional=!1),l.finishCallExpression(c,o.optionalChainMember)}));if(p.node)return p.error&&(this.state=p.failState),p.node}return(0,d.default)((0,v.default)(_class2.prototype),"parseSubscript",this).call(this,t,r,a,i,o)}},{key:"parseNewCallee",value:function parseNewCallee(t){var r=this;(0,d.default)((0,v.default)(_class2.prototype),"parseNewCallee",this).call(this,t);var a=null;this.shouldParseTypes()&&this.match(47)&&(a=this.tryParse((function(){return r.flowParseTypeParameterInstantiationCallOrNew()})).node),t.typeArguments=a}},{key:"parseAsyncArrowWithTypeParameters",value:function parseAsyncArrowWithTypeParameters(t,r){var a=this.startNodeAt(t,r);if(this.parseFunctionParams(a),this.parseArrow(a))return this.parseArrowExpression(a,void 0,!0)}},{key:"readToken_mult_modulo",value:function readToken_mult_modulo(t){var r=this.input.charCodeAt(this.state.pos+1);if(42===t&&47===r&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();(0,d.default)((0,v.default)(_class2.prototype),"readToken_mult_modulo",this).call(this,t)}},{key:"readToken_pipe_amp",value:function readToken_pipe_amp(t){var r=this.input.charCodeAt(this.state.pos+1);124!==t||125!==r?(0,d.default)((0,v.default)(_class2.prototype),"readToken_pipe_amp",this).call(this,t):this.finishOp(9,2)}},{key:"parseTopLevel",value:function parseTopLevel(t,r){var a=(0,d.default)((0,v.default)(_class2.prototype),"parseTopLevel",this).call(this,t,r);return this.state.hasFlowComment&&this.raise(Fe.UnterminatedFlowComment,{at:this.state.curPosition()}),a}},{key:"skipBlockComment",value:function skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Fe.NestedFlowComment,{at:this.state.startLoc});return this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0)}if(!this.state.hasFlowComment)return(0,d.default)((0,v.default)(_class2.prototype),"skipBlockComment",this).call(this);var t=this.input.indexOf("*-/",this.state.pos+2);if(-1===t)throw this.raise(N.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=t+2+3}},{key:"skipFlowComment",value:function skipFlowComment(){for(var t=this.state.pos,r=2;[32,9].includes(this.input.charCodeAt(t+r));)r++;var a=this.input.charCodeAt(r+t),i=this.input.charCodeAt(r+t+1);return 58===a&&58===i?r+2:"flow-include"===this.input.slice(r+t,r+t+12)?r+12:58===a&&58!==i&&r}},{key:"hasFlowCommentCompletion",value:function hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(N.UnterminatedComment,{at:this.state.curPosition()})}},{key:"flowEnumErrorBooleanMemberNotInitialized",value:function flowEnumErrorBooleanMemberNotInitialized(t,r){var a=r.enumName,i=r.memberName;this.raise(Fe.EnumBooleanMemberNotInitialized,{at:t,memberName:i,enumName:a})}},{key:"flowEnumErrorInvalidMemberInitializer",value:function flowEnumErrorInvalidMemberInitializer(t,r){return this.raise(r.explicitType?"symbol"===r.explicitType?Fe.EnumInvalidMemberInitializerSymbolType:Fe.EnumInvalidMemberInitializerPrimaryType:Fe.EnumInvalidMemberInitializerUnknownType,Object.assign({at:t},r))}},{key:"flowEnumErrorNumberMemberNotInitialized",value:function flowEnumErrorNumberMemberNotInitialized(t,r){var a=r.enumName,i=r.memberName;this.raise(Fe.EnumNumberMemberNotInitialized,{at:t,enumName:a,memberName:i})}},{key:"flowEnumErrorStringMemberInconsistentlyInitailized",value:function flowEnumErrorStringMemberInconsistentlyInitailized(t,r){var a=r.enumName;this.raise(Fe.EnumStringMemberInconsistentlyInitailized,{at:t,enumName:a})}},{key:"flowEnumMemberInit",value:function flowEnumMemberInit(){var t=this,r=this.state.startLoc,a=function endOfInit(){return t.match(12)||t.match(8)};switch(this.state.type){case 130:var i=this.parseNumericLiteral(this.state.value);return a()?{type:"number",loc:i.loc.start,value:i}:{type:"invalid",loc:r};case 129:var o=this.parseStringLiteral(this.state.value);return a()?{type:"string",loc:o.loc.start,value:o}:{type:"invalid",loc:r};case 85:case 86:var l=this.parseBooleanLiteral(this.match(85));return a()?{type:"boolean",loc:l.loc.start,value:l}:{type:"invalid",loc:r};default:return{type:"invalid",loc:r}}}},{key:"flowEnumMemberRaw",value:function flowEnumMemberRaw(){var t=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:t}}}},{key:"flowEnumCheckExplicitTypeMismatch",value:function flowEnumCheckExplicitTypeMismatch(t,r,a){var i=r.explicitType;null!==i&&i!==a&&this.flowEnumErrorInvalidMemberInitializer(t,r)}},{key:"flowEnumMembers",value:function flowEnumMembers(t){for(var r=t.enumName,a=t.explicitType,i=new Set,o={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},l=!1;!this.match(8);){if(this.eat(21)){l=!0;break}var h=this.startNode(),c=this.flowEnumMemberRaw(),p=c.id,u=c.init,d=p.name;if(""!==d){/^[a-z]/.test(d)&&this.raise(Fe.EnumInvalidMemberName,{at:p,memberName:d,suggestion:d[0].toUpperCase()+d.slice(1),enumName:r}),i.has(d)&&this.raise(Fe.EnumDuplicateMemberName,{at:p,memberName:d,enumName:r}),i.add(d);var m={enumName:r,explicitType:a,memberName:d};switch(h.id=p,u.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(u.loc,m,"boolean"),h.init=u.value,o.booleanMembers.push(this.finishNode(h,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(u.loc,m,"number"),h.init=u.value,o.numberMembers.push(this.finishNode(h,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(u.loc,m,"string"),h.init=u.value,o.stringMembers.push(this.finishNode(h,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(u.loc,m);case"none":switch(a){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(u.loc,m);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(u.loc,m);break;default:o.defaultedMembers.push(this.finishNode(h,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}}return{members:o,hasUnknownMembers:l}}},{key:"flowEnumStringMembers",value:function flowEnumStringMembers(t,r,a){var i=a.enumName;if(0===t.length)return r;if(0===r.length)return t;if(r.length>t.length){var o,l=_createForOfIteratorHelper(t);try{for(l.s();!(o=l.n()).done;){var h=o.value;this.flowEnumErrorStringMemberInconsistentlyInitailized(h,{enumName:i})}}catch(t){l.e(t)}finally{l.f()}return r}var c,p=_createForOfIteratorHelper(r);try{for(p.s();!(c=p.n()).done;){var u=c.value;this.flowEnumErrorStringMemberInconsistentlyInitailized(u,{enumName:i})}}catch(t){p.e(t)}finally{p.f()}return t}},{key:"flowEnumParseExplicitType",value:function flowEnumParseExplicitType(t){var r=t.enumName;if(!this.eatContextual(101))return null;if(!tokenIsIdentifier(this.state.type))throw this.raise(Fe.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:r});var a=this.state.value;return this.next(),"boolean"!==a&&"number"!==a&&"string"!==a&&"symbol"!==a&&this.raise(Fe.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:r,invalidEnumType:a}),a}},{key:"flowEnumBody",value:function flowEnumBody(t,r){var a=this,i=r.name,o=r.loc.start,l=this.flowEnumParseExplicitType({enumName:i});this.expect(5);var h=this.flowEnumMembers({enumName:i,explicitType:l}),c=h.members,p=h.hasUnknownMembers;switch(t.hasUnknownMembers=p,l){case"boolean":return t.explicitType=!0,t.members=c.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody");case"number":return t.explicitType=!0,t.members=c.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody");case"string":return t.explicitType=!0,t.members=this.flowEnumStringMembers(c.stringMembers,c.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(t,"EnumStringBody");case"symbol":return t.members=c.defaultedMembers,this.expect(8),this.finishNode(t,"EnumSymbolBody");default:var u=function empty(){return t.members=[],a.expect(8),a.finishNode(t,"EnumStringBody")};t.explicitType=!1;var d=c.booleanMembers.length,m=c.numberMembers.length,y=c.stringMembers.length,v=c.defaultedMembers.length;if(d||m||y||v){if(d||m){if(!m&&!y&&d>=v){var x,P=_createForOfIteratorHelper(c.defaultedMembers);try{for(P.s();!(x=P.n()).done;){var k=x.value;this.flowEnumErrorBooleanMemberNotInitialized(k.loc.start,{enumName:i,memberName:k.id.name})}}catch(t){P.e(t)}finally{P.f()}return t.members=c.booleanMembers,this.expect(8),this.finishNode(t,"EnumBooleanBody")}if(!d&&!y&&m>=v){var g,T=_createForOfIteratorHelper(c.defaultedMembers);try{for(T.s();!(g=T.n()).done;){var b=g.value;this.flowEnumErrorNumberMemberNotInitialized(b.loc.start,{enumName:i,memberName:b.id.name})}}catch(t){T.e(t)}finally{T.f()}return t.members=c.numberMembers,this.expect(8),this.finishNode(t,"EnumNumberBody")}return this.raise(Fe.EnumInconsistentMemberValues,{at:o,enumName:i}),u()}return t.members=this.flowEnumStringMembers(c.stringMembers,c.defaultedMembers,{enumName:i}),this.expect(8),this.finishNode(t,"EnumStringBody")}return u()}}},{key:"flowParseEnumDeclaration",value:function flowParseEnumDeclaration(t){var r=this.parseIdentifier();return t.id=r,t.body=this.flowEnumBody(this.startNode(),r),this.finishNode(t,"EnumDeclaration")}},{key:"isLookaheadToken_lt",value:function isLookaheadToken_lt(){var t=this.nextTokenStart();if(60===this.input.charCodeAt(t)){var r=this.input.charCodeAt(t+1);return 60!==r&&61!==r}return!1}},{key:"maybeUnwrapTypeCastExpression",value:function maybeUnwrapTypeCastExpression(t){return"TypeCastExpression"===t.type?t.expression:t}}]),_class2}(t)},typescript:function typescript(t){return function(t){(0,m.default)(_class4,t);var r=_createSuper(_class4);function _class4(){return(0,g.default)(this,_class4),r.apply(this,arguments)}return(0,k.default)(_class4,[{key:"getScopeHandler",value:function getScopeHandler(){return He}},{key:"tsIsIdentifier",value:function tsIsIdentifier(){return tokenIsIdentifier(this.state.type)}},{key:"tsTokenCanFollowModifier",value:function tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}},{key:"tsNextTokenCanFollowModifier",value:function tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}},{key:"tsParseModifier",value:function tsParseModifier(t,r){if(tokenIsIdentifier(this.state.type)||58===this.state.type){var a=this.state.value;if(-1!==t.indexOf(a)){if(r&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return a}}}},{key:"tsParseModifiers",value:function tsParseModifiers(t){for(var r=this,a=t.modified,i=t.allowedModifiers,o=t.disallowedModifiers,l=t.stopOnStartOfClassStaticBlock,h=t.errorTemplate,c=void 0===h?Ke.InvalidModifierOnTypeMember:h,p=function enforceOrder(t,i,o,l){i===o&&a[l]&&r.raise(Ke.InvalidModifiersOrder,{at:t,orderedModifiers:[o,l]})},u=function incompatible(t,i,o,l){(a[o]&&i===l||a[l]&&i===o)&&r.raise(Ke.IncompatibleModifiers,{at:t,modifiers:[o,l]})};;){var d=this.state.startLoc,m=this.tsParseModifier(i.concat(null!=o?o:[]),l);if(!m)break;tsIsAccessModifier(m)?a.accessibility?this.raise(Ke.DuplicateAccessibilityModifier,{at:d,modifier:m}):(p(d,m,m,"override"),p(d,m,m,"static"),p(d,m,m,"readonly"),a.accessibility=m):tsIsVarianceAnnotations(m)?(a[m]&&this.raise(Ke.DuplicateModifier,{at:d,modifier:m}),a[m]=!0,p(d,m,"in","out")):(Object.hasOwnProperty.call(a,m)?this.raise(Ke.DuplicateModifier,{at:d,modifier:m}):(p(d,m,"static","readonly"),p(d,m,"static","override"),p(d,m,"override","readonly"),p(d,m,"abstract","override"),u(d,m,"declare","override"),u(d,m,"static","abstract")),a[m]=!0),null!=o&&o.includes(m)&&this.raise(c,{at:d,modifier:m})}}},{key:"tsIsListTerminator",value:function tsIsListTerminator(t){switch(t){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)}throw new Error("Unreachable")}},{key:"tsParseList",value:function tsParseList(t,r){for(var a=[];!this.tsIsListTerminator(t);)a.push(r());return a}},{key:"tsParseDelimitedList",value:function tsParseDelimitedList(t,r,a){return function nonNull(t){if(null==t)throw new Error("Unexpected ".concat(t," value."));return t}(this.tsParseDelimitedListWorker(t,r,!0,a))}},{key:"tsParseDelimitedListWorker",value:function tsParseDelimitedListWorker(t,r,a,i){for(var o=[],l=-1;!this.tsIsListTerminator(t);){l=-1;var h=r();if(null==h)return;if(o.push(h),!this.eat(12)){if(this.tsIsListTerminator(t))break;return void(a&&this.expect(12))}l=this.state.lastTokStart}return i&&(i.value=l),o}},{key:"tsParseBracketedList",value:function tsParseBracketedList(t,r,a,i,o){i||(a?this.expect(0):this.expect(47));var l=this.tsParseDelimitedList(t,r,o);return a?this.expect(3):this.expect(48),l}},{key:"tsParseImportType",value:function tsParseImportType(){var t=this.startNode();return this.expect(83),this.expect(10),this.match(129)||this.raise(Ke.UnsupportedImportTypeArgument,{at:this.state.startLoc}),t.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(t.qualifier=this.tsParseEntityName()),this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSImportType")}},{key:"tsParseEntityName",value:function tsParseEntityName(){for(var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=this.parseIdentifier(t);this.eat(16);){var a=this.startNodeAtNode(r);a.left=r,a.right=this.parseIdentifier(t),r=this.finishNode(a,"TSQualifiedName")}return r}},{key:"tsParseTypeReference",value:function tsParseTypeReference(){var t=this.startNode();return t.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeReference")}},{key:"tsParseThisTypePredicate",value:function tsParseThisTypePredicate(t){this.next();var r=this.startNodeAtNode(t);return r.parameterName=t,r.typeAnnotation=this.tsParseTypeAnnotation(!1),r.asserts=!1,this.finishNode(r,"TSTypePredicate")}},{key:"tsParseThisTypeNode",value:function tsParseThisTypeNode(){var t=this.startNode();return this.next(),this.finishNode(t,"TSThisType")}},{key:"tsParseTypeQuery",value:function tsParseTypeQuery(){var t=this.startNode();return this.expect(87),this.match(83)?t.exprName=this.tsParseImportType():t.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(t.typeParameters=this.tsParseTypeArguments()),this.finishNode(t,"TSTypeQuery")}},{key:"tsParseInOutModifiers",value:function tsParseInOutModifiers(t){this.tsParseModifiers({modified:t,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Ke.InvalidModifierOnTypeParameter})}},{key:"tsParseNoneModifiers",value:function tsParseNoneModifiers(t){this.tsParseModifiers({modified:t,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:Ke.InvalidModifierOnTypeParameterPositions})}},{key:"tsParseTypeParameter",value:function tsParseTypeParameter(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tsParseNoneModifiers.bind(this),r=this.startNode();return t(r),r.name=this.tsParseTypeParameterName(),r.constraint=this.tsEatThenParseType(81),r.default=this.tsEatThenParseType(29),this.finishNode(r,"TSTypeParameter")}},{key:"tsTryParseTypeParameters",value:function tsTryParseTypeParameters(t){if(this.match(47))return this.tsParseTypeParameters(t)}},{key:"tsParseTypeParameters",value:function tsParseTypeParameters(t){var r=this.startNode();this.match(47)||this.match(138)?this.next():this.unexpected();var a={value:-1};return r.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,t),!1,!0,a),0===r.params.length&&this.raise(Ke.EmptyTypeParameters,{at:r}),-1!==a.value&&this.addExtra(r,"trailingComma",a.value),this.finishNode(r,"TSTypeParameterDeclaration")}},{key:"tsTryNextParseConstantContext",value:function tsTryNextParseConstantContext(){if(75!==this.lookahead().type)return null;this.next();var t=this.tsParseTypeReference();return t.typeParameters&&this.raise(Ke.CannotFindName,{at:t.typeName,name:"const"}),t}},{key:"tsFillSignature",value:function tsFillSignature(t,r){var a=19===t;r.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),r.parameters=this.tsParseBindingListForSignature(),(a||this.match(t))&&(r.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(t))}},{key:"tsParseBindingListForSignature",value:function tsParseBindingListForSignature(){var t=this;return this.parseBindingList(11,41).map((function(r){return"Identifier"!==r.type&&"RestElement"!==r.type&&"ObjectPattern"!==r.type&&"ArrayPattern"!==r.type&&t.raise(Ke.UnsupportedSignatureParameterKind,{at:r,type:r.type}),r}))}},{key:"tsParseTypeMemberSemicolon",value:function tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}},{key:"tsParseSignatureMember",value:function tsParseSignatureMember(t,r){return this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon(),this.finishNode(r,t)}},{key:"tsIsUnambiguouslyIndexSignature",value:function tsIsUnambiguouslyIndexSignature(){return this.next(),!!tokenIsIdentifier(this.state.type)&&(this.next(),this.match(14))}},{key:"tsTryParseIndexSignature",value:function tsTryParseIndexSignature(t){if(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(0);var r=this.parseIdentifier();r.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(r),this.expect(3),t.parameters=[r];var a=this.tsTryParseTypeAnnotation();return a&&(t.typeAnnotation=a),this.tsParseTypeMemberSemicolon(),this.finishNode(t,"TSIndexSignature")}}},{key:"tsParsePropertyOrMethodSignature",value:function tsParsePropertyOrMethodSignature(t,r){this.eat(17)&&(t.optional=!0);var a=t;if(this.match(10)||this.match(47)){r&&this.raise(Ke.ReadonlyForMethodSignature,{at:t});var i=a;i.kind&&this.match(47)&&this.raise(Ke.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon();if("get"===i.kind)i.parameters.length>0&&(this.raise(N.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(i.parameters[0])&&this.raise(Ke.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===i.kind){if(1!==i.parameters.length)this.raise(N.BadSetterArity,{at:this.state.curPosition()});else{var o=i.parameters[0];this.isThisParam(o)&&this.raise(Ke.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===o.type&&o.optional&&this.raise(Ke.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===o.type&&this.raise(Ke.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}i.typeAnnotation&&this.raise(Ke.SetAccesorCannotHaveReturnType,{at:i.typeAnnotation})}else i.kind="method";return this.finishNode(i,"TSMethodSignature")}var l=a;r&&(l.readonly=!0);var h=this.tsTryParseTypeAnnotation();return h&&(l.typeAnnotation=h),this.tsParseTypeMemberSemicolon(),this.finishNode(l,"TSPropertySignature")}},{key:"tsParseTypeMember",value:function tsParseTypeMember(){var t=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",t);if(this.match(77)){var r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",t):(t.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(t,!1))}this.tsParseModifiers({modified:t,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]});var a=this.tsTryParseIndexSignature(t);return a||(this.parsePropertyName(t),t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||!this.tsTokenCanFollowModifier()||(t.kind=t.key.name,this.parsePropertyName(t)),this.tsParsePropertyOrMethodSignature(t,!!t.readonly))}},{key:"tsParseTypeLiteral",value:function tsParseTypeLiteral(){var t=this.startNode();return t.members=this.tsParseObjectTypeMembers(),this.finishNode(t,"TSTypeLiteral")}},{key:"tsParseObjectTypeMembers",value:function tsParseObjectTypeMembers(){this.expect(5);var t=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),t}},{key:"tsIsStartOfMappedType",value:function tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(118):(this.isContextual(118)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}},{key:"tsParseMappedTypeParameter",value:function tsParseMappedTypeParameter(){var t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),this.finishNode(t,"TSTypeParameter")}},{key:"tsParseMappedType",value:function tsParseMappedType(){var t=this.startNode();return this.expect(5),this.match(53)?(t.readonly=this.state.value,this.next(),this.expectContextual(118)):this.eatContextual(118)&&(t.readonly=!0),this.expect(0),t.typeParameter=this.tsParseMappedTypeParameter(),t.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(t.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(t.optional=!0),t.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(t,"TSMappedType")}},{key:"tsParseTupleType",value:function tsParseTupleType(){var t=this,r=this.startNode();r.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var a=!1,i=null;return r.elementTypes.forEach((function(r){var o,l=r.type;!a||"TSRestType"===l||"TSOptionalType"===l||"TSNamedTupleMember"===l&&r.optional||t.raise(Ke.OptionalTypeBeforeRequired,{at:r}),a=a||"TSNamedTupleMember"===l&&r.optional||"TSOptionalType"===l,"TSRestType"===l&&(l=(r=r.typeAnnotation).type);var h="TSNamedTupleMember"===l;(i=null!=(o=i)?o:h)!==h&&t.raise(Ke.MixedLabeledAndUnlabeledElements,{at:r})})),this.finishNode(r,"TSTupleType")}},{key:"tsParseTupleElementType",value:function tsParseTupleElementType(){var t=this.state,r=t.start,a=t.startLoc,i=this.eat(21),o=this.tsParseType(),l=this.eat(17);if(this.eat(14)){var h=this.startNodeAtNode(o);h.optional=l,"TSTypeReference"!==o.type||o.typeParameters||"Identifier"!==o.typeName.type?(this.raise(Ke.InvalidTupleMemberLabel,{at:o}),h.label=o):h.label=o.typeName,h.elementType=this.tsParseType(),o=this.finishNode(h,"TSNamedTupleMember")}else if(l){var c=this.startNodeAtNode(o);c.typeAnnotation=o,o=this.finishNode(c,"TSOptionalType")}if(i){var p=this.startNodeAt(r,a);p.typeAnnotation=o,o=this.finishNode(p,"TSRestType")}return o}},{key:"tsParseParenthesizedType",value:function tsParseParenthesizedType(){var t=this.startNode();return this.expect(10),t.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(t,"TSParenthesizedType")}},{key:"tsParseFunctionOrConstructorType",value:function tsParseFunctionOrConstructorType(t,r){var a=this.startNode();return"TSConstructorType"===t&&(a.abstract=!!r,r&&this.next(),this.next()),this.tsFillSignature(19,a),this.finishNode(a,t)}},{key:"tsParseLiteralTypeNode",value:function tsParseLiteralTypeNode(){var t=this,r=this.startNode();return r.literal=function(){switch(t.state.type){case 130:case 131:case 129:case 85:case 86:return t.parseExprAtom();default:throw t.unexpected()}}(),this.finishNode(r,"TSLiteralType")}},{key:"tsParseTemplateLiteralType",value:function tsParseTemplateLiteralType(){var t=this.startNode();return t.literal=this.parseTemplate(!1),this.finishNode(t,"TSLiteralType")}},{key:"parseTemplateSubstitution",value:function parseTemplateSubstitution(){return this.state.inType?this.tsParseType():(0,d.default)((0,v.default)(_class4.prototype),"parseTemplateSubstitution",this).call(this)}},{key:"tsParseThisTypeOrThisTypePredicate",value:function tsParseThisTypeOrThisTypePredicate(){var t=this.tsParseThisTypeNode();return this.isContextual(113)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(t):t}},{key:"tsParseNonArrayType",value:function tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){var t=this.startNode(),r=this.lookahead();if(130!==r.type&&131!==r.type)throw this.unexpected();return t.literal=this.parseMaybeUnary(),this.finishNode(t,"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:var a=this.state.type;if(tokenIsIdentifier(a)||88===a||84===a){var i=88===a?"TSVoidKeyword":84===a?"TSNullKeyword":function keywordTypeFromName(t){switch(t){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}}(this.state.value);if(void 0!==i&&46!==this.lookaheadCharCode()){var o=this.startNode();return this.next(),this.finishNode(o,i)}return this.tsParseTypeReference()}}throw this.unexpected()}},{key:"tsParseArrayTypeOrHigher",value:function tsParseArrayTypeOrHigher(){for(var t=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){var r=this.startNodeAtNode(t);r.elementType=t,this.expect(3),t=this.finishNode(r,"TSArrayType")}else{var a=this.startNodeAtNode(t);a.objectType=t,a.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(a,"TSIndexedAccessType")}return t}},{key:"tsParseTypeOperator",value:function tsParseTypeOperator(){var t=this.startNode(),r=this.state.value;return this.next(),t.operator=r,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===r&&this.tsCheckTypeAnnotationForReadOnly(t),this.finishNode(t,"TSTypeOperator")}},{key:"tsCheckTypeAnnotationForReadOnly",value:function tsCheckTypeAnnotationForReadOnly(t){switch(t.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Ke.UnexpectedReadonly,{at:t})}}},{key:"tsParseInferType",value:function tsParseInferType(){var t=this,r=this.startNode();this.expectContextual(112);var a=this.startNode();return a.name=this.tsParseTypeParameterName(),a.constraint=this.tsTryParse((function(){return t.tsParseConstraintForInferType()})),r.typeParameter=this.finishNode(a,"TSTypeParameter"),this.finishNode(r,"TSInferType")}},{key:"tsParseConstraintForInferType",value:function tsParseConstraintForInferType(){var t=this;if(this.eat(81)){var r=this.tsInDisallowConditionalTypesContext((function(){return t.tsParseType()}));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return r}}},{key:"tsParseTypeOperatorOrHigher",value:function tsParseTypeOperatorOrHigher(){var t=this;return function tokenIsTSTypeOperator(t){return t>=117&&t<=119}(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((function(){return t.tsParseArrayTypeOrHigher()}))}},{key:"tsParseUnionOrIntersectionType",value:function tsParseUnionOrIntersectionType(t,r,a){var i=this.startNode(),o=this.eat(a),l=[];do{l.push(r())}while(this.eat(a));return 1!==l.length||o?(i.types=l,this.finishNode(i,t)):l[0]}},{key:"tsParseIntersectionTypeOrHigher",value:function tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}},{key:"tsParseUnionTypeOrHigher",value:function tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}},{key:"tsIsStartOfFunctionType",value:function tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}},{key:"tsSkipParameterStart",value:function tsSkipParameterStart(){if(tokenIsIdentifier(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){var t=this.state.errors,r=t.length;try{return this.parseObjectLike(8,!0),t.length===r}catch(t){return!1}}if(this.match(0)){this.next();var a=this.state.errors,i=a.length;try{return this.parseBindingList(3,93,!0),a.length===i}catch(t){return!1}}return!1}},{key:"tsIsUnambiguouslyStartOfFunctionType",value:function tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}},{key:"tsParseTypeOrTypePredicateAnnotation",value:function tsParseTypeOrTypePredicateAnnotation(t){var r=this;return this.tsInType((function(){var a=r.startNode();r.expect(t);var i=r.startNode(),o=!!r.tsTryParse(r.tsParseTypePredicateAsserts.bind(r));if(o&&r.match(78)){var l=r.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===l.type?(i.parameterName=l,i.asserts=!0,i.typeAnnotation=null,l=r.finishNode(i,"TSTypePredicate")):(r.resetStartLocationFromNode(l,i),l.asserts=!0),a.typeAnnotation=l,r.finishNode(a,"TSTypeAnnotation")}var h=r.tsIsIdentifier()&&r.tsTryParse(r.tsParseTypePredicatePrefix.bind(r));if(!h)return o?(i.parameterName=r.parseIdentifier(),i.asserts=o,i.typeAnnotation=null,a.typeAnnotation=r.finishNode(i,"TSTypePredicate"),r.finishNode(a,"TSTypeAnnotation")):r.tsParseTypeAnnotation(!1,a);var c=r.tsParseTypeAnnotation(!1);return i.parameterName=h,i.typeAnnotation=c,i.asserts=o,a.typeAnnotation=r.finishNode(i,"TSTypePredicate"),r.finishNode(a,"TSTypeAnnotation")}))}},{key:"tsTryParseTypeOrTypePredicateAnnotation",value:function tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}},{key:"tsTryParseTypeAnnotation",value:function tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}},{key:"tsTryParseType",value:function tsTryParseType(){return this.tsEatThenParseType(14)}},{key:"tsParseTypePredicatePrefix",value:function tsParseTypePredicatePrefix(){var t=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak())return this.next(),t}},{key:"tsParseTypePredicateAsserts",value:function tsParseTypePredicateAsserts(){if(106!==this.state.type)return!1;var t=this.state.containsEsc;return this.next(),!(!tokenIsIdentifier(this.state.type)&&!this.match(78))&&(t&&this.raise(N.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}},{key:"tsParseTypeAnnotation",value:function tsParseTypeAnnotation(){var t=this,r=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType((function(){r&&t.expect(14),a.typeAnnotation=t.tsParseType()})),this.finishNode(a,"TSTypeAnnotation")}},{key:"tsParseType",value:function tsParseType(){var t=this;assert(this.state.inType);var r=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return r;var a=this.startNodeAtNode(r);return a.checkType=r,a.extendsType=this.tsInDisallowConditionalTypesContext((function(){return t.tsParseNonConditionalType()})),this.expect(17),a.trueType=this.tsInAllowConditionalTypesContext((function(){return t.tsParseType()})),this.expect(14),a.falseType=this.tsInAllowConditionalTypesContext((function(){return t.tsParseType()})),this.finishNode(a,"TSConditionalType")}},{key:"isAbstractConstructorSignature",value:function isAbstractConstructorSignature(){return this.isContextual(120)&&77===this.lookahead().type}},{key:"tsParseNonConditionalType",value:function tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}},{key:"tsParseTypeAssertion",value:function tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Ke.ReservedTypeAssertion,{at:this.state.startLoc});var t=this.startNode(),r=this.tsTryNextParseConstantContext();return t.typeAnnotation=r||this.tsNextThenParseType(),this.expect(48),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")}},{key:"tsParseHeritageClause",value:function tsParseHeritageClause(t){var r=this,a=this.state.startLoc,i=this.tsParseDelimitedList("HeritageClauseElement",(function(){var t=r.startNode();return t.expression=r.tsParseEntityName(),r.match(47)&&(t.typeParameters=r.tsParseTypeArguments()),r.finishNode(t,"TSExpressionWithTypeArguments")}));return i.length||this.raise(Ke.EmptyHeritageClauseType,{at:a,token:t}),i}},{key:"tsParseInterfaceDeclaration",value:function tsParseInterfaceDeclaration(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(125),r.declare&&(t.declare=!0),tokenIsIdentifier(this.state.type)?(t.id=this.parseIdentifier(),this.checkIdentifier(t.id,130)):(t.id=null,this.raise(Ke.MissingInterfaceName,{at:this.state.startLoc})),t.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(81)&&(t.extends=this.tsParseHeritageClause("extends"));var a=this.startNode();return a.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),t.body=this.finishNode(a,"TSInterfaceBody"),this.finishNode(t,"TSInterfaceDeclaration")}},{key:"tsParseTypeAliasDeclaration",value:function tsParseTypeAliasDeclaration(t){var r=this;return t.id=this.parseIdentifier(),this.checkIdentifier(t.id,2),t.typeAnnotation=this.tsInType((function(){if(t.typeParameters=r.tsTryParseTypeParameters(r.tsParseInOutModifiers.bind(r)),r.expect(29),r.isContextual(111)&&16!==r.lookahead().type){var a=r.startNode();return r.next(),r.finishNode(a,"TSIntrinsicKeyword")}return r.tsParseType()})),this.semicolon(),this.finishNode(t,"TSTypeAliasDeclaration")}},{key:"tsInNoContext",value:function tsInNoContext(t){var r=this.state.context;this.state.context=[r[0]];try{return t()}finally{this.state.context=r}}},{key:"tsInType",value:function tsInType(t){var r=this.state.inType;this.state.inType=!0;try{return t()}finally{this.state.inType=r}}},{key:"tsInDisallowConditionalTypesContext",value:function tsInDisallowConditionalTypesContext(t){var r=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return t()}finally{this.state.inDisallowConditionalTypesContext=r}}},{key:"tsInAllowConditionalTypesContext",value:function tsInAllowConditionalTypesContext(t){var r=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return t()}finally{this.state.inDisallowConditionalTypesContext=r}}},{key:"tsEatThenParseType",value:function tsEatThenParseType(t){return this.match(t)?this.tsNextThenParseType():void 0}},{key:"tsExpectThenParseType",value:function tsExpectThenParseType(t){var r=this;return this.tsDoThenParseType((function(){return r.expect(t)}))}},{key:"tsNextThenParseType",value:function tsNextThenParseType(){var t=this;return this.tsDoThenParseType((function(){return t.next()}))}},{key:"tsDoThenParseType",value:function tsDoThenParseType(t){var r=this;return this.tsInType((function(){return t(),r.tsParseType()}))}},{key:"tsParseEnumMember",value:function tsParseEnumMember(){var t=this.startNode();return t.id=this.match(129)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(t.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(t,"TSEnumMember")}},{key:"tsParseEnumDeclaration",value:function tsParseEnumDeclaration(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return r.const&&(t.const=!0),r.declare&&(t.declare=!0),this.expectContextual(122),t.id=this.parseIdentifier(),this.checkIdentifier(t.id,t.const?779:267),this.expect(5),t.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(t,"TSEnumDeclaration")}},{key:"tsParseModuleBlock",value:function tsParseModuleBlock(){var t=this.startNode();return this.scope.enter(0),this.expect(5),this.parseBlockOrModuleBlockBody(t.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(t,"TSModuleBlock")}},{key:"tsParseModuleOrNamespaceDeclaration",value:function tsParseModuleOrNamespaceDeclaration(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t.id=this.parseIdentifier(),r||this.checkIdentifier(t.id,1024),this.eat(16)){var a=this.startNode();this.tsParseModuleOrNamespaceDeclaration(a,!0),t.body=a}else this.scope.enter(256),this.prodParam.enter(0),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(t,"TSModuleDeclaration")}},{key:"tsParseAmbientExternalModuleDeclaration",value:function tsParseAmbientExternalModuleDeclaration(t){return this.isContextual(109)?(t.global=!0,t.id=this.parseIdentifier()):this.match(129)?t.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),t.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(t,"TSModuleDeclaration")}},{key:"tsParseImportEqualsDeclaration",value:function tsParseImportEqualsDeclaration(t,r){t.isExport=r||!1,t.id=this.parseIdentifier(),this.checkIdentifier(t.id,9),this.expect(29);var a=this.tsParseModuleReference();return"type"===t.importKind&&"TSExternalModuleReference"!==a.type&&this.raise(Ke.ImportAliasHasImportType,{at:a}),t.moduleReference=a,this.semicolon(),this.finishNode(t,"TSImportEqualsDeclaration")}},{key:"tsIsExternalModuleReference",value:function tsIsExternalModuleReference(){return this.isContextual(116)&&40===this.lookaheadCharCode()}},{key:"tsParseModuleReference",value:function tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}},{key:"tsParseExternalModuleReference",value:function tsParseExternalModuleReference(){var t=this.startNode();if(this.expectContextual(116),this.expect(10),!this.match(129))throw this.unexpected();return t.expression=this.parseExprAtom(),this.expect(11),this.finishNode(t,"TSExternalModuleReference")}},{key:"tsLookAhead",value:function tsLookAhead(t){var r=this.state.clone(),a=t();return this.state=r,a}},{key:"tsTryParseAndCatch",value:function tsTryParseAndCatch(t){var r=this.tryParse((function(r){return t()||r()}));if(!r.aborted&&r.node)return r.error&&(this.state=r.failState),r.node}},{key:"tsTryParse",value:function tsTryParse(t){var r=this.state.clone(),a=t();return void 0!==a&&!1!==a?a:void(this.state=r)}},{key:"tsTryParseDeclare",value:function tsTryParseDeclare(t){var r=this;if(!this.isLineTerminator()){var a,i=this.state.type;return this.isContextual(99)&&(i=74,a="let"),this.tsInAmbientContext((function(){if(68===i)return t.declare=!0,r.parseFunctionStatement(t,!1,!0);if(80===i)return t.declare=!0,r.parseClass(t,!0,!1);if(122===i)return r.tsParseEnumDeclaration(t,{declare:!0});if(109===i)return r.tsParseAmbientExternalModuleDeclaration(t);if(75===i||74===i)return r.match(75)&&r.isLookaheadContextual("enum")?(r.expect(75),r.tsParseEnumDeclaration(t,{const:!0,declare:!0})):(t.declare=!0,r.parseVarStatement(t,a||r.state.value,!0));if(125===i){var o=r.tsParseInterfaceDeclaration(t,{declare:!0});if(o)return o}return tokenIsIdentifier(i)?r.tsParseDeclaration(t,r.state.value,!0):void 0}))}}},{key:"tsTryParseExportDeclaration",value:function tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}},{key:"tsParseExpressionStatement",value:function tsParseExpressionStatement(t,r){switch(r.name){case"declare":var a=this.tsTryParseDeclare(t);if(a)return a.declare=!0,a;break;case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);var i=t;return i.global=!0,i.id=r,i.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(i,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(t,r.name,!1)}}},{key:"tsParseDeclaration",value:function tsParseDeclaration(t,r,a){switch(r){case"abstract":if(this.tsCheckLineTerminator(a)&&(this.match(80)||tokenIsIdentifier(this.state.type)))return this.tsParseAbstractDeclaration(t);break;case"module":if(this.tsCheckLineTerminator(a)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(t);if(tokenIsIdentifier(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t)}break;case"namespace":if(this.tsCheckLineTerminator(a)&&tokenIsIdentifier(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(t);break;case"type":if(this.tsCheckLineTerminator(a)&&tokenIsIdentifier(this.state.type))return this.tsParseTypeAliasDeclaration(t)}}},{key:"tsCheckLineTerminator",value:function tsCheckLineTerminator(t){return t?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}},{key:"tsTryParseGenericAsyncArrowFunction",value:function tsTryParseGenericAsyncArrowFunction(t,r){var a=this;if(this.match(47)){var i=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;var o=this.tsTryParseAndCatch((function(){var i=a.startNodeAt(t,r);return i.typeParameters=a.tsParseTypeParameters(),(0,d.default)((0,v.default)(_class4.prototype),"parseFunctionParams",a).call(a,i),i.returnType=a.tsTryParseTypeOrTypePredicateAnnotation(),a.expect(19),i}));if(this.state.maybeInArrowParameters=i,o)return this.parseArrowExpression(o,null,!0)}}},{key:"tsParseTypeArgumentsInExpression",value:function tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}},{key:"tsParseTypeArguments",value:function tsParseTypeArguments(){var t=this,r=this.startNode();return r.params=this.tsInType((function(){return t.tsInNoContext((function(){return t.expect(47),t.tsParseDelimitedList("TypeParametersOrArguments",t.tsParseType.bind(t))}))})),0===r.params.length&&this.raise(Ke.EmptyTypeArguments,{at:r}),this.expect(48),this.finishNode(r,"TSTypeParameterInstantiation")}},{key:"tsIsDeclarationStart",value:function tsIsDeclarationStart(){return function tokenIsTSDeclarationStart(t){return t>=120&&t<=126}(this.state.type)}},{key:"isExportDefaultSpecifier",value:function isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&(0,d.default)((0,v.default)(_class4.prototype),"isExportDefaultSpecifier",this).call(this)}},{key:"parseAssignableListItem",value:function parseAssignableListItem(t,r){var a,i=this.state.start,o=this.state.startLoc,l=!1,h=!1;if(void 0!==t){var c={};this.tsParseModifiers({modified:c,allowedModifiers:["public","private","protected","override","readonly"]}),a=c.accessibility,h=c.override,l=c.readonly,!1===t&&(a||l||h)&&this.raise(Ke.UnexpectedParameterModifier,{at:o})}var p=this.parseMaybeDefault();this.parseAssignableListItemTypes(p);var u=this.parseMaybeDefault(p.start,p.loc.start,p);if(a||l||h){var d=this.startNodeAt(i,o);return r.length&&(d.decorators=r),a&&(d.accessibility=a),l&&(d.readonly=l),h&&(d.override=h),"Identifier"!==u.type&&"AssignmentPattern"!==u.type&&this.raise(Ke.UnsupportedParameterPropertyKind,{at:d}),d.parameter=u,this.finishNode(d,"TSParameterProperty")}return r.length&&(p.decorators=r),u}},{key:"isSimpleParameter",value:function isSimpleParameter(t){return"TSParameterProperty"===t.type&&(0,d.default)((0,v.default)(_class4.prototype),"isSimpleParameter",this).call(this,t.parameter)||(0,d.default)((0,v.default)(_class4.prototype),"isSimpleParameter",this).call(this,t)}},{key:"parseFunctionBodyAndFinish",value:function parseFunctionBodyAndFinish(t,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(14)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));var i="FunctionDeclaration"===r?"TSDeclareFunction":"ClassMethod"===r||"ClassPrivateMethod"===r?"TSDeclareMethod":void 0;i&&!this.match(5)&&this.isLineTerminator()?this.finishNode(t,i):"TSDeclareFunction"===i&&this.state.isAmbientContext&&(this.raise(Ke.DeclareFunctionHasImplementation,{at:t}),t.declare)?(0,d.default)((0,v.default)(_class4.prototype),"parseFunctionBodyAndFinish",this).call(this,t,i,a):(0,d.default)((0,v.default)(_class4.prototype),"parseFunctionBodyAndFinish",this).call(this,t,r,a)}},{key:"registerFunctionStatementId",value:function registerFunctionStatementId(t){!t.body&&t.id?this.checkIdentifier(t.id,1024):(0,d.default)((0,v.default)(_class4.prototype),"registerFunctionStatementId",this).apply(this,arguments)}},{key:"tsCheckForInvalidTypeCasts",value:function tsCheckForInvalidTypeCasts(t){var r=this;t.forEach((function(t){"TSTypeCastExpression"===(null==t?void 0:t.type)&&r.raise(Ke.UnexpectedTypeAnnotation,{at:t.typeAnnotation})}))}},{key:"toReferencedList",value:function toReferencedList(t,r){return this.tsCheckForInvalidTypeCasts(t),t}},{key:"parseArrayLike",value:function parseArrayLike(){for(var t,r=arguments.length,a=new Array(r),i=0;ii&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){var o=this.startNodeAt(r,a);o.expression=t;var l=this.tsTryNextParseConstantContext();return o.typeAnnotation=l||this.tsNextThenParseType(),this.finishNode(o,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(o,r,a,i)}return(0,d.default)((0,v.default)(_class4.prototype),"parseExprOp",this).call(this,t,r,a,i)}},{key:"checkReservedWord",value:function checkReservedWord(t,r,a,i){this.state.isAmbientContext||(0,d.default)((0,v.default)(_class4.prototype),"checkReservedWord",this).call(this,t,r,a,i)}},{key:"checkDuplicateExports",value:function checkDuplicateExports(){}},{key:"parseImport",value:function parseImport(t){if(t.importKind="value",tokenIsIdentifier(this.state.type)||this.match(55)||this.match(5)){var r=this.lookahead();if(this.isContextual(126)&&12!==r.type&&97!==r.type&&29!==r.type&&(t.importKind="type",this.next(),r=this.lookahead()),tokenIsIdentifier(this.state.type)&&29===r.type)return this.tsParseImportEqualsDeclaration(t)}var a=(0,d.default)((0,v.default)(_class4.prototype),"parseImport",this).call(this,t);return"type"===a.importKind&&a.specifiers.length>1&&"ImportDefaultSpecifier"===a.specifiers[0].type&&this.raise(Ke.TypeImportCannotSpecifyDefaultAndNamed,{at:a}),a}},{key:"parseExport",value:function parseExport(t){if(this.match(83))return this.next(),this.isContextual(126)&&61!==this.lookaheadCharCode()?(t.importKind="type",this.next()):t.importKind="value",this.tsParseImportEqualsDeclaration(t,!0);if(this.eat(29)){var r=t;return r.expression=this.parseExpression(),this.semicolon(),this.finishNode(r,"TSExportAssignment")}if(this.eatContextual(93)){var a=t;return this.expectContextual(124),a.id=this.parseIdentifier(),this.semicolon(),this.finishNode(a,"TSNamespaceExportDeclaration")}return this.isContextual(126)&&5===this.lookahead().type?(this.next(),t.exportKind="type"):t.exportKind="value",(0,d.default)((0,v.default)(_class4.prototype),"parseExport",this).call(this,t)}},{key:"isAbstractClass",value:function isAbstractClass(){return this.isContextual(120)&&80===this.lookahead().type}},{key:"parseExportDefaultExpression",value:function parseExportDefaultExpression(){if(this.isAbstractClass()){var t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0,!0),t}if(this.match(125)){var r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return(0,d.default)((0,v.default)(_class4.prototype),"parseExportDefaultExpression",this).call(this)}},{key:"parseVarStatement",value:function parseVarStatement(t,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.state.isAmbientContext,o=(0,d.default)((0,v.default)(_class4.prototype),"parseVarStatement",this).call(this,t,r,a||i);if(!i)return o;var l,h=_createForOfIteratorHelper(o.declarations);try{for(h.s();!(l=h.n()).done;){var c=l.value,p=c.id,u=c.init;u&&("const"!==r||p.typeAnnotation?this.raise(Ke.InitializerNotAllowedInAmbientContext,{at:u}):"StringLiteral"!==u.type&&"BooleanLiteral"!==u.type&&"NumericLiteral"!==u.type&&"BigIntLiteral"!==u.type&&("TemplateLiteral"!==u.type||u.expressions.length>0)&&!isPossiblyLiteralEnum(u)&&this.raise(Ke.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:u}))}}catch(t){h.e(t)}finally{h.f()}return o}},{key:"parseStatementContent",value:function parseStatementContent(t,r){if(this.match(75)&&this.isLookaheadContextual("enum")){var a=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(a,{const:!0})}if(this.isContextual(122))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(125)){var i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i}return(0,d.default)((0,v.default)(_class4.prototype),"parseStatementContent",this).call(this,t,r)}},{key:"parseAccessModifier",value:function parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}},{key:"tsHasSomeModifiers",value:function tsHasSomeModifiers(t,r){return r.some((function(r){return tsIsAccessModifier(r)?t.accessibility===r:!!t[r]}))}},{key:"tsIsStartOfStaticBlocks",value:function tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}},{key:"parseClassMember",value:function parseClassMember(t,r,a){var i=this,o=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:r,allowedModifiers:o,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Ke.InvalidModifierOnTypeParameterPositions});var l=function callParseClassMemberWithIsStatic(){i.tsIsStartOfStaticBlocks()?(i.next(),i.next(),i.tsHasSomeModifiers(r,o)&&i.raise(Ke.StaticBlockCannotHaveModifier,{at:i.state.curPosition()}),i.parseClassStaticBlock(t,r)):i.parseClassMemberWithIsStatic(t,r,a,!!r.static)};r.declare?this.tsInAmbientContext(l):l()}},{key:"parseClassMemberWithIsStatic",value:function parseClassMemberWithIsStatic(t,r,a,i){var o=this.tsTryParseIndexSignature(r);if(o)return t.body.push(o),r.abstract&&this.raise(Ke.IndexSignatureHasAbstract,{at:r}),r.accessibility&&this.raise(Ke.IndexSignatureHasAccessibility,{at:r,modifier:r.accessibility}),r.declare&&this.raise(Ke.IndexSignatureHasDeclare,{at:r}),void(r.override&&this.raise(Ke.IndexSignatureHasOverride,{at:r}));!this.state.inAbstractClass&&r.abstract&&this.raise(Ke.NonAbstractClassHasAbstractMethod,{at:r}),r.override&&(a.hadSuperClass||this.raise(Ke.OverrideNotInSubClass,{at:r})),(0,d.default)((0,v.default)(_class4.prototype),"parseClassMemberWithIsStatic",this).call(this,t,r,a,i)}},{key:"parsePostMemberNameModifiers",value:function parsePostMemberNameModifiers(t){this.eat(17)&&(t.optional=!0),t.readonly&&this.match(10)&&this.raise(Ke.ClassMethodHasReadonly,{at:t}),t.declare&&this.match(10)&&this.raise(Ke.ClassMethodHasDeclare,{at:t})}},{key:"parseExpressionStatement",value:function parseExpressionStatement(t,r){return("Identifier"===r.type?this.tsParseExpressionStatement(t,r):void 0)||(0,d.default)((0,v.default)(_class4.prototype),"parseExpressionStatement",this).call(this,t,r)}},{key:"shouldParseExportDeclaration",value:function shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||(0,d.default)((0,v.default)(_class4.prototype),"shouldParseExportDeclaration",this).call(this)}},{key:"parseConditional",value:function parseConditional(t,r,a,i){var o=this;if(!this.state.maybeInArrowParameters||!this.match(17))return(0,d.default)((0,v.default)(_class4.prototype),"parseConditional",this).call(this,t,r,a,i);var l=this.tryParse((function(){return(0,d.default)((0,v.default)(_class4.prototype),"parseConditional",o).call(o,t,r,a)}));return l.node?(l.error&&(this.state=l.failState),l.node):(l.error&&(0,d.default)((0,v.default)(_class4.prototype),"setOptionalParametersError",this).call(this,i,l.error),t)}},{key:"parseParenItem",value:function parseParenItem(t,r,a){if(t=(0,d.default)((0,v.default)(_class4.prototype),"parseParenItem",this).call(this,t,r,a),this.eat(17)&&(t.optional=!0,this.resetEndLocation(t)),this.match(14)){var i=this.startNodeAt(r,a);return i.expression=t,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return t}},{key:"parseExportDeclaration",value:function parseExportDeclaration(t){var r=this;if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext((function(){return r.parseExportDeclaration(t)}));var a=this.state.start,i=this.state.startLoc,o=this.eatContextual(121);if(o&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(Ke.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});var l=tokenIsIdentifier(this.state.type)&&this.tsTryParseExportDeclaration()||(0,d.default)((0,v.default)(_class4.prototype),"parseExportDeclaration",this).call(this,t);return l?(("TSInterfaceDeclaration"===l.type||"TSTypeAliasDeclaration"===l.type||o)&&(t.exportKind="type"),o&&(this.resetStartLocation(l,a,i),l.declare=!0),l):null}},{key:"parseClassId",value:function parseClassId(t,r,a){if(r&&!a||!this.isContextual(110)){(0,d.default)((0,v.default)(_class4.prototype),"parseClassId",this).call(this,t,r,a,t.declare?1024:139);var i=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));i&&(t.typeParameters=i)}}},{key:"parseClassPropertyAnnotation",value:function parseClassPropertyAnnotation(t){!t.optional&&this.eat(35)&&(t.definite=!0);var r=this.tsTryParseTypeAnnotation();r&&(t.typeAnnotation=r)}},{key:"parseClassProperty",value:function parseClassProperty(t){if(this.parseClassPropertyAnnotation(t),this.state.isAmbientContext&&this.match(29)&&this.raise(Ke.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),t.abstract&&this.match(29)){var r=t.key;this.raise(Ke.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==r.type||t.computed?"[".concat(this.input.slice(r.start,r.end),"]"):r.name})}return(0,d.default)((0,v.default)(_class4.prototype),"parseClassProperty",this).call(this,t)}},{key:"parseClassPrivateProperty",value:function parseClassPrivateProperty(t){return t.abstract&&this.raise(Ke.PrivateElementHasAbstract,{at:t}),t.accessibility&&this.raise(Ke.PrivateElementHasAccessibility,{at:t,modifier:t.accessibility}),this.parseClassPropertyAnnotation(t),(0,d.default)((0,v.default)(_class4.prototype),"parseClassPrivateProperty",this).call(this,t)}},{key:"pushClassMethod",value:function pushClassMethod(t,r,a,i,o,l){var h=this.tsTryParseTypeParameters();h&&o&&this.raise(Ke.ConstructorHasTypeParameters,{at:h});var c=r.declare,p=void 0!==c&&c,u=r.kind;!p||"get"!==u&&"set"!==u||this.raise(Ke.DeclareAccessor,{at:r,kind:u}),h&&(r.typeParameters=h),(0,d.default)((0,v.default)(_class4.prototype),"pushClassMethod",this).call(this,t,r,a,i,o,l)}},{key:"pushClassPrivateMethod",value:function pushClassPrivateMethod(t,r,a,i){var o=this.tsTryParseTypeParameters();o&&(r.typeParameters=o),(0,d.default)((0,v.default)(_class4.prototype),"pushClassPrivateMethod",this).call(this,t,r,a,i)}},{key:"declareClassPrivateMethodInScope",value:function declareClassPrivateMethodInScope(t,r){"TSDeclareMethod"!==t.type&&("MethodDefinition"!==t.type||t.value.body)&&(0,d.default)((0,v.default)(_class4.prototype),"declareClassPrivateMethodInScope",this).call(this,t,r)}},{key:"parseClassSuper",value:function parseClassSuper(t){(0,d.default)((0,v.default)(_class4.prototype),"parseClassSuper",this).call(this,t),t.superClass&&(this.match(47)||this.match(51))&&(t.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(110)&&(t.implements=this.tsParseHeritageClause("implements"))}},{key:"parseObjPropValue",value:function parseObjPropValue(t){var r,a=this.tsTryParseTypeParameters();a&&(t.typeParameters=a);for(var i=arguments.length,o=new Array(i>1?i-1:0),l=1;l1&&void 0!==arguments[1]&&arguments[1];switch(t.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(t,r);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":r?this.expressionScope.recordArrowParemeterBindingError(Ke.UnexpectedTypeCastInParameter,{at:t}):this.raise(Ke.UnexpectedTypeCastInParameter,{at:t}),this.toAssignable(t.expression,r);break;case"AssignmentExpression":r||"TSTypeCastExpression"!==t.left.type||(t.left=this.typeCastToParameter(t.left));default:(0,d.default)((0,v.default)(_class4.prototype),"toAssignable",this).call(this,t,r)}}},{key:"toAssignableParenthesizedExpression",value:function toAssignableParenthesizedExpression(t,r){switch(t.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(t.expression,r);break;default:(0,d.default)((0,v.default)(_class4.prototype),"toAssignable",this).call(this,t,r)}}},{key:"checkToRestConversion",value:function checkToRestConversion(t,r){switch(t.type){case"TSAsExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(t.expression,!1);break;default:(0,d.default)((0,v.default)(_class4.prototype),"checkToRestConversion",this).call(this,t,r)}}},{key:"isValidLVal",value:function isValidLVal(t,r,a){return function getOwn$1(t,r){return Object.hasOwnProperty.call(t,r)&&t[r]}({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(64!==a||!r)&&["expression",!0],TSTypeAssertion:(64!==a||!r)&&["expression",!0]},t)||(0,d.default)((0,v.default)(_class4.prototype),"isValidLVal",this).call(this,t,r,a)}},{key:"parseBindingAtom",value:function parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return(0,d.default)((0,v.default)(_class4.prototype),"parseBindingAtom",this).call(this)}}},{key:"parseMaybeDecoratorArguments",value:function parseMaybeDecoratorArguments(t){if(this.match(47)||this.match(51)){var r=this.tsParseTypeArgumentsInExpression();if(this.match(10)){var a=(0,d.default)((0,v.default)(_class4.prototype),"parseMaybeDecoratorArguments",this).call(this,t);return a.typeParameters=r,a}this.unexpected(null,10)}return(0,d.default)((0,v.default)(_class4.prototype),"parseMaybeDecoratorArguments",this).call(this,t)}},{key:"checkCommaAfterRest",value:function checkCommaAfterRest(t){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===t?(this.next(),!1):(0,d.default)((0,v.default)(_class4.prototype),"checkCommaAfterRest",this).call(this,t)}},{key:"isClassMethod",value:function isClassMethod(){return this.match(47)||(0,d.default)((0,v.default)(_class4.prototype),"isClassMethod",this).call(this)}},{key:"isClassProperty",value:function isClassProperty(){return this.match(35)||this.match(14)||(0,d.default)((0,v.default)(_class4.prototype),"isClassProperty",this).call(this)}},{key:"parseMaybeDefault",value:function parseMaybeDefault(){for(var t,r=arguments.length,a=new Array(r),i=0;i1?i-1:0),l=1;l1?a-1:0),o=1;o0)||(0,d.default)((0,v.default)(_class5.prototype),"maybeParseExportDefaultSpecifier",this).apply(this,arguments)}},{key:"checkExport",value:function checkExport(t){var r=t.specifiers;null!=r&&r.length&&(t.specifiers=r.filter((function(t){return"Placeholder"===t.exported.type}))),(0,d.default)((0,v.default)(_class5.prototype),"checkExport",this).call(this,t),t.specifiers=r}},{key:"parseImport",value:function parseImport(t){var r=this.parsePlaceholder("Identifier");if(!r)return(0,d.default)((0,v.default)(_class5.prototype),"parseImport",this).apply(this,arguments);if(t.specifiers=[],!this.isContextual(97)&&!this.match(12))return t.source=this.finishPlaceholder(r,"StringLiteral"),this.semicolon(),this.finishNode(t,"ImportDeclaration");var a=this.startNodeAtNode(r);if(a.local=r,this.finishNode(a,"ImportDefaultSpecifier"),t.specifiers.push(a),this.eat(12)){var i=this.maybeParseStarImportSpecifier(t);i||this.parseNamedImportSpecifiers(t)}return this.expectContextual(97),t.source=this.parseImportSource(),this.semicolon(),this.finishNode(t,"ImportDeclaration")}},{key:"parseImportSource",value:function parseImportSource(){return this.parsePlaceholder("StringLiteral")||(0,d.default)((0,v.default)(_class5.prototype),"parseImportSource",this).apply(this,arguments)}},{key:"assertNoSpace",value:function assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(Ve.UnexpectedSpace,{at:this.state.lastTokEndLoc})}}]),_class5}(t)}},Xe=Object.keys(Je),Ge={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};var Ye=function unwrapParenthesizedExpression(t){return"ParenthesizedExpression"===t.type?unwrapParenthesizedExpression(t.expression):t},Qe=function(t){(0,m.default)(ExpressionParser,t);var r=_createSuper(ExpressionParser);function ExpressionParser(){return(0,g.default)(this,ExpressionParser),r.apply(this,arguments)}return(0,k.default)(ExpressionParser,[{key:"checkProto",value:function checkProto(t,r,a,i){if(!("SpreadElement"===t.type||this.isObjectMethod(t)||t.computed||t.shorthand)){var o=t.key;if("__proto__"===("Identifier"===o.type?o.name:o.value)){if(r)return void this.raise(N.RecordNoProto,{at:o});a.used&&(i?null===i.doubleProtoLoc&&(i.doubleProtoLoc=o.loc.start):this.raise(N.DuplicateProto,{at:o})),a.used=!0}}}},{key:"shouldExitDescending",value:function shouldExitDescending(t,r){return"ArrowFunctionExpression"===t.type&&t.start===r}},{key:"getExpression",value:function getExpression(){this.enterInitialScopes(),this.nextToken();var t=this.parseExpression();return this.match(135)||this.unexpected(),this.finalizeRemainingComments(),t.comments=this.state.comments,t.errors=this.state.errors,this.options.tokens&&(t.tokens=this.tokens),t}},{key:"parseExpression",value:function parseExpression(t,r){var a=this;return t?this.disallowInAnd((function(){return a.parseExpressionBase(r)})):this.allowInAnd((function(){return a.parseExpressionBase(r)}))}},{key:"parseExpressionBase",value:function parseExpressionBase(t){var r=this.state.start,a=this.state.startLoc,i=this.parseMaybeAssign(t);if(this.match(12)){var o=this.startNodeAt(r,a);for(o.expressions=[i];this.eat(12);)o.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(o.expressions),this.finishNode(o,"SequenceExpression")}return i}},{key:"parseMaybeAssignDisallowIn",value:function parseMaybeAssignDisallowIn(t,r){var a=this;return this.disallowInAnd((function(){return a.parseMaybeAssign(t,r)}))}},{key:"parseMaybeAssignAllowIn",value:function parseMaybeAssignAllowIn(t,r){var a=this;return this.allowInAnd((function(){return a.parseMaybeAssign(t,r)}))}},{key:"setOptionalParametersError",value:function setOptionalParametersError(t,r){var a;t.optionalParametersLoc=null!=(a=null==r?void 0:r.loc)?a:this.state.startLoc}},{key:"parseMaybeAssign",value:function parseMaybeAssign(t,r){var a,i=this.state.start,o=this.state.startLoc;if(this.isContextual(105)&&this.prodParam.hasYield){var l=this.parseYield();return r&&(l=r.call(this,l,i,o)),l}t?a=!1:(t=new Ne,a=!0);var h=this.state.type;(10===h||tokenIsIdentifier(h))&&(this.state.potentialArrowAt=this.state.start);var c=this.parseMaybeConditional(t);if(r&&(c=r.call(this,c,i,o)),function tokenIsAssignment(t){return t>=29&&t<=33}(this.state.type)){var p=this.startNodeAt(i,o),u=this.state.value;return p.operator=u,this.match(29)?(this.toAssignable(c,!0),p.left=c,null!=t.doubleProtoLoc&&t.doubleProtoLoc.index>=i&&(t.doubleProtoLoc=null),null!=t.shorthandAssignLoc&&t.shorthandAssignLoc.index>=i&&(t.shorthandAssignLoc=null),null!=t.privateKeyLoc&&t.privateKeyLoc.index>=i&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null)):p.left=c,this.next(),p.right=this.parseMaybeAssign(),this.checkLVal(c,{in:this.finishNode(p,"AssignmentExpression")}),p}return a&&this.checkExpressionErrors(t,!0),c}},{key:"parseMaybeConditional",value:function parseMaybeConditional(t){var r=this.state.start,a=this.state.startLoc,i=this.state.potentialArrowAt,o=this.parseExprOps(t);return this.shouldExitDescending(o,i)?o:this.parseConditional(o,r,a,t)}},{key:"parseConditional",value:function parseConditional(t,r,a,i){if(this.eat(17)){var o=this.startNodeAt(r,a);return o.test=t,o.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),o.alternate=this.parseMaybeAssign(),this.finishNode(o,"ConditionalExpression")}return t}},{key:"parseMaybeUnaryOrPrivate",value:function parseMaybeUnaryOrPrivate(t){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(t)}},{key:"parseExprOps",value:function parseExprOps(t){var r=this.state.start,a=this.state.startLoc,i=this.state.potentialArrowAt,o=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(o,i)?o:this.parseExprOp(o,r,a,-1)}},{key:"parseExprOp",value:function parseExprOp(t,r,a,i){if(this.isPrivateName(t)){var o=this.getPrivateNameSV(t);(i>=tokenOperatorPrecedence(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(N.PrivateInExpectedIn,{at:t,identifierName:o}),this.classScope.usePrivateName(o,t.loc.start)}var l=this.state.type;if(function tokenIsOperator(t){return t>=39&&t<=59}(l)&&(this.prodParam.hasIn||!this.match(58))){var h=tokenOperatorPrecedence(l);if(h>i){if(39===l){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,a)}var c=this.startNodeAt(r,a);c.left=t,c.operator=this.state.value;var p=41===l||42===l,u=40===l;if(u&&(h=tokenOperatorPrecedence(42)),this.next(),39===l&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(N.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});c.right=this.parseExprOpRightExpr(l,h),this.finishNode(c,p||u?"LogicalExpression":"BinaryExpression");var d=this.state.type;if(u&&(41===d||42===d)||p&&40===d)throw this.raise(N.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(c,r,a,i)}}return t}},{key:"parseExprOpRightExpr",value:function parseExprOpRightExpr(t,r){var a=this,i=this.state.start,o=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((function(){return a.parseHackPipeBody()}));case"smart":return this.withTopicBindingContext((function(){if(a.prodParam.hasYield&&a.isContextual(105))throw a.raise(N.PipeBodyIsTighter,{at:a.state.startLoc});return a.parseSmartPipelineBodyInStyle(a.parseExprOpBaseRightExpr(t,r),i,o)}));case"fsharp":return this.withSoloAwaitPermittingContext((function(){return a.parseFSharpPipelineBody(r)}))}default:return this.parseExprOpBaseRightExpr(t,r)}}},{key:"parseExprOpBaseRightExpr",value:function parseExprOpBaseRightExpr(t,r){var a=this.state.start,i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),a,i,function tokenIsRightAssociative(t){return 57===t}(t)?r-1:r)}},{key:"parseHackPipeBody",value:function parseHackPipeBody(){var t,r=this.state.startLoc,a=this.parseMaybeAssign();return!C.has(a.type)||null!=(t=a.extra)&&t.parenthesized||this.raise(N.PipeUnparenthesizedBody,{at:r,type:a.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(N.PipeTopicUnused,{at:r}),a}},{key:"checkExponentialAfterUnary",value:function checkExponentialAfterUnary(t){this.match(57)&&this.raise(N.UnexpectedTokenUnaryExponentiation,{at:t.argument})}},{key:"parseMaybeUnary",value:function parseMaybeUnary(t,r){var a=this.state.start,i=this.state.startLoc,o=this.isContextual(96);if(o&&this.isAwaitAllowed()){this.next();var l=this.parseAwait(a,i);return r||this.checkExponentialAfterUnary(l),l}var h=this.match(34),c=this.startNode();if(function tokenIsPrefix(t){return z[t]}(this.state.type)){c.operator=this.state.value,c.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");var p=this.match(89);if(this.next(),c.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&p){var u=c.argument;"Identifier"===u.type?this.raise(N.StrictDelete,{at:c}):this.hasPropertyAsPrivateName(u)&&this.raise(N.DeletePrivateField,{at:c})}if(!h)return r||this.checkExponentialAfterUnary(c),this.finishNode(c,"UnaryExpression")}var d=this.parseUpdate(c,h,t);if(o){var m=this.state.type;if((this.hasPlugin("v8intrinsic")?tokenCanStartExpression(m):tokenCanStartExpression(m)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(N.AwaitNotInAsyncContext,{at:i}),this.parseAwait(a,i)}return d}},{key:"parseUpdate",value:function parseUpdate(t,r,a){if(r)return this.checkLVal(t.argument,{in:this.finishNode(t,"UpdateExpression")}),t;var i=this.state.start,o=this.state.startLoc,l=this.parseExprSubscripts(a);if(this.checkExpressionErrors(a,!1))return l;for(;34===this.state.type&&!this.canInsertSemicolon();){var h=this.startNodeAt(i,o);h.operator=this.state.value,h.prefix=!1,h.argument=l,this.next(),this.checkLVal(l,{in:l=this.finishNode(h,"UpdateExpression")})}return l}},{key:"parseExprSubscripts",value:function parseExprSubscripts(t){var r=this.state.start,a=this.state.startLoc,i=this.state.potentialArrowAt,o=this.parseExprAtom(t);return this.shouldExitDescending(o,i)?o:this.parseSubscripts(o,r,a)}},{key:"parseSubscripts",value:function parseSubscripts(t,r,a,i){var o={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do{t=this.parseSubscript(t,r,a,i,o),o.maybeAsyncArrow=!1}while(!o.stop);return t}},{key:"parseSubscript",value:function parseSubscript(t,r,a,i,o){var l=this.state.type;if(!i&&15===l)return this.parseBind(t,r,a,i,o);if(tokenIsTemplate(l))return this.parseTaggedTemplateExpression(t,r,a,o);var h=!1;if(18===l){if(i&&40===this.lookaheadCharCode())return o.stop=!0,t;o.optionalChainMember=h=!0,this.next()}if(!i&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,r,a,o,h);var c=this.eat(0);return c||h||this.eat(16)?this.parseMember(t,r,a,o,c,h):(o.stop=!0,t)}},{key:"parseMember",value:function parseMember(t,r,a,i,o,l){var h=this.startNodeAt(r,a);return h.object=t,h.computed=o,o?(h.property=this.parseExpression(),this.expect(3)):this.match(134)?("Super"===t.type&&this.raise(N.SuperPrivateField,{at:a}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),h.property=this.parsePrivateName()):h.property=this.parseIdentifier(!0),i.optionalChainMember?(h.optional=l,this.finishNode(h,"OptionalMemberExpression")):this.finishNode(h,"MemberExpression")}},{key:"parseBind",value:function parseBind(t,r,a,i,o){var l=this.startNodeAt(r,a);return l.object=t,this.next(),l.callee=this.parseNoCallExpr(),o.stop=!0,this.parseSubscripts(this.finishNode(l,"BindExpression"),r,a,i)}},{key:"parseCoverCallAndAsyncArrowHead",value:function parseCoverCallAndAsyncArrowHead(t,r,a,i,o){var l=this.state.maybeInArrowParameters,h=null;this.state.maybeInArrowParameters=!0,this.next();var c=this.startNodeAt(r,a);c.callee=t;var p=i.maybeAsyncArrow,u=i.optionalChainMember;return p&&(this.expressionScope.enter(function newAsyncArrowScope(){return new Ee(2)}()),h=new Ne),u&&(c.optional=o),c.arguments=o?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===t.type,"Super"!==t.type,c,h),this.finishCallExpression(c,u),p&&this.shouldParseAsyncArrow()&&!o?(i.stop=!0,this.checkDestructuringPrivate(h),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),c=this.parseAsyncArrowFromCallExpression(this.startNodeAt(r,a),c)):(p&&(this.checkExpressionErrors(h,!0),this.expressionScope.exit()),this.toReferencedArguments(c)),this.state.maybeInArrowParameters=l,c}},{key:"toReferencedArguments",value:function toReferencedArguments(t,r){this.toReferencedListDeep(t.arguments,r)}},{key:"parseTaggedTemplateExpression",value:function parseTaggedTemplateExpression(t,r,a,i){var o=this.startNodeAt(r,a);return o.tag=t,o.quasi=this.parseTemplate(!0),i.optionalChainMember&&this.raise(N.OptionalChainingNoTemplate,{at:a}),this.finishNode(o,"TaggedTemplateExpression")}},{key:"atPossibleAsyncArrow",value:function atPossibleAsyncArrow(t){return"Identifier"===t.type&&"async"===t.name&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start==5&&t.start===this.state.potentialArrowAt}},{key:"finishCallExpression",value:function finishCallExpression(t,r){if("Import"===t.callee.type)if(2===t.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===t.arguments.length||t.arguments.length>2)this.raise(N.ImportCallArity,{at:t,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else{var a,i=_createForOfIteratorHelper(t.arguments);try{for(i.s();!(a=i.n()).done;){var o=a.value;"SpreadElement"===o.type&&this.raise(N.ImportCallSpreadArgument,{at:o})}}catch(t){i.e(t)}finally{i.f()}}return this.finishNode(t,r?"OptionalCallExpression":"CallExpression")}},{key:"parseCallExpressionArguments",value:function parseCallExpressionArguments(t,r,a,i,o){var l=[],h=!0,c=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(t);){if(h)h=!1;else if(this.expect(12),this.match(t)){!r||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(N.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),i&&this.addTrailingCommaExtraToNode(i),this.next();break}l.push(this.parseExprListItem(!1,o,a))}return this.state.inFSharpPipelineDirectBody=c,l}},{key:"shouldParseAsyncArrow",value:function shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}},{key:"parseAsyncArrowFromCallExpression",value:function parseAsyncArrowFromCallExpression(t,r){var a;return this.resetPreviousNodeTrailingComments(r),this.expect(19),this.parseArrowExpression(t,r.arguments,!0,null==(a=r.extra)?void 0:a.trailingCommaLoc),r.innerComments&&setInnerComments(t,r.innerComments),r.callee.trailingComments&&setInnerComments(t,r.callee.trailingComments),t}},{key:"parseNoCallExpr",value:function parseNoCallExpr(){var t=this.state.start,r=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,r,!0)}},{key:"parseExprAtom",value:function parseExprAtom(t){var r,a=this.state.type;switch(a){case 79:return this.parseSuper();case 83:return r=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(r):(this.match(10)||this.raise(N.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(r,"Import"));case 78:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129: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:var i=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(i);case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,t);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:return r=this.startNode(),this.takeDecorators(r),this.parseClass(r,!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:r=this.startNode(),this.next(),r.object=null;var o=r.callee=this.parseNoCallExpr();if("MemberExpression"===o.type)return this.finishNode(r,"BindExpression");throw this.raise(N.UnsupportedBind,{at:o});case 134:return this.raise(N.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:var l=this.getPluginOption("pipelineOperator","proposal");if(l)return this.parseTopicReference(l);throw this.unexpected();case 47:var h=this.input.codePointAt(this.nextTokenStart());if(isIdentifierStart(h)||62===h){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected();default:if(tokenIsIdentifier(a)){if(this.isContextual(123)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();var c=this.state.potentialArrowAt===this.state.start,p=this.state.containsEsc,u=this.parseIdentifier();if(!p&&"async"===u.name&&!this.canInsertSemicolon()){var d=this.state.type;if(68===d)return this.resetPreviousNodeTrailingComments(u),this.next(),this.parseFunction(this.startNodeAtNode(u),void 0,!0);if(tokenIsIdentifier(d))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(u)):u;if(90===d)return this.resetPreviousNodeTrailingComments(u),this.parseDo(this.startNodeAtNode(u),!0)}return c&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(u),[u],!1)):u}throw this.unexpected()}}},{key:"parseTopicReferenceThenEqualsSign",value:function parseTopicReferenceThenEqualsSign(t,r){var a=this.getPluginOption("pipelineOperator","proposal");if(a)return this.state.type=t,this.state.value=r,this.state.pos--,this.state.end--,this.state.endLoc=createPositionWithColumnOffset(this.state.endLoc,-1),this.parseTopicReference(a);throw this.unexpected()}},{key:"parseTopicReference",value:function parseTopicReference(t){var r=this.startNode(),a=this.state.startLoc,i=this.state.type;return this.next(),this.finishTopicReference(r,a,t,i)}},{key:"finishTopicReference",value:function finishTopicReference(t,r,a,i){if(this.testTopicReferenceConfiguration(a,r,i)){var o="smart"===a?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===a?N.PrimaryTopicNotAllowed:N.PipeTopicUnbound,{at:r}),this.registerTopicReference(),this.finishNode(t,o)}throw this.raise(N.PipeTopicUnconfiguredToken,{at:r,token:tokenLabelName(i)})}},{key:"testTopicReferenceConfiguration",value:function testTopicReferenceConfiguration(t,r,a){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:tokenLabelName(a)}]);case"smart":return 27===a;default:throw this.raise(N.PipeTopicRequiresHackPipes,{at:r})}}},{key:"parseAsyncArrowUnaryFunction",value:function parseAsyncArrowUnaryFunction(t){this.prodParam.enter(functionFlags(!0,this.prodParam.hasYield));var r=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(N.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(t,r,!0),t}},{key:"parseDo",value:function parseDo(t,r){this.expectPlugin("doExpressions"),r&&this.expectPlugin("asyncDoExpressions"),t.async=r,this.next();var a=this.state.labels;return this.state.labels=[],r?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=a,this.finishNode(t,"DoExpression")}},{key:"parseSuper",value:function parseSuper(){var t=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(N.UnexpectedSuper,{at:t}):this.raise(N.SuperNotAllowed,{at:t}),this.match(10)||this.match(0)||this.match(16)||this.raise(N.UnsupportedSuper,{at:t}),this.finishNode(t,"Super")}},{key:"parsePrivateName",value:function parsePrivateName(){var t=this.startNode(),r=this.startNodeAt(this.state.start+1,new T(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),a=this.state.value;return this.next(),t.id=this.createIdentifier(r,a),this.finishNode(t,"PrivateName")}},{key:"parseFunctionOrFunctionSent",value:function parseFunctionOrFunctionSent(){var t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){var r=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,r,"sent")}return this.parseFunction(t)}},{key:"parseMetaProperty",value:function parseMetaProperty(t,r,a){t.meta=r;var i=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==a||i)&&this.raise(N.UnsupportedMetaProperty,{at:t.property,target:r.name,onlyValidPropertyName:a}),this.finishNode(t,"MetaProperty")}},{key:"parseImportMetaProperty",value:function parseImportMetaProperty(t){var r=this.createIdentifier(this.startNodeAtNode(t),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(N.ImportMetaOutsideModule,{at:r}),this.sawUnambiguousESM=!0),this.parseMetaProperty(t,r,"meta")}},{key:"parseLiteralAtNode",value:function parseLiteralAtNode(t,r,a){return this.addExtra(a,"rawValue",t),this.addExtra(a,"raw",this.input.slice(a.start,this.state.end)),a.value=t,this.next(),this.finishNode(a,r)}},{key:"parseLiteral",value:function parseLiteral(t,r){var a=this.startNode();return this.parseLiteralAtNode(t,r,a)}},{key:"parseStringLiteral",value:function parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}},{key:"parseNumericLiteral",value:function parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}},{key:"parseBigIntLiteral",value:function parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}},{key:"parseDecimalLiteral",value:function parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}},{key:"parseRegExpLiteral",value:function parseRegExpLiteral(t){var r=this.parseLiteral(t.value,"RegExpLiteral");return r.pattern=t.pattern,r.flags=t.flags,r}},{key:"parseBooleanLiteral",value:function parseBooleanLiteral(t){var r=this.startNode();return r.value=t,this.next(),this.finishNode(r,"BooleanLiteral")}},{key:"parseNullLiteral",value:function parseNullLiteral(){var t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}},{key:"parseParenAndDistinguishExpression",value:function parseParenAndDistinguishExpression(t){var r,a=this.state.start,i=this.state.startLoc;this.next(),this.expressionScope.enter(function newArrowHeadScope(){return new Ee(1)}());var o=this.state.maybeInArrowParameters,l=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;for(var h,c,p=this.state.start,u=this.state.startLoc,d=[],m=new Ne,y=!0;!this.match(11);){if(y)y=!1;else if(this.expect(12,null===m.optionalParametersLoc?null:m.optionalParametersLoc),this.match(11)){c=this.state.startLoc;break}if(this.match(21)){var v=this.state.start,x=this.state.startLoc;if(h=this.state.startLoc,d.push(this.parseParenItem(this.parseRestBinding(),v,x)),!this.checkCommaAfterRest(41))break}else d.push(this.parseMaybeAssignAllowIn(m,this.parseParenItem))}var P=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=o,this.state.inFSharpPipelineDirectBody=l;var k=this.startNodeAt(a,i);return t&&this.shouldParseArrow(d)&&(k=this.parseArrow(k))?(this.checkDestructuringPrivate(m),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(k,d,!1),k):(this.expressionScope.exit(),d.length||this.unexpected(this.state.lastTokStartLoc),c&&this.unexpected(c),h&&this.unexpected(h),this.checkExpressionErrors(m,!0),this.toReferencedListDeep(d,!0),d.length>1?((r=this.startNodeAt(p,u)).expressions=d,this.finishNode(r,"SequenceExpression"),this.resetEndLocation(r,P)):r=d[0],this.wrapParenthesis(a,i,r))}},{key:"wrapParenthesis",value:function wrapParenthesis(t,r,a){if(!this.options.createParenthesizedExpressions)return this.addExtra(a,"parenthesized",!0),this.addExtra(a,"parenStart",t),this.takeSurroundingComments(a,t,this.state.lastTokEndLoc.index),a;var i=this.startNodeAt(t,r);return i.expression=a,this.finishNode(i,"ParenthesizedExpression"),i}},{key:"shouldParseArrow",value:function shouldParseArrow(t){return!this.canInsertSemicolon()}},{key:"parseArrow",value:function parseArrow(t){if(this.eat(19))return t}},{key:"parseParenItem",value:function parseParenItem(t,r,a){return t}},{key:"parseNewOrNewTarget",value:function parseNewOrNewTarget(){var t=this.startNode();if(this.next(),this.match(16)){var r=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();var a=this.parseMetaProperty(t,r,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.raise(N.UnexpectedNewTarget,{at:a}),a}return this.parseNew(t)}},{key:"parseNew",value:function parseNew(t){if(this.parseNewCallee(t),this.eat(10)){var r=this.parseExprList(11);this.toReferencedList(r),t.arguments=r}else t.arguments=[];return this.finishNode(t,"NewExpression")}},{key:"parseNewCallee",value:function parseNewCallee(t){t.callee=this.parseNoCallExpr(),"Import"===t.callee.type?this.raise(N.ImportCallNotNewExpression,{at:t.callee}):this.isOptionalChain(t.callee)?this.raise(N.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(N.OptionalChainingNoNew,{at:this.state.startLoc})}},{key:"parseTemplateElement",value:function parseTemplateElement(t){var r=this.state,a=r.start,i=r.startLoc,o=r.end,l=r.value,h=a+1,c=this.startNodeAt(h,createPositionWithColumnOffset(i,1));null===l&&(t||this.raise(N.InvalidEscapeSequenceTemplate,{at:createPositionWithColumnOffset(i,2)}));var p=this.match(24),u=p?-1:-2,d=o+u;return c.value={raw:this.input.slice(h,d).replace(/\r\n?/g,"\n"),cooked:null===l?null:l.slice(1,u)},c.tail=p,this.next(),this.finishNode(c,"TemplateElement"),this.resetEndLocation(c,createPositionWithColumnOffset(this.state.lastTokEndLoc,u)),c}},{key:"parseTemplate",value:function parseTemplate(t){var r=this.startNode();r.expressions=[];var a=this.parseTemplateElement(t);for(r.quasis=[a];!a.tail;)r.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.quasis.push(a=this.parseTemplateElement(t));return this.finishNode(r,"TemplateLiteral")}},{key:"parseTemplateSubstitution",value:function parseTemplateSubstitution(){return this.parseExpression()}},{key:"parseObjectLike",value:function parseObjectLike(t,r,a,i){a&&this.expectPlugin("recordAndTuple");var o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var l=Object.create(null),h=!0,c=this.startNode();for(c.properties=[],this.next();!this.match(t);){if(h)h=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(c);break}var p=void 0;r?p=this.parseBindingProperty():(p=this.parsePropertyDefinition(i),this.checkProto(p,a,l,i)),a&&!this.isObjectProperty(p)&&"SpreadElement"!==p.type&&this.raise(N.InvalidRecordProperty,{at:p}),p.shorthand&&this.addExtra(p,"shorthand",!0),c.properties.push(p)}this.next(),this.state.inFSharpPipelineDirectBody=o;var u="ObjectExpression";return r?u="ObjectPattern":a&&(u="RecordExpression"),this.finishNode(c,u)}},{key:"addTrailingCommaExtraToNode",value:function addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStart),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}},{key:"maybeAsyncOrAccessorProp",value:function maybeAsyncOrAccessorProp(t){return!t.computed&&"Identifier"===t.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}},{key:"parsePropertyDefinition",value:function parsePropertyDefinition(t){var r=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(N.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)r.push(this.parseDecorator());var a,i,o=this.startNode(),l=!1,h=!1;if(this.match(21))return r.length&&this.unexpected(),this.parseSpread();r.length&&(o.decorators=r,r=[]),o.method=!1,t&&(a=this.state.start,i=this.state.startLoc);var c=this.eat(55);this.parsePropertyNamePrefixOperator(o);var p=this.state.containsEsc,u=this.parsePropertyName(o,t);if(!c&&!p&&this.maybeAsyncOrAccessorProp(o)){var d=u.name;"async"!==d||this.hasPrecedingLineBreak()||(l=!0,this.resetPreviousNodeTrailingComments(u),c=this.eat(55),this.parsePropertyName(o)),"get"!==d&&"set"!==d||(h=!0,this.resetPreviousNodeTrailingComments(u),o.kind=d,this.match(55)&&(c=!0,this.raise(N.AccessorIsGenerator,{at:this.state.curPosition(),kind:d}),this.next()),this.parsePropertyName(o))}return this.parseObjPropValue(o,a,i,c,l,!1,h,t),o}},{key:"getGetterSetterExpectedParamCount",value:function getGetterSetterExpectedParamCount(t){return"get"===t.kind?0:1}},{key:"getObjectOrClassMethodParams",value:function getObjectOrClassMethodParams(t){return t.params}},{key:"checkGetterSetterParams",value:function checkGetterSetterParams(t){var r,a=this.getGetterSetterExpectedParamCount(t),i=this.getObjectOrClassMethodParams(t);i.length!==a&&this.raise("get"===t.kind?N.BadGetterArity:N.BadSetterArity,{at:t}),"set"===t.kind&&"RestElement"===(null==(r=i[i.length-1])?void 0:r.type)&&this.raise(N.BadSetterRestParameter,{at:t})}},{key:"parseObjectMethod",value:function parseObjectMethod(t,r,a,i,o){return o?(this.parseMethod(t,r,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(t),t):a||r||this.match(10)?(i&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,r,a,!1,!1,"ObjectMethod")):void 0}},{key:"parseObjectProperty",value:function parseObjectProperty(t,r,a,i,o){if(t.shorthand=!1,this.eat(14))return t.value=i?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(o),this.finishNode(t,"ObjectProperty");if(!t.computed&&"Identifier"===t.key.type){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),i)t.value=this.parseMaybeDefault(r,a,cloneIdentifier(t.key));else if(this.match(29)){var l=this.state.startLoc;null!=o?null===o.shorthandAssignLoc&&(o.shorthandAssignLoc=l):this.raise(N.InvalidCoverInitializedName,{at:l}),t.value=this.parseMaybeDefault(r,a,cloneIdentifier(t.key))}else t.value=cloneIdentifier(t.key);return t.shorthand=!0,this.finishNode(t,"ObjectProperty")}}},{key:"parseObjPropValue",value:function parseObjPropValue(t,r,a,i,o,l,h,c){var p=this.parseObjectMethod(t,i,o,l,h)||this.parseObjectProperty(t,r,a,l,c);return p||this.unexpected(),p}},{key:"parsePropertyName",value:function parsePropertyName(t,r){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{var a,i=this.state,o=i.type,l=i.value;if(tokenIsKeywordOrIdentifier(o))a=this.parseIdentifier(!0);else switch(o){case 130:a=this.parseNumericLiteral(l);break;case 129:a=this.parseStringLiteral(l);break;case 131:a=this.parseBigIntLiteral(l);break;case 132:a=this.parseDecimalLiteral(l);break;case 134:var h=this.state.startLoc;null!=r?null===r.privateKeyLoc&&(r.privateKeyLoc=h):this.raise(N.UnexpectedPrivateField,{at:h}),a=this.parsePrivateName();break;default:throw this.unexpected()}t.key=a,134!==o&&(t.computed=!1)}return t.key}},{key:"initFunction",value:function initFunction(t,r){t.id=null,t.generator=!1,t.async=!!r}},{key:"parseMethod",value:function parseMethod(t,r,a,i,o,l){var h=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(t,a),t.generator=!!r;var c=i;return this.scope.enter(18|(h?64:0)|(o?32:0)),this.prodParam.enter(functionFlags(a,t.generator)),this.parseFunctionParams(t,c),this.parseFunctionBodyAndFinish(t,l,!0),this.prodParam.exit(),this.scope.exit(),t}},{key:"parseArrayLike",value:function parseArrayLike(t,r,a,i){a&&this.expectPlugin("recordAndTuple");var o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var l=this.startNode();return this.next(),l.elements=this.parseExprList(t,!a,i,l),this.state.inFSharpPipelineDirectBody=o,this.finishNode(l,a?"TupleExpression":"ArrayExpression")}},{key:"parseArrowExpression",value:function parseArrowExpression(t,r,a,i){this.scope.enter(6);var o=functionFlags(a,!1);!this.match(5)&&this.prodParam.hasIn&&(o|=8),this.prodParam.enter(o),this.initFunction(t,a);var l=this.state.maybeInArrowParameters;return r&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,r,i)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=l,this.finishNode(t,"ArrowFunctionExpression")}},{key:"setArrowFunctionParameters",value:function setArrowFunctionParameters(t,r,a){this.toAssignableList(r,a,!1),t.params=r}},{key:"parseFunctionBodyAndFinish",value:function parseFunctionBodyAndFinish(t,r){var a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parseFunctionBody(t,!1,a),this.finishNode(t,r)}},{key:"parseFunctionBody",value:function parseFunctionBody(t,r){var a=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=r&&!this.match(5);if(this.expressionScope.enter(newExpressionScope()),o)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,r,!1);else{var l=this.state.strict,h=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),t.body=this.parseBlock(!0,!1,(function(o){var h=!a.isSimpleParamList(t.params);o&&h&&a.raise(N.IllegalLanguageModeDirective,{at:"method"!==t.kind&&"constructor"!==t.kind||!t.key?t:t.key.loc.end});var c=!l&&a.state.strict;a.checkParams(t,!(a.state.strict||r||i||h),r,c),a.state.strict&&t.id&&a.checkIdentifier(t.id,65,c)})),this.prodParam.exit(),this.state.labels=h}this.expressionScope.exit()}},{key:"isSimpleParameter",value:function isSimpleParameter(t){return"Identifier"===t.type}},{key:"isSimpleParamList",value:function isSimpleParamList(t){for(var r=0,a=t.length;r3&&void 0!==arguments[3])||arguments[3],l=!r&&new Set,h={type:"FormalParameters"},c=_createForOfIteratorHelper(t.params);try{for(c.s();!(i=c.n()).done;){var p=i.value;this.checkLVal(p,{in:h,binding:5,checkClashes:l,strictModeChanged:o})}}catch(t){c.e(t)}finally{c.f()}}},{key:"parseExprList",value:function parseExprList(t,r,a,i){for(var o=[],l=!0;!this.eat(t);){if(l)l=!1;else if(this.expect(12),this.match(t)){i&&this.addTrailingCommaExtraToNode(i),this.next();break}o.push(this.parseExprListItem(r,a))}return o}},{key:"parseExprListItem",value:function parseExprListItem(t,r,a){var i;if(this.match(12))t||this.raise(N.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),i=null;else if(this.match(21)){var o=this.state.start,l=this.state.startLoc;i=this.parseParenItem(this.parseSpread(r),o,l)}else if(this.match(17)){this.expectPlugin("partialApplication"),a||this.raise(N.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});var h=this.startNode();this.next(),i=this.finishNode(h,"ArgumentPlaceholder")}else i=this.parseMaybeAssignAllowIn(r,this.parseParenItem);return i}},{key:"parseIdentifier",value:function parseIdentifier(t){var r=this.startNode(),a=this.parseIdentifierName(r.start,t);return this.createIdentifier(r,a)}},{key:"createIdentifier",value:function createIdentifier(t,r){return t.name=r,t.loc.identifierName=r,this.finishNode(t,"Identifier")}},{key:"parseIdentifierName",value:function parseIdentifierName(t,r){var a,i=this.state,o=i.startLoc,l=i.type;if(!tokenIsKeywordOrIdentifier(l))throw this.unexpected();a=this.state.value;var h=function tokenKeywordOrIdentifierIsKeyword(t){return t<=92}(l);return r?h&&this.replaceToken(128):this.checkReservedWord(a,o,h,!1),this.next(),a}},{key:"checkReservedWord",value:function checkReservedWord(t,r,a,i){if(!(t.length>10)&&function canBeReservedWord(t){return re.has(t)}(t)){if("yield"===t){if(this.prodParam.hasYield)return void this.raise(N.YieldBindingIdentifier,{at:r})}else if("await"===t){if(this.prodParam.hasAwait)return void this.raise(N.AwaitBindingIdentifier,{at:r});if(this.scope.inStaticBlock)return void this.raise(N.AwaitBindingIdentifierInStaticBlock,{at:r});this.expressionScope.recordAsyncArrowParametersError({at:r})}else if("arguments"===t&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(N.ArgumentsInClass,{at:r});if(a&&function isKeyword(t){return ee.has(t)}(t))this.raise(N.UnexpectedKeyword,{at:r,keyword:t});else(this.state.strict?i?isStrictBindReservedWord:isStrictReservedWord:isReservedWord)(t,this.inModule)&&this.raise(N.UnexpectedReservedWord,{at:r,reservedWord:t})}}},{key:"isAwaitAllowed",value:function isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}},{key:"parseAwait",value:function parseAwait(t,r){var a=this.startNodeAt(t,r);return this.expressionScope.recordParameterInitializerError(N.AwaitExpressionFormalParameter,{at:a}),this.eat(55)&&this.raise(N.ObsoleteAwaitStar,{at:a}),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(a.argument=this.parseMaybeUnary(null,!0)),this.finishNode(a,"AwaitExpression")}},{key:"isAmbiguousAwait",value:function isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;var t=this.state.type;return 53===t||10===t||0===t||tokenIsTemplate(t)||133===t||56===t||this.hasPlugin("v8intrinsic")&&54===t}},{key:"parseYield",value:function parseYield(){var t=this.startNode();this.expressionScope.recordParameterInitializerError(N.YieldInParameter,{at:t}),this.next();var r=!1,a=null;if(!this.hasPrecedingLineBreak())switch(r=this.eat(55),this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!r)break;default:a=this.parseMaybeAssign()}return t.delegate=r,t.argument=a,this.finishNode(t,"YieldExpression")}},{key:"checkPipelineAtInfixOperator",value:function checkPipelineAtInfixOperator(t,r){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===t.type&&this.raise(N.PipelineHeadSequenceExpression,{at:r})}},{key:"parseSmartPipelineBodyInStyle",value:function parseSmartPipelineBodyInStyle(t,r,a){var i=this.startNodeAt(r,a);return this.isSimpleReference(t)?(i.callee=t,this.finishNode(i,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(a),i.expression=t,this.finishNode(i,"PipelineTopicExpression"))}},{key:"isSimpleReference",value:function isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}},{key:"checkSmartPipeTopicBodyEarlyErrors",value:function checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(N.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(N.PipelineTopicUnused,{at:t})}},{key:"withTopicBindingContext",value:function withTopicBindingContext(t){var r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=r}}},{key:"withSmartMixTopicForbiddingContext",value:function withSmartMixTopicForbiddingContext(t){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return t();var r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=r}}},{key:"withSoloAwaitPermittingContext",value:function withSoloAwaitPermittingContext(t){var r=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=r}}},{key:"allowInAnd",value:function allowInAnd(t){var r=this.prodParam.currentFlags();if(8&~r){this.prodParam.enter(8|r);try{return t()}finally{this.prodParam.exit()}}return t()}},{key:"disallowInAnd",value:function disallowInAnd(t){var r=this.prodParam.currentFlags();if(8&r){this.prodParam.enter(-9&r);try{return t()}finally{this.prodParam.exit()}}return t()}},{key:"registerTopicReference",value:function registerTopicReference(){this.state.topicContext.maxTopicIndex=0}},{key:"topicReferenceIsAllowedInCurrentContext",value:function topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}},{key:"topicReferenceWasUsedInCurrentContext",value:function topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}},{key:"parseFSharpPipelineBody",value:function parseFSharpPipelineBody(t){var r=this.state.start,a=this.state.startLoc;this.state.potentialArrowAt=this.state.start;var i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;var o=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,a,t);return this.state.inFSharpPipelineDirectBody=i,o}},{key:"parseModuleExpression",value:function parseModuleExpression(){this.expectPlugin("moduleBlocks");var t=this.startNode();this.next(),this.eat(5);var r=this.initializeScopes(!0);this.enterInitialScopes();var a=this.startNode();try{t.body=this.parseProgram(a,8,"module")}finally{r()}return this.eat(8),this.finishNode(t,"ModuleExpression")}},{key:"parsePropertyNamePrefixOperator",value:function parsePropertyNamePrefixOperator(t){}}]),ExpressionParser}(function(t){(0,m.default)(LValParser,t);var r=_createSuper(LValParser);function LValParser(){return(0,g.default)(this,LValParser),r.apply(this,arguments)}return(0,k.default)(LValParser,[{key:"toAssignable",value:function toAssignable(t){var r,a,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=void 0;switch(("ParenthesizedExpression"===t.type||null!=(r=t.extra)&&r.parenthesized)&&(o=Ye(t),i?"Identifier"===o.type?this.expressionScope.recordArrowParemeterBindingError(N.InvalidParenthesizedAssignment,{at:t}):"MemberExpression"!==o.type&&this.raise(N.InvalidParenthesizedAssignment,{at:t}):this.raise(N.InvalidParenthesizedAssignment,{at:t})),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern";for(var l=0,h=t.properties.length,c=h-1;l2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:!(8&r);this.state.strict&&(a?isStrictBindReservedWord(t.name,this.inModule):isStrictBindOnlyReservedWord(t.name))&&(64===r?this.raise(N.StrictEvalArguments,{at:t,referenceName:t.name}):this.raise(N.StrictEvalArgumentsBinding,{at:t,bindingName:t.name})),i||"let"!==t.name||this.raise(N.LetInLexicalBinding,{at:t}),64&r||this.declareNameFromIdentifier(t,r)}},{key:"declareNameFromIdentifier",value:function declareNameFromIdentifier(t,r){this.scope.declareName(t.name,r,t.loc.start)}},{key:"checkToRestConversion",value:function checkToRestConversion(t,r){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,r);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(r)break;default:this.raise(N.InvalidRestAssignmentPattern,{at:t})}}},{key:"checkCommaAfterRest",value:function checkCommaAfterRest(t){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===t?N.RestTrailingComma:N.ElementAfterRest,{at:this.state.startLoc}),!0)}}]),LValParser}(Oe)),$e={kind:"loop"},Ze={kind:"switch"},et=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,tt=new RegExp("in(?:stanceof)?","y");var st=function(t){(0,m.default)(Parser,t);var r=_createSuper(Parser);function Parser(t,a){var i;return(0,g.default)(this,Parser),t=function getOptions(t){for(var r={},a=0,i=Object.keys(Ge);a1&&void 0!==arguments[1]?arguments[1]:135,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.sourceType;if(t.sourceType=a,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,r),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(var i=0,o=Array.from(this.scope.undefinedExports);i2&&void 0!==arguments[2]&&arguments[2];return this.next(),this.parseVar(t,!1,r,a),this.semicolon(),this.finishNode(t,"VariableDeclaration")}},{key:"parseWhileStatement",value:function parseWhileStatement(t){var r=this;return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push($e),t.body=this.withSmartMixTopicForbiddingContext((function(){return r.parseStatement("while")})),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}},{key:"parseWithStatement",value:function parseWithStatement(t){var r=this;return this.state.strict&&this.raise(N.StrictWith,{at:this.state.startLoc}),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext((function(){return r.parseStatement("with")})),this.finishNode(t,"WithStatement")}},{key:"parseEmptyStatement",value:function parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}},{key:"parseLabeledStatement",value:function parseLabeledStatement(t,r,a,i){var o,l=_createForOfIteratorHelper(this.state.labels);try{for(l.s();!(o=l.n()).done;){o.value.name===r&&this.raise(N.LabelRedeclaration,{at:a,labelName:r})}}catch(t){l.e(t)}finally{l.f()}for(var h=function tokenIsLoop(t){return t>=90&&t<=92}(this.state.type)?"loop":this.match(71)?"switch":null,c=this.state.labels.length-1;c>=0;c--){var p=this.state.labels[c];if(p.statementStart!==t.start)break;p.statementStart=this.state.start,p.kind=h}return this.state.labels.push({name:r,kind:h,statementStart:this.state.start}),t.body=this.parseStatement(i?-1===i.indexOf("label")?i+"label":i:"label"),this.state.labels.pop(),t.label=a,this.finishNode(t,"LabeledStatement")}},{key:"parseExpressionStatement",value:function parseExpressionStatement(t,r){return t.expression=r,this.semicolon(),this.finishNode(t,"ExpressionStatement")}},{key:"parseBlock",value:function parseBlock(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2?arguments[2]:void 0,i=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),r&&this.scope.enter(0),this.parseBlockBody(i,t,!1,8,a),r&&this.scope.exit(),this.finishNode(i,"BlockStatement")}},{key:"isValidDirective",value:function isValidDirective(t){return"ExpressionStatement"===t.type&&"StringLiteral"===t.expression.type&&!t.expression.extra.parenthesized}},{key:"parseBlockBody",value:function parseBlockBody(t,r,a,i,o){var l=t.body=[],h=t.directives=[];this.parseBlockOrModuleBlockBody(l,r?h:void 0,a,i,o)}},{key:"parseBlockOrModuleBlockBody",value:function parseBlockOrModuleBlockBody(t,r,a,i,o){for(var l=this.state.strict,h=!1,c=!1;!this.match(i);){var p=this.parseStatement(null,a);if(r&&!c){if(this.isValidDirective(p)){var u=this.stmtToDirective(p);r.push(u),h||"use strict"!==u.value.value||(h=!0,this.setStrict(!0));continue}c=!0,this.state.strictErrors.clear()}t.push(p)}o&&o.call(this,h),l||this.setStrict(!1),this.next()}},{key:"parseFor",value:function parseFor(t,r){var a=this;return t.init=r,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext((function(){return a.parseStatement("for")})),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}},{key:"parseForIn",value:function parseForIn(t,r,a){var i=this,o=this.match(58);return this.next(),o?null!==a&&this.unexpected(a):t.await=null!==a,"VariableDeclaration"!==r.type||null==r.declarations[0].init||o&&!this.state.strict&&"var"===r.kind&&"Identifier"===r.declarations[0].id.type||this.raise(N.ForInOfLoopInitializer,{at:r,type:o?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===r.type&&this.raise(N.InvalidLhs,{at:r,ancestor:{type:"ForStatement"}}),t.left=r,t.right=o?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext((function(){return i.parseStatement("for")})),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,o?"ForInStatement":"ForOfStatement")}},{key:"parseVar",value:function parseVar(t,r,a){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t.declarations=[];for(t.kind=a;;){var l=this.startNode();if(this.parseVarId(l,a),l.init=this.eat(29)?r?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==l.init||i||("Identifier"===l.id.type||r&&(this.match(58)||this.isContextual(101))?"const"!==a||this.match(58)||this.isContextual(101)||this.raise(N.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(N.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),o.push(this.finishNode(l,"VariableDeclarator")),!this.eat(12))break}return t}},{key:"parseVarId",value:function parseVarId(t,r){t.id=this.parseBindingAtom(),this.checkLVal(t.id,{in:{type:"VariableDeclarator"},binding:"var"===r?5:9})}},{key:"parseFunction",value:function parseFunction(t){var r=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=1&a,l=2&a,h=!(!o||4&a);this.initFunction(t,i),this.match(55)&&l&&this.raise(N.GeneratorInSingleStatementContext,{at:this.state.startLoc}),t.generator=this.eat(55),o&&(t.id=this.parseFunctionId(h));var c=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(functionFlags(i,t.generator)),o||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext((function(){r.parseFunctionBodyAndFinish(t,o?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),o&&!l&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=c,t}},{key:"parseFunctionId",value:function parseFunctionId(t){return t||tokenIsIdentifier(this.state.type)?this.parseIdentifier():null}},{key:"parseFunctionParams",value:function parseFunctionParams(t,r){this.expect(10),this.expressionScope.enter(function newParameterDeclarationScope(){return new we(3)}()),t.params=this.parseBindingList(11,41,!1,r),this.expressionScope.exit()}},{key:"registerFunctionStatementId",value:function registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:9:17,t.id.loc.start)}},{key:"parseClass",value:function parseClass(t,r,a){this.next(),this.takeDecorators(t);var i=this.state.strict;return this.state.strict=!0,this.parseClassId(t,r,a),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,i),this.finishNode(t,r?"ClassDeclaration":"ClassExpression")}},{key:"isClassProperty",value:function isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}},{key:"isClassMethod",value:function isClassMethod(){return this.match(10)}},{key:"isNonstaticConstructor",value:function isNonstaticConstructor(t){return!(t.computed||t.static||"constructor"!==t.key.name&&"constructor"!==t.key.value)}},{key:"parseClassBody",value:function parseClassBody(t,r){var a=this;this.classScope.enter();var i={hadConstructor:!1,hadSuperClass:t},o=[],l=this.startNode();if(l.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((function(){for(;!a.match(8);)if(a.eat(13)){if(o.length>0)throw a.raise(N.DecoratorSemicolon,{at:a.state.lastTokEndLoc})}else if(a.match(26))o.push(a.parseDecorator());else{var t=a.startNode();o.length&&(t.decorators=o,a.resetStartLocationFromNode(t,o[0]),o=[]),a.parseClassMember(l,t,i),"constructor"===t.kind&&t.decorators&&t.decorators.length>0&&a.raise(N.DecoratorConstructor,{at:t})}})),this.state.strict=r,this.next(),o.length)throw this.raise(N.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(l,"ClassBody")}},{key:"parseClassMemberFromModifier",value:function parseClassMemberFromModifier(t,r){var a=this.parseIdentifier(!0);if(this.isClassMethod()){var i=r;return i.kind="method",i.computed=!1,i.key=a,i.static=!1,this.pushClassMethod(t,i,!1,!1,!1,!1),!0}if(this.isClassProperty()){var o=r;return o.computed=!1,o.key=a,o.static=!1,t.body.push(this.parseClassProperty(o)),!0}return this.resetPreviousNodeTrailingComments(a),!1}},{key:"parseClassMember",value:function parseClassMember(t,r,a){var i=this.isContextual(104);if(i){if(this.parseClassMemberFromModifier(t,r))return;if(this.eat(5))return void this.parseClassStaticBlock(t,r)}this.parseClassMemberWithIsStatic(t,r,a,i)}},{key:"parseClassMemberWithIsStatic",value:function parseClassMemberWithIsStatic(t,r,a,i){var o=r,l=r,h=r,c=r,p=r,u=o,d=o;if(r.static=i,this.parsePropertyNamePrefixOperator(r),this.eat(55)){u.kind="method";var m=this.match(134);return this.parseClassElementName(u),m?void this.pushClassPrivateMethod(t,l,!0,!1):(this.isNonstaticConstructor(o)&&this.raise(N.ConstructorIsGenerator,{at:o.key}),void this.pushClassMethod(t,o,!0,!1,!1,!1))}var y=tokenIsIdentifier(this.state.type)&&!this.state.containsEsc,v=this.match(134),x=this.parseClassElementName(r),P=this.state.startLoc;if(this.parsePostMemberNameModifiers(d),this.isClassMethod()){if(u.kind="method",v)return void this.pushClassPrivateMethod(t,l,!1,!1);var k=this.isNonstaticConstructor(o),g=!1;k&&(o.kind="constructor",a.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(N.DuplicateConstructor,{at:x}),k&&this.hasPlugin("typescript")&&r.override&&this.raise(N.OverrideOnConstructor,{at:x}),a.hadConstructor=!0,g=a.hadSuperClass),this.pushClassMethod(t,o,!1,!1,k,g)}else if(this.isClassProperty())v?this.pushClassPrivateProperty(t,c):this.pushClassProperty(t,h);else if(y&&"async"===x.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(x);var T=this.eat(55);d.optional&&this.unexpected(P),u.kind="method";var b=this.match(134);this.parseClassElementName(u),this.parsePostMemberNameModifiers(d),b?this.pushClassPrivateMethod(t,l,T,!0):(this.isNonstaticConstructor(o)&&this.raise(N.ConstructorIsAsync,{at:o.key}),this.pushClassMethod(t,o,T,!0,!1,!1))}else if(!y||"get"!==x.name&&"set"!==x.name||this.match(55)&&this.isLineTerminator())if(y&&"accessor"===x.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(x);var A=this.match(134);this.parseClassElementName(h),this.pushClassAccessorProperty(t,p,A)}else this.isLineTerminator()?v?this.pushClassPrivateProperty(t,c):this.pushClassProperty(t,h):this.unexpected();else{this.resetPreviousNodeTrailingComments(x),u.kind=x.name;var w=this.match(134);this.parseClassElementName(o),w?this.pushClassPrivateMethod(t,l,!1,!1):(this.isNonstaticConstructor(o)&&this.raise(N.ConstructorIsAccessor,{at:o.key}),this.pushClassMethod(t,o,!1,!1,!1,!1)),this.checkGetterSetterParams(o)}}},{key:"parseClassElementName",value:function parseClassElementName(t){var r=this.state,a=r.type,i=r.value;if(128!==a&&129!==a||!t.static||"prototype"!==i||this.raise(N.StaticPrototype,{at:this.state.startLoc}),134===a){"constructor"===i&&this.raise(N.ConstructorClassPrivateField,{at:this.state.startLoc});var o=this.parsePrivateName();return t.key=o,o}return this.parsePropertyName(t)}},{key:"parseClassStaticBlock",value:function parseClassStaticBlock(t,r){var a;this.scope.enter(208);var i=this.state.labels;this.state.labels=[],this.prodParam.enter(0);var o=r.body=[];this.parseBlockOrModuleBlockBody(o,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=i,t.body.push(this.finishNode(r,"StaticBlock")),null!=(a=r.decorators)&&a.length&&this.raise(N.DecoratorStaticBlock,{at:r})}},{key:"pushClassProperty",value:function pushClassProperty(t,r){r.computed||"constructor"!==r.key.name&&"constructor"!==r.key.value||this.raise(N.ConstructorClassField,{at:r.key}),t.body.push(this.parseClassProperty(r))}},{key:"pushClassPrivateProperty",value:function pushClassPrivateProperty(t,r){var a=this.parseClassPrivateProperty(r);t.body.push(a),this.classScope.declarePrivateName(this.getPrivateNameSV(a.key),0,a.key.loc.start)}},{key:"pushClassAccessorProperty",value:function pushClassAccessorProperty(t,r,a){if(!a&&!r.computed){var i=r.key;"constructor"!==i.name&&"constructor"!==i.value||this.raise(N.ConstructorClassField,{at:i})}var o=this.parseClassAccessorProperty(r);t.body.push(o),a&&this.classScope.declarePrivateName(this.getPrivateNameSV(o.key),0,o.key.loc.start)}},{key:"pushClassMethod",value:function pushClassMethod(t,r,a,i,o,l){t.body.push(this.parseMethod(r,a,i,o,l,"ClassMethod",!0))}},{key:"pushClassPrivateMethod",value:function pushClassPrivateMethod(t,r,a,i){var o=this.parseMethod(r,a,i,!1,!1,"ClassPrivateMethod",!0);t.body.push(o);var l="get"===o.kind?o.static?6:2:"set"===o.kind?o.static?5:1:0;this.declareClassPrivateMethodInScope(o,l)}},{key:"declareClassPrivateMethodInScope",value:function declareClassPrivateMethodInScope(t,r){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),r,t.key.loc.start)}},{key:"parsePostMemberNameModifiers",value:function parsePostMemberNameModifiers(t){}},{key:"parseClassPrivateProperty",value:function parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}},{key:"parseClassProperty",value:function parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}},{key:"parseClassAccessorProperty",value:function parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}},{key:"parseInitializer",value:function parseInitializer(t){this.scope.enter(80),this.expressionScope.enter(newExpressionScope()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}},{key:"parseClassId",value:function parseClassId(t,r,a){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:139;if(tokenIsIdentifier(this.state.type))t.id=this.parseIdentifier(),r&&this.declareNameFromIdentifier(t.id,i);else{if(!a&&r)throw this.raise(N.MissingClassName,{at:this.state.startLoc});t.id=null}}},{key:"parseClassSuper",value:function parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}},{key:"parseExport",value:function parseExport(t){var r=this.maybeParseExportDefaultSpecifier(t),a=!r||this.eat(12),i=a&&this.eatExportStar(t),o=i&&this.maybeParseExportNamespaceSpecifier(t),l=a&&(!o||this.eat(12)),h=r||i;if(i&&!o)return r&&this.unexpected(),this.parseExportFrom(t,!0),this.finishNode(t,"ExportAllDeclaration");var c,p=this.maybeParseExportNamedSpecifiers(t);if(r&&a&&!i&&!p||o&&l&&!p)throw this.unexpected(null,5);if(h||p?(c=!1,this.parseExportFrom(t,h)):c=this.maybeParseExportDeclaration(t),h||p||c)return this.checkExport(t,!0,!1,!!t.source),this.finishNode(t,"ExportNamedDeclaration");if(this.eat(65))return t.declaration=this.parseExportDefaultExpression(),this.checkExport(t,!0,!0),this.finishNode(t,"ExportDefaultDeclaration");throw this.unexpected(null,5)}},{key:"eatExportStar",value:function eatExportStar(t){return this.eat(55)}},{key:"maybeParseExportDefaultSpecifier",value:function maybeParseExportDefaultSpecifier(t){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");var r=this.startNode();return r.exported=this.parseIdentifier(!0),t.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}},{key:"maybeParseExportNamespaceSpecifier",value:function maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){t.specifiers||(t.specifiers=[]);var r=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),r.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier")),!0}return!1}},{key:"maybeParseExportNamedSpecifiers",value:function maybeParseExportNamedSpecifiers(t){if(this.match(5)){var r;t.specifiers||(t.specifiers=[]);var a="type"===t.exportKind;return(r=t.specifiers).push.apply(r,(0,u.default)(this.parseExportSpecifiers(a))),t.source=null,t.declaration=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),!0}return!1}},{key:"maybeParseExportDeclaration",value:function maybeParseExportDeclaration(t){return!!this.shouldParseExportDeclaration()&&(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")&&(t.assertions=[]),t.declaration=this.parseExportDeclaration(t),!0)}},{key:"isAsyncFunction",value:function isAsyncFunction(){if(!this.isContextual(95))return!1;var t=this.nextTokenStart();return!ie.test(this.input.slice(this.state.pos,t))&&this.isUnparsedContextual(t,"function")}},{key:"parseExportDefaultExpression",value:function parseExportDefaultExpression(){var t=this.startNode(),r=this.isAsyncFunction();if(this.match(68)||r)return this.next(),r&&this.next(),this.parseFunction(t,5,r);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(N.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseDecorators(!1),this.parseClass(t,!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(N.UnsupportedDefaultExport,{at:this.state.startLoc});var a=this.parseMaybeAssignAllowIn();return this.semicolon(),a}},{key:"parseExportDeclaration",value:function parseExportDeclaration(t){return this.parseStatement(null)}},{key:"isExportDefaultSpecifier",value:function isExportDefaultSpecifier(){var t=this.state.type;if(tokenIsIdentifier(t)){if(95===t&&!this.state.containsEsc||99===t)return!1;if((126===t||125===t)&&!this.state.containsEsc){var r=this.lookahead().type;if(tokenIsIdentifier(r)&&97!==r||5===r)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;var a=this.nextTokenStart(),i=this.isUnparsedContextual(a,"from");if(44===this.input.charCodeAt(a)||tokenIsIdentifier(this.state.type)&&i)return!0;if(this.match(65)&&i){var o=this.input.charCodeAt(this.nextTokenStartSince(a+4));return 34===o||39===o}return!1}},{key:"parseExportFrom",value:function parseExportFrom(t,r){if(this.eatContextual(97)){t.source=this.parseImportSource(),this.checkExport(t);var a=this.maybeParseImportAssertions();a&&(t.assertions=a)}else r&&this.unexpected();this.semicolon()}},{key:"shouldParseExportDeclaration",value:function shouldParseExportDeclaration(){var t=this.state.type;if(26===t&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(N.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return 74===t||75===t||68===t||80===t||this.isLet()||this.isAsyncFunction()}},{key:"checkExport",value:function checkExport(t,r,a,i){if(r)if(a){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var o,l=t.declaration;"Identifier"!==l.type||"from"!==l.name||l.end-l.start!=4||null!=(o=l.extra)&&o.parenthesized||this.raise(N.ExportDefaultFromAsIdentifier,{at:l})}}else if(t.specifiers&&t.specifiers.length){var h,c=_createForOfIteratorHelper(t.specifiers);try{for(c.s();!(h=c.n()).done;){var p=h.value,u=p.exported,d="Identifier"===u.type?u.name:u.value;if(this.checkDuplicateExports(p,d),!i&&p.local){var m=p.local;"Identifier"!==m.type?this.raise(N.ExportBindingIsString,{at:p,localName:m.value,exportName:d}):(this.checkReservedWord(m.name,m.loc.start,!0,!1),this.scope.checkLocalExport(m))}}}catch(t){c.e(t)}finally{c.f()}}else if(t.declaration)if("FunctionDeclaration"===t.declaration.type||"ClassDeclaration"===t.declaration.type){var y=t.declaration.id;if(!y)throw new Error("Assertion failure");this.checkDuplicateExports(t,y.name)}else if("VariableDeclaration"===t.declaration.type){var v,x=_createForOfIteratorHelper(t.declaration.declarations);try{for(x.s();!(v=x.n()).done;){var P=v.value;this.checkDeclaration(P.id)}}catch(t){x.e(t)}finally{x.f()}}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(N.UnsupportedDecoratorExport,{at:t})}},{key:"checkDeclaration",value:function checkDeclaration(t){if("Identifier"===t.type)this.checkDuplicateExports(t,t.name);else if("ObjectPattern"===t.type){var r,a=_createForOfIteratorHelper(t.properties);try{for(a.s();!(r=a.n()).done;){var i=r.value;this.checkDeclaration(i)}}catch(t){a.e(t)}finally{a.f()}}else if("ArrayPattern"===t.type){var o,l=_createForOfIteratorHelper(t.elements);try{for(l.s();!(o=l.n()).done;){var h=o.value;h&&this.checkDeclaration(h)}}catch(t){l.e(t)}finally{l.f()}}else"ObjectProperty"===t.type?this.checkDeclaration(t.value):"RestElement"===t.type?this.checkDeclaration(t.argument):"AssignmentPattern"===t.type&&this.checkDeclaration(t.left)}},{key:"checkDuplicateExports",value:function checkDuplicateExports(t,r){this.exportedIdentifiers.has(r)&&("default"===r?this.raise(N.DuplicateDefaultExport,{at:t}):this.raise(N.DuplicateExport,{at:t,exportName:r})),this.exportedIdentifiers.add(r)}},{key:"parseExportSpecifiers",value:function parseExportSpecifiers(t){var r=[],a=!0;for(this.expect(5);!this.eat(8);){if(a)a=!1;else if(this.expect(12),this.eat(8))break;var i=this.isContextual(126),o=this.match(129),l=this.startNode();l.local=this.parseModuleExportName(),r.push(this.parseExportSpecifier(l,o,t,i))}return r}},{key:"parseExportSpecifier",value:function parseExportSpecifier(t,r,a,i){return this.eatContextual(93)?t.exported=this.parseModuleExportName():r?t.exported=cloneStringLiteral(t.local):t.exported||(t.exported=cloneIdentifier(t.local)),this.finishNode(t,"ExportSpecifier")}},{key:"parseModuleExportName",value:function parseModuleExportName(){if(this.match(129)){var t=this.parseStringLiteral(this.state.value),r=t.value.match(et);return r&&this.raise(N.ModuleExportNameHasLoneSurrogate,{at:t,surrogateCharCode:r[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}},{key:"parseImport",value:function parseImport(t){if(t.specifiers=[],!this.match(129)){var r=!this.maybeParseDefaultImportSpecifier(t)||this.eat(12),a=r&&this.maybeParseStarImportSpecifier(t);r&&!a&&this.parseNamedImportSpecifiers(t),this.expectContextual(97)}t.source=this.parseImportSource();var i=this.maybeParseImportAssertions();if(i)t.assertions=i;else{var o=this.maybeParseModuleAttributes();o&&(t.attributes=o)}return this.semicolon(),this.finishNode(t,"ImportDeclaration")}},{key:"parseImportSource",value:function parseImportSource(){return this.match(129)||this.unexpected(),this.parseExprAtom()}},{key:"shouldParseDefaultImport",value:function shouldParseDefaultImport(t){return tokenIsIdentifier(this.state.type)}},{key:"parseImportSpecifierLocal",value:function parseImportSpecifierLocal(t,r,a){r.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(r,a))}},{key:"finishImportSpecifier",value:function finishImportSpecifier(t,r){return this.checkLVal(t.local,{in:t,binding:9}),this.finishNode(t,r)}},{key:"parseAssertEntries",value:function parseAssertEntries(){var t=[],r=new Set;do{if(this.match(8))break;var a=this.startNode(),i=this.state.value;if(r.has(i)&&this.raise(N.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:i}),r.add(i),this.match(129)?a.key=this.parseStringLiteral(i):a.key=this.parseIdentifier(!0),this.expect(14),!this.match(129))throw this.raise(N.ModuleAttributeInvalidValue,{at:this.state.startLoc});a.value=this.parseStringLiteral(this.state.value),this.finishNode(a,"ImportAttribute"),t.push(a)}while(this.eat(12));return t}},{key:"maybeParseModuleAttributes",value:function maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();var t=[],r=new Set;do{var a=this.startNode();if(a.key=this.parseIdentifier(!0),"type"!==a.key.name&&this.raise(N.ModuleAttributeDifferentFromType,{at:a.key}),r.has(a.key.name)&&this.raise(N.ModuleAttributesWithDuplicateKeys,{at:a.key,key:a.key.name}),r.add(a.key.name),this.expect(14),!this.match(129))throw this.raise(N.ModuleAttributeInvalidValue,{at:this.state.startLoc});a.value=this.parseStringLiteral(this.state.value),this.finishNode(a,"ImportAttribute"),t.push(a)}while(this.eat(12));return t}},{key:"maybeParseImportAssertions",value:function maybeParseImportAssertions(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);var t=this.parseAssertEntries();return this.eat(8),t}},{key:"maybeParseDefaultImportSpecifier",value:function maybeParseDefaultImportSpecifier(t){return!!this.shouldParseDefaultImport(t)&&(this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0)}},{key:"maybeParseStarImportSpecifier",value:function maybeParseStarImportSpecifier(t){if(this.match(55)){var r=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,r,"ImportNamespaceSpecifier"),!0}return!1}},{key:"parseNamedImportSpecifiers",value:function parseNamedImportSpecifiers(t){var r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else{if(this.eat(14))throw this.raise(N.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}var a=this.startNode(),i=this.match(129),o=this.isContextual(126);a.imported=this.parseModuleExportName();var l=this.parseImportSpecifier(a,i,"type"===t.importKind||"typeof"===t.importKind,o);t.specifiers.push(l)}}},{key:"parseImportSpecifier",value:function parseImportSpecifier(t,r,a,i){if(this.eatContextual(93))t.local=this.parseIdentifier();else{var o=t.imported;if(r)throw this.raise(N.ImportBindingIsString,{at:t,importName:o.value});this.checkReservedWord(o.name,t.loc.start,!0,!0),t.local||(t.local=cloneIdentifier(o))}return this.finishImportSpecifier(t,"ImportSpecifier")}},{key:"isThisParam",value:function isThisParam(t){return"Identifier"===t.type&&"this"===t.name}}]),StatementParser}(Qe));var rt=function generateExportedTokenTypes(t){for(var r={},a=0,i=Object.keys(t);at.from(r.buffer,r.byteOffset,r.byteLength).toString()}:{decode(t){let r="";for(let i=0;i>>=1,d&&(o=-2147483648|-o),i[a]+=o,r}function hasMoreVlq(t,r,a){return!(r>=a)&&t.charCodeAt(r)!==i}function sort(t){t.sort(sortComparator)}function sortComparator(t,r){return t[0]-r[0]}function encodeInteger(t,r,i,a,o){const u=a[o];let p=u-i[o];i[o]=u,p=p<0?-p<<1|1:p<<1;do{let i=31&p;p>>>=5,p>0&&(i|=32),t[r++]=l[i]}while(p>0);return r}r.decode=function decode(t){const r=new Int32Array(5),i=[];let a=0;do{const o=indexOf(t,a),l=[];let u=!0,p=0;r[0]=0;for(let i=a;i0&&(16384===u&&(d+=p.decode(o),u=0),o[u++]=a),0!==m.length){r[0]=0;for(let t=0;t16348&&(d+=p.decode(l),o.copyWithin(0,16348,u),u-=16348),t>0&&(o[u++]=i),u=encodeInteger(o,u,r,a,0),1!==a.length&&(u=encodeInteger(o,u,r,a,1),u=encodeInteger(o,u,r,a,2),u=encodeInteger(o,u,r,a,3),4!==a.length&&(u=encodeInteger(o,u,r,a,4)))}}}return d+p.decode(o.subarray(0,u))},Object.defineProperty(r,"__esModule",{value:!0})}(r)}).call(this,i("tjlA").Buffer)},"+4SP":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.nodes=r.list=void 0;var a=i("JSq2");const{FLIPPED_ALIAS_KEYS:o,isArrayExpression:l,isAssignmentExpression:u,isBinary:p,isBlockStatement:d,isCallExpression:h,isFunction:m,isIdentifier:y,isLiteral:g,isMemberExpression:v,isObjectExpression:b,isOptionalCallExpression:x,isOptionalMemberExpression:E,isStringLiteral:S}=a;function crawl(t,r={}){return v(t)||E(t)?(crawl(t.object,r),t.computed&&crawl(t.property,r)):p(t)||u(t)?(crawl(t.left,r),crawl(t.right,r)):h(t)||x(t)?(r.hasCall=!0,crawl(t.callee,r)):m(t)?r.hasFunction=!0:y(t)&&(r.hasHelper=r.hasHelper||isHelper(t.callee)),r}function isHelper(t){return v(t)?isHelper(t.object)||isHelper(t.property):y(t)?"require"===t.name||"_"===t.name[0]:h(t)?isHelper(t.callee):!(!p(t)&&!u(t))&&(y(t.left)&&isHelper(t.left)||isHelper(t.right))}function isType(t){return g(t)||b(t)||l(t)||y(t)||v(t)}const T={AssignmentExpression(t){const r=crawl(t.right);if(r.hasCall&&r.hasHelper||r.hasFunction)return{before:r.hasFunction,after:!0}},SwitchCase:(t,r)=>({before:!!t.consequent.length||r.cases[0]===t,after:!t.consequent.length&&r.cases[r.cases.length-1]===t}),LogicalExpression(t){if(m(t.left)||m(t.right))return{after:!0}},Literal(t){if(S(t)&&"use strict"===t.value)return{after:!0}},CallExpression(t){if(m(t.callee)||isHelper(t))return{before:!0,after:!0}},OptionalCallExpression(t){if(m(t.callee))return{before:!0,after:!0}},VariableDeclaration(t){for(let r=0;rt.declarations.map(t=>t.init),ArrayExpression:t=>t.elements,ObjectExpression:t=>t.properties};r.list=A,[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach((function([t,r]){"boolean"==typeof r&&(r={after:r,before:r}),[t].concat(o[t]||[]).forEach((function(t){T[t]=function(){return r}}))}))},"+6XX":function(t,r,i){var a=i("y1pI");t.exports=function listCacheHas(t){return a(this.__data__,t)>-1}},"+E+5":function(t,r,i){"use strict";r.__esModule=!0;var a=_interopRequireDefault(i("iCc5")),o=_interopRequireDefault(i("zfKU"));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var l=(0,o.default)("babel:verbose"),u=(0,o.default)("babel"),p=[],d=function(){function Logger(t,r){(0,a.default)(this,Logger),this.filename=r,this.file=t}return Logger.prototype._buildMessage=function _buildMessage(t){var r="[BABEL] "+this.filename;return t&&(r+=": "+t),r},Logger.prototype.warn=function warn(t){console.warn(this._buildMessage(t))},Logger.prototype.error=function error(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Error;throw new r(this._buildMessage(t))},Logger.prototype.deprecate=function deprecate(t){this.file.opts&&this.file.opts.suppressDeprecationMessages||(t=this._buildMessage(t),p.indexOf(t)>=0||(p.push(t),console.error(t)))},Logger.prototype.verbose=function verbose(t){l.enabled&&l(this._buildMessage(t))},Logger.prototype.debug=function debug(t){u.enabled&&u(this._buildMessage(t))},Logger.prototype.deopt=function deopt(t,r){this.debug(r)},Logger}();r.default=d,t.exports=r.default},"+En3":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function filterItems(t,r,i,a,o,l,u){const p=new Set,d={compatData:t,includes:r,excludes:i};for(const r in t)if(isRequired(r,a,d))p.add(r);else if(u){const t=u.get(r);t&&p.add(t)}o&&o.forEach(t=>!i.has(t)&&p.add(t));l&&l.forEach(t=>!r.has(t)&&p.delete(t));return p},r.isRequired=isRequired,r.targetsSupported=targetsSupported;var a=i("jWEn"),o=i("8kRP"),l=i("h56z");function targetsSupported(t,r){const i=Object.keys(t);return 0!==i.length&&0===i.filter(i=>{const o=(0,l.getLowestImplementedVersion)(r,i);if(!o)return!0;const u=t[i];if((0,l.isUnreleasedVersion)(u,i))return!1;if((0,l.isUnreleasedVersion)(o,i))return!0;if(!a.valid(u.toString()))throw new Error(`Invalid version passed for target "${i}": "${u}". Versions must be in semver format (major.minor.patch)`);return a.gt((0,l.semverify)(o),u.toString())}).length}function isRequired(t,r,{compatData:i=o,includes:a,excludes:l}={}){return(null==l||!l.has(t))&&(!(null==a||!a.has(t))||!targetsSupported(r,i[t]))}},"+JPL":function(t,r,i){t.exports={default:i("+SFK"),__esModule:!0}},"+K+b":function(t,r,i){var a=i("JHRd");t.exports=function cloneArrayBuffer(t){var r=new t.constructor(t.byteLength);return new a(r).set(new a(t)),r}},"+LlT":function(t,r,i){"use strict";t.exports=function(t){var r=/^\\\\\?\\/.test(t),i=/[^\x00-\x80]+/.test(t);return r||i?t:t.replace(/\\/g,"/")}},"+QHV":function(t,r,i){"use strict";var a=i("TqRt"),o=a(i("o0o1")),l=a(i("lwsE")),u=a(i("W8MJ")),p=a(i("cDf5")),d=a(i("RIqP"));function _gensync(){var t=i("9VlM");return _gensync=function _gensync(){return t},t}Object.defineProperty(r,"__esModule",{value:!0}),r.ConfigPrinter=r.ChainFormatter=void 0;var h={Programmatic:0,Config:1};r.ChainFormatter=h;var m={title:function title(t,r,i){var title="";return t===h.Programmatic?(title="programmatic options",r&&(title+=" from "+r)):title="config "+i,title},loc:function loc(t,r){var loc="";return null!=t&&(loc+=".overrides[".concat(t,"]")),null!=r&&(loc+='.env["'.concat(r,'"]')),loc},optionsAndDescriptors:o.default.mark((function optionsAndDescriptors(t){var r,i,a;return o.default.wrap((function optionsAndDescriptors$(o){for(;;)switch(o.prev=o.next){case 0:return delete(r=Object.assign({},t.options)).overrides,delete r.env,o.t0=d.default,o.delegateYield(t.plugins(),"t1",5);case 5:return o.t2=o.t1,(i=(0,o.t0)(o.t2)).length&&(r.plugins=i.map((function(t){return descriptorToConfig(t)}))),o.t3=d.default,o.delegateYield(t.presets(),"t4",10);case 10:return o.t5=o.t4,(a=(0,o.t3)(o.t5)).length&&(r.presets=(0,d.default)(a).map((function(t){return descriptorToConfig(t)}))),o.abrupt("return",JSON.stringify(r,void 0,2));case 14:case"end":return o.stop()}}),optionsAndDescriptors)}))};function descriptorToConfig(t){var r,i=null==(r=t.file)?void 0:r.request;return null==i&&("object"===(0,p.default)(t.value)?i=t.value:"function"==typeof t.value&&(i="[Function: ".concat(t.value.toString().slice(0,50)," ... ]"))),null==i&&(i="[Unknown]"),void 0===t.options?i:null==t.name?[i,t.options]:[i,t.options,t.name]}var y=function(){function ConfigPrinter(){(0,l.default)(this,ConfigPrinter),this._stack=[]}return(0,u.default)(ConfigPrinter,[{key:"configure",value:function configure(t,r,i){var a=this,o=i.callerName,l=i.filepath;return t?function(t,i,u){a._stack.push({type:r,callerName:o,filepath:l,content:t,index:i,envName:u})}:function(){}}},{key:"output",value:o.default.mark((function output(){var t;return o.default.wrap((function output$(r){for(;;)switch(r.prev=r.next){case 0:if(0!==this._stack.length){r.next=2;break}return r.abrupt("return","");case 2:return r.delegateYield(_gensync().all(this._stack.map((function(t){return ConfigPrinter.format(t)}))),"t0",3);case 3:return t=r.t0,r.abrupt("return",t.join("\n\n"));case 5:case"end":return r.stop()}}),output,this)}))}],[{key:"format",value:o.default.mark((function format(t){var r,i,a;return o.default.wrap((function format$(o){for(;;)switch(o.prev=o.next){case 0:return r=m.title(t.type,t.callerName,t.filepath),(i=m.loc(t.index,t.envName))&&(r+=" ".concat(i)),o.delegateYield(m.optionsAndDescriptors(t.content),"t0",4);case 4:return a=o.t0,o.abrupt("return","".concat(r,"\n").concat(a));case 6:case"end":return o.stop()}}),format)}))}]),ConfigPrinter}();r.ConfigPrinter=y},"+Qka":function(t,r,i){var a=i("fmRc"),o=i("t2Dn"),l=i("cq/+"),u=i("T1AV"),p=i("GoyQ"),d=i("mTTR"),h=i("itsj");t.exports=function baseMerge(t,r,i,m,y){t!==r&&l(r,(function(l,d){if(y||(y=new a),p(l))u(t,r,d,i,baseMerge,m,y);else{var g=m?m(h(t,d),l,d+"",t,r,y):void 0;void 0===g&&(g=l),o(t,d,g)}}),d)}},"+SFK":function(t,r,i){i("AUvm"),i("wgeU"),i("adOz"),i("dl0q"),t.exports=i("WEpk").Symbol},"+U4B":function(t,r){!function webpackUniversalModuleDefinition(i,a){"object"==typeof r&&"object"==typeof t?t.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof r?r.esprima=a():i.esprima=a()}(this,(function(){return function(t){var r={};function __webpack_require__(i){if(r[i])return r[i].exports;var a=r[i]={exports:{},id:i,loaded:!1};return t[i].call(a.exports,a,a.exports,__webpack_require__),a.loaded=!0,a.exports}return __webpack_require__.m=t,__webpack_require__.c=r,__webpack_require__.p="",__webpack_require__(0)}([function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i(1),o=i(3),l=i(8),u=i(15);function parse(t,r,i){var u=null,proxyDelegate=function(t,r){i&&i(t,r),u&&u.visit(t,r)},p="function"==typeof i?proxyDelegate:null,d=!1;if(r){d="boolean"==typeof r.comment&&r.comment;var h="boolean"==typeof r.attachComment&&r.attachComment;(d||h)&&((u=new a.CommentHandler).attach=h,r.comment=!0,p=proxyDelegate)}var m,y=!1;r&&"string"==typeof r.sourceType&&(y="module"===r.sourceType),m=r&&"boolean"==typeof r.jsx&&r.jsx?new o.JSXParser(t,r,p):new l.Parser(t,r,p);var g=y?m.parseModule():m.parseScript();return d&&u&&(g.comments=u.comments),m.config.tokens&&(g.tokens=m.tokens),m.config.tolerant&&(g.errors=m.errorHandler.errors),g}r.parse=parse,r.parseModule=function parseModule(t,r,i){var a=r||{};return a.sourceType="module",parse(t,a,i)},r.parseScript=function parseScript(t,r,i){var a=r||{};return a.sourceType="script",parse(t,a,i)},r.tokenize=function tokenize(t,r,i){var a,o=new u.Tokenizer(t,r);a=[];try{for(;;){var l=o.getNextToken();if(!l)break;i&&(l=i(l)),a.push(l)}}catch(t){o.errorHandler.tolerate(t)}return o.errorHandler.tolerant&&(a.errors=o.errors()),a};var p=i(2);r.Syntax=p.Syntax,r.version="4.0.1"},function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i(2),o=function(){function CommentHandler(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return CommentHandler.prototype.insertInnerComments=function(t,r){if(t.type===a.Syntax.BlockStatement&&0===t.body.length){for(var i=[],o=this.leading.length-1;o>=0;--o){var l=this.leading[o];r.end.offset>=l.start&&(i.unshift(l.comment),this.leading.splice(o,1),this.trailing.splice(o,1))}i.length&&(t.innerComments=i)}},CommentHandler.prototype.findTrailingComments=function(t){var r=[];if(this.trailing.length>0){for(var i=this.trailing.length-1;i>=0;--i){var a=this.trailing[i];a.start>=t.end.offset&&r.unshift(a.comment)}return this.trailing.length=0,r}var o=this.stack[this.stack.length-1];if(o&&o.node.trailingComments){var l=o.node.trailingComments[0];l&&l.range[0]>=t.end.offset&&(r=o.node.trailingComments,delete o.node.trailingComments)}return r},CommentHandler.prototype.findLeadingComments=function(t){for(var r,i=[];this.stack.length>0;){if(!((l=this.stack[this.stack.length-1])&&l.start>=t.start.offset))break;r=l.node,this.stack.pop()}if(r){for(var a=(r.leadingComments?r.leadingComments.length:0)-1;a>=0;--a){var o=r.leadingComments[a];o.range[1]<=t.start.offset&&(i.unshift(o),r.leadingComments.splice(a,1))}return r.leadingComments&&0===r.leadingComments.length&&delete r.leadingComments,i}for(a=this.leading.length-1;a>=0;--a){var l;(l=this.leading[a]).start<=t.start.offset&&(i.unshift(l.comment),this.leading.splice(a,1))}return i},CommentHandler.prototype.visitNode=function(t,r){if(!(t.type===a.Syntax.Program&&t.body.length>0)){this.insertInnerComments(t,r);var i=this.findTrailingComments(r),o=this.findLeadingComments(r);o.length>0&&(t.leadingComments=o),i.length>0&&(t.trailingComments=i),this.stack.push({node:t,start:r.start.offset})}},CommentHandler.prototype.visitComment=function(t,r){var i="L"===t.type[0]?"Line":"Block",a={type:i,value:t.value};if(t.range&&(a.range=t.range),t.loc&&(a.loc=t.loc),this.comments.push(a),this.attach){var o={comment:{type:i,value:t.value,range:[r.start.offset,r.end.offset]},start:r.start.offset};t.loc&&(o.comment.loc=t.loc),t.type=i,this.leading.push(o),this.trailing.push(o)}},CommentHandler.prototype.visit=function(t,r){"LineComment"===t.type||"BlockComment"===t.type?this.visitComment(t,r):this.attach&&this.visitNode(t,r)},CommentHandler}();r.CommentHandler=o},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(t,r,i){"use strict";var a,o=this&&this.__extends||(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])},function(t,r){function __(){this.constructor=t}a(t,r),t.prototype=null===r?Object.create(r):(__.prototype=r.prototype,new __)});Object.defineProperty(r,"__esModule",{value:!0});var l=i(4),u=i(5),p=i(6),d=i(7),h=i(8),m=i(13),y=i(14);function getQualifiedElementName(t){var r;switch(t.type){case p.JSXSyntax.JSXIdentifier:r=t.name;break;case p.JSXSyntax.JSXNamespacedName:var i=t;r=getQualifiedElementName(i.namespace)+":"+getQualifiedElementName(i.name);break;case p.JSXSyntax.JSXMemberExpression:var a=t;r=getQualifiedElementName(a.object)+"."+getQualifiedElementName(a.property)}return r}m.TokenName[100]="JSXIdentifier",m.TokenName[101]="JSXText";var g=function(t){function JSXParser(r,i,a){return t.call(this,r,i,a)||this}return o(JSXParser,t),JSXParser.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():t.prototype.parsePrimaryExpression.call(this)},JSXParser.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},JSXParser.prototype.finishJSX=function(){this.nextToken()},JSXParser.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},JSXParser.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},JSXParser.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},JSXParser.prototype.scanXHTMLEntity=function(t){for(var r="&",i=!0,a=!1,o=!1,u=!1;!this.scanner.eof()&&i&&!a;){var p=this.scanner.source[this.scanner.index];if(p===t)break;if(a=";"===p,r+=p,++this.scanner.index,!a)switch(r.length){case 2:o="#"===p;break;case 3:o&&(i=(u="x"===p)||l.Character.isDecimalDigit(p.charCodeAt(0)),o=o&&!u);break;default:i=(i=i&&!(o&&!l.Character.isDecimalDigit(p.charCodeAt(0))))&&!(u&&!l.Character.isHexDigit(p.charCodeAt(0)))}}if(i&&a&&r.length>2){var d=r.substr(1,r.length-2);o&&d.length>1?r=String.fromCharCode(parseInt(d.substr(1),10)):u&&d.length>2?r=String.fromCharCode(parseInt("0"+d.substr(1),16)):o||u||!y.XHTMLEntities[d]||(r=y.XHTMLEntities[d])}return r},JSXParser.prototype.lexJSX=function(){var t=this.scanner.source.charCodeAt(this.scanner.index);if(60===t||62===t||47===t||58===t||61===t||123===t||125===t)return{type:7,value:p=this.scanner.source[this.scanner.index++],lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index};if(34===t||39===t){for(var r=this.scanner.index,i=this.scanner.source[this.scanner.index++],a="";!this.scanner.eof();){if((d=this.scanner.source[this.scanner.index++])===i)break;a+="&"===d?this.scanXHTMLEntity(i):d}return{type:8,value:a,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:r,end:this.scanner.index}}if(46===t){var o=this.scanner.source.charCodeAt(this.scanner.index+1),u=this.scanner.source.charCodeAt(this.scanner.index+2),p=46===o&&46===u?"...":".";r=this.scanner.index;return this.scanner.index+=p.length,{type:7,value:p,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:r,end:this.scanner.index}}if(96===t)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(l.Character.isIdentifierStart(t)&&92!==t){r=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var d=this.scanner.source.charCodeAt(this.scanner.index);if(l.Character.isIdentifierPart(d)&&92!==d)++this.scanner.index;else{if(45!==d)break;++this.scanner.index}}return{type:100,value:this.scanner.source.slice(r,this.scanner.index),lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:r,end:this.scanner.index}}return this.scanner.lex()},JSXParser.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var t=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(t)),t},JSXParser.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var t=this.scanner.index,r="";!this.scanner.eof();){var i=this.scanner.source[this.scanner.index];if("{"===i||"<"===i)break;++this.scanner.index,r+=i,l.Character.isLineTerminator(i.charCodeAt(0))&&(++this.scanner.lineNumber,"\r"===i&&"\n"===this.scanner.source[this.scanner.index]&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var a={type:101,value:r,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:t,end:this.scanner.index};return r.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(a)),a},JSXParser.prototype.peekJSXToken=function(){var t=this.scanner.saveState();this.scanner.scanComments();var r=this.lexJSX();return this.scanner.restoreState(t),r},JSXParser.prototype.expectJSX=function(t){var r=this.nextJSXToken();7===r.type&&r.value===t||this.throwUnexpectedToken(r)},JSXParser.prototype.matchJSX=function(t){var r=this.peekJSXToken();return 7===r.type&&r.value===t},JSXParser.prototype.parseJSXIdentifier=function(){var t=this.createJSXNode(),r=this.nextJSXToken();return 100!==r.type&&this.throwUnexpectedToken(r),this.finalize(t,new u.JSXIdentifier(r.value))},JSXParser.prototype.parseJSXElementName=function(){var t=this.createJSXNode(),r=this.parseJSXIdentifier();if(this.matchJSX(":")){var i=r;this.expectJSX(":");var a=this.parseJSXIdentifier();r=this.finalize(t,new u.JSXNamespacedName(i,a))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var o=r;this.expectJSX(".");var l=this.parseJSXIdentifier();r=this.finalize(t,new u.JSXMemberExpression(o,l))}return r},JSXParser.prototype.parseJSXAttributeName=function(){var t,r=this.createJSXNode(),i=this.parseJSXIdentifier();if(this.matchJSX(":")){var a=i;this.expectJSX(":");var o=this.parseJSXIdentifier();t=this.finalize(r,new u.JSXNamespacedName(a,o))}else t=i;return t},JSXParser.prototype.parseJSXStringLiteralAttribute=function(){var t=this.createJSXNode(),r=this.nextJSXToken();8!==r.type&&this.throwUnexpectedToken(r);var i=this.getTokenRaw(r);return this.finalize(t,new d.Literal(r.value,i))},JSXParser.prototype.parseJSXExpressionAttribute=function(){var t=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var r=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(t,new u.JSXExpressionContainer(r))},JSXParser.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},JSXParser.prototype.parseJSXNameValueAttribute=function(){var t=this.createJSXNode(),r=this.parseJSXAttributeName(),i=null;return this.matchJSX("=")&&(this.expectJSX("="),i=this.parseJSXAttributeValue()),this.finalize(t,new u.JSXAttribute(r,i))},JSXParser.prototype.parseJSXSpreadAttribute=function(){var t=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var r=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(t,new u.JSXSpreadAttribute(r))},JSXParser.prototype.parseJSXAttributes=function(){for(var t=[];!this.matchJSX("/")&&!this.matchJSX(">");){var r=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();t.push(r)}return t},JSXParser.prototype.parseJSXOpeningElement=function(){var t=this.createJSXNode();this.expectJSX("<");var r=this.parseJSXElementName(),i=this.parseJSXAttributes(),a=this.matchJSX("/");return a&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(t,new u.JSXOpeningElement(r,a,i))},JSXParser.prototype.parseJSXBoundaryElement=function(){var t=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var r=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(t,new u.JSXClosingElement(r))}var i=this.parseJSXElementName(),a=this.parseJSXAttributes(),o=this.matchJSX("/");return o&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(t,new u.JSXOpeningElement(i,o,a))},JSXParser.prototype.parseJSXEmptyExpression=function(){var t=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(t,new u.JSXEmptyExpression)},JSXParser.prototype.parseJSXExpressionContainer=function(){var t,r=this.createJSXNode();return this.expectJSX("{"),this.matchJSX("}")?(t=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),t=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(r,new u.JSXExpressionContainer(t))},JSXParser.prototype.parseJSXChildren=function(){for(var t=[];!this.scanner.eof();){var r=this.createJSXChildNode(),i=this.nextJSXText();if(i.start0))break;l=this.finalize(t.node,new u.JSXElement(t.opening,t.children,t.closing));(t=r[r.length-1]).children.push(l),r.pop()}}return t},JSXParser.prototype.parseJSXElement=function(){var t=this.createJSXNode(),r=this.parseJSXOpeningElement(),i=[],a=null;if(!r.selfClosing){var o=this.parseComplexJSXElement({node:t,opening:r,closing:a,children:i});i=o.children,a=o.closing}return this.finalize(t,new u.JSXElement(r,i,a))},JSXParser.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var t=this.parseJSXElement();return this.finishJSX(),t},JSXParser.prototype.isStartOfExpression=function(){return t.prototype.isStartOfExpression.call(this)||this.match("<")},JSXParser}(h.Parser);r.JSXParser=g},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\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\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};r.Character={fromCodePoint:function(t){return t<65536?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10))+String.fromCharCode(56320+(t-65536&1023))},isWhiteSpace:function(t){return 32===t||9===t||11===t||12===t||160===t||t>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(t)>=0},isLineTerminator:function(t){return 10===t||13===t||8232===t||8233===t},isIdentifierStart:function(t){return 36===t||95===t||t>=65&&t<=90||t>=97&&t<=122||92===t||t>=128&&i.NonAsciiIdentifierStart.test(r.Character.fromCodePoint(t))},isIdentifierPart:function(t){return 36===t||95===t||t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||92===t||t>=128&&i.NonAsciiIdentifierPart.test(r.Character.fromCodePoint(t))},isDecimalDigit:function(t){return t>=48&&t<=57},isHexDigit:function(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102},isOctalDigit:function(t){return t>=48&&t<=55}}},function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i(6),o=function o(t){this.type=a.JSXSyntax.JSXClosingElement,this.name=t};r.JSXClosingElement=o;var l=function l(t,r,i){this.type=a.JSXSyntax.JSXElement,this.openingElement=t,this.children=r,this.closingElement=i};r.JSXElement=l;var u=function u(){this.type=a.JSXSyntax.JSXEmptyExpression};r.JSXEmptyExpression=u;var p=function p(t){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=t};r.JSXExpressionContainer=p;var d=function d(t){this.type=a.JSXSyntax.JSXIdentifier,this.name=t};r.JSXIdentifier=d;var h=function h(t,r){this.type=a.JSXSyntax.JSXMemberExpression,this.object=t,this.property=r};r.JSXMemberExpression=h;var m=function m(t,r){this.type=a.JSXSyntax.JSXAttribute,this.name=t,this.value=r};r.JSXAttribute=m;var y=function y(t,r){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=t,this.name=r};r.JSXNamespacedName=y;var g=function g(t,r,i){this.type=a.JSXSyntax.JSXOpeningElement,this.name=t,this.selfClosing=r,this.attributes=i};r.JSXOpeningElement=g;var v=function v(t){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=t};r.JSXSpreadAttribute=v;var b=function b(t,r){this.type=a.JSXSyntax.JSXText,this.value=t,this.raw=r};r.JSXText=b},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i(2),o=function o(t){this.type=a.Syntax.ArrayExpression,this.elements=t};r.ArrayExpression=o;var l=function l(t){this.type=a.Syntax.ArrayPattern,this.elements=t};r.ArrayPattern=l;var u=function u(t,r,i){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=t,this.body=r,this.generator=!1,this.expression=i,this.async=!1};r.ArrowFunctionExpression=u;var p=function p(t,r,i){this.type=a.Syntax.AssignmentExpression,this.operator=t,this.left=r,this.right=i};r.AssignmentExpression=p;var d=function d(t,r){this.type=a.Syntax.AssignmentPattern,this.left=t,this.right=r};r.AssignmentPattern=d;var h=function h(t,r,i){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=t,this.body=r,this.generator=!1,this.expression=i,this.async=!0};r.AsyncArrowFunctionExpression=h;var m=function m(t,r,i){this.type=a.Syntax.FunctionDeclaration,this.id=t,this.params=r,this.body=i,this.generator=!1,this.expression=!1,this.async=!0};r.AsyncFunctionDeclaration=m;var y=function y(t,r,i){this.type=a.Syntax.FunctionExpression,this.id=t,this.params=r,this.body=i,this.generator=!1,this.expression=!1,this.async=!0};r.AsyncFunctionExpression=y;var g=function g(t){this.type=a.Syntax.AwaitExpression,this.argument=t};r.AwaitExpression=g;var v=function v(t,r,i){var o="||"===t||"&&"===t;this.type=o?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=t,this.left=r,this.right=i};r.BinaryExpression=v;var b=function b(t){this.type=a.Syntax.BlockStatement,this.body=t};r.BlockStatement=b;var x=function x(t){this.type=a.Syntax.BreakStatement,this.label=t};r.BreakStatement=x;var E=function E(t,r){this.type=a.Syntax.CallExpression,this.callee=t,this.arguments=r};r.CallExpression=E;var S=function S(t,r){this.type=a.Syntax.CatchClause,this.param=t,this.body=r};r.CatchClause=S;var T=function T(t){this.type=a.Syntax.ClassBody,this.body=t};r.ClassBody=T;var A=function A(t,r,i){this.type=a.Syntax.ClassDeclaration,this.id=t,this.superClass=r,this.body=i};r.ClassDeclaration=A;var P=function P(t,r,i){this.type=a.Syntax.ClassExpression,this.id=t,this.superClass=r,this.body=i};r.ClassExpression=P;var C=function C(t,r){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=t,this.property=r};r.ComputedMemberExpression=C;var w=function w(t,r,i){this.type=a.Syntax.ConditionalExpression,this.test=t,this.consequent=r,this.alternate=i};r.ConditionalExpression=w;var D=function D(t){this.type=a.Syntax.ContinueStatement,this.label=t};r.ContinueStatement=D;var k=function k(){this.type=a.Syntax.DebuggerStatement};r.DebuggerStatement=k;var _=function _(t,r){this.type=a.Syntax.ExpressionStatement,this.expression=t,this.directive=r};r.Directive=_;var I=function I(t,r){this.type=a.Syntax.DoWhileStatement,this.body=t,this.test=r};r.DoWhileStatement=I;var O=function O(){this.type=a.Syntax.EmptyStatement};r.EmptyStatement=O;var N=function N(t){this.type=a.Syntax.ExportAllDeclaration,this.source=t};r.ExportAllDeclaration=N;var B=function B(t){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=t};r.ExportDefaultDeclaration=B;var M=function M(t,r,i){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=t,this.specifiers=r,this.source=i};r.ExportNamedDeclaration=M;var L=function L(t,r){this.type=a.Syntax.ExportSpecifier,this.exported=r,this.local=t};r.ExportSpecifier=L;var R=function R(t){this.type=a.Syntax.ExpressionStatement,this.expression=t};r.ExpressionStatement=R;var j=function j(t,r,i){this.type=a.Syntax.ForInStatement,this.left=t,this.right=r,this.body=i,this.each=!1};r.ForInStatement=j;var U=function U(t,r,i){this.type=a.Syntax.ForOfStatement,this.left=t,this.right=r,this.body=i};r.ForOfStatement=U;var V=function V(t,r,i,o){this.type=a.Syntax.ForStatement,this.init=t,this.test=r,this.update=i,this.body=o};r.ForStatement=V;var q=function q(t,r,i,o){this.type=a.Syntax.FunctionDeclaration,this.id=t,this.params=r,this.body=i,this.generator=o,this.expression=!1,this.async=!1};r.FunctionDeclaration=q;var W=function W(t,r,i,o){this.type=a.Syntax.FunctionExpression,this.id=t,this.params=r,this.body=i,this.generator=o,this.expression=!1,this.async=!1};r.FunctionExpression=W;var K=function K(t){this.type=a.Syntax.Identifier,this.name=t};r.Identifier=K;var G=function G(t,r,i){this.type=a.Syntax.IfStatement,this.test=t,this.consequent=r,this.alternate=i};r.IfStatement=G;var J=function J(t,r){this.type=a.Syntax.ImportDeclaration,this.specifiers=t,this.source=r};r.ImportDeclaration=J;var z=function z(t){this.type=a.Syntax.ImportDefaultSpecifier,this.local=t};r.ImportDefaultSpecifier=z;var H=function H(t){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=t};r.ImportNamespaceSpecifier=H;var X=function X(t,r){this.type=a.Syntax.ImportSpecifier,this.local=t,this.imported=r};r.ImportSpecifier=X;var Y=function Y(t,r){this.type=a.Syntax.LabeledStatement,this.label=t,this.body=r};r.LabeledStatement=Y;var $=function $(t,r){this.type=a.Syntax.Literal,this.value=t,this.raw=r};r.Literal=$;var Q=function Q(t,r){this.type=a.Syntax.MetaProperty,this.meta=t,this.property=r};r.MetaProperty=Q;var Z=function Z(t,r,i,o,l){this.type=a.Syntax.MethodDefinition,this.key=t,this.computed=r,this.value=i,this.kind=o,this.static=l};r.MethodDefinition=Z;var ee=function ee(t){this.type=a.Syntax.Program,this.body=t,this.sourceType="module"};r.Module=ee;var te=function te(t,r){this.type=a.Syntax.NewExpression,this.callee=t,this.arguments=r};r.NewExpression=te;var re=function re(t){this.type=a.Syntax.ObjectExpression,this.properties=t};r.ObjectExpression=re;var ne=function ne(t){this.type=a.Syntax.ObjectPattern,this.properties=t};r.ObjectPattern=ne;var ie=function ie(t,r,i,o,l,u){this.type=a.Syntax.Property,this.key=r,this.computed=i,this.value=o,this.kind=t,this.method=l,this.shorthand=u};r.Property=ie;var se=function se(t,r,i,o){this.type=a.Syntax.Literal,this.value=t,this.raw=r,this.regex={pattern:i,flags:o}};r.RegexLiteral=se;var ae=function ae(t){this.type=a.Syntax.RestElement,this.argument=t};r.RestElement=ae;var oe=function oe(t){this.type=a.Syntax.ReturnStatement,this.argument=t};r.ReturnStatement=oe;var le=function le(t){this.type=a.Syntax.Program,this.body=t,this.sourceType="script"};r.Script=le;var ue=function ue(t){this.type=a.Syntax.SequenceExpression,this.expressions=t};r.SequenceExpression=ue;var ce=function ce(t){this.type=a.Syntax.SpreadElement,this.argument=t};r.SpreadElement=ce;var pe=function pe(t,r){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=t,this.property=r};r.StaticMemberExpression=pe;var fe=function fe(){this.type=a.Syntax.Super};r.Super=fe;var de=function de(t,r){this.type=a.Syntax.SwitchCase,this.test=t,this.consequent=r};r.SwitchCase=de;var he=function he(t,r){this.type=a.Syntax.SwitchStatement,this.discriminant=t,this.cases=r};r.SwitchStatement=he;var me=function me(t,r){this.type=a.Syntax.TaggedTemplateExpression,this.tag=t,this.quasi=r};r.TaggedTemplateExpression=me;var ye=function ye(t,r){this.type=a.Syntax.TemplateElement,this.value=t,this.tail=r};r.TemplateElement=ye;var ge=function ge(t,r){this.type=a.Syntax.TemplateLiteral,this.quasis=t,this.expressions=r};r.TemplateLiteral=ge;var ve=function ve(){this.type=a.Syntax.ThisExpression};r.ThisExpression=ve;var be=function be(t){this.type=a.Syntax.ThrowStatement,this.argument=t};r.ThrowStatement=be;var xe=function xe(t,r,i){this.type=a.Syntax.TryStatement,this.block=t,this.handler=r,this.finalizer=i};r.TryStatement=xe;var Ee=function Ee(t,r){this.type=a.Syntax.UnaryExpression,this.operator=t,this.argument=r,this.prefix=!0};r.UnaryExpression=Ee;var Se=function Se(t,r,i){this.type=a.Syntax.UpdateExpression,this.operator=t,this.argument=r,this.prefix=i};r.UpdateExpression=Se;var Te=function Te(t,r){this.type=a.Syntax.VariableDeclaration,this.declarations=t,this.kind=r};r.VariableDeclaration=Te;var Ae=function Ae(t,r){this.type=a.Syntax.VariableDeclarator,this.id=t,this.init=r};r.VariableDeclarator=Ae;var Pe=function Pe(t,r){this.type=a.Syntax.WhileStatement,this.test=t,this.body=r};r.WhileStatement=Pe;var Ce=function Ce(t,r){this.type=a.Syntax.WithStatement,this.object=t,this.body=r};r.WithStatement=Ce;var we=function we(t,r){this.type=a.Syntax.YieldExpression,this.argument=t,this.delegate=r};r.YieldExpression=we},function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i(9),o=i(10),l=i(11),u=i(7),p=i(12),d=i(2),h=i(13),m=function(){function Parser(t,r,i){void 0===r&&(r={}),this.config={range:"boolean"==typeof r.range&&r.range,loc:"boolean"==typeof r.loc&&r.loc,source:null,tokens:"boolean"==typeof r.tokens&&r.tokens,comment:"boolean"==typeof r.comment&&r.comment,tolerant:"boolean"==typeof r.tolerant&&r.tolerant},this.config.loc&&r.source&&null!==r.source&&(this.config.source=String(r.source)),this.delegate=i,this.errorHandler=new o.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new p.Scanner(t,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return Parser.prototype.throwError=function(t){for(var r=[],i=1;i0&&this.delegate)for(var r=0;r>="===t||">>>="===t||"&="===t||"^="===t||"|="===t},Parser.prototype.isolateCoverGrammar=function(t){var r=this.context.isBindingElement,i=this.context.isAssignmentTarget,a=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var o=t.call(this);return null!==this.context.firstCoverInitializedNameError&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=r,this.context.isAssignmentTarget=i,this.context.firstCoverInitializedNameError=a,o},Parser.prototype.inheritCoverGrammar=function(t){var r=this.context.isBindingElement,i=this.context.isAssignmentTarget,a=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var o=t.call(this);return this.context.isBindingElement=this.context.isBindingElement&&r,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&i,this.context.firstCoverInitializedNameError=a||this.context.firstCoverInitializedNameError,o},Parser.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(2===this.lookahead.type||this.match("}")||this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},Parser.prototype.parsePrimaryExpression=function(){var t,r,i,a=this.createNode();switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&"await"===this.lookahead.value&&this.tolerateUnexpectedToken(this.lookahead),t=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(a,new u.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,l.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,r=this.nextToken(),i=this.getTokenRaw(r),t=this.finalize(a,new u.Literal(r.value,i));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,r=this.nextToken(),i=this.getTokenRaw(r),t=this.finalize(a,new u.Literal("true"===r.value,i));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,r=this.nextToken(),i=this.getTokenRaw(r),t=this.finalize(a,new u.Literal(null,i));break;case 10:t=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,t=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":t=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":t=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,r=this.nextRegexToken(),i=this.getTokenRaw(r),t=this.finalize(a,new u.RegexLiteral(r.regex,i,r.pattern,r.flags));break;default:t=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?t=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?t=this.finalize(a,new u.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?t=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),t=this.finalize(a,new u.ThisExpression)):t=this.matchKeyword("class")?this.parseClassExpression():this.throwUnexpectedToken(this.nextToken()));break;default:t=this.throwUnexpectedToken(this.nextToken())}return t},Parser.prototype.parseSpreadElement=function(){var t=this.createNode();this.expect("...");var r=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(t,new u.SpreadElement(r))},Parser.prototype.parseArrayInitializer=function(){var t=this.createNode(),r=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),r.push(null);else if(this.match("...")){var i=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),r.push(i)}else r.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(t,new u.ArrayExpression(r))},Parser.prototype.parsePropertyMethod=function(t){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var r=this.context.strict,i=this.context.allowStrictDirective;this.context.allowStrictDirective=t.simple;var a=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&t.firstRestricted&&this.tolerateUnexpectedToken(t.firstRestricted,t.message),this.context.strict&&t.stricted&&this.tolerateUnexpectedToken(t.stricted,t.message),this.context.strict=r,this.context.allowStrictDirective=i,a},Parser.prototype.parsePropertyMethodFunction=function(){var t=this.createNode(),r=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters(),a=this.parsePropertyMethod(i);return this.context.allowYield=r,this.finalize(t,new u.FunctionExpression(null,i.params,a,!1))},Parser.prototype.parsePropertyMethodAsyncFunction=function(){var t=this.createNode(),r=this.context.allowYield,i=this.context.await;this.context.allowYield=!1,this.context.await=!0;var a=this.parseFormalParameters(),o=this.parsePropertyMethod(a);return this.context.allowYield=r,this.context.await=i,this.finalize(t,new u.AsyncFunctionExpression(null,a.params,o))},Parser.prototype.parseObjectPropertyKey=function(){var t,r=this.createNode(),i=this.nextToken();switch(i.type){case 8:case 6:this.context.strict&&i.octal&&this.tolerateUnexpectedToken(i,l.Messages.StrictOctalLiteral);var a=this.getTokenRaw(i);t=this.finalize(r,new u.Literal(i.value,a));break;case 3:case 1:case 5:case 4:t=this.finalize(r,new u.Identifier(i.value));break;case 7:"["===i.value?(t=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):t=this.throwUnexpectedToken(i);break;default:t=this.throwUnexpectedToken(i)}return t},Parser.prototype.isPropertyKey=function(t,r){return t.type===d.Syntax.Identifier&&t.name===r||t.type===d.Syntax.Literal&&t.value===r},Parser.prototype.parseObjectProperty=function(t){var r,i=this.createNode(),a=this.lookahead,o=null,p=null,d=!1,h=!1,m=!1,y=!1;if(3===a.type){var g=a.value;this.nextToken(),d=this.match("["),o=(y=!(this.hasLineTerminator||"async"!==g||this.match(":")||this.match("(")||this.match("*")||this.match(",")))?this.parseObjectPropertyKey():this.finalize(i,new u.Identifier(g))}else this.match("*")?this.nextToken():(d=this.match("["),o=this.parseObjectPropertyKey());var v=this.qualifiedPropertyName(this.lookahead);if(3===a.type&&!y&&"get"===a.value&&v)r="get",d=this.match("["),o=this.parseObjectPropertyKey(),this.context.allowYield=!1,p=this.parseGetterMethod();else if(3===a.type&&!y&&"set"===a.value&&v)r="set",d=this.match("["),o=this.parseObjectPropertyKey(),p=this.parseSetterMethod();else if(7===a.type&&"*"===a.value&&v)r="init",d=this.match("["),o=this.parseObjectPropertyKey(),p=this.parseGeneratorMethod(),h=!0;else if(o||this.throwUnexpectedToken(this.lookahead),r="init",this.match(":")&&!y)!d&&this.isPropertyKey(o,"__proto__")&&(t.value&&this.tolerateError(l.Messages.DuplicateProtoProperty),t.value=!0),this.nextToken(),p=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))p=y?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),h=!0;else if(3===a.type){g=this.finalize(i,new u.Identifier(a.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),m=!0;var b=this.isolateCoverGrammar(this.parseAssignmentExpression);p=this.finalize(i,new u.AssignmentPattern(g,b))}else m=!0,p=g}else this.throwUnexpectedToken(this.nextToken());return this.finalize(i,new u.Property(r,o,d,p,h,m))},Parser.prototype.parseObjectInitializer=function(){var t=this.createNode();this.expect("{");for(var r=[],i={value:!1};!this.match("}");)r.push(this.parseObjectProperty(i)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(t,new u.ObjectExpression(r))},Parser.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var t=this.createNode(),r=this.nextToken(),i=r.value,o=r.cooked;return this.finalize(t,new u.TemplateElement({raw:i,cooked:o},r.tail))},Parser.prototype.parseTemplateElement=function(){10!==this.lookahead.type&&this.throwUnexpectedToken();var t=this.createNode(),r=this.nextToken(),i=r.value,a=r.cooked;return this.finalize(t,new u.TemplateElement({raw:i,cooked:a},r.tail))},Parser.prototype.parseTemplateLiteral=function(){var t=this.createNode(),r=[],i=[],a=this.parseTemplateHead();for(i.push(a);!a.tail;)r.push(this.parseExpression()),a=this.parseTemplateElement(),i.push(a);return this.finalize(t,new u.TemplateLiteral(i,r))},Parser.prototype.reinterpretExpressionAsPattern=function(t){switch(t.type){case d.Syntax.Identifier:case d.Syntax.MemberExpression:case d.Syntax.RestElement:case d.Syntax.AssignmentPattern:break;case d.Syntax.SpreadElement:t.type=d.Syntax.RestElement,this.reinterpretExpressionAsPattern(t.argument);break;case d.Syntax.ArrayExpression:t.type=d.Syntax.ArrayPattern;for(var r=0;r")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[],async:!1};else{var r=this.lookahead,i=[];if(this.match("..."))t=this.parseRestElement(i),this.expect(")"),this.match("=>")||this.expect("=>"),t={type:"ArrowParameterPlaceHolder",params:[t],async:!1};else{var a=!1;if(this.context.isBindingElement=!0,t=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var o=[];for(this.context.isAssignmentTarget=!1,o.push(t);2!==this.lookahead.type&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var l=0;l")||this.expect("=>"),this.context.isBindingElement=!1;for(l=0;l")&&(t.type===d.Syntax.Identifier&&"yield"===t.name&&(a=!0,t={type:"ArrowParameterPlaceHolder",params:[t],async:!1}),!a)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),t.type===d.Syntax.SequenceExpression)for(l=0;l")){for(var d=0;d0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var o=[t,this.lookahead],l=r,p=this.isolateCoverGrammar(this.parseExponentiationExpression),d=[l,i.value,p],h=[a];!((a=this.binaryPrecedence(this.lookahead))<=0);){for(;d.length>2&&a<=h[h.length-1];){p=d.pop();var m=d.pop();h.pop(),l=d.pop(),o.pop();var y=this.startNode(o[o.length-1]);d.push(this.finalize(y,new u.BinaryExpression(m,l,p)))}d.push(this.nextToken().value),h.push(a),o.push(this.lookahead),d.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var g=d.length-1;r=d[g];for(var v=o.pop();g>1;){var b=o.pop(),x=v&&v.lineStart;y=this.startNode(b,x),m=d[g-1];r=this.finalize(y,new u.BinaryExpression(m,d[g-2],r)),g-=2,v=b}}return r},Parser.prototype.parseConditionalExpression=function(){var t=this.lookahead,r=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var i=this.context.allowIn;this.context.allowIn=!0;var a=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=i,this.expect(":");var o=this.isolateCoverGrammar(this.parseAssignmentExpression);r=this.finalize(this.startNode(t),new u.ConditionalExpression(r,a,o)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return r},Parser.prototype.checkPatternParam=function(t,r){switch(r.type){case d.Syntax.Identifier:this.validateParam(t,r,r.name);break;case d.Syntax.RestElement:this.checkPatternParam(t,r.argument);break;case d.Syntax.AssignmentPattern:this.checkPatternParam(t,r.left);break;case d.Syntax.ArrayPattern:for(var i=0;i")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var o=t.async,p=this.reinterpretAsCoverFormalsList(t);if(p){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var h=this.context.strict,m=this.context.allowStrictDirective;this.context.allowStrictDirective=p.simple;var y=this.context.allowYield,g=this.context.await;this.context.allowYield=!0,this.context.await=o;var v=this.startNode(r);this.expect("=>");var b=void 0;if(this.match("{")){var x=this.context.allowIn;this.context.allowIn=!0,b=this.parseFunctionSourceElements(),this.context.allowIn=x}else b=this.isolateCoverGrammar(this.parseAssignmentExpression);var E=b.type!==d.Syntax.BlockStatement;this.context.strict&&p.firstRestricted&&this.throwUnexpectedToken(p.firstRestricted,p.message),this.context.strict&&p.stricted&&this.tolerateUnexpectedToken(p.stricted,p.message),t=o?this.finalize(v,new u.AsyncArrowFunctionExpression(p.params,b,E)):this.finalize(v,new u.ArrowFunctionExpression(p.params,b,E)),this.context.strict=h,this.context.allowStrictDirective=m,this.context.allowYield=y,this.context.await=g}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(l.Messages.InvalidLHSInAssignment),this.context.strict&&t.type===d.Syntax.Identifier){var S=t;this.scanner.isRestrictedWord(S.name)&&this.tolerateUnexpectedToken(i,l.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(S.name)&&this.tolerateUnexpectedToken(i,l.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(t):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1);var T=(i=this.nextToken()).value,A=this.isolateCoverGrammar(this.parseAssignmentExpression);t=this.finalize(this.startNode(r),new u.AssignmentExpression(T,t,A)),this.context.firstCoverInitializedNameError=null}}return t},Parser.prototype.parseExpression=function(){var t=this.lookahead,r=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var i=[];for(i.push(r);2!==this.lookahead.type&&this.match(",");)this.nextToken(),i.push(this.isolateCoverGrammar(this.parseAssignmentExpression));r=this.finalize(this.startNode(t),new u.SequenceExpression(i))}return r},Parser.prototype.parseStatementListItem=function(){var t;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,4===this.lookahead.type)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,l.Messages.IllegalExportDeclaration),t=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,l.Messages.IllegalImportDeclaration),t=this.parseImportDeclaration();break;case"const":t=this.parseLexicalDeclaration({inFor:!1});break;case"function":t=this.parseFunctionDeclaration();break;case"class":t=this.parseClassDeclaration();break;case"let":t=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:t=this.parseStatement()}else t=this.parseStatement();return t},Parser.prototype.parseBlock=function(){var t=this.createNode();this.expect("{");for(var r=[];!this.match("}");)r.push(this.parseStatementListItem());return this.expect("}"),this.finalize(t,new u.BlockStatement(r))},Parser.prototype.parseLexicalBinding=function(t,r){var i=this.createNode(),a=this.parsePattern([],t);this.context.strict&&a.type===d.Syntax.Identifier&&this.scanner.isRestrictedWord(a.name)&&this.tolerateError(l.Messages.StrictVarName);var o=null;return"const"===t?this.matchKeyword("in")||this.matchContextualKeyword("of")||(this.match("=")?(this.nextToken(),o=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(l.Messages.DeclarationMissingInitializer,"const")):(!r.inFor&&a.type!==d.Syntax.Identifier||this.match("="))&&(this.expect("="),o=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(i,new u.VariableDeclarator(a,o))},Parser.prototype.parseBindingList=function(t,r){for(var i=[this.parseLexicalBinding(t,r)];this.match(",");)this.nextToken(),i.push(this.parseLexicalBinding(t,r));return i},Parser.prototype.isLexicalDeclaration=function(){var t=this.scanner.saveState();this.scanner.scanComments();var r=this.scanner.lex();return this.scanner.restoreState(t),3===r.type||7===r.type&&"["===r.value||7===r.type&&"{"===r.value||4===r.type&&"let"===r.value||4===r.type&&"yield"===r.value},Parser.prototype.parseLexicalDeclaration=function(t){var r=this.createNode(),i=this.nextToken().value;a.assert("let"===i||"const"===i,"Lexical declaration must be either let or const");var o=this.parseBindingList(i,t);return this.consumeSemicolon(),this.finalize(r,new u.VariableDeclaration(o,i))},Parser.prototype.parseBindingRestElement=function(t,r){var i=this.createNode();this.expect("...");var a=this.parsePattern(t,r);return this.finalize(i,new u.RestElement(a))},Parser.prototype.parseArrayPattern=function(t,r){var i=this.createNode();this.expect("[");for(var a=[];!this.match("]");)if(this.match(","))this.nextToken(),a.push(null);else{if(this.match("...")){a.push(this.parseBindingRestElement(t,r));break}a.push(this.parsePatternWithDefault(t,r)),this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(i,new u.ArrayPattern(a))},Parser.prototype.parsePropertyPattern=function(t,r){var i,a,o=this.createNode(),l=!1,p=!1;if(3===this.lookahead.type){var d=this.lookahead;i=this.parseVariableIdentifier();var h=this.finalize(o,new u.Identifier(d.value));if(this.match("=")){t.push(d),p=!0,this.nextToken();var m=this.parseAssignmentExpression();a=this.finalize(this.startNode(d),new u.AssignmentPattern(h,m))}else this.match(":")?(this.expect(":"),a=this.parsePatternWithDefault(t,r)):(t.push(d),p=!0,a=h)}else l=this.match("["),i=this.parseObjectPropertyKey(),this.expect(":"),a=this.parsePatternWithDefault(t,r);return this.finalize(o,new u.Property("init",i,l,a,!1,p))},Parser.prototype.parseObjectPattern=function(t,r){var i=this.createNode(),a=[];for(this.expect("{");!this.match("}");)a.push(this.parsePropertyPattern(t,r)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(i,new u.ObjectPattern(a))},Parser.prototype.parsePattern=function(t,r){var i;return this.match("[")?i=this.parseArrayPattern(t,r):this.match("{")?i=this.parseObjectPattern(t,r):(!this.matchKeyword("let")||"const"!==r&&"let"!==r||this.tolerateUnexpectedToken(this.lookahead,l.Messages.LetInLexicalBinding),t.push(this.lookahead),i=this.parseVariableIdentifier(r)),i},Parser.prototype.parsePatternWithDefault=function(t,r){var i=this.lookahead,a=this.parsePattern(t,r);if(this.match("=")){this.nextToken();var o=this.context.allowYield;this.context.allowYield=!0;var l=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=o,a=this.finalize(this.startNode(i),new u.AssignmentPattern(a,l))}return a},Parser.prototype.parseVariableIdentifier=function(t){var r=this.createNode(),i=this.nextToken();return 4===i.type&&"yield"===i.value?this.context.strict?this.tolerateUnexpectedToken(i,l.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(i):3!==i.type?this.context.strict&&4===i.type&&this.scanner.isStrictModeReservedWord(i.value)?this.tolerateUnexpectedToken(i,l.Messages.StrictReservedWord):(this.context.strict||"let"!==i.value||"var"!==t)&&this.throwUnexpectedToken(i):(this.context.isModule||this.context.await)&&3===i.type&&"await"===i.value&&this.tolerateUnexpectedToken(i),this.finalize(r,new u.Identifier(i.value))},Parser.prototype.parseVariableDeclaration=function(t){var r=this.createNode(),i=this.parsePattern([],"var");this.context.strict&&i.type===d.Syntax.Identifier&&this.scanner.isRestrictedWord(i.name)&&this.tolerateError(l.Messages.StrictVarName);var a=null;return this.match("=")?(this.nextToken(),a=this.isolateCoverGrammar(this.parseAssignmentExpression)):i.type===d.Syntax.Identifier||t.inFor||this.expect("="),this.finalize(r,new u.VariableDeclarator(i,a))},Parser.prototype.parseVariableDeclarationList=function(t){var r={inFor:t.inFor},i=[];for(i.push(this.parseVariableDeclaration(r));this.match(",");)this.nextToken(),i.push(this.parseVariableDeclaration(r));return i},Parser.prototype.parseVariableStatement=function(){var t=this.createNode();this.expectKeyword("var");var r=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(t,new u.VariableDeclaration(r,"var"))},Parser.prototype.parseEmptyStatement=function(){var t=this.createNode();return this.expect(";"),this.finalize(t,new u.EmptyStatement)},Parser.prototype.parseExpressionStatement=function(){var t=this.createNode(),r=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new u.ExpressionStatement(r))},Parser.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(l.Messages.StrictFunction),this.parseStatement()},Parser.prototype.parseIfStatement=function(){var t,r=this.createNode(),i=null;this.expectKeyword("if"),this.expect("(");var a=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new u.EmptyStatement)):(this.expect(")"),t=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),i=this.parseIfClause())),this.finalize(r,new u.IfStatement(a,t,i))},Parser.prototype.parseDoWhileStatement=function(){var t=this.createNode();this.expectKeyword("do");var r=this.context.inIteration;this.context.inIteration=!0;var i=this.parseStatement();this.context.inIteration=r,this.expectKeyword("while"),this.expect("(");var a=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(t,new u.DoWhileStatement(i,a))},Parser.prototype.parseWhileStatement=function(){var t,r=this.createNode();this.expectKeyword("while"),this.expect("(");var i=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new u.EmptyStatement);else{this.expect(")");var a=this.context.inIteration;this.context.inIteration=!0,t=this.parseStatement(),this.context.inIteration=a}return this.finalize(r,new u.WhileStatement(i,t))},Parser.prototype.parseForStatement=function(){var t,r,i,a=null,o=null,p=null,h=!0,m=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){a=this.createNode(),this.nextToken();var y=this.context.allowIn;this.context.allowIn=!1;var g=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=y,1===g.length&&this.matchKeyword("in")){var v=g[0];v.init&&(v.id.type===d.Syntax.ArrayPattern||v.id.type===d.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(l.Messages.ForInOfLoopInitializer,"for-in"),a=this.finalize(a,new u.VariableDeclaration(g,"var")),this.nextToken(),t=a,r=this.parseExpression(),a=null}else 1===g.length&&null===g[0].init&&this.matchContextualKeyword("of")?(a=this.finalize(a,new u.VariableDeclaration(g,"var")),this.nextToken(),t=a,r=this.parseAssignmentExpression(),a=null,h=!1):(a=this.finalize(a,new u.VariableDeclaration(g,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){a=this.createNode();var b=this.nextToken().value;if(this.context.strict||"in"!==this.lookahead.value){y=this.context.allowIn;this.context.allowIn=!1;g=this.parseBindingList(b,{inFor:!0});this.context.allowIn=y,1===g.length&&null===g[0].init&&this.matchKeyword("in")?(a=this.finalize(a,new u.VariableDeclaration(g,b)),this.nextToken(),t=a,r=this.parseExpression(),a=null):1===g.length&&null===g[0].init&&this.matchContextualKeyword("of")?(a=this.finalize(a,new u.VariableDeclaration(g,b)),this.nextToken(),t=a,r=this.parseAssignmentExpression(),a=null,h=!1):(this.consumeSemicolon(),a=this.finalize(a,new u.VariableDeclaration(g,b)))}else a=this.finalize(a,new u.Identifier(b)),this.nextToken(),t=a,r=this.parseExpression(),a=null}else{var x=this.lookahead;y=this.context.allowIn;if(this.context.allowIn=!1,a=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=y,this.matchKeyword("in"))this.context.isAssignmentTarget&&a.type!==d.Syntax.AssignmentExpression||this.tolerateError(l.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(a),t=a,r=this.parseExpression(),a=null;else if(this.matchContextualKeyword("of"))this.context.isAssignmentTarget&&a.type!==d.Syntax.AssignmentExpression||this.tolerateError(l.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(a),t=a,r=this.parseAssignmentExpression(),a=null,h=!1;else{if(this.match(",")){for(var E=[a];this.match(",");)this.nextToken(),E.push(this.isolateCoverGrammar(this.parseAssignmentExpression));a=this.finalize(this.startNode(x),new u.SequenceExpression(E))}this.expect(";")}}if(void 0===t&&(this.match(";")||(o=this.parseExpression()),this.expect(";"),this.match(")")||(p=this.parseExpression())),!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),i=this.finalize(this.createNode(),new u.EmptyStatement);else{this.expect(")");var S=this.context.inIteration;this.context.inIteration=!0,i=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=S}return void 0===t?this.finalize(m,new u.ForStatement(a,o,p,i)):h?this.finalize(m,new u.ForInStatement(t,r,i)):this.finalize(m,new u.ForOfStatement(t,r,i))},Parser.prototype.parseContinueStatement=function(){var t=this.createNode();this.expectKeyword("continue");var r=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var i=this.parseVariableIdentifier();r=i;var a="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,a)||this.throwError(l.Messages.UnknownLabel,i.name)}return this.consumeSemicolon(),null!==r||this.context.inIteration||this.throwError(l.Messages.IllegalContinue),this.finalize(t,new u.ContinueStatement(r))},Parser.prototype.parseBreakStatement=function(){var t=this.createNode();this.expectKeyword("break");var r=null;if(3===this.lookahead.type&&!this.hasLineTerminator){var i=this.parseVariableIdentifier(),a="$"+i.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,a)||this.throwError(l.Messages.UnknownLabel,i.name),r=i}return this.consumeSemicolon(),null!==r||this.context.inIteration||this.context.inSwitch||this.throwError(l.Messages.IllegalBreak),this.finalize(t,new u.BreakStatement(r))},Parser.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(l.Messages.IllegalReturn);var t=this.createNode();this.expectKeyword("return");var r=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&2!==this.lookahead.type||8===this.lookahead.type||10===this.lookahead.type?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(t,new u.ReturnStatement(r))},Parser.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(l.Messages.StrictModeWith);var t,r=this.createNode();this.expectKeyword("with"),this.expect("(");var i=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),t=this.finalize(this.createNode(),new u.EmptyStatement)):(this.expect(")"),t=this.parseStatement()),this.finalize(r,new u.WithStatement(i,t))},Parser.prototype.parseSwitchCase=function(){var t,r=this.createNode();this.matchKeyword("default")?(this.nextToken(),t=null):(this.expectKeyword("case"),t=this.parseExpression()),this.expect(":");for(var i=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)i.push(this.parseStatementListItem());return this.finalize(r,new u.SwitchCase(t,i))},Parser.prototype.parseSwitchStatement=function(){var t=this.createNode();this.expectKeyword("switch"),this.expect("(");var r=this.parseExpression();this.expect(")");var i=this.context.inSwitch;this.context.inSwitch=!0;var a=[],o=!1;for(this.expect("{");!this.match("}");){var p=this.parseSwitchCase();null===p.test&&(o&&this.throwError(l.Messages.MultipleDefaultsInSwitch),o=!0),a.push(p)}return this.expect("}"),this.context.inSwitch=i,this.finalize(t,new u.SwitchStatement(r,a))},Parser.prototype.parseLabelledStatement=function(){var t,r=this.createNode(),i=this.parseExpression();if(i.type===d.Syntax.Identifier&&this.match(":")){this.nextToken();var a=i,o="$"+a.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,o)&&this.throwError(l.Messages.Redeclaration,"Label",a.name),this.context.labelSet[o]=!0;var p=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),p=this.parseClassDeclaration();else if(this.matchKeyword("function")){var h=this.lookahead,m=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(h,l.Messages.StrictFunction):m.generator&&this.tolerateUnexpectedToken(h,l.Messages.GeneratorInLegacyContext),p=m}else p=this.parseStatement();delete this.context.labelSet[o],t=new u.LabeledStatement(a,p)}else this.consumeSemicolon(),t=new u.ExpressionStatement(i);return this.finalize(r,t)},Parser.prototype.parseThrowStatement=function(){var t=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(l.Messages.NewlineAfterThrow);var r=this.parseExpression();return this.consumeSemicolon(),this.finalize(t,new u.ThrowStatement(r))},Parser.prototype.parseCatchClause=function(){var t=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var r=[],i=this.parsePattern(r),a={},o=0;o0&&this.tolerateError(l.Messages.BadGetterArity);var a=this.parsePropertyMethod(i);return this.context.allowYield=r,this.finalize(t,new u.FunctionExpression(null,i.params,a,!1))},Parser.prototype.parseSetterMethod=function(){var t=this.createNode(),r=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters();1!==i.params.length?this.tolerateError(l.Messages.BadSetterArity):i.params[0]instanceof u.RestElement&&this.tolerateError(l.Messages.BadSetterRestParameter);var a=this.parsePropertyMethod(i);return this.context.allowYield=r,this.finalize(t,new u.FunctionExpression(null,i.params,a,!1))},Parser.prototype.parseGeneratorMethod=function(){var t=this.createNode(),r=this.context.allowYield;this.context.allowYield=!0;var i=this.parseFormalParameters();this.context.allowYield=!1;var a=this.parsePropertyMethod(i);return this.context.allowYield=r,this.finalize(t,new u.FunctionExpression(null,i.params,a,!0))},Parser.prototype.isStartOfExpression=function(){var t=!0,r=this.lookahead.value;switch(this.lookahead.type){case 7:t="["===r||"("===r||"{"===r||"+"===r||"-"===r||"!"===r||"~"===r||"++"===r||"--"===r||"/"===r||"/="===r;break;case 4:t="class"===r||"delete"===r||"function"===r||"let"===r||"new"===r||"super"===r||"this"===r||"typeof"===r||"void"===r||"yield"===r}return t},Parser.prototype.parseYieldExpression=function(){var t=this.createNode();this.expectKeyword("yield");var r=null,i=!1;if(!this.hasLineTerminator){var a=this.context.allowYield;this.context.allowYield=!1,(i=this.match("*"))?(this.nextToken(),r=this.parseAssignmentExpression()):this.isStartOfExpression()&&(r=this.parseAssignmentExpression()),this.context.allowYield=a}return this.finalize(t,new u.YieldExpression(r,i))},Parser.prototype.parseClassElement=function(t){var r=this.lookahead,i=this.createNode(),a="",o=null,p=null,d=!1,h=!1,m=!1,y=!1;if(this.match("*"))this.nextToken();else if(d=this.match("["),"static"===(o=this.parseObjectPropertyKey()).name&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(r=this.lookahead,m=!0,d=this.match("["),this.match("*")?this.nextToken():o=this.parseObjectPropertyKey()),3===r.type&&!this.hasLineTerminator&&"async"===r.value){var g=this.lookahead.value;":"!==g&&"("!==g&&"*"!==g&&(y=!0,r=this.lookahead,o=this.parseObjectPropertyKey(),3===r.type&&"constructor"===r.value&&this.tolerateUnexpectedToken(r,l.Messages.ConstructorIsAsync))}var v=this.qualifiedPropertyName(this.lookahead);return 3===r.type?"get"===r.value&&v?(a="get",d=this.match("["),o=this.parseObjectPropertyKey(),this.context.allowYield=!1,p=this.parseGetterMethod()):"set"===r.value&&v&&(a="set",d=this.match("["),o=this.parseObjectPropertyKey(),p=this.parseSetterMethod()):7===r.type&&"*"===r.value&&v&&(a="init",d=this.match("["),o=this.parseObjectPropertyKey(),p=this.parseGeneratorMethod(),h=!0),!a&&o&&this.match("(")&&(a="init",p=y?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),h=!0),a||this.throwUnexpectedToken(this.lookahead),"init"===a&&(a="method"),d||(m&&this.isPropertyKey(o,"prototype")&&this.throwUnexpectedToken(r,l.Messages.StaticPrototype),!m&&this.isPropertyKey(o,"constructor")&&(("method"!==a||!h||p&&p.generator)&&this.throwUnexpectedToken(r,l.Messages.ConstructorSpecialMethod),t.value?this.throwUnexpectedToken(r,l.Messages.DuplicateConstructor):t.value=!0,a="constructor")),this.finalize(i,new u.MethodDefinition(o,d,p,a,m))},Parser.prototype.parseClassElementList=function(){var t=[],r={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():t.push(this.parseClassElement(r));return this.expect("}"),t},Parser.prototype.parseClassBody=function(){var t=this.createNode(),r=this.parseClassElementList();return this.finalize(t,new u.ClassBody(r))},Parser.prototype.parseClassDeclaration=function(t){var r=this.createNode(),i=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var a=t&&3!==this.lookahead.type?null:this.parseVariableIdentifier(),o=null;this.matchKeyword("extends")&&(this.nextToken(),o=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var l=this.parseClassBody();return this.context.strict=i,this.finalize(r,new u.ClassDeclaration(a,o,l))},Parser.prototype.parseClassExpression=function(){var t=this.createNode(),r=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var i=3===this.lookahead.type?this.parseVariableIdentifier():null,a=null;this.matchKeyword("extends")&&(this.nextToken(),a=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var o=this.parseClassBody();return this.context.strict=r,this.finalize(t,new u.ClassExpression(i,a,o))},Parser.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var t=this.createNode(),r=this.parseDirectivePrologues();2!==this.lookahead.type;)r.push(this.parseStatementListItem());return this.finalize(t,new u.Module(r))},Parser.prototype.parseScript=function(){for(var t=this.createNode(),r=this.parseDirectivePrologues();2!==this.lookahead.type;)r.push(this.parseStatementListItem());return this.finalize(t,new u.Script(r))},Parser.prototype.parseModuleSpecifier=function(){var t=this.createNode();8!==this.lookahead.type&&this.throwError(l.Messages.InvalidModuleSpecifier);var r=this.nextToken(),i=this.getTokenRaw(r);return this.finalize(t,new u.Literal(r.value,i))},Parser.prototype.parseImportSpecifier=function(){var t,r,i=this.createNode();return 3===this.lookahead.type?(r=t=this.parseVariableIdentifier(),this.matchContextualKeyword("as")&&(this.nextToken(),r=this.parseVariableIdentifier())):(r=t=this.parseIdentifierName(),this.matchContextualKeyword("as")?(this.nextToken(),r=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(i,new u.ImportSpecifier(r,t))},Parser.prototype.parseNamedImports=function(){this.expect("{");for(var t=[];!this.match("}");)t.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),t},Parser.prototype.parseImportDefaultSpecifier=function(){var t=this.createNode(),r=this.parseIdentifierName();return this.finalize(t,new u.ImportDefaultSpecifier(r))},Parser.prototype.parseImportNamespaceSpecifier=function(){var t=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(l.Messages.NoAsAfterImportNamespace),this.nextToken();var r=this.parseIdentifierName();return this.finalize(t,new u.ImportNamespaceSpecifier(r))},Parser.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(l.Messages.IllegalImportDeclaration);var t,r=this.createNode();this.expectKeyword("import");var i=[];if(8===this.lookahead.type)t=this.parseModuleSpecifier();else{if(this.match("{")?i=i.concat(this.parseNamedImports()):this.match("*")?i.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(i.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?i.push(this.parseImportNamespaceSpecifier()):this.match("{")?i=i.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var a=this.lookahead.value?l.Messages.UnexpectedToken:l.Messages.MissingFromClause;this.throwError(a,this.lookahead.value)}this.nextToken(),t=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(r,new u.ImportDeclaration(i,t))},Parser.prototype.parseExportSpecifier=function(){var t=this.createNode(),r=this.parseIdentifierName(),i=r;return this.matchContextualKeyword("as")&&(this.nextToken(),i=this.parseIdentifierName()),this.finalize(t,new u.ExportSpecifier(r,i))},Parser.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(l.Messages.IllegalExportDeclaration);var t,r=this.createNode();if(this.expectKeyword("export"),this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var i=this.parseFunctionDeclaration(!0);t=this.finalize(r,new u.ExportDefaultDeclaration(i))}else if(this.matchKeyword("class")){i=this.parseClassDeclaration(!0);t=this.finalize(r,new u.ExportDefaultDeclaration(i))}else if(this.matchContextualKeyword("async")){i=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();t=this.finalize(r,new u.ExportDefaultDeclaration(i))}else{this.matchContextualKeyword("from")&&this.throwError(l.Messages.UnexpectedToken,this.lookahead.value);i=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),t=this.finalize(r,new u.ExportDefaultDeclaration(i))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var a=this.lookahead.value?l.Messages.UnexpectedToken:l.Messages.MissingFromClause;this.throwError(a,this.lookahead.value)}this.nextToken();var o=this.parseModuleSpecifier();this.consumeSemicolon(),t=this.finalize(r,new u.ExportAllDeclaration(o))}else if(4===this.lookahead.type){i=void 0;switch(this.lookahead.value){case"let":case"const":i=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":i=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}t=this.finalize(r,new u.ExportNamedDeclaration(i,[],null))}else if(this.matchAsyncFunction()){i=this.parseFunctionDeclaration();t=this.finalize(r,new u.ExportNamedDeclaration(i,[],null))}else{var p=[],d=null,h=!1;for(this.expect("{");!this.match("}");)h=h||this.matchKeyword("default"),p.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),d=this.parseModuleSpecifier(),this.consumeSemicolon();else if(h){a=this.lookahead.value?l.Messages.UnexpectedToken:l.Messages.MissingFromClause;this.throwError(a,this.lookahead.value)}else this.consumeSemicolon();t=this.finalize(r,new u.ExportNamedDeclaration(null,p,d))}return t},Parser}();r.Parser=m},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.assert=function assert(t,r){if(!t)throw new Error("ASSERT: "+r)}},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function ErrorHandler(){this.errors=[],this.tolerant=!1}return ErrorHandler.prototype.recordError=function(t){this.errors.push(t)},ErrorHandler.prototype.tolerate=function(t){if(!this.tolerant)throw t;this.recordError(t)},ErrorHandler.prototype.constructError=function(t,r){var i=new Error(t);try{throw i}catch(t){Object.create&&Object.defineProperty&&(i=Object.create(t),Object.defineProperty(i,"column",{value:r}))}return i},ErrorHandler.prototype.createError=function(t,r,i,a){var o="Line "+r+": "+a,l=this.constructError(o,i);return l.index=t,l.lineNumber=r,l.description=a,l},ErrorHandler.prototype.throwError=function(t,r,i,a){throw this.createError(t,r,i,a)},ErrorHandler.prototype.tolerateError=function(t,r,i,a){var o=this.createError(t,r,i,a);if(!this.tolerant)throw o;this.recordError(o)},ErrorHandler}();r.ErrorHandler=i},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i(9),o=i(4),l=i(11);function hexValue(t){return"0123456789abcdef".indexOf(t.toLowerCase())}function octalValue(t){return"01234567".indexOf(t)}var u=function(){function Scanner(t,r){this.source=t,this.errorHandler=r,this.trackComment=!1,this.isModule=!1,this.length=t.length,this.index=0,this.lineNumber=t.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return Scanner.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},Scanner.prototype.restoreState=function(t){this.index=t.index,this.lineNumber=t.lineNumber,this.lineStart=t.lineStart},Scanner.prototype.eof=function(){return this.index>=this.length},Scanner.prototype.throwUnexpectedToken=function(t){return void 0===t&&(t=l.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,t)},Scanner.prototype.tolerateUnexpectedToken=function(t){void 0===t&&(t=l.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,t)},Scanner.prototype.skipSingleLineComment=function(t){var r,i,a=[];for(this.trackComment&&(a=[],r=this.index-t,i={start:{line:this.lineNumber,column:this.index-this.lineStart-t},end:{}});!this.eof();){var l=this.source.charCodeAt(this.index);if(++this.index,o.Character.isLineTerminator(l)){if(this.trackComment){i.end={line:this.lineNumber,column:this.index-this.lineStart-1};var u={multiLine:!1,slice:[r+t,this.index-1],range:[r,this.index-1],loc:i};a.push(u)}return 13===l&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,a}}if(this.trackComment){i.end={line:this.lineNumber,column:this.index-this.lineStart};u={multiLine:!1,slice:[r+t,this.index],range:[r,this.index],loc:i};a.push(u)}return a},Scanner.prototype.skipMultiLineComment=function(){var t,r,i=[];for(this.trackComment&&(i=[],t=this.index-2,r={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var a=this.source.charCodeAt(this.index);if(o.Character.isLineTerminator(a))13===a&&10===this.source.charCodeAt(this.index+1)&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(42===a){if(47===this.source.charCodeAt(this.index+1)){if(this.index+=2,this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart};var l={multiLine:!0,slice:[t+2,this.index-2],range:[t,this.index],loc:r};i.push(l)}return i}++this.index}else++this.index}if(this.trackComment){r.end={line:this.lineNumber,column:this.index-this.lineStart};l={multiLine:!0,slice:[t+2,this.index],range:[t,this.index],loc:r};i.push(l)}return this.tolerateUnexpectedToken(),i},Scanner.prototype.scanComments=function(){var t;this.trackComment&&(t=[]);for(var r=0===this.index;!this.eof();){var i=this.source.charCodeAt(this.index);if(o.Character.isWhiteSpace(i))++this.index;else if(o.Character.isLineTerminator(i))++this.index,13===i&&10===this.source.charCodeAt(this.index)&&++this.index,++this.lineNumber,this.lineStart=this.index,r=!0;else if(47===i)if(47===(i=this.source.charCodeAt(this.index+1))){this.index+=2;var a=this.skipSingleLineComment(2);this.trackComment&&(t=t.concat(a)),r=!0}else{if(42!==i)break;this.index+=2;a=this.skipMultiLineComment();this.trackComment&&(t=t.concat(a))}else if(r&&45===i){if(45!==this.source.charCodeAt(this.index+1)||62!==this.source.charCodeAt(this.index+2))break;this.index+=3;a=this.skipSingleLineComment(3);this.trackComment&&(t=t.concat(a))}else{if(60!==i||this.isModule)break;if("!--"!==this.source.slice(this.index+1,this.index+4))break;this.index+=4;a=this.skipSingleLineComment(4);this.trackComment&&(t=t.concat(a))}}return t},Scanner.prototype.isFutureReservedWord=function(t){switch(t){case"enum":case"export":case"import":case"super":return!0;default:return!1}},Scanner.prototype.isStrictModeReservedWord=function(t){switch(t){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},Scanner.prototype.isRestrictedWord=function(t){return"eval"===t||"arguments"===t},Scanner.prototype.isKeyword=function(t){switch(t.length){case 2:return"if"===t||"in"===t||"do"===t;case 3:return"var"===t||"for"===t||"new"===t||"try"===t||"let"===t;case 4:return"this"===t||"else"===t||"case"===t||"void"===t||"with"===t||"enum"===t;case 5:return"while"===t||"break"===t||"catch"===t||"throw"===t||"const"===t||"yield"===t||"class"===t||"super"===t;case 6:return"return"===t||"typeof"===t||"delete"===t||"switch"===t||"export"===t||"import"===t;case 7:return"default"===t||"finally"===t||"extends"===t;case 8:return"function"===t||"continue"===t||"debugger"===t;case 10:return"instanceof"===t;default:return!1}},Scanner.prototype.codePointAt=function(t){var r=this.source.charCodeAt(t);if(r>=55296&&r<=56319){var i=this.source.charCodeAt(t+1);if(i>=56320&&i<=57343)r=1024*(r-55296)+i-56320+65536}return r},Scanner.prototype.scanHexEscape=function(t){for(var r="u"===t?4:2,i=0,a=0;a1114111||"}"!==t)&&this.throwUnexpectedToken(),o.Character.fromCodePoint(r)},Scanner.prototype.getIdentifier=function(){for(var t=this.index++;!this.eof();){var r=this.source.charCodeAt(this.index);if(92===r)return this.index=t,this.getComplexIdentifier();if(r>=55296&&r<57343)return this.index=t,this.getComplexIdentifier();if(!o.Character.isIdentifierPart(r))break;++this.index}return this.source.slice(t,this.index)},Scanner.prototype.getComplexIdentifier=function(){var t,r=this.codePointAt(this.index),i=o.Character.fromCodePoint(r);for(this.index+=i.length,92===r&&(117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,t=this.scanUnicodeCodePointEscape()):null!==(t=this.scanHexEscape("u"))&&"\\"!==t&&o.Character.isIdentifierStart(t.charCodeAt(0))||this.throwUnexpectedToken(),i=t);!this.eof()&&(r=this.codePointAt(this.index),o.Character.isIdentifierPart(r));)i+=t=o.Character.fromCodePoint(r),this.index+=t.length,92===r&&(i=i.substr(0,i.length-1),117!==this.source.charCodeAt(this.index)&&this.throwUnexpectedToken(),++this.index,"{"===this.source[this.index]?(++this.index,t=this.scanUnicodeCodePointEscape()):null!==(t=this.scanHexEscape("u"))&&"\\"!==t&&o.Character.isIdentifierPart(t.charCodeAt(0))||this.throwUnexpectedToken(),i+=t);return i},Scanner.prototype.octalToDecimal=function(t){var r="0"!==t,i=octalValue(t);return!this.eof()&&o.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(r=!0,i=8*i+octalValue(this.source[this.index++]),"0123".indexOf(t)>=0&&!this.eof()&&o.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(i=8*i+octalValue(this.source[this.index++]))),{code:i,octal:r}},Scanner.prototype.scanIdentifier=function(){var t,r=this.index,i=92===this.source.charCodeAt(r)?this.getComplexIdentifier():this.getIdentifier();if(3!==(t=1===i.length?3:this.isKeyword(i)?4:"null"===i?5:"true"===i||"false"===i?1:3)&&r+i.length!==this.index){var a=this.index;this.index=r,this.tolerateUnexpectedToken(l.Messages.InvalidEscapedReservedWord),this.index=a}return{type:t,value:i,lineNumber:this.lineNumber,lineStart:this.lineStart,start:r,end:this.index}},Scanner.prototype.scanPunctuator=function(){var t=this.index,r=this.source[this.index];switch(r){case"(":case"{":"{"===r&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,"."===this.source[this.index]&&"."===this.source[this.index+1]&&(this.index+=2,r="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:">>>="===(r=this.source.substr(this.index,4))?this.index+=4:"==="===(r=r.substr(0,3))||"!=="===r||">>>"===r||"<<="===r||">>="===r||"**="===r?this.index+=3:"&&"===(r=r.substr(0,2))||"||"===r||"=="===r||"!="===r||"+="===r||"-="===r||"*="===r||"/="===r||"++"===r||"--"===r||"<<"===r||">>"===r||"&="===r||"|="===r||"^="===r||"%="===r||"<="===r||">="===r||"=>"===r||"**"===r?this.index+=2:(r=this.source[this.index],"<>=!+-*%&|^/".indexOf(r)>=0&&++this.index)}return this.index===t&&this.throwUnexpectedToken(),{type:7,value:r,lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},Scanner.prototype.scanHexLiteral=function(t){for(var r="";!this.eof()&&o.Character.isHexDigit(this.source.charCodeAt(this.index));)r+=this.source[this.index++];return 0===r.length&&this.throwUnexpectedToken(),o.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+r,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},Scanner.prototype.scanBinaryLiteral=function(t){for(var r,i="";!this.eof()&&("0"===(r=this.source[this.index])||"1"===r);)i+=this.source[this.index++];return 0===i.length&&this.throwUnexpectedToken(),this.eof()||(r=this.source.charCodeAt(this.index),(o.Character.isIdentifierStart(r)||o.Character.isDecimalDigit(r))&&this.throwUnexpectedToken()),{type:6,value:parseInt(i,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:t,end:this.index}},Scanner.prototype.scanOctalLiteral=function(t,r){var i="",a=!1;for(o.Character.isOctalDigit(t.charCodeAt(0))?(a=!0,i="0"+this.source[this.index++]):++this.index;!this.eof()&&o.Character.isOctalDigit(this.source.charCodeAt(this.index));)i+=this.source[this.index++];return a||0!==i.length||this.throwUnexpectedToken(),(o.Character.isIdentifierStart(this.source.charCodeAt(this.index))||o.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(i,8),octal:a,lineNumber:this.lineNumber,lineStart:this.lineStart,start:r,end:this.index}},Scanner.prototype.isImplicitOctalLiteral=function(){for(var t=this.index+1;t=0&&(i=i.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,(function(t,r,i){var o=parseInt(r||i,16);return o>1114111&&a.throwUnexpectedToken(l.Messages.InvalidRegExp),o<=65535?String.fromCharCode(o):"￿"})).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"￿"));try{RegExp(i)}catch(t){this.throwUnexpectedToken(l.Messages.InvalidRegExp)}try{return new RegExp(t,r)}catch(t){return null}},Scanner.prototype.scanRegExpBody=function(){var t=this.source[this.index];a.assert("/"===t,"Regular expression literal must start with a slash");for(var r=this.source[this.index++],i=!1,u=!1;!this.eof();)if(r+=t=this.source[this.index++],"\\"===t)t=this.source[this.index++],o.Character.isLineTerminator(t.charCodeAt(0))&&this.throwUnexpectedToken(l.Messages.UnterminatedRegExp),r+=t;else if(o.Character.isLineTerminator(t.charCodeAt(0)))this.throwUnexpectedToken(l.Messages.UnterminatedRegExp);else if(i)"]"===t&&(i=!1);else{if("/"===t){u=!0;break}"["===t&&(i=!0)}return u||this.throwUnexpectedToken(l.Messages.UnterminatedRegExp),r.substr(1,r.length-2)},Scanner.prototype.scanRegExpFlags=function(){for(var t="";!this.eof();){var r=this.source[this.index];if(!o.Character.isIdentifierPart(r.charCodeAt(0)))break;if(++this.index,"\\"!==r||this.eof())t+=r,r;else if("u"===(r=this.source[this.index])){++this.index;var i=this.index,a=this.scanHexEscape("u");if(null!==a)for(t+=a,"\\u";i=55296&&t<57343&&o.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},Scanner}();r.Scanner=u},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TokenName={},r.TokenName[1]="Boolean",r.TokenName[2]="",r.TokenName[3]="Identifier",r.TokenName[4]="Keyword",r.TokenName[5]="Null",r.TokenName[6]="Numeric",r.TokenName[7]="Punctuator",r.TokenName[8]="String",r.TokenName[9]="RegularExpression",r.TokenName[10]="Template"},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.XHTMLEntities={quot:'"',amp:"&",apos:"'",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",lang:"⟨",rang:"⟩"}},function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i(10),o=i(12),l=i(13),u=function(){function Reader(){this.values=[],this.curly=this.paren=-1}return Reader.prototype.beforeFunctionExpression=function(t){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(t)>=0},Reader.prototype.isRegexStart=function(){var t=this.values[this.values.length-1],r=null!==t;switch(t){case"this":case"]":r=!1;break;case")":var i=this.values[this.paren-1];r="if"===i||"while"===i||"for"===i||"with"===i;break;case"}":if(r=!1,"function"===this.values[this.curly-3])r=!!(a=this.values[this.curly-4])&&!this.beforeFunctionExpression(a);else if("function"===this.values[this.curly-4]){var a;r=!(a=this.values[this.curly-5])||!this.beforeFunctionExpression(a)}}return r},Reader.prototype.push=function(t){7===t.type||4===t.type?("{"===t.value?this.curly=this.values.length:"("===t.value&&(this.paren=this.values.length),this.values.push(t.value)):this.values.push(null)},Reader}(),p=function(){function Tokenizer(t,r){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=!!r&&("boolean"==typeof r.tolerant&&r.tolerant),this.scanner=new o.Scanner(t,this.errorHandler),this.scanner.trackComment=!!r&&("boolean"==typeof r.comment&&r.comment),this.trackRange=!!r&&("boolean"==typeof r.range&&r.range),this.trackLoc=!!r&&("boolean"==typeof r.loc&&r.loc),this.buffer=[],this.reader=new u}return Tokenizer.prototype.errors=function(){return this.errorHandler.errors},Tokenizer.prototype.getNextToken=function(){if(0===this.buffer.length){var t=this.scanner.scanComments();if(this.scanner.trackComment)for(var r=0;rt.skip(),"Method|ClassProperty"(t){skipAllButComputedKey(t)}};r.default=u},"+iFO":function(t,r,i){var a=i("dTAl"),o=i("LcsW"),l=i("6sVZ");t.exports=function initCloneObject(t){return"function"!=typeof t.constructor||l(t)?{}:a(o(t))}},"+jru":function(t,r,i){i("aPfg")("WeakMap")},"+l3Y":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function inheritLeadingComments(t,r){(0,a.default)("leadingComments",t,r)};var a=i("ExWc")},"+v0W":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function traverseFast(t,r,i){if(!t)return;const o=a.VISITOR_KEYS[t.type];if(!o)return;r(t,i=i||{});for(const a of o){const o=t[a];if(Array.isArray(o))for(const t of o)traverseFast(t,r,i);else traverseFast(o,r,i)}};var a=i("uXiX")},"+zpO":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.merge=function merge(t,r){const{placeholderWhitelist:i=t.placeholderWhitelist,placeholderPattern:a=t.placeholderPattern,preserveComments:o=t.preserveComments,syntacticPlaceholders:l=t.syntacticPlaceholders}=r;return{parser:Object.assign({},t.parser,r.parser),placeholderWhitelist:i,placeholderPattern:a,preserveComments:o,syntacticPlaceholders:l}},r.normalizeReplacements=function normalizeReplacements(t){if(Array.isArray(t))return t.reduce((t,r,i)=>(t["$"+i]=r,t),{});if("object"==typeof t||null==t)return t||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},r.validate=function validate(t){if(null!=t&&"object"!=typeof t)throw new Error("Unknown template options.");const r=t||{},{placeholderWhitelist:i,placeholderPattern:o,preserveComments:l,syntacticPlaceholders:u}=r,p=function _objectWithoutPropertiesLoose(t,r){if(null==t)return{};var i,a,o={},l=Object.keys(t);for(a=0;a=0||(o[i]=t[i]);return o}(r,a);if(null!=i&&!(i instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=o&&!(o instanceof RegExp)&&!1!==o)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=l&&"boolean"!=typeof l)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=u&&"boolean"!=typeof u)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===u&&(null!=i||null!=o))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:p,placeholderWhitelist:i||void 0,placeholderPattern:null==o?void 0:o,preserveComments:null==l?void 0:l,syntacticPlaceholders:null==u?void 0:u}};const a=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},"/9aa":function(t,r,i){var a=i("NykK"),o=i("ExA7");t.exports=function isSymbol(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==a(t)}},"/Opy":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i("TzgN"),o=(0,a.__importDefault)(i("QbqP")),l=(0,a.__importDefault)(i("qiBc")),u=(0,a.__importDefault)(i("IbEJ")),p=(0,a.__importDefault)(i("f0vD")),d=(0,a.__importDefault)(i("aREA"));r.default=function default_1(t){var r=function createFork(){var t=[],r=[];var i={use:function use(a){var o=t.indexOf(a);return-1===o&&(o=t.length,t.push(a),r[o]=a(i)),r[o]}};return i}(),i=r.use(o.default);t.forEach(r.use),i.finalize();var a=r.use(l.default);return{Type:i.Type,builtInTypes:i.builtInTypes,namedTypes:i.namedTypes,builders:i.builders,defineMethod:i.defineMethod,getFieldNames:i.getFieldNames,getFieldValue:i.getFieldValue,eachField:i.eachField,someField:i.someField,getSupertypeNames:i.getSupertypeNames,getBuilderName:i.getBuilderName,astNodesAreEquivalent:r.use(u.default),finalize:i.finalize,Path:r.use(p.default),NodePath:r.use(d.default),PathVisitor:a,use:r.use,visit:a.visit}},t.exports=r.default},"/WZN":function(t,r,i){"use strict";r.__esModule=!0;var a=_interopRequireDefault(i("AyUB")),o=_interopRequireDefault(i("FyfS"));r.default=function(t){var r=t.types;function transformClass(t,i,l){var u=[],d=t.node.decorators;if(d){t.node.decorators=null;var h=d=function cleanDecorators(t){return t.reverse().map((function(t){return t.expression}))}(d),m=Array.isArray(h),y=0;for(h=m?h:(0,o.default)(h);;){var g;if(m){if(y>=h.length)break;g=h[y++]}else{if((y=h.next()).done)break;g=y.value}var v=g;u.push(p({CLASS_REF:i,DECORATOR:v}))}}var b=(0,a.default)(null),x=t.get("body.body"),E=Array.isArray(x),S=0;for(x=E?x:(0,o.default)(x);;){var T;if(E){if(S>=x.length)break;T=x[S++]}else{if((S=x.next()).done)break;T=S.value}var A=T;if(A.node.decorators){var P=r.toKeyAlias(A.node);b[P]=b[P]||[],b[P].push(A.node),A.remove()}}for(var C in b)b[C];return u}function hasDecorators(t){if(t.isClass()){if(t.node.decorators)return!0;var r=t.node.body.body,i=Array.isArray(r),a=0;for(r=i?r:(0,o.default)(r);;){var l;if(i){if(a>=r.length)break;l=r[a++]}else{if((a=r.next()).done)break;l=a.value}if(l.decorators)return!0}}else if(t.isObjectExpression()){var u=t.node.properties,p=Array.isArray(u),d=0;for(u=p?u:(0,o.default)(u);;){var h;if(p){if(d>=u.length)break;h=u[d++]}else{if((d=u.next()).done)break;h=d.value}if(h.decorators)return!0}}return!1}function doError(t){throw t.buildCodeFrameError('Decorators are not officially supported yet in 6.x pending a proposal update.\nHowever, if you need to use them you can install the legacy decorators transform with:\n\nnpm install babel-plugin-transform-decorators-legacy --save-dev\n\nand add the following line to your .babelrc file:\n\n{\n "plugins": ["transform-decorators-legacy"]\n}\n\nThe repo url is: https://github.com/loganfsmyth/babel-plugin-transform-decorators-legacy.\n ')}return{inherits:i("jWsJ"),visitor:{ClassExpression:function ClassExpression(t){if(hasDecorators(t)){doError(t),(0,u.default)(t);var i=t.scope.generateDeclaredUidIdentifier("ref"),a=[];a.push(r.assignmentExpression("=",i,t.node)),(a=a.concat(transformClass(t,i))).push(i),t.replaceWith(r.sequenceExpression(a))}},ClassDeclaration:function ClassDeclaration(t){if(hasDecorators(t)){doError(t),(0,u.default)(t);var i=t.node.id,a=[];(a=a.concat(transformClass(t,i).map((function(t){return r.expressionStatement(t)})))).push(r.expressionStatement(i)),t.insertAfter(a)}},ObjectExpression:function ObjectExpression(t){hasDecorators(t)&&doError(t)}}}};var l=_interopRequireDefault(i("PTdM")),u=_interopRequireDefault(i("SN2W"));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var p=(0,l.default)("\n CLASS_REF = DECORATOR(CLASS_REF) || CLASS_REF;\n");t.exports=r.default},"/YTm":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.statements=r.statement=r.smart=r.program=r.expression=r.default=void 0;var a=i("Maqe"),o=i("jwsk");const l=(0,o.default)(a.smart);r.smart=l;const u=(0,o.default)(a.statement);r.statement=u;const p=(0,o.default)(a.statements);r.statements=p;const d=(0,o.default)(a.expression);r.expression=d;const h=(0,o.default)(a.program);r.program=h;var m=Object.assign(l.bind(void 0),{smart:l,statement:u,statements:p,expression:d,program:h,ast:l.ast});r.default=m},"/g1/":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function matchesPattern(t,r,i){if(!(0,a.isMemberExpression)(t))return!1;const o=Array.isArray(r)?r:r.split("."),l=[];let u;for(u=t;(0,a.isMemberExpression)(u);u=u.object)l.push(u.property);if(l.push(u),l.lengtho.length)return!1;for(let t=0,r=l.length-1;tE(t)?v(t):t));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!i.isJSXElement()||i.isForStatement()&&"init"===this.key){if(this.node){const t=this.node;let{scope:a}=this;if(a.path.isPattern())return d(t),this.replaceWith(y(p([],t),[])),this.get("callee.body").insertAfter(r),[this];if(function isHiddenInSequenceExpression(t){return T(t.parent)&&(last(t.parent.expressions)!==t.node||isHiddenInSequenceExpression(t.parentPath))}(this))r.unshift(t);else if(x(t)&&A(t.callee))r.unshift(t),r.push(P());else if(function isAlmostConstantAssignment(t,r){if(!b(t)||!S(t.left))return!1;const i=r.getBlockParent();return i.hasOwnBinding(t.left.name)&&i.getOwnBinding(t.left.name).constantViolations.length<=1}(t,a))r.unshift(t),r.push(g(t.left));else if(a.isPure(t,!0))r.push(t);else{i.isMethod({computed:!0,key:t})&&(a=a.parent);const o=a.generateDeclaredUidIdentifier();r.unshift(v(h("=",g(o),t))),r.push(v(g(o)))}}return this.replaceExpressionWithStatements(r)}if(Array.isArray(this.container))return this._containerInsertAfter(r);if(this.isStatementOrBlock()){const t=this.node,i=t&&(!this.isExpressionStatement()||null!=t.expression);return this.replaceWith(m(i?[t]:[])),this.pushContainer("body",r)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},r.insertBefore=function insertBefore(t){this._assertUnremoved();const r=this._verifyNodeList(t),{parentPath:i}=this;if(i.isExpressionStatement()||i.isLabeledStatement()||i.isExportNamedDeclaration()||i.isExportDefaultDeclaration()&&this.isDeclaration())return i.insertBefore(r);if(this.isNodeType("Expression")&&!this.isJSXElement()||i.isForStatement()&&"init"===this.key)return this.node&&r.push(this.node),this.replaceExpressionWithStatements(r);if(Array.isArray(this.container))return this._containerInsertBefore(r);if(this.isStatementOrBlock()){const t=this.node,i=t&&(!this.isExpressionStatement()||null!=t.expression);return this.replaceWith(m(i?[t]:[])),this.unshiftContainer("body",r)}throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")},r.pushContainer=function pushContainer(t,r){this._assertUnremoved();const i=this._verifyNodeList(r),a=this.node[t];return l.default.get({parentPath:this,parent:this.node,container:a,listKey:t,key:a.length}).setContext(this.context).replaceWithMultiple(i)},r.unshiftContainer=function unshiftContainer(t,r){return this._assertUnremoved(),r=this._verifyNodeList(r),l.default.get({parentPath:this,parent:this.node,container:this.node[t],listKey:t,key:0}).setContext(this.context)._containerInsertBefore(r)},r.updateSiblingKeys=function updateSiblingKeys(t,r){if(!this.parent)return;const i=a.path.get(this.parent);for(const[,a]of i)a.key>=t&&(a.key+=r)};var a=i("QpWQ"),o=i("7xqZ"),l=i("xx5x"),u=i("JSq2");const{arrowFunctionExpression:p,assertExpression:d,assignmentExpression:h,blockStatement:m,callExpression:y,cloneNode:g,expressionStatement:v,isAssignmentExpression:b,isCallExpression:x,isExpression:E,isIdentifier:S,isSequenceExpression:T,isSuper:A,thisExpression:P}=u;const last=t=>t[t.length-1]},"/tHr":function(t,r){r.getArg=function getArg(t,r,i){if(r in t)return t[r];if(3===arguments.length)return i;throw new Error('"'+r+'" is a required argument.')};var i=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,a=/^data:.+\,.+$/;function urlParse(t){var r=t.match(i);return r?{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}:null}function urlGenerate(t){var r="";return t.scheme&&(r+=t.scheme+":"),r+="//",t.auth&&(r+=t.auth+"@"),t.host&&(r+=t.host),t.port&&(r+=":"+t.port),t.path&&(r+=t.path),r}function normalize(t){var i=t,a=urlParse(t);if(a){if(!a.path)return t;i=a.path}for(var o,l=r.isAbsolute(i),u=i.split(/\/+/),p=0,d=u.length-1;d>=0;d--)"."===(o=u[d])?u.splice(d,1):".."===o?p++:p>0&&(""===o?(u.splice(d+1,p),p=0):(u.splice(d,2),p--));return""===(i=u.join("/"))&&(i=l?"/":"."),a?(a.path=i,urlGenerate(a)):i}r.urlParse=urlParse,r.urlGenerate=urlGenerate,r.normalize=normalize,r.join=function join(t,r){""===t&&(t="."),""===r&&(r=".");var i=urlParse(r),o=urlParse(t);if(o&&(t=o.path||"/"),i&&!i.scheme)return o&&(i.scheme=o.scheme),urlGenerate(i);if(i||r.match(a))return r;if(o&&!o.host&&!o.path)return o.host=r,urlGenerate(o);var l="/"===r.charAt(0)?r:normalize(t.replace(/\/+$/,"")+"/"+r);return o?(o.path=l,urlGenerate(o)):l},r.isAbsolute=function(t){return"/"===t.charAt(0)||!!t.match(i)},r.relative=function relative(t,r){""===t&&(t="."),t=t.replace(/\/$/,"");for(var i=0;0!==r.indexOf(t+"/");){var a=t.lastIndexOf("/");if(a<0)return r;if((t=t.slice(0,a)).match(/^([^\/]+:\/)?\/*$/))return r;++i}return Array(i+1).join("../")+r.substr(t.length+1)};var o=!("__proto__"in Object.create(null));function identity(t){return t}function isProtoString(t){if(!t)return!1;var r=t.length;if(r<9)return!1;if(95!==t.charCodeAt(r-1)||95!==t.charCodeAt(r-2)||111!==t.charCodeAt(r-3)||116!==t.charCodeAt(r-4)||111!==t.charCodeAt(r-5)||114!==t.charCodeAt(r-6)||112!==t.charCodeAt(r-7)||95!==t.charCodeAt(r-8)||95!==t.charCodeAt(r-9))return!1;for(var i=r-10;i>=0;i--)if(36!==t.charCodeAt(i))return!1;return!0}function strcmp(t,r){return t===r?0:t>r?1:-1}r.toSetString=o?identity:function toSetString(t){return isProtoString(t)?"$"+t:t},r.fromSetString=o?identity:function fromSetString(t){return isProtoString(t)?t.slice(1):t},r.compareByOriginalPositions=function compareByOriginalPositions(t,r,i){var a=t.source-r.source;return 0!==a||0!==(a=t.originalLine-r.originalLine)||0!==(a=t.originalColumn-r.originalColumn)||i||0!==(a=t.generatedColumn-r.generatedColumn)||0!==(a=t.generatedLine-r.generatedLine)?a:t.name-r.name},r.compareByGeneratedPositionsDeflated=function compareByGeneratedPositionsDeflated(t,r,i){var a=t.generatedLine-r.generatedLine;return 0!==a||0!==(a=t.generatedColumn-r.generatedColumn)||i||0!==(a=t.source-r.source)||0!==(a=t.originalLine-r.originalLine)||0!==(a=t.originalColumn-r.originalColumn)?a:t.name-r.name},r.compareByGeneratedPositionsInflated=function compareByGeneratedPositionsInflated(t,r){var i=t.generatedLine-r.generatedLine;return 0!==i||0!==(i=t.generatedColumn-r.generatedColumn)||0!==(i=strcmp(t.source,r.source))||0!==(i=t.originalLine-r.originalLine)||0!==(i=t.originalColumn-r.originalColumn)?i:strcmp(t.name,r.name)}},"/yMJ":function(t,r,i){"use strict";r.__esModule=!0,r.default=function(){return{visitor:{RegExpLiteral:function RegExpLiteral(t){var r=t.node;o.is(r,"u")&&(r.pattern=(0,a.default)(r.pattern,r.flags),o.pullFlag(r,"u"))}}}};var a=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}(i("pNPk")),o=function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r.default=t,r}(i("R050"));t.exports=r.default},"03A+":function(t,r,i){var a=i("JTzB"),o=i("ExA7"),l=Object.prototype,u=l.hasOwnProperty,p=l.propertyIsEnumerable,d=a(function(){return arguments}())?a:function(t){return o(t)&&u.call(t,"callee")&&!p.call(t,"callee")};t.exports=d},"09ov":function(t,r,i){"use strict";t.exports=function(t){for(var r=t.length;/[\s\uFEFF\u00A0]/.test(t[r-1]);)r--;return t.slice(0,r)}},"09qp":function(t,r,i){"use strict";function _createForOfIteratorHelper(t,r){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function _unsupportedIterableToArray(t,r){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,r)}(t))||r&&t&&"number"==typeof t.length){i&&(t=i);var a=0,o=function F(){};return{s:o,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,p=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){p=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(p)throw l}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var i=0,a=new Array(r);i0&&this.space(),this.print(o,t),a{this.word(t.name)})},r.NullLiteral=function NullLiteral(){this.word("null")},r.NumericLiteral=function NumericLiteral(t){const r=this.getPossibleRaw(t),i=this.format.jsescOption,a=t.value+"";i.numbers?this.number(o(t.value,i)):null==r?this.number(a):this.format.minified?this.number(r.lengthJSON.stringify(t));throw new Error(`The "topicToken" generator option must be one of ${i.join(", ")} (${r} received instead).`)}this.token(t)},r.TupleExpression=function TupleExpression(t){const r=t.elements,i=r.length;let a,o;if("bar"===this.format.recordAndTupleSyntaxType)a="[|",o="|]";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error(this.format.recordAndTupleSyntaxType+" is not a valid recordAndTuple syntax type");a="#[",o="]"}this.token(a),this.printInnerComments(t);for(let a=0;a0&&this.space(),this.print(o,t),a=p.length)break;y=p[h++]}else{if((h=p.next()).done)break;y=h.value}i=x(y,i).expression}r.replaceWith(i),this.requeueInParent(r)}else if(a.isObjectPattern()){var g=a.node.properties,v=Array.isArray(g),b=0;for(g=v?g:(0,l.default)(g);;){var E;if(v){if(b>=g.length)break;E=g[b++]}else{if((b=g.next()).done)break;E=b.value}var S=E.value.name;if(this.exports[S]){if(this.scope.getBinding(S)!==r.scope.getBinding(S))return;i[t]=!0,r.insertAfter(x(m.identifier(S),m.identifier(S)))}}}else if(a.isArrayPattern()){var T=a.node.elements,A=Array.isArray(T),P=0;for(T=A?T:(0,l.default)(T);;){var C;if(A){if(P>=T.length)break;C=T[P++]}else{if((P=T.next()).done)break;C=P.value}if(C){var w=C.name;if(this.exports[w]){if(this.scope.getBinding(w)!==r.scope.getBinding(w))return;i[t]=!0,r.insertAfter(x(m.identifier(w),m.identifier(w)))}}}}}},UpdateExpression:function UpdateExpression(t){var r=t.get("argument");if(r.isIdentifier()){var i=r.node.name;if(this.exports[i]&&this.scope.getBinding(i)===t.scope.getBinding(i)){var a=m.assignmentExpression(t.node.operator[0]+"=",r.node,m.numericLiteral(1));if(t.parentPath.isExpressionStatement()&&!t.isCompletionRecord()||t.node.prefix)return t.replaceWith(a),void this.requeueInParent(t);var o=[];o.push(a);var l=void 0;l="--"===t.node.operator?"+":"-",o.push(m.binaryExpression(l,r.node,m.numericLiteral(1))),t.replaceWithMultiple(m.sequenceExpression(o))}}}};return{inherits:h.default,visitor:{ThisExpression:function ThisExpression(t,r){this.ranCommonJS||!0===r.opts.allowTopLevelThis||t.findParent((function(t){return!t.is("shadow")&&S.indexOf(t.type)>=0}))||t.replaceWith(m.identifier("undefined"))},Program:{exit:function exit(t){this.ranCommonJS=!0;var i=!!this.opts.strict,u=!!this.opts.noInterop,d=t.scope;d.rename("module"),d.rename("exports"),d.rename("require");var h=!1,S=!1,T=t.get("body"),A=(0,o.default)(null),P=(0,o.default)(null),C=(0,o.default)(null),w=[],D=(0,o.default)(null),k=(0,o.default)(null);function addRequire(r,i){var a=k[r];if(a)return a;var o=t.scope.generateUidIdentifier((0,p.basename)(r,(0,p.extname)(r))),l=m.variableDeclaration("var",[m.variableDeclarator(o,y(m.stringLiteral(r)).expression)]);return A[r]&&(l.loc=A[r].loc),"number"==typeof i&&i>0&&(l._blockHoist=i),w.push(l),k[r]=o}function addTo(t,r,i){var a=t[r]||[];t[r]=a.concat(i)}var _=T,I=Array.isArray(_),O=0;for(_=I?_:(0,l.default)(_);;){var N;if(I){if(O>=_.length)break;N=_[O++]}else{if((O=_.next()).done)break;N=O.value}var B=N;if(B.isExportDeclaration()){h=!0;var M=ke=[].concat(B.get("declaration"),B.get("specifiers")),L=Array.isArray(M),R=0;for(M=L?M:(0,l.default)(M);;){var j;if(L){if(R>=M.length)break;j=M[R++]}else{if((R=M.next()).done)break;j=R.value}var U=j;if(U.getBindingIdentifiers().__esModule)throw U.buildCodeFrameError('Illegal export "__esModule"')}}if(B.isImportDeclaration()){var V;S=!0;var q=B.node.source.value,W=A[q]||{specifiers:[],maxBlockHoist:0,loc:B.node.loc};(V=W.specifiers).push.apply(V,B.node.specifiers),"number"==typeof B.node._blockHoist&&(W.maxBlockHoist=Math.max(B.node._blockHoist,W.maxBlockHoist)),A[q]=W,B.remove()}else if(B.isExportDefaultDeclaration()){var K=B.get("declaration");if(K.isFunctionDeclaration()){var G=K.node.id,J=m.identifier("default");G?(addTo(P,G.name,J),w.push(x(J,G)),B.replaceWith(K.node)):(w.push(x(J,m.toExpression(K.node))),B.remove())}else if(K.isClassDeclaration()){var z=K.node.id,H=m.identifier("default");z?(addTo(P,z.name,H),B.replaceWithMultiple([K.node,x(H,z)])):(B.replaceWith(x(H,m.toExpression(K.node))),B.parentPath.requeue(B.get("expression.left")))}else B.replaceWith(x(m.identifier("default"),K.node)),B.parentPath.requeue(B.get("expression.left"))}else if(B.isExportNamedDeclaration()){var X=B.get("declaration");if(X.node){if(X.isFunctionDeclaration()){var Y=X.node.id;addTo(P,Y.name,Y),w.push(x(Y,Y)),B.replaceWith(X.node)}else if(X.isClassDeclaration()){var $=X.node.id;addTo(P,$.name,$),B.replaceWithMultiple([X.node,x($,$)]),C[$.name]=!0}else if(X.isVariableDeclaration()){var Q=X.get("declarations"),Z=Array.isArray(Q),ee=0;for(Q=Z?Q:(0,l.default)(Q);;){var te;if(Z){if(ee>=Q.length)break;te=Q[ee++]}else{if((ee=Q.next()).done)break;te=ee.value}var re=te,ne=re.get("id"),ie=re.get("init"),se=[];if(ie.node||ie.replaceWith(m.identifier("undefined")),ne.isIdentifier())addTo(P,ne.node.name,ne.node),ie.replaceWith(x(ne.node,ie.node).expression),C[ne.node.name]=!0;else if(ne.isObjectPattern())for(var ae=0;ae=ye.length)break;be=ye[ve++]}else{if((ve=ye.next()).done)break;be=ve.value}var xe=be;xe.isExportNamespaceSpecifier()||xe.isExportDefaultSpecifier()||xe.isExportSpecifier()&&(u||"default"!==xe.node.local.name?w.push(v(m.stringLiteral(xe.node.exported.name),m.memberExpression(me,xe.node.local))):w.push(v(m.stringLiteral(xe.node.exported.name),m.memberExpression(m.callExpression(this.addHelper("interopRequireDefault"),[me]),xe.node.local))),C[xe.node.exported.name]=!0)}}else{var Ee=fe,Se=Array.isArray(Ee),Te=0;for(Ee=Se?Ee:(0,l.default)(Ee);;){var Ae;if(Se){if(Te>=Ee.length)break;Ae=Ee[Te++]}else{if((Te=Ee.next()).done)break;Ae=Te.value}var Pe=Ae;Pe.isExportSpecifier()&&(addTo(P,Pe.node.local.name,Pe.node.exported),C[Pe.node.exported.name]=!0,de.push(x(Pe.node.exported,Pe.node.local)))}}B.replaceWithMultiple(de)}else if(B.isExportAllDeclaration()){var Ce=E({OBJECT:addRequire(B.node.source.value,B.node._blockHoist)});Ce.loc=B.node.loc,w.push(Ce),B.remove()}}for(var we in A){var De=A[we],ke=De.specifiers,_e=De.maxBlockHoist;if(ke.length){for(var Ie=addRequire(we,_e),Oe=void 0,Ne=0;Ne0&&(Be._blockHoist=_e),w.push(Be)}Oe=Fe.local}else m.isImportDefaultSpecifier(Fe)&&(ke[Ne]=m.importSpecifier(Fe.local,m.identifier("default")))}var Me=ke,Le=Array.isArray(Me),Re=0;for(Me=Le?Me:(0,l.default)(Me);;){var je;if(Le){if(Re>=Me.length)break;je=Me[Re++]}else{if((Re=Me.next()).done)break;je=Re.value}var Ue=je;if(m.isImportSpecifier(Ue)){var Ve=Ie;if("default"===Ue.imported.name)if(Oe)Ve=Oe;else if(!u){Ve=Oe=t.scope.generateUidIdentifier(Ie.name);var qe=m.variableDeclaration("var",[m.variableDeclarator(Ve,m.callExpression(this.addHelper("interopRequireDefault"),[Ie]))]);_e>0&&(qe._blockHoist=_e),w.push(qe)}D[Ue.local.name]=m.memberExpression(m.cloneWithoutLoc(Ve),m.cloneWithoutLoc(Ue.imported))}}}else{var We=y(m.stringLiteral(we));We.loc=A[we].loc,w.push(We)}}if(S&&(0,a.default)(C).length)for(var Ke=(0,a.default)(C),Ge=function _loop(t){var r=Ke.slice(t,t+100),i=m.identifier("undefined");r.forEach((function(t){i=x(m.identifier(t),i).expression}));var a=m.expressionStatement(i);a._blockHoist=3,w.unshift(a)},Je=0;Je=p.length)break;m=p[h++]}else{if((h=p.next()).done)break;m=h.value}var y=m;y.isObjectProperty()&&(y=y.get("value")),Property(y,y.node,t.scope,u,o)}l&&(t.scope.push({id:l}),t.replaceWith(r.assignmentExpression("=",l,t.node)))}}}}}};var l=_interopRequireDefault(i("ZxM+"));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}t.exports=r.default},"0XJT":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r._replaceWith=function _replaceWith(t){var r;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?N(this.parent,this.key,[t]):N(this.parent,this.key,t);this.debug("Replace with "+(null==t?void 0:t.type)),null==(r=u.path.get(this.parent))||r.set(t,this).delete(this.node),this.node=this.container[this.key]=t},r.replaceExpressionWithStatements=function replaceExpressionWithStatements(t){this.resync();const r=O(t,this.scope);if(r)return this.replaceWith(r)[0].get("expressions");const i=this.getFunctionParent(),a=null==i?void 0:i.is("async"),l=null==i?void 0:i.is("generator"),u=y([],b(t));this.replaceWith(x(u,[]));const p=this.get("callee");(0,h.default)(p.get("body"),t=>{this.scope.push({id:t})},"var");const d=this.get("callee").getCompletionRecords();for(const t of d){if(!t.isExpressionStatement())continue;const r=t.findParent(t=>t.isLoop());if(r){let i=r.getData("expressionReplacementReturnUid");i?i=T(i.name):(i=p.scope.generateDeclaredUidIdentifier("ret"),p.get("body").pushContainer("body",I(E(i))),r.setData("expressionReplacementReturnUid",i)),t.get("expression").replaceWith(g("=",E(i),t.node.expression))}else t.replaceWith(I(t.node.expression))}p.arrowFunctionToExpression();const S=p,A=a&&o.default.hasType(this.get("callee.body").node,"AwaitExpression",m),P=l&&o.default.hasType(this.get("callee.body").node,"YieldExpression",m);A&&(S.set("async",!0),P||this.replaceWith(v(this.node)));P&&(S.set("generator",!0),this.replaceWith(B(this.node,!0)));return S.get("body.body")},r.replaceInline=function replaceInline(t){if(this.resync(),Array.isArray(t)){if(Array.isArray(this.container)){t=this._verifyNodeList(t);const r=this._containerInsertAfter(t);return this.remove(),r}return this.replaceWithMultiple(t)}return this.replaceWith(t)},r.replaceWith=function replaceWith(t){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");t instanceof l.default&&(t=t.node);if(!t)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===t)return[this];if(this.isProgram()&&!D(t))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(t))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof t)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let r="";this.isNodeType("Statement")&&w(t)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(t)||this.parentPath.isExportDefaultDeclaration()||(t=S(t),r="expression"));if(this.isNodeType("Expression")&&k(t)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(t))return this.replaceExpressionWithStatements([t]);const i=this.node;i&&(C(t,i),_(i));return this._replaceWith(t),this.type=t.type,this.setScope(),this.requeue(),[r?this.get(r):this]},r.replaceWithMultiple=function replaceWithMultiple(t){var r;this.resync(),t=this._verifyNodeList(t),A(t[0],this.node),P(t[t.length-1],this.node),null==(r=u.path.get(this.parent))||r.delete(this.node),this.node=this.container[this.key]=null;const i=this.insertAfter(t);this.node?this.requeue():this.remove();return i},r.replaceWithSourceString=function replaceWithSourceString(t){this.resync();try{t=`(${t})`,t=(0,p.parse)(t)}catch(r){const i=r.loc;throw i&&(r.message+=" - make sure this is an expression.\n"+(0,a.codeFrameColumns)(t,{start:{line:i.line,column:i.column+1}}),r.code="BABEL_REPLACE_SOURCE_ERROR"),r}return t=t.program.body[0].expression,o.default.removeProperties(t),this.replaceWith(t)};var a=i("IXBh"),o=i("6tRB"),l=i("xx5x"),u=i("QpWQ"),p=i("GGH7"),d=i("JSq2"),h=i("5Qwp");const{FUNCTION_TYPES:m,arrowFunctionExpression:y,assignmentExpression:g,awaitExpression:v,blockStatement:b,callExpression:x,cloneNode:E,expressionStatement:S,identifier:T,inheritLeadingComments:A,inheritTrailingComments:P,inheritsComments:C,isExpression:w,isProgram:D,isStatement:k,removeComments:_,returnStatement:I,toSequenceExpression:O,validate:N,yieldExpression:B}=d},"0ZK1":function(t,r,i){"use strict";t.exports=function toFastproperties(t){function Sub(){}Sub.prototype=t;var r=new Sub;function ic(){return typeof r.foo}return ic(),ic(),t}},"0dVf":function(t,r,i){"use strict";r.__esModule=!0,r.ImportSpecifier=function ImportSpecifier(t){"type"!==t.importKind&&"typeof"!==t.importKind||(this.word(t.importKind),this.space());this.print(t.imported,t),t.local&&t.local.name!==t.imported.name&&(this.space(),this.word("as"),this.space(),this.print(t.local,t))},r.ImportDefaultSpecifier=function ImportDefaultSpecifier(t){this.print(t.local,t)},r.ExportDefaultSpecifier=function ExportDefaultSpecifier(t){this.print(t.exported,t)},r.ExportSpecifier=function ExportSpecifier(t){this.print(t.local,t),t.exported&&t.local.name!==t.exported.name&&(this.space(),this.word("as"),this.space(),this.print(t.exported,t))},r.ExportNamespaceSpecifier=function ExportNamespaceSpecifier(t){this.token("*"),this.space(),this.word("as"),this.space(),this.print(t.exported,t)},r.ExportAllDeclaration=function ExportAllDeclaration(t){this.word("export"),this.space(),this.token("*"),this.space(),this.word("from"),this.space(),this.print(t.source,t),this.semicolon()},r.ExportNamedDeclaration=function ExportNamedDeclaration(){this.word("export"),this.space(),ExportDeclaration.apply(this,arguments)},r.ExportDefaultDeclaration=function ExportDefaultDeclaration(){this.word("export"),this.space(),this.word("default"),this.space(),ExportDeclaration.apply(this,arguments)},r.ImportDeclaration=function ImportDeclaration(t){this.word("import"),this.space(),("type"===t.importKind||"typeof"===t.importKind)&&(this.word(t.importKind),this.space());var r=t.specifiers.slice(0);if(r&&r.length){for(;;){var i=r[0];if(!a.isImportDefaultSpecifier(i)&&!a.isImportNamespaceSpecifier(i))break;this.print(r.shift(),t),r.length&&(this.token(","),this.space())}r.length&&(this.token("{"),this.space(),this.printList(r,t),this.space(),this.token("}")),this.space(),this.word("from"),this.space()}this.print(t.source,t),this.semicolon()},r.ImportNamespaceSpecifier=function ImportNamespaceSpecifier(t){this.token("*"),this.space(),this.word("as"),this.space(),this.print(t.local,t)};var a=function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r.default=t,r}(i("KCzW"));function ExportDeclaration(t){if(t.declaration){var r=t.declaration;this.print(r,t),a.isStatement(r)||this.semicolon()}else{"type"===t.exportKind&&(this.word("type"),this.space());for(var i=t.specifiers.slice(0),o=!1;;){var l=i[0];if(!a.isExportDefaultSpecifier(l)&&!a.isExportNamespaceSpecifier(l))break;o=!0,this.print(i.shift(),t),i.length&&(this.token(","),this.space())}(i.length||!i.length&&!o)&&(this.token("{"),i.length&&(this.space(),this.printList(i,t),this.space()),this.token("}")),t.source&&(this.space(),this.word("from"),this.space(),this.print(t.source,t)),this.semicolon()}}},"0fRI":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function prependToMemberExpression(t,r){return t.object=(0,a.memberExpression)(r,t.object),t};var a=i("61uC")},"0jpD":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i("TzgN"),o=(0,a.__importDefault)(i("fmio")),l=(0,a.__importDefault)(i("Hh8x"));r.default=function default_1(t){t.use(o.default),t.use(l.default)},t.exports=r.default},"0tVQ":function(t,r,i){i("FlQf"),i("VJsP"),t.exports=i("WEpk").Array.from},"0ycA":function(t,r){t.exports=function stubArray(){return[]}},"1+5i":function(t,r,i){var a=i("w/wX"),o=i("sEf8"),l=i("mdPL"),u=l&&l.isSet,p=u?o(u):a;t.exports=p},"1/md":function(t,r,i){"use strict";(function(a){r.__esModule=!0;var o=_interopRequireDefault(i("jo6Y")),l=_interopRequireDefault(i("gDS+")),u=_interopRequireDefault(i("P2sY")),p=_interopRequireDefault(i("FyfS")),d=_interopRequireDefault(i("EJiy")),h=_interopRequireDefault(i("iCc5")),m=_interopRequireWildcard(i("7tcy")),y=_interopRequireDefault(i("OSkm")),g=_interopRequireWildcard(i("UPZs")),v=i("FQS+"),b=_interopRequireDefault(i("zJNz")),x=_interopRequireDefault(i("5xxw")),E=_interopRequireDefault(i("5Gr8")),S=_interopRequireDefault(i("uM7l")),T=_interopRequireDefault(i("P9SC")),A=_interopRequireDefault(i("RfI5")),P=_interopRequireDefault(i("7eKg")),C=_interopRequireDefault(i("AyPI")),w=_interopRequireDefault(i("33yf"));function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r.default=t,r}function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var D=function(){function OptionManager(t){(0,h.default)(this,OptionManager),this.resolvedConfigs=[],this.options=OptionManager.createBareOptions(),this.log=t}return OptionManager.memoisePluginContainer=function memoisePluginContainer(t,r,i,a){var o=OptionManager.memoisedPlugins,l=Array.isArray(o),u=0;for(o=l?o:(0,p.default)(o);;){var h;if(l){if(u>=o.length)break;h=o[u++]}else{if((u=o.next()).done)break;h=u.value}var v=h;if(v.container===t)return v.plugin}var b=void 0;if("object"===(void 0===(b="function"==typeof t?t(m):t)?"undefined":(0,d.default)(b))){var x=new y.default(b,a);return OptionManager.memoisedPlugins.push({container:t,plugin:x}),x}throw new TypeError(g.get("pluginNotObject",r,i,void 0===b?"undefined":(0,d.default)(b))+r+i)},OptionManager.createBareOptions=function createBareOptions(){var t={};for(var r in A.default){var i=A.default[r];t[r]=(0,S.default)(i.default)}return t},OptionManager.normalisePlugin=function normalisePlugin(t,r,i,a){if(!((t=t.__esModule?t.default:t)instanceof y.default)){if("function"!=typeof t&&"object"!==(void 0===t?"undefined":(0,d.default)(t)))throw new TypeError(g.get("pluginNotFunction",r,i,void 0===t?"undefined":(0,d.default)(t)));t=OptionManager.memoisePluginContainer(t,r,i,a)}return t.init(r,i),t},OptionManager.normalisePlugins=function normalisePlugins(t,r,a){return a.map((function(a,o){var l=void 0,u=void 0;if(!a)throw new TypeError("Falsy value found in plugins");Array.isArray(a)?(l=a[0],u=a[1]):l=a;var p="string"==typeof l?l:t+"$"+o;if("string"==typeof l){var d=(0,b.default)(l,r);if(!d)throw new ReferenceError(g.get("pluginUnknown",l,t,o,r));l=i("It4A")(d)}return[l=OptionManager.normalisePlugin(l,t,o,p),u]}))},OptionManager.prototype.mergeOptions=function mergeOptions(t){var r=this,i=t.options,o=t.extending,l=t.alias,p=t.loc,h=t.dirname;if(l=l||"foreign",i){("object"!==(void 0===i?"undefined":(0,d.default)(i))||Array.isArray(i))&&this.log.error("Invalid options type for "+l,TypeError);var m=(0,E.default)(i,(function(t){if(t instanceof y.default)return t}));for(var g in h=h||a.cwd(),p=p||l,m){if(!A.default[g]&&this.log)if(P.default[g])this.log.error("Using removed Babel 5 option: "+l+"."+g+" - "+P.default[g].message,ReferenceError);else{var b="Unknown option: "+l+"."+g+". Check out http://babeljs.io/docs/usage/options/ for more information about options.";this.log.error(b+"\n\nA common cause of this error is the presence of a configuration options object without the corresponding preset name. Example:\n\nInvalid:\n `{ presets: [{option: value}] }`\nValid:\n `{ presets: [['presetName', {option: value}]] }`\n\nFor more detailed information on preset configuration, please see https://babeljs.io/docs/en/plugins#pluginpresets-options.",ReferenceError)}}(0,v.normaliseOptions)(m),m.plugins&&(m.plugins=OptionManager.normalisePlugins(p,h,m.plugins)),m.presets&&(m.passPerPreset?m.presets=this.resolvePresets(m.presets,h,(function(t,i){r.mergeOptions({options:t,extending:t,alias:i,loc:i,dirname:h})})):(this.mergePresets(m.presets,h),delete m.presets)),i===o?(0,u.default)(o,m):(0,T.default)(o||this.options,m)}},OptionManager.prototype.mergePresets=function mergePresets(t,r){var i=this;this.resolvePresets(t,r,(function(t,r){i.mergeOptions({options:t,alias:r,loc:r,dirname:w.default.dirname(r||"")})}))},OptionManager.prototype.resolvePresets=function resolvePresets(t,r,a){return t.map((function(t){var u=void 0;if(Array.isArray(t)){if(t.length>2)throw new Error("Unexpected extra options "+(0,l.default)(t.slice(2))+" passed to preset.");var p=t;t=p[0],u=p[1]}var h=void 0;try{if("string"==typeof t){if(!(h=(0,x.default)(t,r)))throw new Error("Couldn't find preset "+(0,l.default)(t)+" relative to directory "+(0,l.default)(r));t=i("It4A")(h)}if("object"===(void 0===t?"undefined":(0,d.default)(t))&&t.__esModule)if(t.default)t=t.default;else{var y=t;y.__esModule;t=(0,o.default)(y,["__esModule"])}if("object"===(void 0===t?"undefined":(0,d.default)(t))&&t.buildPreset&&(t=t.buildPreset),"function"!=typeof t&&void 0!==u)throw new Error("Options "+(0,l.default)(u)+" passed to "+(h||"a preset")+" which does not accept options.");if("function"==typeof t&&(t=t(m,u,{dirname:r})),"object"!==(void 0===t?"undefined":(0,d.default)(t)))throw new Error("Unsupported preset format: "+t+".");a&&a(t,h)}catch(t){throw h&&(t.message+=" (While processing preset: "+(0,l.default)(h)+")"),t}return t}))},OptionManager.prototype.normaliseOptions=function normaliseOptions(){var t=this.options;for(var r in A.default){var i=A.default[r],a=t[r];!a&&i.optional||(i.alias?t[i.alias]=t[i.alias]||a:t[r]=a)}},OptionManager.prototype.init=function init(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,C.default)(t,this.log),i=Array.isArray(r),a=0;for(r=i?r:(0,p.default)(r);;){var o;if(i){if(a>=r.length)break;o=r[a++]}else{if((a=r.next()).done)break;o=a.value}var l=o;this.mergeOptions(l)}return this.normaliseOptions(t),this.options},OptionManager}();r.default=D,D.memoisedPlugins=[],t.exports=r.default}).call(this,i("8oxB"))},10:function(t,r){},"11uD":function(t,r,i){"use strict";var a=i("TqRt")(i("cDf5"));Object.defineProperty(r,"__esModule",{value:!0}),r.validatePluginObject=function validatePluginObject(t){var r={type:"root",source:"plugin"};return Object.keys(t).forEach((function(i){var a=l[i];if(!a){var o=new Error(".".concat(i," is not a valid Plugin property"));throw o.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",o}a({type:"option",name:i,parent:r},t[i])})),t};var o=i("9sb+"),l={name:o.assertString,manipulateOptions:o.assertFunction,pre:o.assertFunction,post:o.assertFunction,inherits:o.assertFunction,visitor:function assertVisitorMap(t,r){var i=(0,o.assertObject)(t,r);if(i&&(Object.keys(i).forEach((function(t){return function assertVisitorHandler(t,r){if(r&&"object"===(0,a.default)(r))Object.keys(r).forEach((function(r){if("enter"!==r&&"exit"!==r)throw new Error('.visitor["'.concat(t,'"] may only have .enter and/or .exit handlers.'))}));else if("function"!=typeof r)throw new Error('.visitor["'.concat(t,'"] must be a function'));return r}(t,i[t])})),i.enter||i.exit))throw new Error("".concat((0,o.msg)(t),' cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.'));return i},parserOverride:o.assertFunction,generatorOverride:o.assertFunction}},"1LK5":function(t,r){t.exports=function baseSortBy(t,r){var i=t.length;for(t.sort(r);i--;)t[i]=t[i].value;return t}},"1Mmg":function(t,r,i){t.exports=i("7tcy")},"1XBD":function(t,r,i){r.SourceMapGenerator=i("Mvlo").SourceMapGenerator,r.SourceMapConsumer=i("CtP/").SourceMapConsumer,r.SourceNode=i("RdKH").SourceNode},"1a3c":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.LogicalExpression=r.BinaryExpression=r.AssignmentExpression=function AssignmentExpression(t,r){const i=this.inForStatementInitCounter&&"in"===t.operator&&!o.needsParens(t,r);i&&this.token("(");this.print(t.left,t),this.space(),"in"===t.operator||"instanceof"===t.operator?this.word(t.operator):this.token(t.operator);this.space(),this.print(t.right,t),i&&this.token(")")},r.AssignmentPattern=function AssignmentPattern(t){this.print(t.left,t),t.left.optional&&this.token("?");this.print(t.left.typeAnnotation,t),this.space(),this.token("="),this.space(),this.print(t.right,t)},r.AwaitExpression=void 0,r.BindExpression=function BindExpression(t){this.print(t.object,t),this.token("::"),this.print(t.callee,t)},r.CallExpression=function CallExpression(t){this.print(t.callee,t),this.print(t.typeArguments,t),this.print(t.typeParameters,t),this.token("("),this.printList(t.arguments,t),this.token(")")},r.ConditionalExpression=function ConditionalExpression(t){this.print(t.test,t),this.space(),this.token("?"),this.space(),this.print(t.consequent,t),this.space(),this.token(":"),this.space(),this.print(t.alternate,t)},r.Decorator=function Decorator(t){this.token("@");const{expression:r}=t;!function shouldParenthesizeDecoratorExpression(t){"CallExpression"===t.type&&(t=t.callee);if("ParenthesizedExpression"===t.type)return!1;return!function isDecoratorMemberExpression(t){switch(t.type){case"Identifier":return!0;case"MemberExpression":return!t.computed&&"Identifier"===t.property.type&&isDecoratorMemberExpression(t.object);default:return!1}}(t)}(r)?this.print(r,t):(this.token("("),this.print(r,t),this.token(")"));this.newline()},r.DoExpression=function DoExpression(t){t.async&&(this.word("async"),this.space());this.word("do"),this.space(),this.print(t.body,t)},r.EmptyStatement=function EmptyStatement(){this.semicolon(!0)},r.ExpressionStatement=function ExpressionStatement(t){this.print(t.expression,t),this.semicolon()},r.Import=function Import(){this.word("import")},r.MemberExpression=function MemberExpression(t){if(this.print(t.object,t),!t.computed&&p(t.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let r=t.computed;u(t.property)&&"number"==typeof t.property.value&&(r=!0);r?(this.token("["),this.print(t.property,t),this.token("]")):(this.token("."),this.print(t.property,t))},r.MetaProperty=function MetaProperty(t){this.print(t.meta,t),this.token("."),this.print(t.property,t)},r.ModuleExpression=function ModuleExpression(t){this.word("module"),this.space(),this.token("{"),0===t.body.body.length?this.token("}"):(this.newline(),this.printSequence(t.body.body,t,{indent:!0}),this.rightBrace())},r.NewExpression=function NewExpression(t,r){if(this.word("new"),this.space(),this.print(t.callee,t),this.format.minified&&0===t.arguments.length&&!t.optional&&!l(r,{callee:t})&&!p(r)&&!d(r))return;this.print(t.typeArguments,t),this.print(t.typeParameters,t),t.optional&&this.token("?.");this.token("("),this.printList(t.arguments,t),this.token(")")},r.OptionalCallExpression=function OptionalCallExpression(t){this.print(t.callee,t),this.print(t.typeArguments,t),this.print(t.typeParameters,t),t.optional&&this.token("?.");this.token("("),this.printList(t.arguments,t),this.token(")")},r.OptionalMemberExpression=function OptionalMemberExpression(t){if(this.print(t.object,t),!t.computed&&p(t.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let r=t.computed;u(t.property)&&"number"==typeof t.property.value&&(r=!0);t.optional&&this.token("?.");r?(this.token("["),this.print(t.property,t),this.token("]")):(t.optional||this.token("."),this.print(t.property,t))},r.ParenthesizedExpression=function ParenthesizedExpression(t){this.token("("),this.print(t.expression,t),this.token(")")},r.PrivateName=function PrivateName(t){this.token("#"),this.print(t.id,t)},r.SequenceExpression=function SequenceExpression(t){this.printList(t.expressions,t)},r.Super=function Super(){this.word("super")},r.ThisExpression=function ThisExpression(){this.word("this")},r.UnaryExpression=function UnaryExpression(t){"void"===t.operator||"delete"===t.operator||"typeof"===t.operator||"throw"===t.operator?(this.word(t.operator),this.space()):this.token(t.operator);this.print(t.argument,t)},r.UpdateExpression=function UpdateExpression(t){t.prefix?(this.token(t.operator),this.print(t.argument,t)):(this.startTerminatorless(!0),this.print(t.argument,t),this.endTerminatorless(),this.token(t.operator))},r.V8IntrinsicIdentifier=function V8IntrinsicIdentifier(t){this.token("%"),this.word(t.name)},r.YieldExpression=void 0;var a=i("JSq2"),o=i("Q/1+");const{isCallExpression:l,isLiteral:u,isMemberExpression:p,isNewExpression:d}=a;function buildYieldAwait(t){return function(r){if(this.word(t),r.delegate&&this.token("*"),r.argument){this.space();const t=this.startTerminatorless();this.print(r.argument,r),this.endTerminatorless(t)}}}const h=buildYieldAwait("yield");r.YieldExpression=h;const m=buildYieldAwait("await");r.AwaitExpression=m},"1c4g":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function normalizeModuleAndLoadMetadata(t,r,{importInterop:i,initializeReexports:o=!1,lazy:u=!1,esNamespaceOnly:p=!1,filename:d}){r||(r=t.scope.generateUidIdentifier("exports").name);const h=new Set;!function nameAnonymousExports(t){t.get("body").forEach(t=>{t.isExportDefaultDeclaration()&&(0,l.default)(t)})}(t);const{local:m,source:y,hasExports:g}=function getModuleMetadata(t,{lazy:r,initializeReexports:i},o){const l=function getLocalExportMetadata(t,r,i){const a=new Map;t.get("body").forEach(t=>{let i;if(t.isImportDeclaration())i="import";else{if(t.isExportDefaultDeclaration()&&(t=t.get("declaration")),t.isExportNamedDeclaration())if(t.node.declaration)t=t.get("declaration");else if(r&&t.node.source&&t.get("source").isStringLiteral())return void t.get("specifiers").forEach(t=>{assertExportSpecifier(t),a.set(t.get("local").node.name,"block")});if(t.isFunctionDeclaration())i="hoisted";else if(t.isClassDeclaration())i="block";else if(t.isVariableDeclaration({kind:"var"}))i="var";else{if(!t.isVariableDeclaration())return;i="block"}}Object.keys(t.getOuterBindingIdentifiers()).forEach(t=>{a.set(t,i)})});const o=new Map,getLocalMetadata=t=>{const r=t.node.name;let i=o.get(r);if(!i){const l=a.get(r);if(void 0===l)throw t.buildCodeFrameError(`Exporting local "${r}", which is not declared.`);i={names:[],kind:l},o.set(r,i)}return i};return t.get("body").forEach(t=>{if(!t.isExportNamedDeclaration()||!r&&t.node.source){if(t.isExportDefaultDeclaration()){const r=t.get("declaration");if(!r.isFunctionDeclaration()&&!r.isClassDeclaration())throw r.buildCodeFrameError("Unexpected default expression export.");getLocalMetadata(r.get("id")).names.push("default")}}else if(t.node.declaration){const r=t.get("declaration"),i=r.getOuterBindingIdentifierPaths();Object.keys(i).forEach(t=>{if("__esModule"===t)throw r.buildCodeFrameError('Illegal export "__esModule".');getLocalMetadata(i[t]).names.push(t)})}else t.get("specifiers").forEach(t=>{const r=t.get("local"),a=t.get("exported"),o=getLocalMetadata(r),l=getExportSpecifierName(a,i);if("__esModule"===l)throw a.buildCodeFrameError('Illegal export "__esModule".');o.names.push(l)})}),o}(t,i,o),u=new Map,getData=r=>{const i=r.value;let o=u.get(i);return o||(o={name:t.scope.generateUidIdentifier((0,a.basename)(i,(0,a.extname)(i))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:!1,source:i},u.set(i,o)),o};let p=!1;t.get("body").forEach(t=>{if(t.isImportDeclaration()){const r=getData(t.node.source);r.loc||(r.loc=t.node.loc),t.get("specifiers").forEach(t=>{if(t.isImportDefaultSpecifier()){const i=t.get("local").node.name;r.imports.set(i,"default");const a=l.get(i);a&&(l.delete(i),a.names.forEach(t=>{r.reexports.set(t,"default")}))}else if(t.isImportNamespaceSpecifier()){const i=t.get("local").node.name;r.importsNamespace.add(i);const a=l.get(i);a&&(l.delete(i),a.names.forEach(t=>{r.reexportNamespace.add(t)}))}else if(t.isImportSpecifier()){const i=getExportSpecifierName(t.get("imported"),o),a=t.get("local").node.name;r.imports.set(a,i);const u=l.get(a);u&&(l.delete(a),u.names.forEach(t=>{r.reexports.set(t,i)}))}})}else if(t.isExportAllDeclaration()){p=!0;const r=getData(t.node.source);r.loc||(r.loc=t.node.loc),r.reexportAll={loc:t.node.loc}}else if(t.isExportNamedDeclaration()&&t.node.source){p=!0;const r=getData(t.node.source);r.loc||(r.loc=t.node.loc),t.get("specifiers").forEach(t=>{assertExportSpecifier(t);const i=getExportSpecifierName(t.get("local"),o),a=getExportSpecifierName(t.get("exported"),o);if(r.reexports.set(a,i),"__esModule"===a)throw t.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else(t.isExportNamedDeclaration()||t.isExportDefaultDeclaration())&&(p=!0)});for(const t of u.values()){let r=!1,i=!1;t.importsNamespace.size>0&&(r=!0,i=!0),t.reexportAll&&(i=!0);for(const a of t.imports.values())"default"===a?r=!0:i=!0;for(const a of t.reexports.values())"default"===a?r=!0:i=!0;r&&i?t.interop="namespace":r&&(t.interop="default")}for(const[t,i]of u)if(!1!==r&&!isSideEffectImport(i)&&!i.reexportAll)if(!0===r)i.lazy=!/\./.test(t);else if(Array.isArray(r))i.lazy=-1!==r.indexOf(t);else{if("function"!=typeof r)throw new Error(".lazy must be a boolean, string array, or function");i.lazy=r(t)}return{hasExports:p,local:l,source:u}}(t,{initializeReexports:o,lazy:u},h);!function removeModuleDeclarations(t){t.get("body").forEach(t=>{if(t.isImportDeclaration())t.remove();else if(t.isExportNamedDeclaration())t.node.declaration?(t.node.declaration._blockHoist=t.node._blockHoist,t.replaceWith(t.node.declaration)):t.remove();else if(t.isExportDefaultDeclaration()){const r=t.get("declaration");if(!r.isFunctionDeclaration()&&!r.isClassDeclaration())throw r.buildCodeFrameError("Unexpected default expression export.");r._blockHoist=t.node._blockHoist,t.replaceWith(r)}else t.isExportAllDeclaration()&&t.remove()})}(t);for(const[,t]of y){t.importsNamespace.size>0&&(t.name=t.importsNamespace.values().next().value);const r=resolveImportInterop(i,t.source,d);"none"===r?t.interop="none":"node"===r&&"namespace"===t.interop?t.interop="node-namespace":"node"===r&&"default"===t.interop?t.interop="node-default":p&&"namespace"===t.interop&&(t.interop="default")}return{exportName:r,exportNameListName:null,hasExports:g,local:m,source:y,stringSpecifiers:h}},r.hasExports=function hasExports(t){return t.hasExports},r.isSideEffectImport=isSideEffectImport,r.validateImportInteropOption=validateImportInteropOption;var a=i("33yf"),o=i("A27I"),l=i("jXap");function isSideEffectImport(t){return 0===t.imports.size&&0===t.importsNamespace.size&&0===t.reexports.size&&0===t.reexportNamespace.size&&!t.reexportAll}function validateImportInteropOption(t){if("function"!=typeof t&&"none"!==t&&"babel"!==t&&"node"!==t)throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${t}).`);return t}function resolveImportInterop(t,r,i){return"function"==typeof t?validateImportInteropOption(t(r,i)):t}function getExportSpecifierName(t,r){if(t.isIdentifier())return t.node.name;if(t.isStringLiteral()){const i=t.node.value;return(0,o.isIdentifierName)(i)||r.add(i),i}throw new Error("Expected export specifier to be either Identifier or StringLiteral, got "+t.node.type)}function assertExportSpecifier(t){if(!t.isExportSpecifier())throw t.isExportNamespaceSpecifier()?t.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`."):t.buildCodeFrameError("Unexpected export specifier type")}},"1cQG":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.parse=void 0;var a=i("6l/m");r.parse=function parse(t,r){var o=[],l=i("+U4B").parse(t,{loc:!0,locations:!0,comment:!0,onComment:o,range:a.getOption(r,"range",!1),tolerant:a.getOption(r,"tolerant",!0),tokens:!0,jsx:a.getOption(r,"jsx",!1)});return Array.isArray(l.comments)||(l.comments=o),l}},"1gqn":function(t,r){t.exports=function isBuffer(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},"1h53":function(t,r,i){"use strict";function spaceSeparator(){this.space()}Object.defineProperty(r,"__esModule",{value:!0}),r.JSXAttribute=function JSXAttribute(t){this.print(t.name,t),t.value&&(this.token("="),this.print(t.value,t))},r.JSXClosingElement=function JSXClosingElement(t){this.token("")},r.JSXClosingFragment=function JSXClosingFragment(){this.token("")},r.JSXElement=function JSXElement(t){const r=t.openingElement;if(this.print(r,t),r.selfClosing)return;this.indent();for(const r of t.children)this.print(r,t);this.dedent(),this.print(t.closingElement,t)},r.JSXEmptyExpression=function JSXEmptyExpression(t){this.printInnerComments(t)},r.JSXExpressionContainer=function JSXExpressionContainer(t){this.token("{"),this.print(t.expression,t),this.token("}")},r.JSXFragment=function JSXFragment(t){this.print(t.openingFragment,t),this.indent();for(const r of t.children)this.print(r,t);this.dedent(),this.print(t.closingFragment,t)},r.JSXIdentifier=function JSXIdentifier(t){this.word(t.name)},r.JSXMemberExpression=function JSXMemberExpression(t){this.print(t.object,t),this.token("."),this.print(t.property,t)},r.JSXNamespacedName=function JSXNamespacedName(t){this.print(t.namespace,t),this.token(":"),this.print(t.name,t)},r.JSXOpeningElement=function JSXOpeningElement(t){this.token("<"),this.print(t.name,t),this.print(t.typeParameters,t),t.attributes.length>0&&(this.space(),this.printJoin(t.attributes,t,{separator:spaceSeparator}));t.selfClosing?(this.space(),this.token("/>")):this.token(">")},r.JSXOpeningFragment=function JSXOpeningFragment(){this.token("<"),this.token(">")},r.JSXSpreadAttribute=function JSXSpreadAttribute(t){this.token("{"),this.token("..."),this.print(t.argument,t),this.token("}")},r.JSXSpreadChild=function JSXSpreadChild(t){this.token("{"),this.token("..."),this.print(t.expression,t),this.token("}")},r.JSXText=function JSXText(t){const r=this.getPossibleRaw(t);null!=r?this.token(r):this.token(t.value)}},"1hJj":function(t,r,i){var a=i("e4Nc"),o=i("ftKO"),l=i("3A9y");function SetCache(t){var r=-1,i=null==t?0:t.length;for(this.__data__=new a;++r=0){var p=this._originalMappings[u];if(void 0===t.column)for(var d=p.originalLine;p&&p.originalLine===d;)l.push({line:a.getArg(p,"generatedLine",null),column:a.getArg(p,"generatedColumn",null),lastColumn:a.getArg(p,"lastGeneratedColumn",null)}),p=this._originalMappings[++u];else for(var h=p.originalColumn;p&&p.originalLine===r&&p.originalColumn==h;)l.push({line:a.getArg(p,"generatedLine",null),column:a.getArg(p,"generatedColumn",null),lastColumn:a.getArg(p,"lastGeneratedColumn",null)}),p=this._originalMappings[++u]}return l},r.SourceMapConsumer=SourceMapConsumer,BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer,BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(t){var r=Object.create(BasicSourceMapConsumer.prototype),i=r._names=l.fromArray(t._names.toArray(),!0),o=r._sources=l.fromArray(t._sources.toArray(),!0);r.sourceRoot=t._sourceRoot,r.sourcesContent=t._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=t._file;for(var u=t._mappings.toArray().slice(),d=r.__generatedMappings=[],h=r.__originalMappings=[],m=0,y=u.length;m1&&(i.source=b+l[1],b+=l[1],i.originalLine=g+l[2],g=i.originalLine,i.originalLine+=1,i.originalColumn=v+l[3],v=i.originalColumn,l.length>4&&(i.name=x+l[4],x+=l[4])),C.push(i),"number"==typeof i.originalLine&&P.push(i)}p(C,a.compareByGeneratedPositionsDeflated),this.__generatedMappings=C,p(P,a.compareByOriginalPositions),this.__originalMappings=P},BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(t,r,i,a,l,u){if(t[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[i]);if(t[a]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[a]);return o.search(t,r,l,u)},BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var t=0;t=0){var o=this._generatedMappings[i];if(o.generatedLine===r.generatedLine){var l=a.getArg(o,"source",null);null!==l&&(l=this._sources.at(l),null!=this.sourceRoot&&(l=a.join(this.sourceRoot,l)));var u=a.getArg(o,"name",null);return null!==u&&(u=this._names.at(u)),{source:l,line:a.getArg(o,"originalLine",null),column:a.getArg(o,"originalColumn",null),name:u}}}return{source:null,line:null,column:null,name:null}},BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(t){return null==t})))},BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(t,r){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(t=a.relative(this.sourceRoot,t)),this._sources.has(t))return this.sourcesContent[this._sources.indexOf(t)];var i;if(null!=this.sourceRoot&&(i=a.urlParse(this.sourceRoot))){var o=t.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!i.path||"/"==i.path)&&this._sources.has("/"+t))return this.sourcesContent[this._sources.indexOf("/"+t)]}if(r)return null;throw new Error('"'+t+'" is not in the SourceMap.')},BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(t){var r=a.getArg(t,"source");if(null!=this.sourceRoot&&(r=a.relative(this.sourceRoot,r)),!this._sources.has(r))return{line:null,column:null,lastColumn:null};var i={source:r=this._sources.indexOf(r),originalLine:a.getArg(t,"line"),originalColumn:a.getArg(t,"column")},o=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",a.compareByOriginalPositions,a.getArg(t,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(o>=0){var l=this._originalMappings[o];if(l.source===i.source)return{line:a.getArg(l,"generatedLine",null),column:a.getArg(l,"generatedColumn",null),lastColumn:a.getArg(l,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},r.BasicSourceMapConsumer=BasicSourceMapConsumer,IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer,IndexedSourceMapConsumer.prototype._version=3,Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){for(var t=[],r=0;r65536)throw new TypeError("pattern is too long");var i=this.options;if(!i.noglobstar&&"**"===t)return o;if(""===t)return"";var a,l="",d=!!i.nocase,m=!1,y=[],g=[],v=!1,b=-1,x=-1,E="."===t.charAt(0)?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",S=this;function clearStateChar(){if(a){switch(a){case"*":l+="[^/]*?",d=!0;break;case"?":l+="[^/]",d=!0;break;default:l+="\\"+a}S.debug("clearStateChar %j %j",a,l),a=!1}}for(var T,A=0,P=t.length;A-1;O--){var N=g[O],B=l.slice(0,N.reStart),M=l.slice(N.reStart,N.reEnd-8),L=l.slice(N.reEnd-8,N.reEnd),R=l.slice(N.reEnd);L+=R;var j=B.split("(").length-1,U=R;for(A=0;A=0&&!(o=t[l]);l--);for(l=0;l>> no match, partial?",t,g,r,v),g!==p))}if("string"==typeof m?(h=a.nocase?y.toLowerCase()===m.toLowerCase():y===m,this.debug("string match",m,y,h)):(h=y.match(m),this.debug("pattern match",m,y,h)),!h)return!1}if(l===p&&u===d)return!0;if(l===p)return i;if(u===d)return l===p-1&&""===t[l];throw new Error("wtf?")}},"2M8j":function(t,r,i){"use strict";r.__esModule=!0,r.default=function(){return{manipulateOptions:function manipulateOptions(t,r){r.plugins.push("classConstructorCall")}}},t.exports=r.default},"2MDj":function(t,r,i){"use strict";var a=_interopRequireDefault(i("9lTW")),o=_interopRequireWildcard(i("KCzW")),l=i("O8iL"),u=i("cRXC"),p=_interopRequireDefault(i("k+83")),d=_interopRequireWildcard(i("HqoA"));function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r.default=t,r}function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}r.visitor={Function:{exit:function exit(t,r){var i=t.node;if(i.generator){if(i.async){if(!1===r.opts.asyncGenerators)return}else if(!1===r.opts.generators)return}else{if(!i.async)return;if(!1===r.opts.async)return}i=(t=(0,p.default)(t)).node;var v=t.scope.generateUidIdentifier("context"),b=t.scope.generateUidIdentifier("args");t.ensureBlock();var x=t.get("body");i.async&&x.traverse(g),x.traverse(y,{context:v});var E=[],S=[];x.get("body").forEach((function(t){var r=t.node;o.isExpressionStatement(r)&&o.isStringLiteral(r.expression)||r&&null!=r._blockHoist?E.push(r):S.push(r)})),E.length>0&&(x.node.body=S);var T=function getOuterFnExpr(t){var r=t.node;o.assertFunction(r),r.id||(r.id=t.scope.parent.generateUidIdentifier("callee"));if(r.generator&&o.isFunctionDeclaration(r))return function getMarkedFunctionId(t){var r=t.node;o.assertIdentifier(r.id);var i=t.findParent((function(t){return t.isProgram()||t.isBlockStatement()}));if(!i)return r.id;var l=i.node;a.default.ok(Array.isArray(l.body));var u=h(l);u.decl||(u.decl=o.variableDeclaration("var",[]),i.unshiftContainer("body",u.decl),u.declPath=i.get("body.0"));a.default.strictEqual(u.declPath.node,u.decl);var p=i.scope.generateUidIdentifier("marked"),m=o.callExpression(d.runtimeProperty("mark"),[r.id]),y=u.decl.declarations.push(o.variableDeclarator(p,m))-1,g=u.declPath.get("declarations."+y+".init");return a.default.strictEqual(g.node,m),g.addComment("leading","#__PURE__"),p}(t);return r.id}(t);o.assertIdentifier(i.id);var A=o.identifier(i.id.name+"$"),P=(0,l.hoist)(t);if(function renameArguments(t,r){var i={didRenameArguments:!1,argsId:r};return t.traverse(m,i),i.didRenameArguments}(t,b)){P=P||o.variableDeclaration("var",[]);var C=o.identifier("arguments");C._shadowedFunctionLiteral=t,P.declarations.push(o.variableDeclarator(b,C))}var w=new u.Emitter(v);w.explode(t.get("body")),P&&P.declarations.length>0&&E.push(P);var D=[w.getContextFunction(A),i.generator?T:o.nullLiteral(),o.thisExpression()],k=w.getTryLocsList();k&&D.push(k);var _=o.callExpression(d.runtimeProperty(i.async?"async":"wrap"),D);E.push(o.returnStatement(_)),i.body=o.blockStatement(E);var I=x.node.directives;I&&(i.body.directives=I);var O=i.generator;O&&(i.generator=!1),i.async&&(i.async=!1),O&&o.isExpression(i)&&(d.replaceWithOrRemove(t,o.callExpression(d.runtimeProperty("mark"),[i])),t.addComment("leading","#__PURE__")),t.requeue()}}};var h=i("GRlS").makeAccessor();var m={"FunctionExpression|FunctionDeclaration":function FunctionExpressionFunctionDeclaration(t){t.skip()},Identifier:function Identifier(t,r){"arguments"===t.node.name&&d.isReference(t)&&(d.replaceWithOrRemove(t,r.argsId),r.didRenameArguments=!0)}},y={MetaProperty:function MetaProperty(t){var r=t.node;"function"===r.meta.name&&"sent"===r.property.name&&d.replaceWithOrRemove(t,o.memberExpression(this.context,o.identifier("_sent")))}},g={Function:function Function(t){t.skip()},AwaitExpression:function AwaitExpression(t){var r=t.node.argument;d.replaceWithOrRemove(t,o.yieldExpression(o.callExpression(d.runtimeProperty("awrap"),[r]),!1))}}},"2NFl":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function simplifyAccess(t,r,i=!0){t.traverse(v,{scope:t.scope,bindingNames:r,seen:new WeakSet,includeUpdateExpression:i})};var a=i("JSq2");const{LOGICAL_OPERATORS:o,assignmentExpression:l,binaryExpression:u,cloneNode:p,identifier:d,logicalExpression:h,numericLiteral:m,sequenceExpression:y,unaryExpression:g}=a;const v={UpdateExpression:{exit(t){const{scope:r,bindingNames:i,includeUpdateExpression:a}=this;if(!a)return;const o=t.get("argument");if(!o.isIdentifier())return;const h=o.node.name;if(i.has(h)&&r.getBinding(h)===t.scope.getBinding(h))if(t.parentPath.isExpressionStatement()&&!t.isCompletionRecord()){const r="++"==t.node.operator?"+=":"-=";t.replaceWith(l(r,o.node,m(1)))}else if(t.node.prefix)t.replaceWith(l("=",d(h),u(t.node.operator[0],g("+",o.node),m(1))));else{const r=t.scope.generateUidIdentifierBasedOnNode(o.node,"old"),i=r.name;t.scope.push({id:r});const a=u(t.node.operator[0],d(i),m(1));t.replaceWith(y([l("=",d(i),g("+",o.node)),l("=",p(o.node),a),d(i)]))}}},AssignmentExpression:{exit(t){const{scope:r,seen:i,bindingNames:a}=this;if("="===t.node.operator)return;if(i.has(t.node))return;i.add(t.node);const d=t.get("left");if(!d.isIdentifier())return;const m=d.node.name;if(!a.has(m))return;if(r.getBinding(m)!==t.scope.getBinding(m))return;const y=t.node.operator.slice(0,-1);o.includes(y)?t.replaceWith(h(y,t.node.left,l("=",p(t.node.left),t.node.right))):(t.node.right=u(y,p(t.node.left),t.node.right),t.node.operator="=")}}}},"2Nb0":function(t,r,i){i("FlQf"),i("bBy9"),t.exports=i("zLkG").f("iterator")},"2WVd":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i("TzgN"),o=(0,a.__importDefault)(i("qyNl")),l=(0,a.__importDefault)(i("QbqP")),u=(0,a.__importDefault)(i("Ccio"));r.default=function default_1(t){t.use(o.default);var r=t.use(l.default),i=r.Type.def,a=r.Type.or,p=t.use(u.default).defaults;i("Function").field("generator",Boolean,p.false).field("expression",Boolean,p.false).field("defaults",[a(i("Expression"),null)],p.emptyArray).field("rest",a(i("Identifier"),null),p.null),i("RestElement").bases("Pattern").build("argument").field("argument",i("Pattern")).field("typeAnnotation",a(i("TypeAnnotation"),i("TSTypeAnnotation"),null),p.null),i("SpreadElementPattern").bases("Pattern").build("argument").field("argument",i("Pattern")),i("FunctionDeclaration").build("id","params","body","generator","expression").field("id",a(i("Identifier"),null)),i("FunctionExpression").build("id","params","body","generator","expression"),i("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,p.null).field("body",a(i("BlockStatement"),i("Expression"))).field("generator",!1,p.false),i("ForOfStatement").bases("Statement").build("left","right","body").field("left",a(i("VariableDeclaration"),i("Pattern"))).field("right",i("Expression")).field("body",i("Statement")),i("YieldExpression").bases("Expression").build("argument","delegate").field("argument",a(i("Expression"),null)).field("delegate",Boolean,p.false),i("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",i("Expression")).field("blocks",[i("ComprehensionBlock")]).field("filter",a(i("Expression"),null)),i("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",i("Expression")).field("blocks",[i("ComprehensionBlock")]).field("filter",a(i("Expression"),null)),i("ComprehensionBlock").bases("Node").build("left","right","each").field("left",i("Pattern")).field("right",i("Expression")).field("each",Boolean),i("Property").field("key",a(i("Literal"),i("Identifier"),i("Expression"))).field("value",a(i("Expression"),i("Pattern"))).field("method",Boolean,p.false).field("shorthand",Boolean,p.false).field("computed",Boolean,p.false),i("ObjectProperty").field("shorthand",Boolean,p.false),i("PropertyPattern").bases("Pattern").build("key","pattern").field("key",a(i("Literal"),i("Identifier"),i("Expression"))).field("pattern",i("Pattern")).field("computed",Boolean,p.false),i("ObjectPattern").bases("Pattern").build("properties").field("properties",[a(i("PropertyPattern"),i("Property"))]),i("ArrayPattern").bases("Pattern").build("elements").field("elements",[a(i("Pattern"),null)]),i("SpreadElement").bases("Node").build("argument").field("argument",i("Expression")),i("ArrayExpression").field("elements",[a(i("Expression"),i("SpreadElement"),i("RestElement"),null)]),i("NewExpression").field("arguments",[a(i("Expression"),i("SpreadElement"))]),i("CallExpression").field("arguments",[a(i("Expression"),i("SpreadElement"))]),i("AssignmentPattern").bases("Pattern").build("left","right").field("left",i("Pattern")).field("right",i("Expression")),i("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",a("constructor","method","get","set")).field("key",i("Expression")).field("value",i("Function")).field("computed",Boolean,p.false).field("static",Boolean,p.false);var d=a(i("MethodDefinition"),i("VariableDeclarator"),i("ClassPropertyDefinition"),i("ClassProperty"));i("ClassProperty").bases("Declaration").build("key").field("key",a(i("Literal"),i("Identifier"),i("Expression"))).field("computed",Boolean,p.false),i("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",d),i("ClassBody").bases("Declaration").build("body").field("body",[d]),i("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",a(i("Identifier"),null)).field("body",i("ClassBody")).field("superClass",a(i("Expression"),null),p.null),i("ClassExpression").bases("Expression").build("id","body","superClass").field("id",a(i("Identifier"),null),p.null).field("body",i("ClassBody")).field("superClass",a(i("Expression"),null),p.null),i("Super").bases("Expression").build(),i("Specifier").bases("Node"),i("ModuleSpecifier").bases("Specifier").field("local",a(i("Identifier"),null),p.null).field("id",a(i("Identifier"),null),p.null).field("name",a(i("Identifier"),null),p.null),i("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",i("Identifier")),i("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local"),i("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local"),i("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[a(i("ImportSpecifier"),i("ImportNamespaceSpecifier"),i("ImportDefaultSpecifier"))],p.emptyArray).field("source",i("Literal")).field("importKind",a("value","type"),(function(){return"value"})),i("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",a(i("Declaration"),null)).field("specifiers",[i("ExportSpecifier")],p.emptyArray).field("source",a(i("Literal"),null),p.null),i("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",i("Identifier")),i("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",a(i("Declaration"),i("Expression"))),i("ExportAllDeclaration").bases("Declaration").build("source").field("source",i("Literal")),i("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",i("Expression")).field("quasi",i("TemplateLiteral")),i("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[i("TemplateElement")]).field("expressions",[i("Expression")]),i("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean),i("MetaProperty").bases("Expression").build("meta","property").field("meta",i("Identifier")).field("property",i("Identifier"))},t.exports=r.default},"2Wmk":function(t,r){r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2,r.search=function search(t,i,a,o){if(0===i.length)return-1;var l=function recursiveSearch(t,i,a,o,l,u){var p=Math.floor((i-t)/2)+t,d=l(a,o[p],!0);return 0===d?p:d>0?i-p>1?recursiveSearch(p,i,a,o,l,u):u==r.LEAST_UPPER_BOUND?i1?recursiveSearch(t,p,a,o,l,u):u==r.LEAST_UPPER_BOUND?p:t<0?-1:t}(-1,i.length,t,i,a,o||r.GREATEST_LOWER_BOUND);if(l<0)return-1;for(;l-1>=0&&0===a(i[l],i[l-1],!0);)--l;return l}},"2ajD":function(t,r){t.exports=function baseIsNaN(t){return t!=t}},"2faE":function(t,r,i){var a=i("5K7Z"),o=i("eUtF"),l=i("G8Mo"),u=Object.defineProperty;r.f=i("jmDH")?Object.defineProperty:function defineProperty(t,r,i){if(a(t),r=l(r,!0),a(i),o)try{return u(t,r,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t}},"2gN3":function(t,r,i){var a=i("Kz5y")["__core-js_shared__"];t.exports=a},"2n+e":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=(0,i("V/pm").default)("React.Component");r.default=a},"2pnV":function(t,r,i){"use strict";r.__esModule=!0;var a=_interopRequireDefault(i("GQeE"));r.push=function push(t,r,i,a,p){var d=u.toKeyAlias(r),h={};(0,l.default)(t,d)&&(h=t[d]);t[d]=h,h._inherits=h._inherits||[],h._inherits.push(r),h._key=r.key,r.computed&&(h._computed=!0);if(r.decorators){var m=h.decorators=h.decorators||u.arrayExpression([]);m.elements=m.elements.concat(r.decorators.map((function(t){return t.expression})).reverse())}if(h.value||h.initializer)throw a.buildCodeFrameError(r,"Key conflict with sibling node");var y=void 0,g=void 0;(u.isObjectProperty(r)||u.isObjectMethod(r)||u.isClassMethod(r))&&(y=u.toComputedKey(r,r.key));u.isObjectProperty(r)||u.isClassProperty(r)?g=r.value:(u.isObjectMethod(r)||u.isClassMethod(r))&&((g=u.functionExpression(null,r.params,r.body,r.generator,r.async)).returnType=r.returnType);var v=function toKind(t){if((u.isClassMethod(t)||u.isObjectMethod(t))&&("get"===t.kind||"set"===t.kind))return t.kind;return"value"}(r);i&&"value"===v||(i=v);p&&u.isStringLiteral(y)&&("value"===i||"initializer"===i)&&u.isFunctionExpression(g)&&(g=(0,o.default)({id:y,node:g,scope:p}));g&&(u.inheritsComments(g,r),h[i]=g);return h},r.hasComputed=function hasComputed(t){for(var r in t)if(t[r]._computed)return!0;return!1},r.toComputedObjectFromClass=function toComputedObjectFromClass(t){for(var r=u.arrayExpression([]),i=0;ir?unescape(r):i))}else i.push(Number(r));return i}function parseStyle(t){o.lastIndex=0;const r=[];let i;for(;null!==(i=o.exec(t));){const t=i[1];if(i[2]){const a=parseArguments(t,i[2]);r.push([t].concat(a))}else r.push([t])}return r}function buildStyle(t,r){const i={};for(const t of r)for(const r of t.styles)i[r[0]]=t.inverse?null:r.slice(1);let a=t;for(const t of Object.keys(i))if(Array.isArray(i[t])){if(!(t in a))throw new Error("Unknown Chalk style: "+t);a=i[t].length>0?a[t].apply(a,i[t]):a[t]}return a}t.exports=(t,r)=>{const i=[],o=[];let l=[];if(r.replace(a,(r,a,u,p,d,h)=>{if(a)l.push(unescape(a));else if(p){const r=l.join("");l=[],o.push(0===i.length?r:buildStyle(t,i)(r)),i.push({inverse:u,styles:parseStyle(p)})}else if(d){if(0===i.length)throw new Error("Found extraneous } in Chalk template literal");o.push(buildStyle(t,i)(l.join(""))),l=[],i.pop()}else l.push(h)}),o.push(l.join("")),i.length>0){const t=`Chalk template literal is missing ${i.length} closing bracket${1===i.length?"":"s"} (\`}\`)`;throw new Error(t)}return o.join("")}},"2zui":function(t,r,i){"use strict";var a=i("TqRt"),o=a(i("J4zp")),l=a(i("lwsE")),u=a(i("W8MJ")),p=a(i("o0o1"));function _createForOfIteratorHelper(t,r){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function _unsupportedIterableToArray(t,r){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,r)}(t))||r&&t&&"number"==typeof t.length){i&&(t=i);var a=0,o=function F(){};return{s:o,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,p=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){p=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(p)throw l}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var i=0,a=new Array(r);i=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,p=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){p=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(p)throw l}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var i=0,a=new Array(r);i0)){l.next=44;break}S.splice.apply(S,[1,0].concat((0,p.default)(i.map((function(t){return t.pass})).filter((function(t){return t!==r}))))),h=_createForOfIteratorHelper(i),l.prev=22,h.s();case 24:if((g=h.n()).done){l.next=36;break}if(v=g.value,b=v.preset,x=v.pass,b){l.next=28;break}return l.abrupt("return",!0);case 28:return x.push.apply(x,(0,p.default)(b.plugins)),l.delegateYield(recursePresetDescriptors(b.presets,x),"t2",30);case 30:if(!l.t2){l.next=33;break}return l.abrupt("return",!0);case 33:b.options.forEach((function(t){(0,y.mergeOptions)(u,t)}));case 34:l.next=24;break;case 36:l.next=41;break;case 38:l.prev=38,l.t3=l.catch(22),h.e(l.t3);case 41:return l.prev=41,h.f(),l.finish(41);case 44:case"end":return l.stop()}}),recursePresetDescriptors,null,[[5,10],[22,38,41,44]])})))(v,S[0]),"t1",19);case 19:if(!k.t1){k.next=22;break}return k.abrupt("return",null);case 22:return w=u,(0,y.mergeOptions)(w,a),D=Object.assign({},m,{assumptions:null!=(r=w.assumptions)?r:{}}),k.delegateYield(enhanceError(o,l.default.mark((function loadPluginDescriptors(){var t,r,i,a,o,u,d,h;return l.default.wrap((function loadPluginDescriptors$(l){for(;;)switch(l.prev=l.next){case 0:(t=S[0]).unshift.apply(t,(0,p.default)(x)),r=_createForOfIteratorHelper(S),l.prev=2,r.s();case 4:if((i=r.n()).done){l.next=28;break}a=i.value,o=[],A.push(o),u=0;case 9:if(!(u0})).map((function(t){return{plugins:t}})),w.passPerPreset=w.presets.length>0,k.abrupt("return",{options:w,passes:A,externalDependencies:(0,E.finalize)(P)});case 30:case"end":return k.stop()}}),loadFullConfig)}))));function enhanceError(t,r){return l.default.mark((function _callee(i,a){return l.default.wrap((function _callee$(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.delegateYield(r(i,a),"t0",2);case 2:return o.abrupt("return",o.t0);case 5:throw o.prev=5,o.t1=o.catch(0),/^\[BABEL\]/.test(o.t1.message)||(o.t1.message="[BABEL] ".concat(t.filename||"unknown",": ").concat(o.t1.message)),o.t1;case 9:case"end":return o.stop()}}),_callee,null,[[0,5]])}))}r.default=w;var D=function makeDescriptorLoader(t){return(0,S.makeWeakCache)(l.default.mark((function _callee2(r,i){var a,o,p,d,h,y,v,b,x;return l.default.wrap((function _callee2$(l){for(;;)switch(l.prev=l.next){case 0:if(a=r.value,o=r.options,p=r.dirname,d=r.alias,!1!==o){l.next=3;break}throw new Error("Assertion failure");case 3:if(o=o||{},h=[],y=a,"function"!=typeof a){l.next=18;break}return v=(0,m.maybeAsync)(a,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),b=Object.assign({},g,t(i,h)),l.prev=9,l.delegateYield(v(b,o,p),"t0",11);case 11:y=l.t0,l.next=18;break;case 14:throw l.prev=14,l.t1=l.catch(9),d&&(l.t1.message+=" (While processing: ".concat(JSON.stringify(d),")")),l.t1;case 18:if(y&&"object"===(0,u.default)(y)){l.next=20;break}throw new Error("Plugin/Preset did not return an object.");case 20:if(!(0,m.isThenable)(y)){l.next=23;break}return l.delegateYield([],"t2",22);case 22:throw new Error('You appear to be using a promise as a plugin, which your current version of Babel does not support. If you\'re using a published plugin, you may need to upgrade your @babel/core version. As an alternative, you can prefix the promise with "await". '+"(While processing: ".concat(JSON.stringify(d),")"));case 23:if(!(h.length>0)||i.configured()&&"forever"!==i.mode()){l.next=28;break}throw x="A plugin/preset has external untracked dependencies "+"(".concat(h[0],"), but the cache "),i.configured()?x+=" has been configured to never be invalidated. ":x+="has not been configured to be invalidated when the external dependencies change. ",x+="Plugins/presets should configure their cache to be invalidated when the external dependencies change, for example using `api.cache.invalidate(() => statSync(filepath).mtimeMs)` or `api.cache.never()`\n"+"(While processing: ".concat(JSON.stringify(d),")"),new Error(x);case 28:return l.abrupt("return",{value:y,options:o,dirname:p,alias:d,externalDependencies:(0,E.finalize)(h)});case 29:case"end":return l.stop()}}),_callee2,null,[[9,14]])})))},k=D(P.makePluginAPI),_=D(P.makePresetAPI);function loadPluginDescriptor(t,r){return l.default.wrap((function loadPluginDescriptor$(i){for(;;)switch(i.prev=i.next){case 0:if(!(t.value instanceof v.default)){i.next=4;break}if(!t.options){i.next=3;break}throw new Error("Passed options to an existing Plugin instance will not work.");case 3:return i.abrupt("return",t.value);case 4:return i.t0=I,i.delegateYield(k(t,r),"t1",6);case 6:return i.t2=i.t1,i.t3=r,i.delegateYield((0,i.t0)(i.t2,i.t3),"t4",9);case 9:return i.abrupt("return",i.t4);case 10:case"end":return i.stop()}}),d)}var I=(0,S.makeWeakCache)(l.default.mark((function _callee3(t,r){var i,a,o,u,p,d,h,y,g;return l.default.wrap((function _callee3$(l){for(;;)switch(l.prev=l.next){case 0:if(i=t.value,a=t.options,o=t.dirname,u=t.alias,p=t.externalDependencies,d=(0,A.validatePluginObject)(i),(h=Object.assign({},d)).visitor&&(h.visitor=_traverse().default.explode(Object.assign({},h.visitor))),!h.inherits){l.next=13;break}return y={name:void 0,alias:"".concat(u,"$inherits"),value:h.inherits,options:a,dirname:o},l.delegateYield((0,m.forwardAsync)(loadPluginDescriptor,(function(t){return r.invalidate((function(r){return t(y,r)}))})),"t0",7);case 7:g=l.t0,h.pre=chain(g.pre,h.pre),h.post=chain(g.post,h.post),h.manipulateOptions=chain(g.manipulateOptions,h.manipulateOptions),h.visitor=_traverse().default.visitors.merge([g.visitor||{},h.visitor||{}]),g.externalDependencies.length>0&&(p=0===p.length?g.externalDependencies:(0,E.finalize)([p,g.externalDependencies]));case 13:return l.abrupt("return",new v.default(h,a,u,p));case 14:case"end":return l.stop()}}),_callee3)}))),O=function validateIfOptionNeedsFilename(t,r){if(t.test||t.include||t.exclude){var i=r.name?'"'.concat(r.name,'"'):"/* your preset */";throw new Error(["Preset ".concat(i," requires a filename to be set when babel is called directly,"),"```","babel.transform(code, { filename: 'file.ts', presets: [".concat(i,"] });"),"```","See https://babeljs.io/docs/en/options#filename for more information."].join("\n"))}},N=function validatePreset(t,r,i){if(!r.filename){var a=t.options;O(a,i),a.overrides&&a.overrides.forEach((function(t){return O(t,i)}))}};function loadPresetDescriptor(t,r){var i;return l.default.wrap((function loadPresetDescriptor$(a){for(;;)switch(a.prev=a.next){case 0:return a.t0=B,a.delegateYield(_(t,r),"t1",2);case 2:return a.t2=a.t1,i=(0,a.t0)(a.t2),N(i,r,t),a.delegateYield((0,x.buildPresetChain)(i,r),"t3",6);case 6:return a.t4=a.t3,a.t5=i.externalDependencies,a.abrupt("return",{chain:a.t4,externalDependencies:a.t5});case 9:case"end":return a.stop()}}),h)}var B=(0,S.makeWeakCacheSync)((function(t){var r=t.value,i=t.dirname,a=t.alias,o=t.externalDependencies;return{options:(0,T.validate)("preset",r),alias:a,dirname:i,externalDependencies:o}}));function chain(t,r){var i=[t,r].filter(Boolean);return i.length<=1?i[0]:function(){for(var t=arguments.length,r=new Array(t),a=0;a=0;a--){var o=t[a];"."===o?t.splice(a,1):".."===o?(t.splice(a,1),i++):i&&(t.splice(a,1),i--)}if(r)for(;i--;i)t.unshift("..");return t}function filter(t,r){if(t.filter)return t.filter(r);for(var i=[],a=0;a=-1&&!i;a--){var o=a>=0?arguments[a]:t.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(r=o+"/"+r,i="/"===o.charAt(0))}return(i?"/":"")+(r=normalizeArray(filter(r.split("/"),(function(t){return!!t})),!i).join("/"))||"."},r.normalize=function(t){var a=r.isAbsolute(t),o="/"===i(t,-1);return(t=normalizeArray(filter(t.split("/"),(function(t){return!!t})),!a).join("/"))||a||(t="."),t&&o&&(t+="/"),(a?"/":"")+t},r.isAbsolute=function(t){return"/"===t.charAt(0)},r.join=function(){var t=Array.prototype.slice.call(arguments,0);return r.normalize(filter(t,(function(t,r){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},r.relative=function(t,i){function trim(t){for(var r=0;r=0&&""===t[i];i--);return r>i?[]:t.slice(r,i-r+1)}t=r.resolve(t).substr(1),i=r.resolve(i).substr(1);for(var a=trim(t.split("/")),o=trim(i.split("/")),l=Math.min(a.length,o.length),u=l,p=0;p=1;--l)if(47===(r=t.charCodeAt(l))){if(!o){a=l;break}}else o=!1;return-1===a?i?"/":".":i&&1===a?"/":t.slice(0,a)},r.basename=function(t,r){var i=function basename(t){"string"!=typeof t&&(t+="");var r,i=0,a=-1,o=!0;for(r=t.length-1;r>=0;--r)if(47===t.charCodeAt(r)){if(!o){i=r+1;break}}else-1===a&&(o=!1,a=r+1);return-1===a?"":t.slice(i,a)}(t);return r&&i.substr(-1*r.length)===r&&(i=i.substr(0,i.length-r.length)),i},r.extname=function(t){"string"!=typeof t&&(t+="");for(var r=-1,i=0,a=-1,o=!0,l=0,u=t.length-1;u>=0;--u){var p=t.charCodeAt(u);if(47!==p)-1===a&&(o=!1,a=u+1),46===p?-1===r?r=u:1!==l&&(l=1):-1!==r&&(l=-1);else if(!o){i=u+1;break}}return-1===r||-1===a||0===l||1===l&&r===a-1&&r===i+1?"":t.slice(r,a)};var i="b"==="ab".substr(-1)?function(t,r,i){return t.substr(r,i)}:function(t,r,i){return r<0&&(r=t.length+r),t.substr(r,i)}}).call(this,i("8oxB"))},"3A9y":function(t,r){t.exports=function setCacheHas(t){return this.__data__.has(t)}},"3ASw":function(t,r,i){var a=i("UCR5").SourceMapGenerator,o=i("Cbry"),l=/(\r?\n)/,u="$$$isSourceNode$$$";function SourceNode(t,r,i,a,o){this.children=[],this.sourceContents={},this.line=null==t?null:t,this.column=null==r?null:r,this.source=null==i?null:i,this.name=null==o?null:o,this[u]=!0,null!=a&&this.add(a)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(t,r,i){var a=new SourceNode,u=t.split(l),p=0,shiftNextLine=function(){return getNextLine()+(getNextLine()||"");function getNextLine(){return p=0;r--)this.prepend(t[r]);else{if(!t[u]&&"string"!=typeof t)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);this.children.unshift(t)}return this},SourceNode.prototype.walk=function SourceNode_walk(t){for(var r,i=0,a=this.children.length;i0){for(r=[],i=0;i{t[r]=null}),t};var a=i("kEZX")},"4/ic":function(t,r,i){var a=i("ZWtO");t.exports=function basePropertyDeep(t){return function(r){return a(r,t)}}},"44Ds":function(t,r,i){var a=i("e4Nc");function memoize(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var memoized=function(){var i=arguments,a=r?r.apply(this,i):i[0],o=memoized.cache;if(o.has(a))return o.get(a);var l=t.apply(this,i);return memoized.cache=o.set(a,l)||o,l};return memoized.cache=new(memoize.Cache||a),memoized}memoize.Cache=a,t.exports=memoize},"44jb":function(t,r,i){"use strict";r.__esModule=!0;var a=_interopRequireDefault(i("rfXi")),o=_interopRequireDefault(i("QbLZ")),l=_interopRequireDefault(i("gDS+")),u=_interopRequireDefault(i("FyfS")),p=_interopRequireDefault(i("ODRq"));r.default=function mergeSourceMap(t,r){var i=buildMappingData(t),a=buildMappingData(r),o=new d.default.SourceMapGenerator,l=i.sources,h=Array.isArray(l),m=0;for(l=h?l:(0,u.default)(l);;){var y;if(h){if(m>=l.length)break;y=l[m++]}else{if((m=l.next()).done)break;y=m.value}var g=y.source;"string"==typeof g.content&&o.setSourceContent(g.path,g.content)}if(1===a.sources.length){var v=a.sources[0],b=new p.default;!function eachInputGeneratedRange(t,r){var i=t.sources,a=Array.isArray(i),o=0;for(i=a?i:(0,u.default)(i);;){var l;if(a){if(o>=i.length)break;l=i[o++]}else{if((o=i.next()).done)break;l=o.value}var p=l,d=p.source,h=p.mappings,m=Array.isArray(h),y=0;for(h=m?h:(0,u.default)(h);;){var g;if(m){if(y>=h.length)break;g=h[y++]}else{if((y=h.next()).done)break;g=y.value}var v=g,b=v.original,x=v.generated,E=Array.isArray(x),S=0;for(x=E?x:(0,u.default)(x);;){var T;if(E){if(S>=x.length)break;T=x[S++]}else{if((S=x.next()).done)break;T=S.value}r(T,b,d)}}}}(i,(function(t,r,i){!function eachOverlappingGeneratedOutputRange(t,r,i){var a=function filterApplicableOriginalRanges(t,r){var i=t.mappings,a=r.line,o=r.columnStart,l=r.columnEnd;return function filterSortedArray(t,r){for(var i=function findInsertionLocation(t,r){var i=0,a=t.length;for(;i=0?a=o:i=o+1}var p=i;if(p0&&r(t[p])>=0;)p--;return p+1}return p}(t,r),a=[],o=i;or.line?-1:a=r.columnEnd?-1:l<=r.columnStart?1:0}))}(t,r),o=Array.isArray(a),l=0;for(a=o?a:(0,u.default)(a);;){var p;if(o){if(l>=a.length)break;p=a[l++]}else{if((l=a.next()).done)break;p=l.value}var d=p.generated,h=Array.isArray(d),m=0;for(d=h?d:(0,u.default)(d);;){var y;if(h){if(m>=d.length)break;y=d[m++]}else{if((m=d.next()).done)break;y=m.value}i(y)}}}(v,t,(function(t){var a=makeMappingKey(t);b.has(a)||(b.set(a,t),o.addMapping({source:i.path,original:{line:r.line,column:r.columnStart},generated:{line:t.line,column:t.columnStart},name:r.name}))}))}));var x=b.values(),E=Array.isArray(x),S=0;for(x=E?x:(0,u.default)(x);;){var T;if(E){if(S>=x.length)break;T=x[S++]}else{if((S=x.next()).done)break;T=S.value}var A=T;if(A.columnEnd!==1/0){var P={line:A.line,columnStart:A.columnEnd},C=makeMappingKey(P);b.has(C)||o.addMapping({generated:{line:P.line,column:P.columnStart}})}}}var w=o.toJSON();"string"==typeof i.sourceRoot&&(w.sourceRoot=i.sourceRoot);return w};var d=_interopRequireDefault(i("1XBD"));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function makeMappingKey(t){return(0,l.default)([t.line,t.columnStart])}function buildMappingData(t){var r=new d.default.SourceMapConsumer((0,o.default)({},t,{sourceRoot:null})),i=new p.default,l=new p.default,u=null;return r.computeColumnSpans(),r.eachMapping((function(t){if(null!==t.originalLine){var a=i.get(t.source);a||(a={path:t.source,content:r.sourceContentFor(t.source,!0)},i.set(t.source,a));var o=l.get(a);o||(o={source:a,mappings:[]},l.set(a,o));var p={line:t.originalLine,columnStart:t.originalColumn,columnEnd:1/0,name:t.name};u&&u.source===a&&u.mapping.line===t.originalLine&&(u.mapping.columnEnd=t.originalColumn),u={source:a,mapping:p},o.mappings.push({original:p,generated:r.allGeneratedPositionsFor({source:t.source,line:t.originalLine,column:t.originalColumn}).map((function(t){return{line:t.line,columnStart:t.column,columnEnd:t.lastColumn+1}}))})}}),null,d.default.SourceMapConsumer.ORIGINAL_ORDER),{file:t.file,sourceRoot:t.sourceRoot,sources:(0,a.default)(l.values())}}t.exports=r.default},"49gG":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function isPlaceholderType(t,r){if(t===r)return!0;const i=a.PLACEHOLDERS_ALIAS[t];if(i)for(const t of i)if(r===t)return!0;return!1};var a=i("uXiX")},"49sm":function(t,r){var i={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==i.call(t)}},"4E18":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function isCompatTag(t){return!!t&&/^[a-z]/.test(t)}},"4EoR":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=i("TzgN"),o=(0,a.__importDefault)(i("P+JS")),l=(0,a.__importDefault)(i("pzeL")),u=(0,a.__importDefault)(i("QbqP")),p=(0,a.__importDefault)(i("Ccio"));r.default=function default_1(t){t.use(o.default),t.use(l.default);var r=t.use(u.default),i=r.Type.def,a=r.Type.or,d=t.use(p.default).defaults;i("Flow").bases("Node"),i("FlowType").bases("Flow"),i("AnyTypeAnnotation").bases("FlowType").build(),i("EmptyTypeAnnotation").bases("FlowType").build(),i("MixedTypeAnnotation").bases("FlowType").build(),i("VoidTypeAnnotation").bases("FlowType").build(),i("SymbolTypeAnnotation").bases("FlowType").build(),i("NumberTypeAnnotation").bases("FlowType").build(),i("BigIntTypeAnnotation").bases("FlowType").build(),i("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),i("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),i("BigIntLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",null).field("raw",String),i("StringTypeAnnotation").bases("FlowType").build(),i("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String),i("BooleanTypeAnnotation").bases("FlowType").build(),i("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String),i("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",i("FlowType")),i("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",i("FlowType")),i("NullLiteralTypeAnnotation").bases("FlowType").build(),i("NullTypeAnnotation").bases("FlowType").build(),i("ThisTypeAnnotation").bases("FlowType").build(),i("ExistsTypeAnnotation").bases("FlowType").build(),i("ExistentialTypeParam").bases("FlowType").build(),i("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[i("FunctionTypeParam")]).field("returnType",i("FlowType")).field("rest",a(i("FunctionTypeParam"),null)).field("typeParameters",a(i("TypeParameterDeclaration"),null)),i("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",a(i("Identifier"),null)).field("typeAnnotation",i("FlowType")).field("optional",Boolean),i("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",i("FlowType")),i("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[a(i("ObjectTypeProperty"),i("ObjectTypeSpreadProperty"))]).field("indexers",[i("ObjectTypeIndexer")],d.emptyArray).field("callProperties",[i("ObjectTypeCallProperty")],d.emptyArray).field("inexact",a(Boolean,void 0),d[void 0]).field("exact",Boolean,d.false).field("internalSlots",[i("ObjectTypeInternalSlot")],d.emptyArray),i("Variance").bases("Node").build("kind").field("kind",a("plus","minus"));var h=a(i("Variance"),"plus","minus",null);i("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",a(i("Literal"),i("Identifier"))).field("value",i("FlowType")).field("optional",Boolean).field("variance",h,d.null),i("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",i("Identifier")).field("key",i("FlowType")).field("value",i("FlowType")).field("variance",h,d.null).field("static",Boolean,d.false),i("ObjectTypeCallProperty").bases("Node").build("value").field("value",i("FunctionTypeAnnotation")).field("static",Boolean,d.false),i("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",a(i("Identifier"),i("QualifiedTypeIdentifier"))).field("id",i("Identifier")),i("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",a(i("Identifier"),i("QualifiedTypeIdentifier"))).field("typeParameters",a(i("TypeParameterInstantiation"),null)),i("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",i("Identifier")).field("property",a(i("MemberTypeAnnotation"),i("GenericTypeAnnotation"))),i("IndexedAccessType").bases("FlowType").build("objectType","indexType").field("objectType",i("FlowType")).field("indexType",i("FlowType")),i("OptionalIndexedAccessType").bases("FlowType").build("objectType","indexType","optional").field("objectType",i("FlowType")).field("indexType",i("FlowType")).field("optional",Boolean),i("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[i("FlowType")]),i("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[i("FlowType")]),i("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",i("FlowType")),i("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",i("FlowType")),i("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",i("Identifier")).field("value",i("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean),i("TypeParameterDeclaration").bases("Node").build("params").field("params",[i("TypeParameter")]),i("TypeParameterInstantiation").bases("Node").build("params").field("params",[i("FlowType")]),i("TypeParameter").bases("FlowType").build("name","variance","bound","default").field("name",String).field("variance",h,d.null).field("bound",a(i("TypeAnnotation"),null),d.null).field("default",a(i("FlowType"),null),d.null),i("ClassProperty").field("variance",h,d.null),i("ClassImplements").bases("Node").build("id").field("id",i("Identifier")).field("superClass",a(i("Expression"),null),d.null).field("typeParameters",a(i("TypeParameterInstantiation"),null),d.null),i("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",i("ObjectTypeAnnotation")).field("extends",a([i("InterfaceExtends")],null),d.null),i("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",i("Identifier")).field("typeParameters",a(i("TypeParameterDeclaration"),null),d.null).field("body",i("ObjectTypeAnnotation")).field("extends",[i("InterfaceExtends")]),i("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends"),i("InterfaceExtends").bases("Node").build("id").field("id",i("Identifier")).field("typeParameters",a(i("TypeParameterInstantiation"),null),d.null),i("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",i("Identifier")).field("typeParameters",a(i("TypeParameterDeclaration"),null)).field("right",i("FlowType")),i("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right"),i("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",i("Identifier")).field("typeParameters",a(i("TypeParameterDeclaration"),null)).field("impltype",i("FlowType")).field("supertype",a(i("FlowType"),null)),i("DeclareOpaqueType").bases("OpaqueType").build("id","typeParameters","supertype").field("impltype",a(i("FlowType"),null)),i("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",i("Expression")).field("typeAnnotation",i("TypeAnnotation")),i("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[i("FlowType")]),i("DeclareVariable").bases("Statement").build("id").field("id",i("Identifier")),i("DeclareFunction").bases("Statement").build("id").field("id",i("Identifier")).field("predicate",a(i("FlowPredicate"),null),d.null),i("DeclareClass").bases("InterfaceDeclaration").build("id"),i("DeclareModule").bases("Statement").build("id","body").field("id",a(i("Identifier"),i("Literal"))).field("body",i("BlockStatement")),i("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",i("TypeAnnotation")),i("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",a(i("DeclareVariable"),i("DeclareFunction"),i("DeclareClass"),i("FlowType"),i("TypeAlias"),i("DeclareOpaqueType"),i("InterfaceDeclaration"),null)).field("specifiers",[a(i("ExportSpecifier"),i("ExportBatchSpecifier"))],d.emptyArray).field("source",a(i("Literal"),null),d.null),i("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",a(i("Literal"),null),d.null),i("ImportDeclaration").field("importKind",a("value","type","typeof"),(function(){return"value"})),i("FlowPredicate").bases("Flow"),i("InferredPredicate").bases("FlowPredicate").build(),i("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",i("Expression")),i("Function").field("predicate",a(i("FlowPredicate"),null),d.null),i("CallExpression").field("typeArguments",a(null,i("TypeParameterInstantiation")),d.null),i("NewExpression").field("typeArguments",a(null,i("TypeParameterInstantiation")),d.null),i("EnumDeclaration").bases("Declaration").build("id","body").field("id",i("Identifier")).field("body",a(i("EnumBooleanBody"),i("EnumNumberBody"),i("EnumStringBody"),i("EnumSymbolBody"))),i("EnumBooleanBody").build("members","explicitType").field("members",[i("EnumBooleanMember")]).field("explicitType",Boolean),i("EnumNumberBody").build("members","explicitType").field("members",[i("EnumNumberMember")]).field("explicitType",Boolean),i("EnumStringBody").build("members","explicitType").field("members",a([i("EnumStringMember")],[i("EnumDefaultedMember")])).field("explicitType",Boolean),i("EnumSymbolBody").build("members").field("members",[i("EnumDefaultedMember")]),i("EnumBooleanMember").build("id","init").field("id",i("Identifier")).field("init",a(i("Literal"),Boolean)),i("EnumNumberMember").build("id","init").field("id",i("Identifier")).field("init",i("Literal")),i("EnumStringMember").build("id","init").field("id",i("Identifier")).field("init",i("Literal")),i("EnumDefaultedMember").build("id").field("id",i("Identifier"))},t.exports=r.default},"4JQ2":function(t,r,i){"use strict";(function(r){const a=i("oxjq"),o=i("ijAY"),l=i("5e9W").stdout,u=i("2xV5"),p="win32"===r.platform&&!(r.env.TERM||"").toLowerCase().startsWith("xterm"),d=["ansi","ansi","ansi256","ansi16m"],h=new Set(["gray"]),m=Object.create(null);function applyOptions(t,r){r=r||{};const i=l?l.level:0;t.level=void 0===r.level?i:r.level,t.enabled="enabled"in r?r.enabled:t.level>0}function Chalk(t){if(!this||!(this instanceof Chalk)||this.template){const r={};return applyOptions(r,t),r.template=function(){const t=[].slice.call(arguments);return chalkTag.apply(null,[r.template].concat(t))},Object.setPrototypeOf(r,Chalk.prototype),Object.setPrototypeOf(r.template,r),r.template.constructor=Chalk,r.template}applyOptions(this,t)}p&&(o.blue.open="");for(const t of Object.keys(o))o[t].closeRe=new RegExp(a(o[t].close),"g"),m[t]={get(){const r=o[t];return build.call(this,this._styles?this._styles.concat(r):[r],this._empty,t)}};m.visible={get(){return build.call(this,this._styles||[],!0,"visible")}},o.color.closeRe=new RegExp(a(o.color.close),"g");for(const t of Object.keys(o.color.ansi))h.has(t)||(m[t]={get(){const r=this.level;return function(){const i=o.color[d[r]][t].apply(null,arguments),a={open:i,close:o.color.close,closeRe:o.color.closeRe};return build.call(this,this._styles?this._styles.concat(a):[a],this._empty,t)}}});o.bgColor.closeRe=new RegExp(a(o.bgColor.close),"g");for(const t of Object.keys(o.bgColor.ansi)){if(h.has(t))continue;m["bg"+t[0].toUpperCase()+t.slice(1)]={get(){const r=this.level;return function(){const i=o.bgColor[d[r]][t].apply(null,arguments),a={open:i,close:o.bgColor.close,closeRe:o.bgColor.closeRe};return build.call(this,this._styles?this._styles.concat(a):[a],this._empty,t)}}}}const y=Object.defineProperties(()=>{},m);function build(t,r,i){const builder=function(){return applyStyle.apply(builder,arguments)};builder._styles=t,builder._empty=r;const a=this;return Object.defineProperty(builder,"level",{enumerable:!0,get:()=>a.level,set(t){a.level=t}}),Object.defineProperty(builder,"enabled",{enumerable:!0,get:()=>a.enabled,set(t){a.enabled=t}}),builder.hasGrey=this.hasGrey||"gray"===i||"grey"===i,builder.__proto__=y,builder}function applyStyle(){const t=arguments,r=t.length;let i=String(arguments[0]);if(0===r)return"";if(r>1)for(let a=1;a1&&void 0!==arguments[1]?arguments[1]:SyntaxError;return this.hub.file.buildCodeFrameError(this.node,t,r)},NodePath.prototype.traverse=function traverse(t,r){(0,d.default)(this.node,t,this.scope,r,this)},NodePath.prototype.mark=function mark(t,r){this.hub.file.metadata.marked.push({type:t,message:r,loc:this.node.loc})},NodePath.prototype.set=function set(t,r){y.validate(this.node,t,r),this.node[t]=r},NodePath.prototype.getPathLocation=function getPathLocation(){var t=[],r=this;do{var i=r.key;r.inList&&(i=r.listKey+"["+i+"]"),t.unshift(i)}while(r=r.parentPath);return t.join(".")},NodePath.prototype.debug=function debug(t){v.enabled&&v(this.getPathLocation()+" "+this.type+": "+t())},NodePath}();r.default=b,(0,h.default)(b.prototype,i("w2N3")),(0,h.default)(b.prototype,i("BpC/")),(0,h.default)(b.prototype,i("n6fG")),(0,h.default)(b.prototype,i("4m2S")),(0,h.default)(b.prototype,i("6geb")),(0,h.default)(b.prototype,i("sEx/")),(0,h.default)(b.prototype,i("prLX")),(0,h.default)(b.prototype,i("hlvS")),(0,h.default)(b.prototype,i("YzEp")),(0,h.default)(b.prototype,i("UdIo")),(0,h.default)(b.prototype,i("ZiuE"));var x=function _loop2(){if(S){if(T>=E.length)return"break";A=E[T++]}else{if((T=E.next()).done)return"break";A=T.value}var t=A,r="is"+t;b.prototype[r]=function(t){return y[r](this.node,t)},b.prototype["assert"+t]=function(i){if(!this[r](i))throw new TypeError("Expected node path of type "+t)}},E=y.TYPES,S=Array.isArray(E),T=0;for(E=S?E:(0,a.default)(E);;){var A;if("break"===x())break}var P=function _loop(t){if("_"===t[0])return"continue";y.TYPES.indexOf(t)<0&&y.TYPES.push(t);var r=l[t];b.prototype["is"+t]=function(t){return r.checkPath(this,t)}};for(var C in l)P(C);t.exports=r.default},"4Q70":function(t,r,i){"use strict";var a=i("w1AT"),o=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}(a);(0,o.default)("AnyTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow"],fields:{}}),(0,o.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("BooleanLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,o.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,o.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed"],aliases:["Property"],fields:{computed:{validate:(0,a.assertValueType)("boolean"),default:!1}}}),(0,o.default)("DeclareClass",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareInterface",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareModule",{visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("ExistentialTypeParam",{aliases:["Flow"]}),(0,o.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow"],fields:{}}),(0,o.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{}}),(0,o.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,o.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{}}),(0,o.default)("InterfaceDeclaration",{visitor:["id","typeParameters","extends","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,o.default)("MixedTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"]}),(0,o.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"]}),(0,o.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow"],fields:{}}),(0,o.default)("NumericLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,o.default)("NumberTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("StringLiteralTypeAnnotation",{aliases:["Flow"],fields:{}}),(0,o.default)("StringTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("ThisTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}}),(0,o.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,o.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow"],fields:{}}),(0,o.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("OpaqueType",{visitor:["id","typeParameters","impltype","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{}}),(0,o.default)("TypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow"],fields:{}}),(0,o.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{}}),(0,o.default)("TypeParameter",{visitor:["bound"],aliases:["Flow"],fields:{}}),(0,o.default)("TypeParameterDeclaration",{visitor:["params"],aliases:["Flow"],fields:{}}),(0,o.default)("TypeParameterInstantiation",{visitor:["params"],aliases:["Flow"],fields:{}}),(0,o.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties"],aliases:["Flow"],fields:{}}),(0,o.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,o.default)("ObjectTypeIndexer",{visitor:["id","key","value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,o.default)("ObjectTypeProperty",{visitor:["key","value"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,o.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{}}),(0,o.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{}}),(0,o.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow"],fields:{}}),(0,o.default)("VoidTypeAnnotation",{aliases:["Flow","FlowBaseAnnotation"],fields:{}})},"4Req":function(t,r,i){"use strict";r.__esModule=!0,r.default=function(t){var r={};function isAssignment(r){return r&&r.operator===t.operator+"="}function buildAssignment(t,r){return o.assignmentExpression("=",t,r)}return r.ExpressionStatement=function(r,i){if(!r.isCompletionRecord()){var l=r.node.expression;if(isAssignment(l)){var u=[],p=(0,a.default)(l.left,u,i,r.scope,!0);u.push(o.expressionStatement(buildAssignment(p.ref,t.build(p.uid,l.right)))),r.replaceWithMultiple(u)}}},r.AssignmentExpression=function(r,i){var o=r.node,l=r.scope;if(isAssignment(o)){var u=[],p=(0,a.default)(o.left,u,i,l);u.push(buildAssignment(p.ref,t.build(p.uid,o.right))),r.replaceWithMultiple(u)}},r.BinaryExpression=function(r){var i=r.node;i.operator===t.operator&&r.replaceWith(t.build(i.left,i.right))},r};var a=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}(i("oOOA")),o=function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r.default=t,r}(i("KCzW"));t.exports=r.default},"4YHb":function(t,r,i){"use strict";r.__esModule=!0,r.visitor=void 0;var a=function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r.default=t,r}(i("KCzW"));function buildTDZAssert(t,r){return a.callExpression(r.addHelper("temporalRef"),[t,a.stringLiteral(t.name),r.addHelper("temporalUndefined")])}function isReference(t,r,i){var a=i.letReferences[t.name];return!!a&&r.getBindingIdentifier(t.name)===a}r.visitor={ReferencedIdentifier:function ReferencedIdentifier(t,r){if(this.file.opts.tdz){var i=t.node,o=t.parent,l=t.scope;if(!t.parentPath.isFor({left:i})&&isReference(i,l,r)){var u=l.getBinding(i.name).path,p=function getTDZStatus(t,r){var i=r._guessExecutionStatusRelativeTo(t);return"before"===i?"inside":"after"===i?"outside":"maybe"}(t,u);if("inside"!==p)if("maybe"===p){var d=buildTDZAssert(i,r.file);if(u.parent._tdzThis=!0,t.skip(),t.parentPath.isUpdateExpression()){if(o._ignoreBlockScopingTDZ)return;t.parentPath.replaceWith(a.sequenceExpression([d,o]))}else t.replaceWith(d)}else"outside"===p&&t.replaceWith(a.throwStatement(a.inherits(a.newExpression(a.identifier("ReferenceError"),[a.stringLiteral(i.name+" is not defined - temporal dead zone")]),i)))}}},AssignmentExpression:{exit:function exit(t,r){if(this.file.opts.tdz){var i=t.node;if(!i._ignoreBlockScopingTDZ){var o=[],l=t.getBindingIdentifiers();for(var u in l){var p=l[u];isReference(p,t.scope,r)&&o.push(buildTDZAssert(p,r.file))}o.length&&(i._ignoreBlockScopingTDZ=!0,o.push(i),t.replaceWithMultiple(o.map(a.expressionStatement)))}}}}}},"4c9J":function(t,r,i){var a=i("bWtx");r.encode=function base64VLQ_encode(t){var r,i="",o=function toVLQSigned(t){return t<0?1+(-t<<1):0+(t<<1)}(t);do{r=31&o,(o>>>=5)>0&&(r|=32),i+=a.encode(r)}while(o>0);return i},r.decode=function base64VLQ_decode(t,r,i){var o,l,u=t.length,p=0,d=0;do{if(r>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(l=a.decode(t.charCodeAt(r++))))throw new Error("Invalid base64 digit: "+t.charAt(r-1));o=!!(32&l),p+=(l&=31)<>1;return 1==(1&t)?-r:r}(p),i.rest=r}},"4kuk":function(t,r,i){var a=i("SfRM"),o=i("Hvzi"),l=i("u8Dt"),u=i("ekgI"),p=i("JSQU");function Hash(t){var r=-1,i=null==t?0:t.length;for(this.clear();++rt.toString()),a})),a[o]=l)}return a}function ensureCallbackArrays(t){t.enter&&!Array.isArray(t.enter)&&(t.enter=[t.enter]),t.exit&&!Array.isArray(t.exit)&&(t.exit=[t.exit])}function wrapCheck(t,r){const newFn=function(i){if(t.checkPath(i))return r.apply(this,arguments)};return newFn.toString=()=>r.toString(),newFn}function shouldIgnoreKey(t){return"_"===t[0]||("enter"===t||"exit"===t||"shouldSkip"===t||("denylist"===t||"noScope"===t||"skipKeys"===t||"blacklist"===t))}function mergePair(t,r){for(const i of Object.keys(r))t[i]=[].concat(t[i]||[],r[i])}},"4m2S":function(t,r,i){"use strict";(function(t){r.__esModule=!0;var a=_interopRequireDefault(i("EJiy")),o=_interopRequireDefault(i("FyfS")),l=_interopRequireDefault(i("ODRq"));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}r.evaluateTruthy=function evaluateTruthy(){var t=this.evaluate();if(t.confident)return!!t.value},r.evaluate=function evaluate(){var r=!0,i=void 0,d=new l.default;function deopt(t){r&&(i=t,r=!1)}var h=evaluate(this);r||(h=void 0);return{confident:r,deopt:i,value:h};function evaluate(i){var l=i.node;if(d.has(l)){var h=d.get(l);return h.resolved?h.value:void deopt(i)}var m={resolved:!1};d.set(l,m);var y=function _evaluate(i){if(!r)return;var l=i.node;if(i.isSequenceExpression()){var d=i.get("expressions");return evaluate(d[d.length-1])}if(i.isStringLiteral()||i.isNumericLiteral()||i.isBooleanLiteral())return l.value;if(i.isNullLiteral())return null;if(i.isTemplateLiteral()){var h="",m=0,y=i.get("expressions"),g=l.quasis,v=Array.isArray(g),b=0;for(g=v?g:(0,o.default)(g);;){var x;if(v){if(b>=g.length)break;x=g[b++]}else{if((b=g.next()).done)break;x=b.value}var E=x;if(!r)break;h+=E.value.cooked;var S=y[m++];S&&(h+=String(evaluate(S)))}if(!r)return;return h}if(i.isConditionalExpression()){var T=evaluate(i.get("test"));if(!r)return;return evaluate(T?i.get("consequent"):i.get("alternate"))}if(i.isExpressionWrapper())return evaluate(i.get("expression"));if(i.isMemberExpression()&&!i.parentPath.isCallExpression({callee:l})){var A=i.get("property"),P=i.get("object");if(P.isLiteral()&&A.isIdentifier()){var C=P.node.value,w=void 0===C?"undefined":(0,a.default)(C);if("number"===w||"string"===w)return C[A.node.name]}}if(i.isReferencedIdentifier()){var D=i.scope.getBinding(l.name);if(D&&D.constantViolations.length>0)return deopt(D.path);if(D&&i.node.start=N.length)break;L=N[M++]}else{if((M=N.next()).done)break;L=M.value}var R=L;if(!(R=R.evaluate()).confident)return deopt(R);O.push(R.value)}return O}if(i.isObjectExpression()){var j={},U=i.get("properties"),V=Array.isArray(U),q=0;for(U=V?U:(0,o.default)(U);;){var W;if(V){if(q>=U.length)break;W=U[q++]}else{if((q=U.next()).done)break;W=q.value}var K=W;if(K.isObjectMethod()||K.isSpreadProperty())return deopt(K);var G=K.get("key"),J=G;if(K.node.computed){if(!(J=J.evaluate()).confident)return deopt(G);J=J.value}else J=J.isIdentifier()?J.node.name:J.node.value;var z=K.get("value"),H=z.evaluate();if(!H.confident)return deopt(z);H=H.value,j[J]=H}return j}if(i.isLogicalExpression()){var X=r,Y=evaluate(i.get("left")),$=r;r=X;var Q=evaluate(i.get("right")),Z=r;switch(r=$&&Z,l.operator){case"||":if(Y&&$)return r=!0,Y;if(!r)return;return Y||Q;case"&&":if((!Y&&$||!Q&&Z)&&(r=!0),!r)return;return Y&&Q}}if(i.isBinaryExpression()){var ee=evaluate(i.get("left"));if(!r)return;var te=evaluate(i.get("right"));if(!r)return;switch(l.operator){case"-":return ee-te;case"+":return ee+te;case"/":return ee/te;case"*":return ee*te;case"%":return ee%te;case"**":return Math.pow(ee,te);case"<":return ee":return ee>te;case"<=":return ee<=te;case">=":return ee>=te;case"==":return ee==te;case"!=":return ee!=te;case"===":return ee===te;case"!==":return ee!==te;case"|":return ee|te;case"&":return ee&te;case"^":return ee^te;case"<<":return ee<>":return ee>>te;case">>>":return ee>>>te}}if(i.isCallExpression()){var re=i.get("callee"),ne=void 0,ie=void 0;if(re.isIdentifier()&&!i.scope.getBinding(re.node.name,!0)&&u.indexOf(re.node.name)>=0&&(ie=t[l.callee.name]),re.isMemberExpression()){var se=re.get("object"),ae=re.get("property");if(se.isIdentifier()&&ae.isIdentifier()&&u.indexOf(se.node.name)>=0&&p.indexOf(ae.node.name)<0&&(ne=t[se.node.name],ie=ne[ae.node.name]),se.isLiteral()&&ae.isIdentifier()){var oe=(0,a.default)(se.node.value);"string"!==oe&&"number"!==oe||(ne=se.node.value,ie=ne[ae.node.name])}}if(ie){var le=i.get("arguments").map(evaluate);if(!r)return;return ie.apply(ne,le)}}deopt(i)}(i);return r&&(m.resolved=!0,m.value=y),y}};var u=["String","Number","Math"],p=["random"]}).call(this,i("yLpj"))},"4qC0":function(t,r,i){var a=i("NykK"),o=i("Z0cm"),l=i("ExA7");t.exports=function isString(t){return"string"==typeof t||!o(t)&&l(t)&&"[object String]"==a(t)}},"4rZi":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.findSuggestion=function findSuggestion(t,r){const i=r.map(r=>function levenshtein(t,r){let i,o,l=[],u=[];const p=t.length,d=r.length;if(!p)return d;if(!d)return p;for(o=0;o<=d;o++)l[o]=o;for(i=1;i<=p;i++){for(u=[i],o=1;o<=d;o++)u[o]=t[i-1]===r[o-1]?l[o-1]:a(l[o-1],l[o],u[o-1])+1;l=u}return u[d]}(r,t));return r[i.indexOf(a(...i))]};const{min:a}=Math},"4sDh":function(t,r,i){var a=i("4uTw"),o=i("03A+"),l=i("Z0cm"),u=i("wJg7"),p=i("shjB"),d=i("9Nap");t.exports=function hasPath(t,r,i){for(var h=-1,m=(r=a(r,t)).length,y=!1;++ht)return!1;if(i+=r[a+1],i>=t)return!0}return!1}function isIdentifierStart(t){return t<65?36===t:t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&l.test(String.fromCharCode(t)):isInAstralSet(t,p)))}function isIdentifierChar(t){return t<48?36===t:t<58||!(t<65)&&(t<=90||(t<97?95===t:t<=122||(t<=65535?t>=170&&u.test(String.fromCharCode(t)):isInAstralSet(t,p)||isInAstralSet(t,d))))}},"4uTw":function(t,r,i){var a=i("Z0cm"),o=i("9ggG"),l=i("GNiM"),u=i("dt0z");t.exports=function castPath(t,r){return a(t)?t:o(t,r)?[t]:l(u(t))}},5:function(t,r){},"5Gr8":function(t,r,i){var a=i("OBhP");t.exports=function cloneDeepWith(t,r){return a(t,5,r="function"==typeof r?r:void 0)}},"5K7Z":function(t,r,i){var a=i("93I4");t.exports=function(t){if(!a(t))throw TypeError(t+" is not an object!");return t}},"5LC0":function(t,r){function swap(t,r,i){var a=t[r];t[r]=t[i],t[i]=a}function doQuickSort(t,r,i,a){if(id;)a(p,i=r[d++])&&(~l(h,i)||h.push(i));return h}},"5xRZ":function(t,r,i){"use strict";r.__esModule=!0;var a=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}(i("FyfS"));r.default=function(){return{visitor:{Program:function Program(t,r){if(!1!==r.opts.strict&&!1!==r.opts.strictMode){var i=t.node.directives,l=Array.isArray(i),u=0;for(i=l?i:(0,a.default)(i);;){var p;if(l){if(u>=i.length)break;p=i[u++]}else{if((u=i.next()).done)break;p=u.value}if("use strict"===p.value.value)return}t.unshiftContainer("directives",o.directive(o.directiveLiteral("use strict")))}}}}};var o=function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r.default=t,r}(i("KCzW"));t.exports=r.default},"5xxw":function(t,r,i){"use strict";(function(a){r.__esModule=!0,r.default=function resolvePreset(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.cwd();return(0,o.default)((0,l.default)(t),r)};var o=_interopRequireDefault(i("Vbzx")),l=_interopRequireDefault(i("Q9ek"));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}t.exports=r.default}).call(this,i("8oxB"))},"6/1s":function(t,r,i){var a=i("YqAc")("meta"),o=i("93I4"),l=i("B+OT"),u=i("2faE").f,p=0,d=Object.isExtensible||function(){return!0},h=!i("KUxP")((function(){return d(Object.preventExtensions({}))})),setMeta=function(t){u(t,a,{value:{i:"O"+ ++p,w:{}}})},m=t.exports={KEY:a,NEED:!1,fastKey:function(t,r){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!l(t,a)){if(!d(t))return"F";if(!r)return"E";setMeta(t)}return t[a].i},getWeak:function(t,r){if(!l(t,a)){if(!d(t))return!0;if(!r)return!1;setMeta(t)}return t[a].w},onFreeze:function(t){return h&&m.NEED&&d(t)&&!l(t,a)&&setMeta(t),t}}},"61uC":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.anyTypeAnnotation=function anyTypeAnnotation(){return{type:"AnyTypeAnnotation"}},r.argumentPlaceholder=function argumentPlaceholder(){return{type:"ArgumentPlaceholder"}},r.arrayExpression=function arrayExpression(t=[]){return(0,a.default)({type:"ArrayExpression",elements:t})},r.arrayPattern=function arrayPattern(t){return(0,a.default)({type:"ArrayPattern",elements:t})},r.arrayTypeAnnotation=function arrayTypeAnnotation(t){return(0,a.default)({type:"ArrayTypeAnnotation",elementType:t})},r.arrowFunctionExpression=function arrowFunctionExpression(t,r,i=!1){return(0,a.default)({type:"ArrowFunctionExpression",params:t,body:r,async:i,expression:null})},r.assignmentExpression=function assignmentExpression(t,r,i){return(0,a.default)({type:"AssignmentExpression",operator:t,left:r,right:i})},r.assignmentPattern=function assignmentPattern(t,r){return(0,a.default)({type:"AssignmentPattern",left:t,right:r})},r.awaitExpression=function awaitExpression(t){return(0,a.default)({type:"AwaitExpression",argument:t})},r.bigIntLiteral=function bigIntLiteral(t){return(0,a.default)({type:"BigIntLiteral",value:t})},r.binaryExpression=function binaryExpression(t,r,i){return(0,a.default)({type:"BinaryExpression",operator:t,left:r,right:i})},r.bindExpression=function bindExpression(t,r){return(0,a.default)({type:"BindExpression",object:t,callee:r})},r.blockStatement=function blockStatement(t,r=[]){return(0,a.default)({type:"BlockStatement",body:t,directives:r})},r.booleanLiteral=function booleanLiteral(t){return(0,a.default)({type:"BooleanLiteral",value:t})},r.booleanLiteralTypeAnnotation=function booleanLiteralTypeAnnotation(t){return(0,a.default)({type:"BooleanLiteralTypeAnnotation",value:t})},r.booleanTypeAnnotation=function booleanTypeAnnotation(){return{type:"BooleanTypeAnnotation"}},r.breakStatement=function breakStatement(t=null){return(0,a.default)({type:"BreakStatement",label:t})},r.callExpression=function callExpression(t,r){return(0,a.default)({type:"CallExpression",callee:t,arguments:r})},r.catchClause=function catchClause(t=null,r){return(0,a.default)({type:"CatchClause",param:t,body:r})},r.classAccessorProperty=function classAccessorProperty(t,r=null,i=null,o=null,l=!1,u=!1){return(0,a.default)({type:"ClassAccessorProperty",key:t,value:r,typeAnnotation:i,decorators:o,computed:l,static:u})},r.classBody=function classBody(t){return(0,a.default)({type:"ClassBody",body:t})},r.classDeclaration=function classDeclaration(t,r=null,i,o=null){return(0,a.default)({type:"ClassDeclaration",id:t,superClass:r,body:i,decorators:o})},r.classExpression=function classExpression(t=null,r=null,i,o=null){return(0,a.default)({type:"ClassExpression",id:t,superClass:r,body:i,decorators:o})},r.classImplements=function classImplements(t,r=null){return(0,a.default)({type:"ClassImplements",id:t,typeParameters:r})},r.classMethod=function classMethod(t="method",r,i,o,l=!1,u=!1,p=!1,d=!1){return(0,a.default)({type:"ClassMethod",kind:t,key:r,params:i,body:o,computed:l,static:u,generator:p,async:d})},r.classPrivateMethod=function classPrivateMethod(t="method",r,i,o,l=!1){return(0,a.default)({type:"ClassPrivateMethod",kind:t,key:r,params:i,body:o,static:l})},r.classPrivateProperty=function classPrivateProperty(t,r=null,i=null,o){return(0,a.default)({type:"ClassPrivateProperty",key:t,value:r,decorators:i,static:o})},r.classProperty=function classProperty(t,r=null,i=null,o=null,l=!1,u=!1){return(0,a.default)({type:"ClassProperty",key:t,value:r,typeAnnotation:i,decorators:o,computed:l,static:u})},r.conditionalExpression=function conditionalExpression(t,r,i){return(0,a.default)({type:"ConditionalExpression",test:t,consequent:r,alternate:i})},r.continueStatement=function continueStatement(t=null){return(0,a.default)({type:"ContinueStatement",label:t})},r.debuggerStatement=function debuggerStatement(){return{type:"DebuggerStatement"}},r.decimalLiteral=function decimalLiteral(t){return(0,a.default)({type:"DecimalLiteral",value:t})},r.declareClass=function declareClass(t,r=null,i=null,o){return(0,a.default)({type:"DeclareClass",id:t,typeParameters:r,extends:i,body:o})},r.declareExportAllDeclaration=function declareExportAllDeclaration(t){return(0,a.default)({type:"DeclareExportAllDeclaration",source:t})},r.declareExportDeclaration=function declareExportDeclaration(t=null,r=null,i=null){return(0,a.default)({type:"DeclareExportDeclaration",declaration:t,specifiers:r,source:i})},r.declareFunction=function declareFunction(t){return(0,a.default)({type:"DeclareFunction",id:t})},r.declareInterface=function declareInterface(t,r=null,i=null,o){return(0,a.default)({type:"DeclareInterface",id:t,typeParameters:r,extends:i,body:o})},r.declareModule=function declareModule(t,r,i=null){return(0,a.default)({type:"DeclareModule",id:t,body:r,kind:i})},r.declareModuleExports=function declareModuleExports(t){return(0,a.default)({type:"DeclareModuleExports",typeAnnotation:t})},r.declareOpaqueType=function declareOpaqueType(t,r=null,i=null){return(0,a.default)({type:"DeclareOpaqueType",id:t,typeParameters:r,supertype:i})},r.declareTypeAlias=function declareTypeAlias(t,r=null,i){return(0,a.default)({type:"DeclareTypeAlias",id:t,typeParameters:r,right:i})},r.declareVariable=function declareVariable(t){return(0,a.default)({type:"DeclareVariable",id:t})},r.declaredPredicate=function declaredPredicate(t){return(0,a.default)({type:"DeclaredPredicate",value:t})},r.decorator=function decorator(t){return(0,a.default)({type:"Decorator",expression:t})},r.directive=function directive(t){return(0,a.default)({type:"Directive",value:t})},r.directiveLiteral=function directiveLiteral(t){return(0,a.default)({type:"DirectiveLiteral",value:t})},r.doExpression=function doExpression(t,r=!1){return(0,a.default)({type:"DoExpression",body:t,async:r})},r.doWhileStatement=function doWhileStatement(t,r){return(0,a.default)({type:"DoWhileStatement",test:t,body:r})},r.emptyStatement=function emptyStatement(){return{type:"EmptyStatement"}},r.emptyTypeAnnotation=function emptyTypeAnnotation(){return{type:"EmptyTypeAnnotation"}},r.enumBooleanBody=function enumBooleanBody(t){return(0,a.default)({type:"EnumBooleanBody",members:t,explicitType:null,hasUnknownMembers:null})},r.enumBooleanMember=function enumBooleanMember(t){return(0,a.default)({type:"EnumBooleanMember",id:t,init:null})},r.enumDeclaration=function enumDeclaration(t,r){return(0,a.default)({type:"EnumDeclaration",id:t,body:r})},r.enumDefaultedMember=function enumDefaultedMember(t){return(0,a.default)({type:"EnumDefaultedMember",id:t})},r.enumNumberBody=function enumNumberBody(t){return(0,a.default)({type:"EnumNumberBody",members:t,explicitType:null,hasUnknownMembers:null})},r.enumNumberMember=function enumNumberMember(t,r){return(0,a.default)({type:"EnumNumberMember",id:t,init:r})},r.enumStringBody=function enumStringBody(t){return(0,a.default)({type:"EnumStringBody",members:t,explicitType:null,hasUnknownMembers:null})},r.enumStringMember=function enumStringMember(t,r){return(0,a.default)({type:"EnumStringMember",id:t,init:r})},r.enumSymbolBody=function enumSymbolBody(t){return(0,a.default)({type:"EnumSymbolBody",members:t,hasUnknownMembers:null})},r.existsTypeAnnotation=function existsTypeAnnotation(){return{type:"ExistsTypeAnnotation"}},r.exportAllDeclaration=function exportAllDeclaration(t){return(0,a.default)({type:"ExportAllDeclaration",source:t})},r.exportDefaultDeclaration=function exportDefaultDeclaration(t){return(0,a.default)({type:"ExportDefaultDeclaration",declaration:t})},r.exportDefaultSpecifier=function exportDefaultSpecifier(t){return(0,a.default)({type:"ExportDefaultSpecifier",exported:t})},r.exportNamedDeclaration=function exportNamedDeclaration(t=null,r=[],i=null){return(0,a.default)({type:"ExportNamedDeclaration",declaration:t,specifiers:r,source:i})},r.exportNamespaceSpecifier=function exportNamespaceSpecifier(t){return(0,a.default)({type:"ExportNamespaceSpecifier",exported:t})},r.exportSpecifier=function exportSpecifier(t,r){return(0,a.default)({type:"ExportSpecifier",local:t,exported:r})},r.expressionStatement=function expressionStatement(t){return(0,a.default)({type:"ExpressionStatement",expression:t})},r.file=function file(t,r=null,i=null){return(0,a.default)({type:"File",program:t,comments:r,tokens:i})},r.forInStatement=function forInStatement(t,r,i){return(0,a.default)({type:"ForInStatement",left:t,right:r,body:i})},r.forOfStatement=function forOfStatement(t,r,i,o=!1){return(0,a.default)({type:"ForOfStatement",left:t,right:r,body:i,await:o})},r.forStatement=function forStatement(t=null,r=null,i=null,o){return(0,a.default)({type:"ForStatement",init:t,test:r,update:i,body:o})},r.functionDeclaration=function functionDeclaration(t=null,r,i,o=!1,l=!1){return(0,a.default)({type:"FunctionDeclaration",id:t,params:r,body:i,generator:o,async:l})},r.functionExpression=function functionExpression(t=null,r,i,o=!1,l=!1){return(0,a.default)({type:"FunctionExpression",id:t,params:r,body:i,generator:o,async:l})},r.functionTypeAnnotation=function functionTypeAnnotation(t=null,r,i=null,o){return(0,a.default)({type:"FunctionTypeAnnotation",typeParameters:t,params:r,rest:i,returnType:o})},r.functionTypeParam=function functionTypeParam(t=null,r){return(0,a.default)({type:"FunctionTypeParam",name:t,typeAnnotation:r})},r.genericTypeAnnotation=function genericTypeAnnotation(t,r=null){return(0,a.default)({type:"GenericTypeAnnotation",id:t,typeParameters:r})},r.identifier=function identifier(t){return(0,a.default)({type:"Identifier",name:t})},r.ifStatement=function ifStatement(t,r,i=null){return(0,a.default)({type:"IfStatement",test:t,consequent:r,alternate:i})},r.import=function _import(){return{type:"Import"}},r.importAttribute=function importAttribute(t,r){return(0,a.default)({type:"ImportAttribute",key:t,value:r})},r.importDeclaration=function importDeclaration(t,r){return(0,a.default)({type:"ImportDeclaration",specifiers:t,source:r})},r.importDefaultSpecifier=function importDefaultSpecifier(t){return(0,a.default)({type:"ImportDefaultSpecifier",local:t})},r.importNamespaceSpecifier=function importNamespaceSpecifier(t){return(0,a.default)({type:"ImportNamespaceSpecifier",local:t})},r.importSpecifier=function importSpecifier(t,r){return(0,a.default)({type:"ImportSpecifier",local:t,imported:r})},r.indexedAccessType=function indexedAccessType(t,r){return(0,a.default)({type:"IndexedAccessType",objectType:t,indexType:r})},r.inferredPredicate=function inferredPredicate(){return{type:"InferredPredicate"}},r.interfaceDeclaration=function interfaceDeclaration(t,r=null,i=null,o){return(0,a.default)({type:"InterfaceDeclaration",id:t,typeParameters:r,extends:i,body:o})},r.interfaceExtends=function interfaceExtends(t,r=null){return(0,a.default)({type:"InterfaceExtends",id:t,typeParameters:r})},r.interfaceTypeAnnotation=function interfaceTypeAnnotation(t=null,r){return(0,a.default)({type:"InterfaceTypeAnnotation",extends:t,body:r})},r.interpreterDirective=function interpreterDirective(t){return(0,a.default)({type:"InterpreterDirective",value:t})},r.intersectionTypeAnnotation=function intersectionTypeAnnotation(t){return(0,a.default)({type:"IntersectionTypeAnnotation",types:t})},r.jSXAttribute=r.jsxAttribute=function jsxAttribute(t,r=null){return(0,a.default)({type:"JSXAttribute",name:t,value:r})},r.jSXClosingElement=r.jsxClosingElement=function jsxClosingElement(t){return(0,a.default)({type:"JSXClosingElement",name:t})},r.jSXClosingFragment=r.jsxClosingFragment=function jsxClosingFragment(){return{type:"JSXClosingFragment"}},r.jSXElement=r.jsxElement=function jsxElement(t,r=null,i,o=null){return(0,a.default)({type:"JSXElement",openingElement:t,closingElement:r,children:i,selfClosing:o})},r.jSXEmptyExpression=r.jsxEmptyExpression=function jsxEmptyExpression(){return{type:"JSXEmptyExpression"}},r.jSXExpressionContainer=r.jsxExpressionContainer=function jsxExpressionContainer(t){return(0,a.default)({type:"JSXExpressionContainer",expression:t})},r.jSXFragment=r.jsxFragment=function jsxFragment(t,r,i){return(0,a.default)({type:"JSXFragment",openingFragment:t,closingFragment:r,children:i})},r.jSXIdentifier=r.jsxIdentifier=function jsxIdentifier(t){return(0,a.default)({type:"JSXIdentifier",name:t})},r.jSXMemberExpression=r.jsxMemberExpression=function jsxMemberExpression(t,r){return(0,a.default)({type:"JSXMemberExpression",object:t,property:r})},r.jSXNamespacedName=r.jsxNamespacedName=function jsxNamespacedName(t,r){return(0,a.default)({type:"JSXNamespacedName",namespace:t,name:r})},r.jSXOpeningElement=r.jsxOpeningElement=function jsxOpeningElement(t,r,i=!1){return(0,a.default)({type:"JSXOpeningElement",name:t,attributes:r,selfClosing:i})},r.jSXOpeningFragment=r.jsxOpeningFragment=function jsxOpeningFragment(){return{type:"JSXOpeningFragment"}},r.jSXSpreadAttribute=r.jsxSpreadAttribute=function jsxSpreadAttribute(t){return(0,a.default)({type:"JSXSpreadAttribute",argument:t})},r.jSXSpreadChild=r.jsxSpreadChild=function jsxSpreadChild(t){return(0,a.default)({type:"JSXSpreadChild",expression:t})},r.jSXText=r.jsxText=function jsxText(t){return(0,a.default)({type:"JSXText",value:t})},r.labeledStatement=function labeledStatement(t,r){return(0,a.default)({type:"LabeledStatement",label:t,body:r})},r.logicalExpression=function logicalExpression(t,r,i){return(0,a.default)({type:"LogicalExpression",operator:t,left:r,right:i})},r.memberExpression=function memberExpression(t,r,i=!1,o=null){return(0,a.default)({type:"MemberExpression",object:t,property:r,computed:i,optional:o})},r.metaProperty=function metaProperty(t,r){return(0,a.default)({type:"MetaProperty",meta:t,property:r})},r.mixedTypeAnnotation=function mixedTypeAnnotation(){return{type:"MixedTypeAnnotation"}},r.moduleExpression=function moduleExpression(t){return(0,a.default)({type:"ModuleExpression",body:t})},r.newExpression=function newExpression(t,r){return(0,a.default)({type:"NewExpression",callee:t,arguments:r})},r.noop=function noop(){return{type:"Noop"}},r.nullLiteral=function nullLiteral(){return{type:"NullLiteral"}},r.nullLiteralTypeAnnotation=function nullLiteralTypeAnnotation(){return{type:"NullLiteralTypeAnnotation"}},r.nullableTypeAnnotation=function nullableTypeAnnotation(t){return(0,a.default)({type:"NullableTypeAnnotation",typeAnnotation:t})},r.numberLiteral=function NumberLiteral(t){return console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),numericLiteral(t)},r.numberLiteralTypeAnnotation=function numberLiteralTypeAnnotation(t){return(0,a.default)({type:"NumberLiteralTypeAnnotation",value:t})},r.numberTypeAnnotation=function numberTypeAnnotation(){return{type:"NumberTypeAnnotation"}},r.numericLiteral=numericLiteral,r.objectExpression=function objectExpression(t){return(0,a.default)({type:"ObjectExpression",properties:t})},r.objectMethod=function objectMethod(t="method",r,i,o,l=!1,u=!1,p=!1){return(0,a.default)({type:"ObjectMethod",kind:t,key:r,params:i,body:o,computed:l,generator:u,async:p})},r.objectPattern=function objectPattern(t){return(0,a.default)({type:"ObjectPattern",properties:t})},r.objectProperty=function objectProperty(t,r,i=!1,o=!1,l=null){return(0,a.default)({type:"ObjectProperty",key:t,value:r,computed:i,shorthand:o,decorators:l})},r.objectTypeAnnotation=function objectTypeAnnotation(t,r=[],i=[],o=[],l=!1){return(0,a.default)({type:"ObjectTypeAnnotation",properties:t,indexers:r,callProperties:i,internalSlots:o,exact:l})},r.objectTypeCallProperty=function objectTypeCallProperty(t){return(0,a.default)({type:"ObjectTypeCallProperty",value:t,static:null})},r.objectTypeIndexer=function objectTypeIndexer(t=null,r,i,o=null){return(0,a.default)({type:"ObjectTypeIndexer",id:t,key:r,value:i,variance:o,static:null})},r.objectTypeInternalSlot=function objectTypeInternalSlot(t,r,i,o,l){return(0,a.default)({type:"ObjectTypeInternalSlot",id:t,value:r,optional:i,static:o,method:l})},r.objectTypeProperty=function objectTypeProperty(t,r,i=null){return(0,a.default)({type:"ObjectTypeProperty",key:t,value:r,variance:i,kind:null,method:null,optional:null,proto:null,static:null})},r.objectTypeSpreadProperty=function objectTypeSpreadProperty(t){return(0,a.default)({type:"ObjectTypeSpreadProperty",argument:t})},r.opaqueType=function opaqueType(t,r=null,i=null,o){return(0,a.default)({type:"OpaqueType",id:t,typeParameters:r,supertype:i,impltype:o})},r.optionalCallExpression=function optionalCallExpression(t,r,i){return(0,a.default)({type:"OptionalCallExpression",callee:t,arguments:r,optional:i})},r.optionalIndexedAccessType=function optionalIndexedAccessType(t,r){return(0,a.default)({type:"OptionalIndexedAccessType",objectType:t,indexType:r,optional:null})},r.optionalMemberExpression=function optionalMemberExpression(t,r,i=!1,o){return(0,a.default)({type:"OptionalMemberExpression",object:t,property:r,computed:i,optional:o})},r.parenthesizedExpression=function parenthesizedExpression(t){return(0,a.default)({type:"ParenthesizedExpression",expression:t})},r.pipelineBareFunction=function pipelineBareFunction(t){return(0,a.default)({type:"PipelineBareFunction",callee:t})},r.pipelinePrimaryTopicReference=function pipelinePrimaryTopicReference(){return{type:"PipelinePrimaryTopicReference"}},r.pipelineTopicExpression=function pipelineTopicExpression(t){return(0,a.default)({type:"PipelineTopicExpression",expression:t})},r.placeholder=function placeholder(t,r){return(0,a.default)({type:"Placeholder",expectedNode:t,name:r})},r.privateName=function privateName(t){return(0,a.default)({type:"PrivateName",id:t})},r.program=function program(t,r=[],i="script",o=null){return(0,a.default)({type:"Program",body:t,directives:r,sourceType:i,interpreter:o,sourceFile:null})},r.qualifiedTypeIdentifier=function qualifiedTypeIdentifier(t,r){return(0,a.default)({type:"QualifiedTypeIdentifier",id:t,qualification:r})},r.recordExpression=function recordExpression(t){return(0,a.default)({type:"RecordExpression",properties:t})},r.regExpLiteral=regExpLiteral,r.regexLiteral=function RegexLiteral(t,r=""){return console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),regExpLiteral(t,r)},r.restElement=restElement,r.restProperty=function RestProperty(t){return console.trace("The node type RestProperty has been renamed to RestElement"),restElement(t)},r.returnStatement=function returnStatement(t=null){return(0,a.default)({type:"ReturnStatement",argument:t})},r.sequenceExpression=function sequenceExpression(t){return(0,a.default)({type:"SequenceExpression",expressions:t})},r.spreadElement=spreadElement,r.spreadProperty=function SpreadProperty(t){return console.trace("The node type SpreadProperty has been renamed to SpreadElement"),spreadElement(t)},r.staticBlock=function staticBlock(t){return(0,a.default)({type:"StaticBlock",body:t})},r.stringLiteral=function stringLiteral(t){return(0,a.default)({type:"StringLiteral",value:t})},r.stringLiteralTypeAnnotation=function stringLiteralTypeAnnotation(t){return(0,a.default)({type:"StringLiteralTypeAnnotation",value:t})},r.stringTypeAnnotation=function stringTypeAnnotation(){return{type:"StringTypeAnnotation"}},r.super=function _super(){return{type:"Super"}},r.switchCase=function switchCase(t=null,r){return(0,a.default)({type:"SwitchCase",test:t,consequent:r})},r.switchStatement=function switchStatement(t,r){return(0,a.default)({type:"SwitchStatement",discriminant:t,cases:r})},r.symbolTypeAnnotation=function symbolTypeAnnotation(){return{type:"SymbolTypeAnnotation"}},r.taggedTemplateExpression=function taggedTemplateExpression(t,r){return(0,a.default)({type:"TaggedTemplateExpression",tag:t,quasi:r})},r.templateElement=function templateElement(t,r=!1){return(0,a.default)({type:"TemplateElement",value:t,tail:r})},r.templateLiteral=function templateLiteral(t,r){return(0,a.default)({type:"TemplateLiteral",quasis:t,expressions:r})},r.thisExpression=function thisExpression(){return{type:"ThisExpression"}},r.thisTypeAnnotation=function thisTypeAnnotation(){return{type:"ThisTypeAnnotation"}},r.throwStatement=function throwStatement(t){return(0,a.default)({type:"ThrowStatement",argument:t})},r.topicReference=function topicReference(){return{type:"TopicReference"}},r.tryStatement=function tryStatement(t,r=null,i=null){return(0,a.default)({type:"TryStatement",block:t,handler:r,finalizer:i})},r.tSAnyKeyword=r.tsAnyKeyword=function tsAnyKeyword(){return{type:"TSAnyKeyword"}},r.tSArrayType=r.tsArrayType=function tsArrayType(t){return(0,a.default)({type:"TSArrayType",elementType:t})},r.tSAsExpression=r.tsAsExpression=function tsAsExpression(t,r){return(0,a.default)({type:"TSAsExpression",expression:t,typeAnnotation:r})},r.tSBigIntKeyword=r.tsBigIntKeyword=function tsBigIntKeyword(){return{type:"TSBigIntKeyword"}},r.tSBooleanKeyword=r.tsBooleanKeyword=function tsBooleanKeyword(){return{type:"TSBooleanKeyword"}},r.tSCallSignatureDeclaration=r.tsCallSignatureDeclaration=function tsCallSignatureDeclaration(t=null,r,i=null){return(0,a.default)({type:"TSCallSignatureDeclaration",typeParameters:t,parameters:r,typeAnnotation:i})},r.tSConditionalType=r.tsConditionalType=function tsConditionalType(t,r,i,o){return(0,a.default)({type:"TSConditionalType",checkType:t,extendsType:r,trueType:i,falseType:o})},r.tSConstructSignatureDeclaration=r.tsConstructSignatureDeclaration=function tsConstructSignatureDeclaration(t=null,r,i=null){return(0,a.default)({type:"TSConstructSignatureDeclaration",typeParameters:t,parameters:r,typeAnnotation:i})},r.tSConstructorType=r.tsConstructorType=function tsConstructorType(t=null,r,i=null){return(0,a.default)({type:"TSConstructorType",typeParameters:t,parameters:r,typeAnnotation:i})},r.tSDeclareFunction=r.tsDeclareFunction=function tsDeclareFunction(t=null,r=null,i,o=null){return(0,a.default)({type:"TSDeclareFunction",id:t,typeParameters:r,params:i,returnType:o})},r.tSDeclareMethod=r.tsDeclareMethod=function tsDeclareMethod(t=null,r,i=null,o,l=null){return(0,a.default)({type:"TSDeclareMethod",decorators:t,key:r,typeParameters:i,params:o,returnType:l})},r.tSEnumDeclaration=r.tsEnumDeclaration=function tsEnumDeclaration(t,r){return(0,a.default)({type:"TSEnumDeclaration",id:t,members:r})},r.tSEnumMember=r.tsEnumMember=function tsEnumMember(t,r=null){return(0,a.default)({type:"TSEnumMember",id:t,initializer:r})},r.tSExportAssignment=r.tsExportAssignment=function tsExportAssignment(t){return(0,a.default)({type:"TSExportAssignment",expression:t})},r.tSExpressionWithTypeArguments=r.tsExpressionWithTypeArguments=function tsExpressionWithTypeArguments(t,r=null){return(0,a.default)({type:"TSExpressionWithTypeArguments",expression:t,typeParameters:r})},r.tSExternalModuleReference=r.tsExternalModuleReference=function tsExternalModuleReference(t){return(0,a.default)({type:"TSExternalModuleReference",expression:t})},r.tSFunctionType=r.tsFunctionType=function tsFunctionType(t=null,r,i=null){return(0,a.default)({type:"TSFunctionType",typeParameters:t,parameters:r,typeAnnotation:i})},r.tSImportEqualsDeclaration=r.tsImportEqualsDeclaration=function tsImportEqualsDeclaration(t,r){return(0,a.default)({type:"TSImportEqualsDeclaration",id:t,moduleReference:r,isExport:null})},r.tSImportType=r.tsImportType=function tsImportType(t,r=null,i=null){return(0,a.default)({type:"TSImportType",argument:t,qualifier:r,typeParameters:i})},r.tSIndexSignature=r.tsIndexSignature=function tsIndexSignature(t,r=null){return(0,a.default)({type:"TSIndexSignature",parameters:t,typeAnnotation:r})},r.tSIndexedAccessType=r.tsIndexedAccessType=function tsIndexedAccessType(t,r){return(0,a.default)({type:"TSIndexedAccessType",objectType:t,indexType:r})},r.tSInferType=r.tsInferType=function tsInferType(t){return(0,a.default)({type:"TSInferType",typeParameter:t})},r.tSInstantiationExpression=r.tsInstantiationExpression=function tsInstantiationExpression(t,r=null){return(0,a.default)({type:"TSInstantiationExpression",expression:t,typeParameters:r})},r.tSInterfaceBody=r.tsInterfaceBody=function tsInterfaceBody(t){return(0,a.default)({type:"TSInterfaceBody",body:t})},r.tSInterfaceDeclaration=r.tsInterfaceDeclaration=function tsInterfaceDeclaration(t,r=null,i=null,o){return(0,a.default)({type:"TSInterfaceDeclaration",id:t,typeParameters:r,extends:i,body:o})},r.tSIntersectionType=r.tsIntersectionType=function tsIntersectionType(t){return(0,a.default)({type:"TSIntersectionType",types:t})},r.tSIntrinsicKeyword=r.tsIntrinsicKeyword=function tsIntrinsicKeyword(){return{type:"TSIntrinsicKeyword"}},r.tSLiteralType=r.tsLiteralType=function tsLiteralType(t){return(0,a.default)({type:"TSLiteralType",literal:t})},r.tSMappedType=r.tsMappedType=function tsMappedType(t,r=null,i=null){return(0,a.default)({type:"TSMappedType",typeParameter:t,typeAnnotation:r,nameType:i})},r.tSMethodSignature=r.tsMethodSignature=function tsMethodSignature(t,r=null,i,o=null){return(0,a.default)({type:"TSMethodSignature",key:t,typeParameters:r,parameters:i,typeAnnotation:o,kind:null})},r.tSModuleBlock=r.tsModuleBlock=function tsModuleBlock(t){return(0,a.default)({type:"TSModuleBlock",body:t})},r.tSModuleDeclaration=r.tsModuleDeclaration=function tsModuleDeclaration(t,r){return(0,a.default)({type:"TSModuleDeclaration",id:t,body:r})},r.tSNamedTupleMember=r.tsNamedTupleMember=function tsNamedTupleMember(t,r,i=!1){return(0,a.default)({type:"TSNamedTupleMember",label:t,elementType:r,optional:i})},r.tSNamespaceExportDeclaration=r.tsNamespaceExportDeclaration=function tsNamespaceExportDeclaration(t){return(0,a.default)({type:"TSNamespaceExportDeclaration",id:t})},r.tSNeverKeyword=r.tsNeverKeyword=function tsNeverKeyword(){return{type:"TSNeverKeyword"}},r.tSNonNullExpression=r.tsNonNullExpression=function tsNonNullExpression(t){return(0,a.default)({type:"TSNonNullExpression",expression:t})},r.tSNullKeyword=r.tsNullKeyword=function tsNullKeyword(){return{type:"TSNullKeyword"}},r.tSNumberKeyword=r.tsNumberKeyword=function tsNumberKeyword(){return{type:"TSNumberKeyword"}},r.tSObjectKeyword=r.tsObjectKeyword=function tsObjectKeyword(){return{type:"TSObjectKeyword"}},r.tSOptionalType=r.tsOptionalType=function tsOptionalType(t){return(0,a.default)({type:"TSOptionalType",typeAnnotation:t})},r.tSParameterProperty=r.tsParameterProperty=function tsParameterProperty(t){return(0,a.default)({type:"TSParameterProperty",parameter:t})},r.tSParenthesizedType=r.tsParenthesizedType=function tsParenthesizedType(t){return(0,a.default)({type:"TSParenthesizedType",typeAnnotation:t})},r.tSPropertySignature=r.tsPropertySignature=function tsPropertySignature(t,r=null,i=null){return(0,a.default)({type:"TSPropertySignature",key:t,typeAnnotation:r,initializer:i,kind:null})},r.tSQualifiedName=r.tsQualifiedName=function tsQualifiedName(t,r){return(0,a.default)({type:"TSQualifiedName",left:t,right:r})},r.tSRestType=r.tsRestType=function tsRestType(t){return(0,a.default)({type:"TSRestType",typeAnnotation:t})},r.tSStringKeyword=r.tsStringKeyword=function tsStringKeyword(){return{type:"TSStringKeyword"}},r.tSSymbolKeyword=r.tsSymbolKeyword=function tsSymbolKeyword(){return{type:"TSSymbolKeyword"}},r.tSThisType=r.tsThisType=function tsThisType(){return{type:"TSThisType"}},r.tSTupleType=r.tsTupleType=function tsTupleType(t){return(0,a.default)({type:"TSTupleType",elementTypes:t})},r.tSTypeAliasDeclaration=r.tsTypeAliasDeclaration=function tsTypeAliasDeclaration(t,r=null,i){return(0,a.default)({type:"TSTypeAliasDeclaration",id:t,typeParameters:r,typeAnnotation:i})},r.tSTypeAnnotation=r.tsTypeAnnotation=function tsTypeAnnotation(t){return(0,a.default)({type:"TSTypeAnnotation",typeAnnotation:t})},r.tSTypeAssertion=r.tsTypeAssertion=function tsTypeAssertion(t,r){return(0,a.default)({type:"TSTypeAssertion",typeAnnotation:t,expression:r})},r.tSTypeLiteral=r.tsTypeLiteral=function tsTypeLiteral(t){return(0,a.default)({type:"TSTypeLiteral",members:t})},r.tSTypeOperator=r.tsTypeOperator=function tsTypeOperator(t){return(0,a.default)({type:"TSTypeOperator",typeAnnotation:t,operator:null})},r.tSTypeParameter=r.tsTypeParameter=function tsTypeParameter(t=null,r=null,i){return(0,a.default)({type:"TSTypeParameter",constraint:t,default:r,name:i})},r.tSTypeParameterDeclaration=r.tsTypeParameterDeclaration=function tsTypeParameterDeclaration(t){return(0,a.default)({type:"TSTypeParameterDeclaration",params:t})},r.tSTypeParameterInstantiation=r.tsTypeParameterInstantiation=function tsTypeParameterInstantiation(t){return(0,a.default)({type:"TSTypeParameterInstantiation",params:t})},r.tSTypePredicate=r.tsTypePredicate=function tsTypePredicate(t,r=null,i=null){return(0,a.default)({type:"TSTypePredicate",parameterName:t,typeAnnotation:r,asserts:i})},r.tSTypeQuery=r.tsTypeQuery=function tsTypeQuery(t,r=null){return(0,a.default)({type:"TSTypeQuery",exprName:t,typeParameters:r})},r.tSTypeReference=r.tsTypeReference=function tsTypeReference(t,r=null){return(0,a.default)({type:"TSTypeReference",typeName:t,typeParameters:r})},r.tSUndefinedKeyword=r.tsUndefinedKeyword=function tsUndefinedKeyword(){return{type:"TSUndefinedKeyword"}},r.tSUnionType=r.tsUnionType=function tsUnionType(t){return(0,a.default)({type:"TSUnionType",types:t})},r.tSUnknownKeyword=r.tsUnknownKeyword=function tsUnknownKeyword(){return{type:"TSUnknownKeyword"}},r.tSVoidKeyword=r.tsVoidKeyword=function tsVoidKeyword(){return{type:"TSVoidKeyword"}},r.tupleExpression=function tupleExpression(t=[]){return(0,a.default)({type:"TupleExpression",elements:t})},r.tupleTypeAnnotation=function tupleTypeAnnotation(t){return(0,a.default)({type:"TupleTypeAnnotation",types:t})},r.typeAlias=function typeAlias(t,r=null,i){return(0,a.default)({type:"TypeAlias",id:t,typeParameters:r,right:i})},r.typeAnnotation=function typeAnnotation(t){return(0,a.default)({type:"TypeAnnotation",typeAnnotation:t})},r.typeCastExpression=function typeCastExpression(t,r){return(0,a.default)({type:"TypeCastExpression",expression:t,typeAnnotation:r})},r.typeParameter=function typeParameter(t=null,r=null,i=null){return(0,a.default)({type:"TypeParameter",bound:t,default:r,variance:i,name:null})},r.typeParameterDeclaration=function typeParameterDeclaration(t){return(0,a.default)({type:"TypeParameterDeclaration",params:t})},r.typeParameterInstantiation=function typeParameterInstantiation(t){return(0,a.default)({type:"TypeParameterInstantiation",params:t})},r.typeofTypeAnnotation=function typeofTypeAnnotation(t){return(0,a.default)({type:"TypeofTypeAnnotation",argument:t})},r.unaryExpression=function unaryExpression(t,r,i=!0){return(0,a.default)({type:"UnaryExpression",operator:t,argument:r,prefix:i})},r.unionTypeAnnotation=function unionTypeAnnotation(t){return(0,a.default)({type:"UnionTypeAnnotation",types:t})},r.updateExpression=function updateExpression(t,r,i=!1){return(0,a.default)({type:"UpdateExpression",operator:t,argument:r,prefix:i})},r.v8IntrinsicIdentifier=function v8IntrinsicIdentifier(t){return(0,a.default)({type:"V8IntrinsicIdentifier",name:t})},r.variableDeclaration=function variableDeclaration(t,r){return(0,a.default)({type:"VariableDeclaration",kind:t,declarations:r})},r.variableDeclarator=function variableDeclarator(t,r=null){return(0,a.default)({type:"VariableDeclarator",id:t,init:r})},r.variance=function variance(t){return(0,a.default)({type:"Variance",kind:t})},r.voidTypeAnnotation=function voidTypeAnnotation(){return{type:"VoidTypeAnnotation"}},r.whileStatement=function whileStatement(t,r){return(0,a.default)({type:"WhileStatement",test:t,body:r})},r.withStatement=function withStatement(t,r){return(0,a.default)({type:"WithStatement",object:t,body:r})},r.yieldExpression=function yieldExpression(t=null,r=!1){return(0,a.default)({type:"YieldExpression",argument:t,delegate:r})};var a=i("vgmA");function numericLiteral(t){return(0,a.default)({type:"NumericLiteral",value:t})}function regExpLiteral(t,r=""){return(0,a.default)({type:"RegExpLiteral",pattern:t,flags:r})}function restElement(t){return(0,a.default)({type:"RestElement",argument:t})}function spreadElement(t){return(0,a.default)({type:"SpreadElement",argument:t})}},"6CaN":function(t,r,i){t.exports={default:i("x/nt"),__esModule:!0}},"6OOl":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var a=i("AO5Q"),o=i("6tRB"),l=i("vpCu"),u=i("XfNL"),p=i("JSq2"),d=i("QpWQ");const{NOT_LOCAL_BINDING:h,callExpression:m,cloneNode:y,getBindingIdentifiers:g,identifier:v,isArrayExpression:b,isBinary:x,isClass:E,isClassBody:S,isClassDeclaration:T,isExportAllDeclaration:A,isExportDefaultDeclaration:P,isExportNamedDeclaration:C,isFunctionDeclaration:w,isIdentifier:D,isImportDeclaration:k,isLiteral:_,isMethod:I,isModuleDeclaration:O,isModuleSpecifier:N,isObjectExpression:B,isProperty:M,isPureish:L,isSuper:R,isTaggedTemplateExpression:j,isTemplateLiteral:U,isThisExpression:V,isUnaryExpression:q,isVariableDeclaration:W,matchesPattern:K,memberExpression:G,numericLiteral:J,toIdentifier:z,unaryExpression:H,variableDeclaration:X,variableDeclarator:Y,isRecordExpression:$,isTupleExpression:Q,isObjectProperty:Z,isTopicReference:ee,isMetaProperty:te,isPrivateName:re}=p;const ne={ForStatement(t){const r=t.get("init");if(r.isVar()){const{scope:i}=t;(i.getFunctionParent()||i.getProgramParent()).registerBinding("var",r)}},Declaration(t){if(t.isBlockScoped())return;if(t.isImportDeclaration())return;if(t.isExportDeclaration())return;(t.scope.getFunctionParent()||t.scope.getProgramParent()).registerDeclaration(t)},ImportDeclaration(t){t.scope.getBlockParent().registerDeclaration(t)},ReferencedIdentifier(t,r){r.references.push(t)},ForXStatement(t,r){const i=t.get("left");if(i.isPattern()||i.isIdentifier())r.constantViolations.push(t);else if(i.isVar()){const{scope:r}=t;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",i)}},ExportDeclaration:{exit(t){const{node:r,scope:i}=t;if(A(r))return;const a=r.declaration;if(T(a)||w(a)){const r=a.id;if(!r)return;const o=i.getBinding(r.name);null==o||o.reference(t)}else if(W(a))for(const r of a.declarations)for(const a of Object.keys(g(r))){const r=i.getBinding(a);null==r||r.reference(t)}}},LabeledStatement(t){t.scope.getBlockParent().registerDeclaration(t)},AssignmentExpression(t,r){r.assignments.push(t)},UpdateExpression(t,r){r.constantViolations.push(t)},UnaryExpression(t,r){"delete"===t.node.operator&&r.constantViolations.push(t)},BlockScoped(t){let r=t.scope;if(r.path===t&&(r=r.parent),r.getBlockParent().registerDeclaration(t),t.isClassDeclaration()&&t.node.id){const r=t.node.id.name;t.scope.bindings[r]=t.scope.parent.getBinding(r)}},CatchClause(t){t.scope.registerBinding("let",t)},Function(t){const r=t.get("params");for(const i of r)t.scope.registerBinding("param",i);t.isFunctionExpression()&&t.has("id")&&!t.get("id").node[h]&&t.scope.registerBinding("local",t.get("id"),t)},ClassExpression(t){t.has("id")&&!t.get("id").node[h]&&t.scope.registerBinding("local",t)}};let ie=0;class Scope{constructor(t){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;const{node:r}=t,i=d.scope.get(r);if((null==i?void 0:i.path)===t)return i;d.scope.set(r,this),this.uid=ie++,this.block=r,this.path=t,this.labels=new Map,this.inited=!1}get parent(){var t;let r,i=this.path;do{const t="key"===i.key;i=i.parentPath,t&&i.isMethod()&&(i=i.parentPath),i&&i.isScope()&&(r=i)}while(i&&!r);return null==(t=r)?void 0:t.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(t,r,i){(0,o.default)(t,r,this,i,this.path)}generateDeclaredUidIdentifier(t){const r=this.generateUidIdentifier(t);return this.push({id:r}),y(r)}generateUidIdentifier(t){return v(this.generateUid(t))}generateUid(t="temp"){let r;t=z(t).replace(/^_+/,"").replace(/[0-9]+$/g,"");let i=1;do{r=this._generateUid(t,i),i++}while(this.hasLabel(r)||this.hasBinding(r)||this.hasGlobal(r)||this.hasReference(r));const a=this.getProgramParent();return a.references[r]=!0,a.uids[r]=!0,r}_generateUid(t,r){let i=t;return r>1&&(i+=r),"_"+i}generateUidBasedOnNode(t,r){const i=[];!function gatherNodeParts(t,r){switch(null==t?void 0:t.type){default:if(O(t))if((A(t)||C(t)||k(t))&&t.source)gatherNodeParts(t.source,r);else if((C(t)||k(t))&&t.specifiers&&t.specifiers.length)for(const i of t.specifiers)gatherNodeParts(i,r);else(P(t)||C(t))&&t.declaration&&gatherNodeParts(t.declaration,r);else N(t)?gatherNodeParts(t.local,r):_(t)&&r.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":gatherNodeParts(t.object,r),gatherNodeParts(t.property,r);break;case"Identifier":case"JSXIdentifier":r.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":gatherNodeParts(t.callee,r);break;case"ObjectExpression":case"ObjectPattern":for(const i of t.properties)gatherNodeParts(i,r);break;case"SpreadElement":case"RestElement":gatherNodeParts(t.argument,r);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":gatherNodeParts(t.key,r);break;case"ThisExpression":r.push("this");break;case"Super":r.push("super");break;case"Import":r.push("import");break;case"DoExpression":r.push("do");break;case"YieldExpression":r.push("yield"),gatherNodeParts(t.argument,r);break;case"AwaitExpression":r.push("await"),gatherNodeParts(t.argument,r);break;case"AssignmentExpression":gatherNodeParts(t.left,r);break;case"VariableDeclarator":gatherNodeParts(t.id,r);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":gatherNodeParts(t.id,r);break;case"ParenthesizedExpression":gatherNodeParts(t.expression,r);break;case"UnaryExpression":case"UpdateExpression":gatherNodeParts(t.argument,r);break;case"MetaProperty":gatherNodeParts(t.meta,r),gatherNodeParts(t.property,r);break;case"JSXElement":gatherNodeParts(t.openingElement,r);break;case"JSXOpeningElement":r.push(t.name);break;case"JSXFragment":gatherNodeParts(t.openingFragment,r);break;case"JSXOpeningFragment":r.push("Fragment");break;case"JSXNamespacedName":gatherNodeParts(t.namespace,r),gatherNodeParts(t.name,r)}}(t,i);let a=i.join("$");return a=a.replace(/^_/,"")||r||"ref",this.generateUid(a.slice(0,20))}generateUidIdentifierBasedOnNode(t,r){return v(this.generateUidBasedOnNode(t,r))}isStatic(t){if(V(t)||R(t)||ee(t))return!0;if(D(t)){const r=this.getBinding(t.name);return r?r.constant:this.hasBinding(t.name)}return!1}maybeGenerateMemoised(t,r){if(this.isStatic(t))return null;{const i=this.generateUidIdentifierBasedOnNode(t);return r?i:(this.push({id:i}),y(i))}}checkBlockScopedCollisions(t,r,i,a){if("param"===r)return;if("local"===t.kind)return;if("let"===r||"let"===t.kind||"const"===t.kind||"module"===t.kind||"param"===t.kind&&"const"===r)throw this.hub.buildError(a,`Duplicate declaration "${i}"`,TypeError)}rename(t,r,i){const o=this.getBinding(t);if(o)return r=r||this.generateUidIdentifier(t).name,new a.default(o,t,r).rename(i)}_renameFromMap(t,r,i,a){t[r]&&(t[i]=a,t[r]=null)}dump(){const t="-".repeat(60);console.log(t);let r=this;do{console.log("#",r.block.type);for(const t of Object.keys(r.bindings)){const i=r.bindings[t];console.log(" -",t,{constant:i.constant,references:i.references,violations:i.constantViolations.length,kind:i.kind})}}while(r=r.parent);console.log(t)}toArray(t,r,i){if(D(t)){const r=this.getBinding(t.name);if(null!=r&&r.constant&&r.path.isGenericType("Array"))return t}if(b(t))return t;if(D(t,{name:"arguments"}))return m(G(G(G(v("Array"),v("prototype")),v("slice")),v("call")),[t]);let a;const o=[t];return!0===r?a="toConsumableArray":r?(o.push(J(r)),a="slicedToArray"):a="toArray",i&&(o.unshift(this.hub.addHelper(a)),a="maybeArrayLike"),m(this.hub.addHelper(a),o)}hasLabel(t){return!!this.getLabel(t)}getLabel(t){return this.labels.get(t)}registerLabel(t){this.labels.set(t.node.label.name,t)}registerDeclaration(t){if(t.isLabeledStatement())this.registerLabel(t);else if(t.isFunctionDeclaration())this.registerBinding("hoisted",t.get("id"),t);else if(t.isVariableDeclaration()){const r=t.get("declarations");for(const i of r)this.registerBinding(t.node.kind,i)}else if(t.isClassDeclaration()){if(t.node.declare)return;this.registerBinding("let",t)}else if(t.isImportDeclaration()){const r=t.get("specifiers");for(const t of r)this.registerBinding("module",t)}else if(t.isExportDeclaration()){const r=t.get("declaration");(r.isClassDeclaration()||r.isFunctionDeclaration()||r.isVariableDeclaration())&&this.registerDeclaration(r)}else this.registerBinding("unknown",t)}buildUndefinedNode(){return H("void",J(0),!0)}registerConstantViolation(t){const r=t.getBindingIdentifiers();for(const i of Object.keys(r)){const r=this.getBinding(i);r&&r.reassign(t)}}registerBinding(t,r,i=r){if(!t)throw new ReferenceError("no `kind`");if(r.isVariableDeclaration()){const i=r.get("declarations");for(const r of i)this.registerBinding(t,r);return}const a=this.getProgramParent(),o=r.getOuterBindingIdentifiers(!0);for(const r of Object.keys(o)){a.references[r]=!0;for(const a of o[r]){const o=this.getOwnBinding(r);if(o){if(o.identifier===a)continue;this.checkBlockScopedCollisions(o,t,r,a)}o?this.registerConstantViolation(i):this.bindings[r]=new l.default({identifier:a,scope:this,path:i,kind:t})}}}addGlobal(t){this.globals[t.name]=t}hasUid(t){let r=this;do{if(r.uids[t])return!0}while(r=r.parent);return!1}hasGlobal(t){let r=this;do{if(r.globals[t])return!0}while(r=r.parent);return!1}hasReference(t){return!!this.getProgramParent().references[t]}isPure(t,r){if(D(t)){const i=this.getBinding(t.name);return!!i&&(!r||i.constant)}if(V(t)||te(t)||ee(t)||re(t))return!0;var i,a,o;if(E(t))return!(t.superClass&&!this.isPure(t.superClass,r))&&(!((null==(i=t.decorators)?void 0:i.length)>0)&&this.isPure(t.body,r));if(S(t)){for(const i of t.body)if(!this.isPure(i,r))return!1;return!0}if(x(t))return this.isPure(t.left,r)&&this.isPure(t.right,r);if(b(t)||Q(t)){for(const i of t.elements)if(null!==i&&!this.isPure(i,r))return!1;return!0}if(B(t)||$(t)){for(const i of t.properties)if(!this.isPure(i,r))return!1;return!0}if(I(t))return!(t.computed&&!this.isPure(t.key,r))&&!((null==(a=t.decorators)?void 0:a.length)>0);if(M(t))return!(t.computed&&!this.isPure(t.key,r))&&(!((null==(o=t.decorators)?void 0:o.length)>0)&&!((Z(t)||t.static)&&null!==t.value&&!this.isPure(t.value,r)));if(q(t))return this.isPure(t.argument,r);if(j(t))return K(t.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(t.quasi,r);if(U(t)){for(const i of t.expressions)if(!this.isPure(i,r))return!1;return!0}return L(t)}setData(t,r){return this.data[t]=r}getData(t){let r=this;do{const i=r.data[t];if(null!=i)return i}while(r=r.parent)}removeData(t){let r=this;do{null!=r.data[t]&&(r.data[t]=null)}while(r=r.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){const t=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);const r=this.getProgramParent();if(r.crawling)return;const i={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==t.type&&ne._exploded){for(const r of ne.enter)r(t,i);const r=ne[t.type];if(r)for(const a of r.enter)a(t,i)}t.traverse(ne,i),this.crawling=!1;for(const t of i.assignments){const i=t.getBindingIdentifiers();for(const a of Object.keys(i))t.scope.getBinding(a)||r.addGlobal(i[a]);t.scope.registerConstantViolation(t)}for(const t of i.references){const i=t.scope.getBinding(t.node.name);i?i.reference(t):r.addGlobal(t.node)}for(const t of i.constantViolations)t.scope.registerConstantViolation(t)}push(t){let r=this.path;r.isPattern()?r=this.getPatternParent().path:r.isBlockStatement()||r.isProgram()||(r=this.getBlockParent().path),r.isSwitchStatement()&&(r=(this.getFunctionParent()||this.getProgramParent()).path),(r.isLoop()||r.isCatchClause()||r.isFunction())&&(r.ensureBlock(),r=r.get("body"));const i=t.unique,a=t.kind||"var",o=null==t._blockHoist?2:t._blockHoist,l=`declaration:${a}:${o}`;let u=!i&&r.getData(l);if(!u){const t=X(a,[]);t._blockHoist=o,[u]=r.unshiftContainer("body",[t]),i||r.setData(l,u)}const p=Y(t.id,t.init),d=u.node.declarations.push(p);r.scope.registerBinding(a,u.get("declarations")[d-1])}getProgramParent(){let t=this;do{if(t.path.isProgram())return t}while(t=t.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let t=this;do{if(t.path.isFunctionParent())return t}while(t=t.parent);return null}getBlockParent(){let t=this;do{if(t.path.isBlockParent())return t}while(t=t.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let t=this;do{if(!t.path.isPattern())return t.getBlockParent()}while(t=t.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const t=Object.create(null);let r=this;do{for(const i of Object.keys(r.bindings))i in t==!1&&(t[i]=r.bindings[i]);r=r.parent}while(r);return t}getAllBindingsOfKind(...t){const r=Object.create(null);for(const i of t){let t=this;do{for(const a of Object.keys(t.bindings)){const o=t.bindings[a];o.kind===i&&(r[a]=o)}t=t.parent}while(t)}return r}bindingIdentifierEquals(t,r){return this.getBindingIdentifier(t)===r}getBinding(t){let r,i=this;do{const o=i.getOwnBinding(t);var a;if(o){if(null==(a=r)||!a.isPattern()||"param"===o.kind||"local"===o.kind)return o}else if(!o&&"arguments"===t&&i.path.isFunction()&&!i.path.isArrowFunctionExpression())break;r=i.path}while(i=i.parent)}getOwnBinding(t){return this.bindings[t]}getBindingIdentifier(t){var r;return null==(r=this.getBinding(t))?void 0:r.identifier}getOwnBindingIdentifier(t){const r=this.bindings[t];return null==r?void 0:r.identifier}hasOwnBinding(t){return!!this.getOwnBinding(t)}hasBinding(t,r){return!!t&&(!!this.hasOwnBinding(t)||(!!this.parentHasBinding(t,r)||(!!this.hasUid(t)||(!(r||!Scope.globals.includes(t))||!(r||!Scope.contextVariables.includes(t))))))}parentHasBinding(t,r){var i;return null==(i=this.parent)?void 0:i.hasBinding(t,r)}moveBindingTo(t,r){const i=this.getBinding(t);i&&(i.scope.removeOwnBinding(t),i.scope=r,r.bindings[t]=i)}removeOwnBinding(t){delete this.bindings[t]}removeBinding(t){var r;null==(r=this.getBinding(t))||r.scope.removeOwnBinding(t);let i=this;do{i.uids[t]&&(i.uids[t]=!1)}while(i=i.parent)}}r.default=Scope,Scope.globals=Object.keys(u.builtin),Scope.contextVariables=["arguments","undefined","Infinity","NaN"]},"6Tk+":function(t,r,i){"use strict";var a=i("TqRt")(i("cDf5"));Object.defineProperty(r,"__esModule",{value:!0}),r.Printer=void 0;var o=i("lU99"),l=o.__importDefault(i("9lTW")),u=i("uc9U"),p=i("BFAa"),d=i("JghS"),h=i("hG3j"),m=o.__importStar(i("2HvJ")),y=m.namedTypes,g=m.builtInTypes.string,v=m.builtInTypes.object,b=o.__importDefault(i("bjx+")),x=o.__importStar(i("6l/m")),E=function PrintResult(t,r){l.default.ok(this instanceof PrintResult),g.assert(t),this.code=t,r&&(v.assert(r),this.map=r)},S=!1;E.prototype.toString=function(){return S||(console.warn("Deprecation warning: recast.print now returns an object with a .code property. You appear to be treating the object as a string, which might still work but is strongly discouraged."),S=!0),this.code};var T=new E("");function genericPrint(t,r,i,o){l.default.ok(t instanceof b.default);var u=t.getValue(),d=[],h=function genericPrintNoParens(t,r,i){var o=t.getValue();if(!o)return p.fromString("");if("string"==typeof o)return p.fromString(o,r);y.Printable.assert(o);var u=[];switch(o.type){case"File":return t.call(i,"program");case"Program":return o.directives&&t.each((function(t){u.push(i(t),";\n")}),"directives"),o.interpreter&&u.push(t.call(i,"interpreter")),u.push(t.call((function(t){return printStatementSequence(t,r,i)}),"body")),p.concat(u);case"Noop":case"EmptyStatement":return p.fromString("");case"ExpressionStatement":return p.concat([t.call(i,"expression"),";"]);case"ParenthesizedExpression":return p.concat(["(",t.call(i,"expression"),")"]);case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":return p.fromString(" ").join([t.call(i,"left"),o.operator,t.call(i,"right")]);case"AssignmentPattern":return p.concat([t.call(i,"left")," = ",t.call(i,"right")]);case"MemberExpression":case"OptionalMemberExpression":u.push(t.call(i,"object"));var d=t.call(i,"property"),h=m.getFieldValue(o,"optional");return o.computed?u.push(h?"?.[":"[",d,"]"):u.push(h?"?.":".",d),p.concat(u);case"ChainExpression":return t.call(i,"expression");case"MetaProperty":return p.concat([t.call(i,"meta"),".",t.call(i,"property")]);case"BindExpression":return o.object&&u.push(t.call(i,"object")),u.push("::",t.call(i,"callee")),p.concat(u);case"Path":return p.fromString(".").join(o.body);case"Identifier":return p.concat([p.fromString(o.name,r),o.optional?"?":"",t.call(i,"typeAnnotation")]);case"SpreadElement":case"SpreadElementPattern":case"RestProperty":case"SpreadProperty":case"SpreadPropertyPattern":case"ObjectTypeSpreadProperty":case"RestElement":return p.concat(["...",t.call(i,"argument"),t.call(i,"typeAnnotation")]);case"FunctionDeclaration":case"FunctionExpression":case"TSDeclareFunction":return o.declare&&u.push("declare "),o.async&&u.push("async "),u.push("function"),o.generator&&u.push("*"),o.id?u.push(" ",t.call(i,"id"),t.call(i,"typeParameters")):o.typeParameters&&u.push(t.call(i,"typeParameters")),u.push("(",printFunctionParams(t,r,i),")",t.call(i,"returnType")),o.body&&u.push(" ",t.call(i,"body")),p.concat(u);case"ArrowFunctionExpression":return o.async&&u.push("async "),o.typeParameters&&u.push(t.call(i,"typeParameters")),r.arrowParensAlways||1!==o.params.length||o.rest||"Identifier"!==o.params[0].type||o.params[0].typeAnnotation||o.returnType?u.push("(",printFunctionParams(t,r,i),")",t.call(i,"returnType")):u.push(t.call(i,"params",0)),u.push(" => ",t.call(i,"body")),p.concat(u);case"MethodDefinition":return printMethod(t,r,i);case"YieldExpression":return u.push("yield"),o.delegate&&u.push("*"),o.argument&&u.push(" ",t.call(i,"argument")),p.concat(u);case"AwaitExpression":return u.push("await"),o.all&&u.push("*"),o.argument&&u.push(" ",t.call(i,"argument")),p.concat(u);case"ModuleExpression":return p.concat(["module {\n",t.call(i,"body").indent(r.tabWidth),"\n}"]);case"ModuleDeclaration":return u.push("module",t.call(i,"id")),o.source?(l.default.ok(!o.body),u.push("from",t.call(i,"source"))):u.push(t.call(i,"body")),p.fromString(" ").join(u);case"ImportSpecifier":return o.importKind&&"value"!==o.importKind&&u.push(o.importKind+" "),o.imported?(u.push(t.call(i,"imported")),o.local&&o.local.name!==o.imported.name&&u.push(" as ",t.call(i,"local"))):o.id&&(u.push(t.call(i,"id")),o.name&&u.push(" as ",t.call(i,"name"))),p.concat(u);case"ExportSpecifier":return o.local?(u.push(t.call(i,"local")),o.exported&&o.exported.name!==o.local.name&&u.push(" as ",t.call(i,"exported"))):o.id&&(u.push(t.call(i,"id")),o.name&&u.push(" as ",t.call(i,"name"))),p.concat(u);case"ExportBatchSpecifier":return p.fromString("*");case"ImportNamespaceSpecifier":return u.push("* as "),o.local?u.push(t.call(i,"local")):o.id&&u.push(t.call(i,"id")),p.concat(u);case"ImportDefaultSpecifier":return o.local?t.call(i,"local"):t.call(i,"id");case"TSExportAssignment":return p.concat(["export = ",t.call(i,"expression")]);case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return printExportDeclaration(t,r,i);case"ExportAllDeclaration":return u.push("export *"),o.exported&&u.push(" as ",t.call(i,"exported")),u.push(" from ",t.call(i,"source"),";"),p.concat(u);case"TSNamespaceExportDeclaration":return u.push("export as namespace ",t.call(i,"id")),maybeAddSemicolon(p.concat(u));case"ExportNamespaceSpecifier":return p.concat(["* as ",t.call(i,"exported")]);case"ExportDefaultSpecifier":return t.call(i,"exported");case"Import":return p.fromString("import",r);case"ImportExpression":return p.concat(["import(",t.call(i,"source"),")"]);case"ImportDeclaration":if(u.push("import "),o.importKind&&"value"!==o.importKind&&u.push(o.importKind+" "),o.specifiers&&o.specifiers.length>0){var g=[],v=[];if(t.each((function(t){var r=t.getValue();"ImportSpecifier"===r.type?v.push(i(t)):"ImportDefaultSpecifier"!==r.type&&"ImportNamespaceSpecifier"!==r.type||g.push(i(t))}),"specifiers"),g.forEach((function(t,r){r>0&&u.push(", "),u.push(t)})),v.length>0)(he=p.fromString(", ").join(v)).getLineLength(1)>r.wrapColumn&&(he=p.concat([p.fromString(",\n").join(v).indent(r.tabWidth),","])),g.length>0&&u.push(", "),he.length>1?u.push("{\n",he,"\n}"):r.objectCurlySpacing?u.push("{ ",he," }"):u.push("{",he,"}");u.push(" from ")}return u.push(t.call(i,"source"),maybePrintImportAssertions(t,r,i),";"),p.concat(u);case"ImportAttribute":return p.concat([t.call(i,"key"),": ",t.call(i,"value")]);case"StaticBlock":u.push("static ");case"BlockStatement":var b=t.call((function(t){return printStatementSequence(t,r,i)}),"body");return!b.isEmpty()||o.directives&&0!==o.directives.length?(u.push("{\n"),o.directives&&t.each((function(t){u.push(maybeAddSemicolon(i(t).indent(r.tabWidth)),o.directives.length>1||!b.isEmpty()?"\n":"")}),"directives"),u.push(b.indent(r.tabWidth)),u.push("\n}"),p.concat(u)):(u.push("{}"),p.concat(u));case"ReturnStatement":if(u.push("return"),o.argument){var E=t.call(i,"argument");E.startsWithComment()||E.length>1&&y.JSXElement&&y.JSXElement.check(o.argument)?u.push(" (\n",E.indent(r.tabWidth),"\n)"):u.push(" ",E)}return u.push(";"),p.concat(u);case"CallExpression":case"OptionalCallExpression":return u.push(t.call(i,"callee")),o.typeParameters&&u.push(t.call(i,"typeParameters")),o.typeArguments&&u.push(t.call(i,"typeArguments")),m.getFieldValue(o,"optional")&&u.push("?."),u.push(printArgumentsList(t,r,i)),p.concat(u);case"RecordExpression":u.push("#");case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":var S="ObjectTypeAnnotation"===o.type,T=r.flowObjectCommas?",":S?";":",",A=[],P=!1;S&&(A.push("indexers","callProperties"),null!=o.internalSlots&&A.push("internalSlots")),A.push("properties");var C=0;A.forEach((function(t){C+=o[t].length}));var w=S&&1===C||0===C,D=o.exact?"{|":"{",k=o.exact?"|}":"}";u.push(w?D:D+"\n");var _=u.length-1,I=0;if(A.forEach((function(a){t.each((function(t){var a=i(t);w||(a=a.indent(r.tabWidth));var o=!S&&a.length>1;o&&P&&u.push("\n"),u.push(a),I0&&u.push(T," "),u.push(O)):u.push("\n",O.indent(r.tabWidth))}return u.push(w?k:"\n"+k),0!==I&&w&&r.objectCurlySpacing&&(u[_]=D+" ",u[u.length-1]=" "+k),o.typeAnnotation&&u.push(t.call(i,"typeAnnotation")),p.concat(u);case"PropertyPattern":return p.concat([t.call(i,"key"),": ",t.call(i,"pattern")]);case"ObjectProperty":case"Property":if(o.method||"get"===o.kind||"set"===o.kind)return printMethod(t,r,i);if(o.shorthand&&"AssignmentPattern"===o.value.type)return t.call(i,"value");var N=t.call(i,"key");return o.computed?u.push("[",N,"]"):u.push(N),o.shorthand&&o.key.name===o.value.name||u.push(": ",t.call(i,"value")),p.concat(u);case"ClassMethod":case"ObjectMethod":case"ClassPrivateMethod":case"TSDeclareMethod":return printMethod(t,r,i);case"PrivateName":return p.concat(["#",t.call(i,"id")]);case"Decorator":return p.concat(["@",t.call(i,"expression")]);case"TupleExpression":u.push("#");case"ArrayExpression":case"ArrayPattern":var B=o.elements.length,M=t.map(i,"elements"),L=p.fromString(", ").join(M).getLineLength(1)<=r.wrapColumn;return L?r.arrayBracketSpacing?u.push("[ "):u.push("["):u.push("[\n"),t.each((function(t){var i=t.getName();if(t.getValue()){var a=M[i];L?i>0&&u.push(" "):a=a.indent(r.tabWidth),u.push(a),(i1?u.push(p.fromString(",\n").join(j).indentTail(o.kind.length+1)):u.push(j[0]);var U=t.getParentNode();return y.ForStatement.check(U)||y.ForInStatement.check(U)||y.ForOfStatement&&y.ForOfStatement.check(U)||y.ForAwaitStatement&&y.ForAwaitStatement.check(U)||u.push(";"),p.concat(u);case"VariableDeclarator":return o.init?p.fromString(" = ").join([t.call(i,"id"),t.call(i,"init")]):t.call(i,"id");case"WithStatement":return p.concat(["with (",t.call(i,"object"),") ",t.call(i,"body")]);case"IfStatement":var V=adjustClause(t.call(i,"consequent"),r);return u.push("if (",t.call(i,"test"),")",V),o.alternate&&u.push(endsWithBrace(V)?" else":"\nelse",adjustClause(t.call(i,"alternate"),r)),p.concat(u);case"ForStatement":var q=t.call(i,"init"),W=q.length>1?";\n":"; ",K=p.fromString(W).join([q,t.call(i,"test"),t.call(i,"update")]).indentTail("for (".length),G=p.concat(["for (",K,")"]),J=adjustClause(t.call(i,"body"),r);return u.push(G),G.length>1&&(u.push("\n"),J=J.trimLeft()),u.push(J),p.concat(u);case"WhileStatement":return p.concat(["while (",t.call(i,"test"),")",adjustClause(t.call(i,"body"),r)]);case"ForInStatement":return p.concat([o.each?"for each (":"for (",t.call(i,"left")," in ",t.call(i,"right"),")",adjustClause(t.call(i,"body"),r)]);case"ForOfStatement":case"ForAwaitStatement":return u.push("for "),(o.await||"ForAwaitStatement"===o.type)&&u.push("await "),u.push("(",t.call(i,"left")," of ",t.call(i,"right"),")",adjustClause(t.call(i,"body"),r)),p.concat(u);case"DoWhileStatement":var z=p.concat(["do",adjustClause(t.call(i,"body"),r)]);return u.push(z),endsWithBrace(z)?u.push(" while"):u.push("\nwhile"),u.push(" (",t.call(i,"test"),");"),p.concat(u);case"DoExpression":var H=t.call((function(t){return printStatementSequence(t,r,i)}),"body");return p.concat(["do {\n",H.indent(r.tabWidth),"\n}"]);case"BreakStatement":return u.push("break"),o.label&&u.push(" ",t.call(i,"label")),u.push(";"),p.concat(u);case"ContinueStatement":return u.push("continue"),o.label&&u.push(" ",t.call(i,"label")),u.push(";"),p.concat(u);case"LabeledStatement":return p.concat([t.call(i,"label"),":\n",t.call(i,"body")]);case"TryStatement":return u.push("try ",t.call(i,"block")),o.handler?u.push(" ",t.call(i,"handler")):o.handlers&&t.each((function(t){u.push(" ",i(t))}),"handlers"),o.finalizer&&u.push(" finally ",t.call(i,"finalizer")),p.concat(u);case"CatchClause":return u.push("catch "),o.param&&u.push("(",t.call(i,"param")),o.guard&&u.push(" if ",t.call(i,"guard")),o.param&&u.push(") "),u.push(t.call(i,"body")),p.concat(u);case"ThrowStatement":return p.concat(["throw ",t.call(i,"argument"),";"]);case"SwitchStatement":return p.concat(["switch (",t.call(i,"discriminant"),") {\n",p.fromString("\n").join(t.map(i,"cases")),"\n}"]);case"SwitchCase":return o.test?u.push("case ",t.call(i,"test"),":"):u.push("default:"),o.consequent.length>0&&u.push("\n",t.call((function(t){return printStatementSequence(t,r,i)}),"consequent").indent(r.tabWidth)),p.concat(u);case"DebuggerStatement":return p.fromString("debugger;");case"JSXAttribute":return u.push(t.call(i,"name")),o.value&&u.push("=",t.call(i,"value")),p.concat(u);case"JSXIdentifier":return p.fromString(o.name,r);case"JSXNamespacedName":return p.fromString(":").join([t.call(i,"namespace"),t.call(i,"name")]);case"JSXMemberExpression":return p.fromString(".").join([t.call(i,"object"),t.call(i,"property")]);case"JSXSpreadAttribute":return p.concat(["{...",t.call(i,"argument"),"}"]);case"JSXSpreadChild":return p.concat(["{...",t.call(i,"expression"),"}"]);case"JSXExpressionContainer":return p.concat(["{",t.call(i,"expression"),"}"]);case"JSXElement":case"JSXFragment":var X="opening"+("JSXElement"===o.type?"Element":"Fragment"),Y="closing"+("JSXElement"===o.type?"Element":"Fragment"),$=t.call(i,X);if(o[X].selfClosing)return l.default.ok(!o[Y],"unexpected "+Y+" element in self-closing "+o.type),$;var Q=p.concat(t.map((function(t){var r=t.getValue();if(y.Literal.check(r)&&"string"==typeof r.value){if(/\S/.test(r.value))return r.value.replace(/^\s+|\s+$/g,"");if(/\n/.test(r.value))return"\n"}return i(t)}),"children")).indentTail(r.tabWidth),Z=t.call(i,Y);return p.concat([$,Q,Z]);case"JSXOpeningElement":u.push("<",t.call(i,"name"));var ee=[];t.each((function(t){ee.push(" ",i(t))}),"attributes");var te=p.concat(ee);return(te.length>1||te.getLineLength(1)>r.wrapColumn)&&(ee.forEach((function(t,r){" "===t&&(l.default.strictEqual(r%2,0),ee[r]="\n")})),te=p.concat(ee).indentTail(r.tabWidth)),u.push(te,o.selfClosing?" />":">"),p.concat(u);case"JSXClosingElement":return p.concat([""]);case"JSXOpeningFragment":return p.fromString("<>");case"JSXClosingFragment":return p.fromString("");case"JSXText":return p.fromString(o.value,r);case"JSXEmptyExpression":return p.fromString("");case"TypeAnnotatedIdentifier":return p.concat([t.call(i,"annotation")," ",t.call(i,"identifier")]);case"ClassBody":return 0===o.body.length?p.fromString("{}"):p.concat(["{\n",t.call((function(t){return printStatementSequence(t,r,i)}),"body").indent(r.tabWidth),"\n}"]);case"ClassPropertyDefinition":return u.push("static ",t.call(i,"definition")),y.MethodDefinition.check(o.definition)||u.push(";"),p.concat(u);case"ClassProperty":o.declare&&u.push("declare ");var re=o.accessibility||o.access;"string"==typeof re&&u.push(re," "),o.static&&u.push("static "),o.abstract&&u.push("abstract "),o.readonly&&u.push("readonly ");N=t.call(i,"key");return o.computed&&(N=p.concat(["[",N,"]"])),o.variance&&(N=p.concat([printVariance(t,i),N])),u.push(N),o.optional&&u.push("?"),o.definite&&u.push("!"),o.typeAnnotation&&u.push(t.call(i,"typeAnnotation")),o.value&&u.push(" = ",t.call(i,"value")),u.push(";"),p.concat(u);case"ClassPrivateProperty":return o.static&&u.push("static "),u.push(t.call(i,"key")),o.typeAnnotation&&u.push(t.call(i,"typeAnnotation")),o.value&&u.push(" = ",t.call(i,"value")),u.push(";"),p.concat(u);case"ClassDeclaration":case"ClassExpression":return o.declare&&u.push("declare "),o.abstract&&u.push("abstract "),u.push("class"),o.id&&u.push(" ",t.call(i,"id")),o.typeParameters&&u.push(t.call(i,"typeParameters")),o.superClass&&u.push(" extends ",t.call(i,"superClass"),t.call(i,"superTypeParameters")),o.implements&&o.implements.length>0&&u.push(" implements ",p.fromString(", ").join(t.map(i,"implements"))),u.push(" ",t.call(i,"body")),p.concat(u);case"TemplateElement":return p.fromString(o.value.raw,r).lockIndentTail();case"TemplateLiteral":var ne=t.map(i,"expressions");return u.push("`"),t.each((function(t){var r=t.getName();u.push(i(t)),r0&&u.push(" "):a=a.indent(r.tabWidth),u.push(a),(i0&&u.push(" extends ",p.fromString(", ").join(t.map(i,"extends"))),u.push(" ",t.call(i,"body")),p.concat(u);case"DeclareClass":return printFlowDeclaration(t,["class ",t.call(i,"id")," ",t.call(i,"body")]);case"DeclareFunction":return printFlowDeclaration(t,["function ",t.call(i,"id"),";"]);case"DeclareModule":return printFlowDeclaration(t,["module ",t.call(i,"id")," ",t.call(i,"body")]);case"DeclareModuleExports":return printFlowDeclaration(t,["module.exports",t.call(i,"typeAnnotation")]);case"DeclareVariable":return printFlowDeclaration(t,["var ",t.call(i,"id"),";"]);case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return p.concat(["declare ",printExportDeclaration(t,r,i)]);case"EnumDeclaration":return p.concat(["enum ",t.call(i,"id"),t.call(i,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":return("EnumSymbolBody"===o.type||o.explicitType)&&u.push(" of ",o.type.slice(4,-4).toLowerCase()),u.push(" {\n",p.fromString("\n").join(t.map(i,"members")).indent(r.tabWidth),"\n}"),p.concat(u);case"EnumDefaultedMember":return p.concat([t.call(i,"id"),","]);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return p.concat([t.call(i,"id")," = ",t.call(i,"init"),","]);case"InferredPredicate":return p.fromString("%checks",r);case"DeclaredPredicate":return p.concat(["%checks(",t.call(i,"value"),")"]);case"FunctionTypeAnnotation":var ae=t.getParentNode(0),oe=!(y.ObjectTypeCallProperty.check(ae)||y.ObjectTypeInternalSlot.check(ae)&&ae.method||y.DeclareFunction.check(t.getParentNode(2)));oe&&!y.FunctionTypeParam.check(ae)&&!y.TypeAlias.check(ae)&&u.push(": ");var le=!!o.typeParameters,ue=le||1!==o.params.length||o.params[0].name;return u.push(le?t.call(i,"typeParameters"):"",ue?"(":"",printFunctionParams(t,r,i),ue?")":""),o.returnType&&u.push(oe?" => ":": ",t.call(i,"returnType")),p.concat(u);case"FunctionTypeParam":var ce=t.call(i,"name");return u.push(ce),o.optional&&u.push("?"),ce.infos[0].line&&u.push(": "),u.push(t.call(i,"typeAnnotation")),p.concat(u);case"GenericTypeAnnotation":return p.concat([t.call(i,"id"),t.call(i,"typeParameters")]);case"DeclareInterface":u.push("declare ");case"InterfaceDeclaration":case"TSInterfaceDeclaration":return o.declare&&u.push("declare "),u.push("interface ",t.call(i,"id"),t.call(i,"typeParameters")," "),o.extends&&o.extends.length>0&&u.push("extends ",p.fromString(", ").join(t.map(i,"extends"))," "),o.body&&u.push(t.call(i,"body")),p.concat(u);case"ClassImplements":case"InterfaceExtends":return p.concat([t.call(i,"id"),t.call(i,"typeParameters")]);case"IntersectionTypeAnnotation":return p.fromString(" & ").join(t.map(i,"types"));case"NullableTypeAnnotation":return p.concat(["?",t.call(i,"typeAnnotation")]);case"NullLiteralTypeAnnotation":return p.fromString("null",r);case"ThisTypeAnnotation":return p.fromString("this",r);case"NumberTypeAnnotation":return p.fromString("number",r);case"ObjectTypeCallProperty":return t.call(i,"value");case"ObjectTypeIndexer":return o.static&&u.push("static "),u.push(printVariance(t,i),"["),o.id&&u.push(t.call(i,"id"),": "),u.push(t.call(i,"key"),"]: ",t.call(i,"value")),p.concat(u);case"ObjectTypeProperty":return p.concat([printVariance(t,i),t.call(i,"key"),o.optional?"?":"",": ",t.call(i,"value")]);case"ObjectTypeInternalSlot":return p.concat([o.static?"static ":"","[[",t.call(i,"id"),"]]",o.optional?"?":"","FunctionTypeAnnotation"!==o.value.type?": ":"",t.call(i,"value")]);case"QualifiedTypeIdentifier":return p.concat([t.call(i,"qualification"),".",t.call(i,"id")]);case"StringLiteralTypeAnnotation":return p.fromString(nodeStr(o.value,r),r);case"NumberLiteralTypeAnnotation":case"NumericLiteralTypeAnnotation":return l.default.strictEqual((0,a.default)(o.value),"number"),p.fromString(JSON.stringify(o.value),r);case"BigIntLiteralTypeAnnotation":return p.fromString(o.raw,r);case"StringTypeAnnotation":return p.fromString("string",r);case"DeclareTypeAlias":u.push("declare ");case"TypeAlias":return p.concat(["type ",t.call(i,"id"),t.call(i,"typeParameters")," = ",t.call(i,"right"),";"]);case"DeclareOpaqueType":u.push("declare ");case"OpaqueType":return u.push("opaque type ",t.call(i,"id"),t.call(i,"typeParameters")),o.supertype&&u.push(": ",t.call(i,"supertype")),o.impltype&&u.push(" = ",t.call(i,"impltype")),u.push(";"),p.concat(u);case"TypeCastExpression":return p.concat(["(",t.call(i,"expression"),t.call(i,"typeAnnotation"),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":return p.concat(["<",p.fromString(", ").join(t.map(i,"params")),">"]);case"Variance":return"plus"===o.kind?p.fromString("+"):"minus"===o.kind?p.fromString("-"):p.fromString("");case"TypeParameter":return o.variance&&u.push(printVariance(t,i)),u.push(t.call(i,"name")),o.bound&&u.push(t.call(i,"bound")),o.default&&u.push("=",t.call(i,"default")),p.concat(u);case"TypeofTypeAnnotation":return p.concat([p.fromString("typeof ",r),t.call(i,"argument")]);case"IndexedAccessType":case"OptionalIndexedAccessType":return p.concat([t.call(i,"objectType"),o.optional?"?.":"","[",t.call(i,"indexType"),"]"]);case"UnionTypeAnnotation":return p.fromString(" | ").join(t.map(i,"types"));case"VoidTypeAnnotation":return p.fromString("void",r);case"NullTypeAnnotation":return p.fromString("null",r);case"SymbolTypeAnnotation":return p.fromString("symbol",r);case"BigIntTypeAnnotation":return p.fromString("bigint",r);case"TSType":throw new Error("unprintable type: "+JSON.stringify(o.type));case"TSNumberKeyword":return p.fromString("number",r);case"TSBigIntKeyword":return p.fromString("bigint",r);case"TSObjectKeyword":return p.fromString("object",r);case"TSBooleanKeyword":return p.fromString("boolean",r);case"TSStringKeyword":return p.fromString("string",r);case"TSSymbolKeyword":return p.fromString("symbol",r);case"TSAnyKeyword":return p.fromString("any",r);case"TSVoidKeyword":return p.fromString("void",r);case"TSIntrinsicKeyword":return p.fromString("intrinsic",r);case"TSThisType":return p.fromString("this",r);case"TSNullKeyword":return p.fromString("null",r);case"TSUndefinedKeyword":return p.fromString("undefined",r);case"TSUnknownKeyword":return p.fromString("unknown",r);case"TSNeverKeyword":return p.fromString("never",r);case"TSArrayType":return p.concat([t.call(i,"elementType"),"[]"]);case"TSLiteralType":return t.call(i,"literal");case"TSUnionType":return p.fromString(" | ").join(t.map(i,"types"));case"TSIntersectionType":return p.fromString(" & ").join(t.map(i,"types"));case"TSConditionalType":return u.push(t.call(i,"checkType")," extends ",t.call(i,"extendsType")," ? ",t.call(i,"trueType")," : ",t.call(i,"falseType")),p.concat(u);case"TSInferType":return u.push("infer ",t.call(i,"typeParameter")),p.concat(u);case"TSParenthesizedType":return p.concat(["(",t.call(i,"typeAnnotation"),")"]);case"TSFunctionType":return p.concat([t.call(i,"typeParameters"),"(",printFunctionParams(t,r,i),") => ",t.call(i,"typeAnnotation","typeAnnotation")]);case"TSConstructorType":return p.concat(["new ",t.call(i,"typeParameters"),"(",printFunctionParams(t,r,i),") => ",t.call(i,"typeAnnotation","typeAnnotation")]);case"TSMappedType":return u.push(o.readonly?"readonly ":"","[",t.call(i,"typeParameter"),"]",o.optional?"?":""),o.typeAnnotation&&u.push(": ",t.call(i,"typeAnnotation"),";"),p.concat(["{\n",p.concat(u).indent(r.tabWidth),"\n}"]);case"TSTupleType":return p.concat(["[",p.fromString(", ").join(t.map(i,"elementTypes")),"]"]);case"TSNamedTupleMember":return u.push(t.call(i,"label")),o.optional&&u.push("?"),u.push(": ",t.call(i,"elementType")),p.concat(u);case"TSRestType":return p.concat(["...",t.call(i,"typeAnnotation")]);case"TSOptionalType":return p.concat([t.call(i,"typeAnnotation"),"?"]);case"TSIndexedAccessType":return p.concat([t.call(i,"objectType"),"[",t.call(i,"indexType"),"]"]);case"TSTypeOperator":return p.concat([t.call(i,"operator")," ",t.call(i,"typeAnnotation")]);case"TSTypeLiteral":return(de=p.fromString(",\n").join(t.map(i,"members"))).isEmpty()?p.fromString("{}",r):(u.push("{\n",de.indent(r.tabWidth),"\n}"),p.concat(u));case"TSEnumMember":return u.push(t.call(i,"id")),o.initializer&&u.push(" = ",t.call(i,"initializer")),p.concat(u);case"TSTypeQuery":return p.concat(["typeof ",t.call(i,"exprName")]);case"TSParameterProperty":return o.accessibility&&u.push(o.accessibility," "),o.export&&u.push("export "),o.static&&u.push("static "),o.readonly&&u.push("readonly "),u.push(t.call(i,"parameter")),p.concat(u);case"TSTypeReference":return p.concat([t.call(i,"typeName"),t.call(i,"typeParameters")]);case"TSQualifiedName":return p.concat([t.call(i,"left"),".",t.call(i,"right")]);case"TSAsExpression":var pe=t.call(i,"expression");return u.push(pe,p.fromString(" as "),t.call(i,"typeAnnotation")),p.concat(u);case"TSNonNullExpression":return p.concat([t.call(i,"expression"),"!"]);case"TSTypeAnnotation":return p.concat([": ",t.call(i,"typeAnnotation")]);case"TSIndexSignature":return p.concat([o.readonly?"readonly ":"","[",t.map(i,"parameters"),"]",t.call(i,"typeAnnotation")]);case"TSPropertySignature":return u.push(printVariance(t,i),o.readonly?"readonly ":""),o.computed?u.push("[",t.call(i,"key"),"]"):u.push(t.call(i,"key")),u.push(o.optional?"?":"",t.call(i,"typeAnnotation")),p.concat(u);case"TSMethodSignature":return o.computed?u.push("[",t.call(i,"key"),"]"):u.push(t.call(i,"key")),o.optional&&u.push("?"),u.push(t.call(i,"typeParameters"),"(",printFunctionParams(t,r,i),")",t.call(i,"typeAnnotation")),p.concat(u);case"TSTypePredicate":return o.asserts&&u.push("asserts "),u.push(t.call(i,"parameterName")),o.typeAnnotation&&u.push(" is ",t.call(i,"typeAnnotation","typeAnnotation")),p.concat(u);case"TSCallSignatureDeclaration":return p.concat([t.call(i,"typeParameters"),"(",printFunctionParams(t,r,i),")",t.call(i,"typeAnnotation")]);case"TSConstructSignatureDeclaration":return o.typeParameters?u.push("new",t.call(i,"typeParameters")):u.push("new "),u.push("(",printFunctionParams(t,r,i),")",t.call(i,"typeAnnotation")),p.concat(u);case"TSTypeAliasDeclaration":return p.concat([o.declare?"declare ":"","type ",t.call(i,"id"),t.call(i,"typeParameters")," = ",t.call(i,"typeAnnotation"),";"]);case"TSTypeParameter":u.push(t.call(i,"name"));ae=t.getParentNode(0);var fe=y.TSMappedType.check(ae);return o.constraint&&u.push(fe?" in ":" extends ",t.call(i,"constraint")),o.default&&u.push(" = ",t.call(i,"default")),p.concat(u);case"TSTypeAssertion":return u.push("<",t.call(i,"typeAnnotation"),"> ",t.call(i,"expression")),p.concat(u);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return p.concat(["<",p.fromString(", ").join(t.map(i,"params")),">"]);case"TSEnumDeclaration":var de;return u.push(o.declare?"declare ":"",o.const?"const ":"","enum ",t.call(i,"id")),(de=p.fromString(",\n").join(t.map(i,"members"))).isEmpty()?u.push(" {}"):u.push(" {\n",de.indent(r.tabWidth),"\n}"),p.concat(u);case"TSExpressionWithTypeArguments":return p.concat([t.call(i,"expression"),t.call(i,"typeParameters")]);case"TSInterfaceBody":var he;return(he=p.fromString("\n").join(t.map(i,"body"))).isEmpty()?p.fromString("{}",r):p.concat(["{\n",he.indent(r.tabWidth),"\n}"]);case"TSImportType":return u.push("import(",t.call(i,"argument"),")"),o.qualifier&&u.push(".",t.call(i,"qualifier")),o.typeParameters&&u.push(t.call(i,"typeParameters")),p.concat(u);case"TSImportEqualsDeclaration":return o.isExport&&u.push("export "),u.push("import ",t.call(i,"id")," = ",t.call(i,"moduleReference")),maybeAddSemicolon(p.concat(u));case"TSExternalModuleReference":return p.concat(["require(",t.call(i,"expression"),")"]);case"TSModuleDeclaration":if("TSModuleDeclaration"===(ae=t.getParentNode()).type)u.push(".");else if(o.declare&&u.push("declare "),!o.global)if("StringLiteral"===o.id.type||"Literal"===o.id.type&&"string"==typeof o.id.value)u.push("module ");else if(o.loc&&o.loc.lines&&o.id.loc){o.loc.lines.sliceString(o.loc.start,o.id.loc.start).indexOf("module")>=0?u.push("module "):u.push("namespace ")}else u.push("namespace ");if(u.push(t.call(i,"id")),o.body&&"TSModuleDeclaration"===o.body.type)u.push(t.call(i,"body"));else if(o.body){var me=t.call(i,"body");me.isEmpty()?u.push(" {}"):u.push(" {\n",me.indent(r.tabWidth),"\n}")}return p.concat(u);case"TSModuleBlock":return t.call((function(t){return printStatementSequence(t,r,i)}),"body");case"V8IntrinsicIdentifier":return p.concat(["%",t.call(i,"name")]);case"TopicReference":return p.fromString("#");case"ClassHeritage":case"ComprehensionBlock":case"ComprehensionExpression":case"Glob":case"GeneratorExpression":case"LetStatement":case"LetExpression":case"GraphExpression":case"GraphIndexExpression":case"XMLDefaultDeclaration":case"XMLAnyName":case"XMLQualifiedIdentifier":case"XMLFunctionQualifiedIdentifier":case"XMLAttributeSelector":case"XMLFilterExpression":case"XML":case"XMLElement":case"XMLList":case"XMLEscape":case"XMLText":case"XMLStartTag":case"XMLEndTag":case"XMLPointTag":case"XMLName":case"XMLAttribute":case"XMLCdata":case"XMLComment":case"XMLProcessingInstruction":default:throw new Error("unknown type: "+JSON.stringify(o.type))}}(t,r,o);if(!u||h.isEmpty())return h;var g=!1,v=function printDecorators(t,r){var i=[],a=t.getValue();a.decorators&&a.decorators.length>0&&!x.getParentExportDeclaration(t)?t.each((function(t){i.push(r(t),"\n")}),"decorators"):x.isExportDeclaration(a)&&a.declaration&&a.declaration.decorators&&t.each((function(t){i.push(r(t),"\n")}),"declaration","decorators");return p.concat(i)}(t,o);return v.isEmpty()?i.avoidRootParens||(g=t.needsParens()):d.push(v),g&&d.unshift("("),d.push(h),g&&d.push(")"),p.concat(d)}function printStatementSequence(t,r,i){var a=[],o=!1,u=!1;t.each((function(t){var r=t.getValue();r&&("EmptyStatement"!==r.type||r.comments&&r.comments.length>0)&&(y.Comment.check(r)?o=!0:y.Statement.check(r)?u=!0:g.assert(r),a.push({node:r,printed:i(t)}))})),o&&l.default.strictEqual(u,!1,"Comments may appear as statements in otherwise empty statement lists, but may not coexist with non-Comment nodes.");var d=null,h=a.length,m=[];return a.forEach((function(t,i){var a,o,l=t.printed,u=t.node,y=l.length>1,g=i>0,v=ii.length)return a;return i}(d,a),l),v?d=o:o&&m.push(o)})),p.concat(m)}function printMethod(t,r,i){var a=t.getNode(),o=a.kind,l=[],u=a.value;y.FunctionExpression.check(u)||(u=a);var d=a.accessibility||a.access;"string"==typeof d&&l.push(d," "),a.static&&l.push("static "),a.abstract&&l.push("abstract "),a.readonly&&l.push("readonly "),u.async&&l.push("async "),u.generator&&l.push("*"),"get"!==o&&"set"!==o||l.push(o," ");var h=t.call(i,"key");return a.computed&&(h=p.concat(["[",h,"]"])),l.push(h),a.optional&&l.push("?"),a===u?(l.push(t.call(i,"typeParameters"),"(",printFunctionParams(t,r,i),")",t.call(i,"returnType")),a.body?l.push(" ",t.call(i,"body")):l.push(";")):(l.push(t.call(i,"value","typeParameters"),"(",t.call((function(t){return printFunctionParams(t,r,i)}),"value"),")",t.call(i,"value","returnType")),u.body?l.push(" ",t.call(i,"value","body")):l.push(";")),p.concat(l)}function printArgumentsList(t,r,i){var a=t.map(i,"arguments"),o=x.isTrailingCommaEnabled(r,"parameters"),l=p.fromString(", ").join(a);return l.getLineLength(1)>r.wrapColumn?(l=p.fromString(",\n").join(a),p.concat(["(\n",l.indent(r.tabWidth),o?",\n)":"\n)"])):p.concat(["(",l,")"])}function printFunctionParams(t,r,i){var a,o=t.getValue(),l=[];o.params?(a=o.params,l=t.map(i,"params")):o.parameters&&(a=o.parameters,l=t.map(i,"parameters")),o.defaults&&t.each((function(t){var r=t.getName(),a=l[r];a&&t.getValue()&&(l[r]=p.concat([a," = ",i(t)]))}),"defaults"),o.rest&&l.push(p.concat(["...",t.call(i,"rest")]));var u=p.fromString(", ").join(l);return u.length>1||u.getLineLength(1)>r.wrapColumn?(u=p.fromString(",\n").join(l),u=x.isTrailingCommaEnabled(r,"parameters")&&!o.rest&&"RestElement"!==a[a.length-1].type?p.concat([u,",\n"]):p.concat([u,"\n"]),p.concat(["\n",u.indent(r.tabWidth)])):u}function maybePrintImportAssertions(t,r,i){var a=t.getValue();if(a.assertions&&a.assertions.length>0){var o=[" assert {"],l=t.map(i,"assertions"),u=p.fromString(", ").join(l);return u.length>1||u.getLineLength(1)>r.wrapColumn?o.push("\n",p.fromString(",\n").join(l).indent(r.tabWidth),"\n}"):o.push(" ",u," }"),p.concat(o)}return p.fromString("")}function printExportDeclaration(t,r,i){var a=t.getValue(),o=["export "];a.exportKind&&"type"===a.exportKind&&(a.declaration||o.push("type "));var l=r.objectCurlySpacing;if(y.Declaration.assert(a),(a.default||"ExportDefaultDeclaration"===a.type)&&o.push("default "),a.declaration)o.push(t.call(i,"declaration"));else if(a.specifiers){if(1===a.specifiers.length&&"ExportBatchSpecifier"===a.specifiers[0].type)o.push("*");else if(0===a.specifiers.length)o.push("{}");else if("ExportDefaultSpecifier"===a.specifiers[0].type){var u=[],d=[];if(t.each((function(t){"ExportDefaultSpecifier"===t.getValue().type?u.push(i(t)):d.push(i(t))}),"specifiers"),u.forEach((function(t,r){r>0&&o.push(", "),o.push(t)})),d.length>0){var h=p.fromString(", ").join(d);h.getLineLength(1)>r.wrapColumn&&(h=p.concat([p.fromString(",\n").join(d).indent(r.tabWidth),","])),u.length>0&&o.push(", "),h.length>1?o.push("{\n",h,"\n}"):r.objectCurlySpacing?o.push("{ ",h," }"):o.push("{",h,"}")}}else o.push(l?"{ ":"{",p.fromString(", ").join(t.map(i,"specifiers")),l?" }":"}");a.source&&o.push(" from ",t.call(i,"source"),maybePrintImportAssertions(t,r,i))}var m=p.concat(o);return";"===lastNonSpaceCharacter(m)||a.declaration&&("FunctionDeclaration"===a.declaration.type||"ClassDeclaration"===a.declaration.type||"TSModuleDeclaration"===a.declaration.type||"TSInterfaceDeclaration"===a.declaration.type||"TSEnumDeclaration"===a.declaration.type)||(m=p.concat([m,";"])),m}function printFlowDeclaration(t,r){var i=x.getParentExportDeclaration(t);return i?l.default.strictEqual(i.type,"DeclareExportDeclaration"):r.unshift("declare "),p.concat(r)}function printVariance(t,r){return t.call((function(t){var i=t.getValue();return i?"plus"===i?p.fromString("+"):"minus"===i?p.fromString("-"):r(t):p.fromString("")}),"variance")}function adjustClause(t,r){return t.length>1?p.concat([" ",t]):p.concat(["\n",maybeAddSemicolon(t).indent(r.tabWidth)])}function lastNonSpaceCharacter(t){var r=t.lastPos();do{var i=t.charAt(r);if(/\S/.test(i))return i}while(t.prevPos(r))}function endsWithBrace(t){return"}"===lastNonSpaceCharacter(t)}function swapQuotes(t){return t.replace(/['"]/g,(function(t){return'"'===t?"'":'"'}))}function getPossibleRaw(t){var r=m.getFieldValue(t,"value"),i=m.getFieldValue(t,"extra");if(i&&"string"==typeof i.raw&&r==i.rawValue)return i.raw;if("Literal"===t.type){var a=t.raw;if("string"==typeof a&&r==a)return a}}function jsSafeStringify(t){return JSON.stringify(t).replace(/[\u2028\u2029]/g,(function(t){return"\\u"+t.charCodeAt(0).toString(16)}))}function nodeStr(t,r){switch(g.assert(t),r.quote){case"auto":var i=jsSafeStringify(t),a=swapQuotes(jsSafeStringify(swapQuotes(t)));return i.length>a.length?a:i;case"single":return swapQuotes(jsSafeStringify(swapQuotes(t)));case"double":default:return jsSafeStringify(t)}}function maybeAddSemicolon(t){var r=lastNonSpaceCharacter(t);return!r||"\n};".indexOf(r)<0?p.concat([t,";"]):t}r.Printer=function Printer(t){l.default.ok(this instanceof Printer);var r=t&&t.tabWidth;function makePrintFunctionWith(t,r){return t=Object.assign({},t,r),function(r){return print(r,t)}}function print(i,a){if(l.default.ok(i instanceof b.default),(a=a||{}).includeComments)return u.printComments(i,makePrintFunctionWith(a,{includeComments:!1}));var o=t.tabWidth;if(!r){var p=i.getNode().loc;p&&p.lines&&p.lines.guessTabWidth&&(t.tabWidth=p.lines.guessTabWidth())}var d=h.getReprinter(i),m=d?d(print):genericPrint(i,t,a,makePrintFunctionWith(a,{includeComments:!0,avoidRootParens:!1}));return t.tabWidth=o,m}(t=d.normalize(t)).sourceFileName=null,this.print=function(r){if(!r)return T;var i=print(b.default.from(r),{includeComments:!0,avoidRootParens:!1});return new E(i.toString(t),x.composeSourceMaps(t.inputSourceMap,i.getSourceMap(t.sourceMapName,t.sourceRoot)))},this.printGenerically=function(r){if(!r)return T;var i=b.default.from(r),a=t.reuseWhitespace;t.reuseWhitespace=!1;var o=new E(function printGenerically(r){return u.printComments(r,(function(r){return genericPrint(r,t,{includeComments:!0,avoidRootParens:!1},printGenerically)}))}(i).toString(t));return t.reuseWhitespace=a,o}}},"6YfB":function(t,r,i){"use strict";(function(t){r.__esModule=!0,r.File=void 0;var a=_interopRequireDefault(i("FyfS")),o=_interopRequireDefault(i("AyUB")),l=_interopRequireDefault(i("P2sY")),u=_interopRequireDefault(i("iCc5")),p=_interopRequireDefault(i("FYw3")),d=_interopRequireDefault(i("mRg0")),h=_interopRequireDefault(i("2Jfo")),m=_interopRequireWildcard(i("Vwyw")),y=_interopRequireDefault(i("nU91")),g=_interopRequireDefault(i("1/md")),v=_interopRequireDefault(i("DGUR")),b=i("dZTf"),x=_interopRequireDefault(b),E=_interopRequireDefault(i("Z+Wv")),S=_interopRequireDefault(i("itLL")),T=_interopRequireDefault(i("la6v")),A=_interopRequireDefault(i("+E+5")),P=_interopRequireDefault(i("921p")),C=i("DNYj"),w=_interopRequireWildcard(i("6caR")),D=_interopRequireDefault(i("33yf")),k=_interopRequireWildcard(i("KCzW")),_=_interopRequireDefault(i("44jb")),I=_interopRequireDefault(i("SeTr")),O=_interopRequireDefault(i("U4Pw")),N=_interopRequireDefault(i("aSeU"));function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r.default=t,r}function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var B=/^#!.*/,M=[[O.default],[N.default]],L={enter:function enter(t,r){var i=t.node.loc;i&&(r.loc=i,t.stop())}},R=function(r){function File(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments[1];(0,u.default)(this,File);var a=(0,p.default)(this,r.call(this));return a.pipeline=i,a.log=new A.default(a,t.filename||"unknown"),a.opts=a.initOptions(t),a.parserOpts={sourceType:a.opts.sourceType,sourceFileName:a.opts.filename,plugins:[]},a.pluginVisitors=[],a.pluginPasses=[],a.buildPluginsForOptions(a.opts),a.opts.passPerPreset&&(a.perPresetOpts=[],a.opts.presets.forEach((function(t){var r=(0,l.default)((0,o.default)(a.opts),t);a.perPresetOpts.push(r),a.buildPluginsForOptions(r)}))),a.metadata={usedHelpers:[],marked:[],modules:{imports:[],exports:{exported:[],specifiers:[]}}},a.dynamicImportTypes={},a.dynamicImportIds={},a.dynamicImports=[],a.declarations={},a.usedHelpers={},a.path=null,a.ast={},a.code="",a.shebang="",a.hub=new b.Hub(a),a}return(0,d.default)(File,r),File.prototype.getMetadata=function getMetadata(){var t=!1,r=this.ast.program.body,i=Array.isArray(r),o=0;for(r=i?r:(0,a.default)(r);;){var l;if(i){if(o>=r.length)break;l=r[o++]}else{if((o=r.next()).done)break;l=o.value}var u=l;if(k.isModuleDeclaration(u)){t=!0;break}}t&&this.path.traverse(m,this)},File.prototype.initOptions=function initOptions(t){(t=new g.default(this.log,this.pipeline).init(t)).inputSourceMap&&(t.sourceMaps=!0),t.moduleId&&(t.moduleIds=!0),t.basename=D.default.basename(t.filename,D.default.extname(t.filename)),t.ignore=w.arrayify(t.ignore,w.regexify),t.only&&(t.only=w.arrayify(t.only,w.regexify)),(0,T.default)(t,{moduleRoot:t.sourceRoot}),(0,T.default)(t,{sourceRoot:t.moduleRoot}),(0,T.default)(t,{filenameRelative:t.filename});var r=D.default.basename(t.filenameRelative);return(0,T.default)(t,{sourceFileName:r,sourceMapTarget:r}),t},File.prototype.buildPluginsForOptions=function buildPluginsForOptions(t){if(Array.isArray(t.plugins)){var r=[],i=[],o=t.plugins.concat(M),l=Array.isArray(o),u=0;for(o=l?o:(0,a.default)(o);;){var p;if(l){if(u>=o.length)break;p=o[u++]}else{if((u=o.next()).done)break;p=u.value}var d=p,h=d[0],m=d[1];r.push(h.visitor),i.push(new v.default(this,h,m)),h.manipulateOptions&&h.manipulateOptions(t,this.parserOpts,this)}this.pluginVisitors.push(r),this.pluginPasses.push(i)}},File.prototype.getModuleName=function getModuleName(){var t=this.opts;if(!t.moduleIds)return null;if(null!=t.moduleId&&!t.getModuleId)return t.moduleId;var r=t.filenameRelative,i="";if(null!=t.moduleRoot&&(i=t.moduleRoot+"/"),!t.filenameRelative)return i+t.filename.replace(/^\//,"");if(null!=t.sourceRoot){var a=new RegExp("^"+t.sourceRoot+"/?");r=r.replace(a,"")}return i=(i+=r=r.replace(/\.(\w*?)$/,"")).replace(/\\/g,"/"),t.getModuleId&&t.getModuleId(i)||i},File.prototype.resolveModuleSource=function resolveModuleSource(t){var resolveModuleSource=this.opts.resolveModuleSource;return resolveModuleSource&&(t=resolveModuleSource(t,this.opts.filename)),t},File.prototype.addImport=function addImport(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,a=t+":"+r,o=this.dynamicImportIds[a];if(!o){t=this.resolveModuleSource(t),o=this.dynamicImportIds[a]=this.scope.generateUidIdentifier(i);var l=[];"*"===r?l.push(k.importNamespaceSpecifier(o)):"default"===r?l.push(k.importDefaultSpecifier(o)):l.push(k.importSpecifier(o,k.identifier(r)));var u=k.importDeclaration(l,k.stringLiteral(t));u._blockHoist=3,this.path.unshiftContainer("body",u)}return o},File.prototype.addHelper=function addHelper(t){var r=this.declarations[t];if(r)return r;this.usedHelpers[t]||(this.metadata.usedHelpers.push(t),this.usedHelpers[t]=!0);var i=this.get("helperGenerator"),a=this.get("helpersNamespace");if(i){var o=i(t);if(o)return o}else if(a)return k.memberExpression(a,k.identifier(t));var l=(0,h.default)(t),u=this.declarations[t]=this.scope.generateUidIdentifier(t);return k.isFunctionExpression(l)&&!l.id?(l.body._compact=!0,l._generated=!0,l.id=u,l.type="FunctionDeclaration",this.path.unshiftContainer("body",l)):(l._compact=!0,this.scope.push({id:u,init:l,unique:!0})),u},File.prototype.addTemplateObject=function addTemplateObject(t,r,i){var a=i.elements.map((function(t){return t.value})),o=t+"_"+i.elements.length+"_"+a.join(","),l=this.declarations[o];if(l)return l;var u=this.declarations[o]=this.scope.generateUidIdentifier("templateObject"),p=this.addHelper(t),d=k.callExpression(p,[r,i]);return d._compact=!0,this.scope.push({id:u,init:d,_blockHoist:1.9}),u},File.prototype.buildCodeFrameError=function buildCodeFrameError(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:SyntaxError,a=t&&(t.loc||t._loc),o=new i(r);return a?o.loc=a.start:((0,x.default)(t,L,this.scope,o),o.message+=" (This is an error on an internal node. Probably an internal error",o.loc&&(o.message+=". Location has been estimated."),o.message+=")"),o},File.prototype.mergeSourceMap=function mergeSourceMap(t){var r=this.opts.inputSourceMap;return r&&t?(0,_.default)(r,t):t},File.prototype.parse=function parse(r){var a=C.parse,o=this.opts.parserOpts;if(o&&(o=(0,l.default)({},this.parserOpts,o)).parser){if("string"==typeof o.parser){var u=D.default.dirname(this.opts.filename)||t.cwd(),p=(0,I.default)(o.parser,u);if(!p)throw new Error("Couldn't find parser "+o.parser+' with "parse" method relative to directory '+u);a=i("5iHU")(p).parse}else a=o.parser;o.parser={parse:function parse(t){return(0,C.parse)(t,o)}}}this.log.debug("Parse start");var d=a(r,o||this.parserOpts);return this.log.debug("Parse stop"),d},File.prototype._addAst=function _addAst(t){this.path=b.NodePath.get({hub:this.hub,parentPath:null,parent:t,container:t,key:"program"}).setContext(),this.scope=this.path.scope,this.ast=t,this.getMetadata()},File.prototype.addAst=function addAst(t){this.log.debug("Start set AST"),this._addAst(t),this.log.debug("End set AST")},File.prototype.transform=function transform(){for(var t=0;t=i.length)break;u=i[l++]}else{if((l=i.next()).done)break;u=l.value}var p=u,d=p.plugin[t];d&&d.call(p,this)}},File.prototype.parseInputSourceMap=function parseInputSourceMap(t){var r=this.opts;if(!1!==r.inputSourceMap){var i=y.default.fromSource(t);i&&(r.inputSourceMap=i.toObject(),t=y.default.removeComments(t))}return t},File.prototype.parseShebang=function parseShebang(){var t=B.exec(this.code);t&&(this.shebang=t[0],this.code=this.code.replace(B,""))},File.prototype.makeResult=function makeResult(t){var r=t.code,i=t.map,a=t.ast,o=t.ignored,l={metadata:null,options:this.opts,ignored:!!o,code:null,ast:null,map:i||null};return this.opts.code&&(l.code=r),this.opts.ast&&(l.ast=a),this.opts.metadata&&(l.metadata=this.metadata),l},File.prototype.generate=function generate(){var r=this.opts,a=this.ast,o={ast:a};if(!r.code)return this.makeResult(o);var u=E.default;if(r.generatorOpts.generator&&"string"==typeof(u=r.generatorOpts.generator)){var p=D.default.dirname(this.opts.filename)||t.cwd(),d=(0,I.default)(u,p);if(!d)throw new Error("Couldn't find generator "+u+' with "print" method relative to directory '+p);u=i("5iHU")(d).print}this.log.debug("Generation start");var h=u(a,r.generatorOpts?(0,l.default)(r,r.generatorOpts):r,this.code);return o.code=h.code,o.map=h.map,this.log.debug("Generation end"),this.shebang&&(o.code=this.shebang+"\n"+o.code),o.map&&(o.map=this.mergeSourceMap(o.map)),"inline"!==r.sourceMaps&&"both"!==r.sourceMaps||(o.code+="\n"+y.default.fromObject(o.map).toComment()),"inline"===r.sourceMaps&&(o.map=null),this.makeResult(o)},File}(P.default);r.default=R,r.File=R}).call(this,i("8oxB"))},"6caR":function(t,r,i){"use strict";r.__esModule=!0,r.inspect=r.inherits=void 0;var a=_interopRequireDefault(i("FyfS")),o=i("MCLT");Object.defineProperty(r,"inherits",{enumerable:!0,get:function get(){return o.inherits}}),Object.defineProperty(r,"inspect",{enumerable:!0,get:function get(){return o.inspect}}),r.canCompile=canCompile,r.list=list,r.regexify=function regexify(t){if(!t)return new RegExp(/.^/);Array.isArray(t)&&(t=new RegExp(t.map(l.default).join("|"),"i"));if("string"==typeof t){t=(0,y.default)(t),((0,u.default)(t,"./")||(0,u.default)(t,"*/"))&&(t=t.slice(2)),(0,u.default)(t,"**/")&&(t=t.slice(3));var r=p.default.makeRe(t,{nocase:!0});return new RegExp(r.source.slice(1,-1),"i")}if((0,h.default)(t))return t;throw new TypeError("illegal type for regexify")},r.arrayify=function arrayify(t,r){if(!t)return[];if("boolean"==typeof t)return arrayify([t],r);if("string"==typeof t)return arrayify(list(t),r);if(Array.isArray(t))return r&&(t=t.map(r)),t;return[t]},r.booleanify=function booleanify(t){if("true"===t||1==t)return!0;if("false"===t||0==t||!t)return!1;return t},r.shouldIgnore=function shouldIgnore(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments[2];if(t=t.replace(/\\/g,"/"),i){var o=i,l=Array.isArray(o),u=0;for(o=l?o:(0,a.default)(o);;){var p;if(l){if(u>=o.length)break;p=o[u++]}else{if((u=o.next()).done)break;p=u.value}var d=p;if(_shouldIgnore(d,t))return!1}return!0}if(r.length){var h=r,m=Array.isArray(h),y=0;for(h=m?h:(0,a.default)(h);;){var g;if(m){if(y>=h.length)break;g=h[y++]}else{if((y=h.next()).done)break;g=y.value}var v=g;if(_shouldIgnore(v,t))return!0}}return!1};var l=_interopRequireDefault(i("kGJw")),u=_interopRequireDefault(i("Xdxp")),p=_interopRequireDefault(i("2LKJ")),d=_interopRequireDefault(i("ijCd")),h=_interopRequireDefault(i("wAXd")),m=_interopRequireDefault(i("33yf")),y=_interopRequireDefault(i("+LlT"));function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function canCompile(t,r){var i=r||canCompile.EXTENSIONS,a=m.default.extname(t);return(0,d.default)(i,a)}function list(t){return t?Array.isArray(t)?t:"string"==typeof t?t.split(","):[t]:[]}function _shouldIgnore(t,r){return"function"==typeof t?t(r):t.test(r)}canCompile.EXTENSIONS=[".js",".jsx",".es6",".es"]},"6geb":function(t,r,i){"use strict";r.__esModule=!0,r.toComputedKey=function toComputedKey(){var t=this.node,r=void 0;if(this.isMemberExpression())r=t.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");r=t.key}t.computed||a.isIdentifier(r)&&(r=a.stringLiteral(r.name));return r},r.ensureBlock=function ensureBlock(){return a.ensureBlock(this.node)},r.arrowFunctionToShadowed=function arrowFunctionToShadowed(){if(!this.isArrowFunctionExpression())return;this.ensureBlock();var t=this.node;t.expression=!1,t.type="FunctionExpression",t.shadow=t.shadow||!0};var a=function _interopRequireWildcard(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i]);return r.default=t,r}(i("KCzW"))},"6l/m":function(t,r,i){"use strict";var a=i("TqRt")(i("cDf5"));Object.defineProperty(r,"__esModule",{value:!0}),r.isTrailingCommaEnabled=r.getParentExportDeclaration=r.isExportDeclaration=r.fixFaultyLocations=r.getTrueLoc=r.composeSourceMaps=r.copyPos=r.comparePos=r.getUnionOfKeys=r.getOption=void 0;var o=i("lU99"),l=o.__importDefault(i("9lTW")),u=o.__importStar(i("2HvJ")).namedTypes,p=o.__importDefault(i("3HS5")),d=p.default.SourceMapConsumer,h=p.default.SourceMapGenerator,m=Object.prototype.hasOwnProperty;function comparePos(t,r){return t.line-r.line||t.column-r.column}function copyPos(t){return{line:t.line,column:t.column}}function expandLoc(t,r){t&&r&&(comparePos(r.start,t.start)<0&&(t.start=r.start),comparePos(t.end,r.end)<0&&(t.end=r.end))}function isExportDeclaration(t){if(t)switch(t.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}r.getOption=function getOption(t,r,i){return t&&m.call(t,r)?t[r]:i},r.getUnionOfKeys=function getUnionOfKeys(){for(var t=[],r=0;ri||o==i&&u>=l||a.compareByGeneratedPositionsInflated(t,r)<=0}(this._last,t)?(this._sorted=!1,this._array.push(t)):(this._last=t,this._array.push(t))},MappingList.prototype.toArray=function MappingList_toArray(){return this._sorted||(this._array.sort(a.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},r.MappingList=MappingList},"6sVZ":function(t,r){var i=Object.prototype;t.exports=function isPrototype(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||i)}},"6tRB":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Hub",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(r,"NodePath",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(r,"Scope",{enumerable:!0,get:function(){return d.default}}),r.visitors=r.default=void 0;var a=i("4lDG");r.visitors=a;var o=i("JSq2"),l=i("QpWQ"),u=i("kBpy"),p=i("xx5x"),d=i("6OOl"),h=i("5fmq");const{VISITOR_KEYS:m,removeProperties:y,traverseFast:g}=o;function traverse(t,r={},i,o,l){if(t){if(!r.noScope&&!i&&"Program"!==t.type&&"File"!==t.type)throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${t.type} node without passing scope and parentPath.`);m[t.type]&&(a.explode(r),(0,u.traverseNode)(t,r,i,o,l))}}var v=traverse;function hasDenylistedType(t,r){t.node.type===r.type&&(r.has=!0,t.stop())}r.default=v,traverse.visitors=a,traverse.verify=a.verify,traverse.explode=a.explode,traverse.cheap=function(t,r){return g(t,r)},traverse.node=function(t,r,i,a,o,l){(0,u.traverseNode)(t,r,i,a,o,l)},traverse.clearNode=function(t,r){y(t,r),l.path.delete(t)},traverse.removeProperties=function(t,r){return g(t,traverse.clearNode,r),t},traverse.hasType=function(t,r,i){if(null!=i&&i.includes(t.type))return!1;if(t.type===r)return!0;const a={has:!1,type:r};return traverse(t,{noScope:!0,denylist:i,enter:hasDenylistedType},null,a),a.has},traverse.cache=l},"6tYh":function(t,r,i){var a=i("93I4"),o=i("5K7Z"),check=function(t,r){if(o(t),!a(r)&&null!==r)throw TypeError(r+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,r,a){try{(a=i("2GTP")(Function.call,i("vwuL").f(Object.prototype,"__proto__").set,2))(t,[]),r=!(t instanceof Array)}catch(t){r=!0}return function setPrototypeOf(t,i){return check(t,i),r?t.__proto__=i:a(t,i),t}}({},!1):void 0),check:check}},"6tYi":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function removeTypeDuplicates(t){const r={},i={},o=new Set,l=[];for(let u=0;u=0)){if((0,a.isAnyTypeAnnotation)(p))return[p];if((0,a.isFlowBaseAnnotation)(p))i[p.type]=p;else if((0,a.isUnionTypeAnnotation)(p))o.has(p.types)||(t=t.concat(p.types),o.add(p.types));else if((0,a.isGenericTypeAnnotation)(p)){const t=getQualifiedName(p.id);if(r[t]){let i=r[t];i.typeParameters?p.typeParameters&&(i.typeParameters.params=removeTypeDuplicates(i.typeParameters.params.concat(p.typeParameters.params))):i=p.typeParameters}else r[t]=p}else l.push(p)}}for(const t of Object.keys(i))l.push(i[t]);for(const t of Object.keys(r))l.push(r[t]);return l};var a=i("xIU+");function getQualifiedName(t){return(0,a.isIdentifier)(t)?t.name:`${t.id.name}.${getQualifiedName(t.qualification)}`}},"71/9":function(t,r,i){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function cloneWithoutLoc(t){return(0,a.default)(t,!1,!0)};var a=i("v3g0")},"711d":function(t,r){t.exports=function baseProperty(t){return function(r){return null==r?void 0:r[t]}}},"737b":function(t,r,i){"use strict";function _createForOfIteratorHelper(t,r){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function _unsupportedIterableToArray(t,r){if(!t)return;if("string"==typeof t)return _arrayLikeToArray(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,r)}(t))||r&&t&&"number"==typeof t.length){i&&(t=i);var a=0,o=function F(){};return{s:o,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,p=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){p=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(p)throw l}}}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var i=0,a=new Array(r);i>>=5)>0&&(r|=32),i+=a.encode(r)}while(o>0);return i},r.decode=function base64VLQ_decode(t,r,i){var o,l,u=t.length,p=0,d=0;do{if(r>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(l=a.decode(t.charCodeAt(r++))))throw new Error("Invalid base64 digit: "+t.charAt(r-1));o=!!(32&l),p+=(l&=31)<>1;return 1==(1&t)?-r:r}(p),i.rest=r}},"7GkX":function(t,r,i){var a=i("b80T"),o=i("A90E"),l=i("MMmD");t.exports=function keys(t){return l(t)?a(t):o(t)}},"7Ix3":function(t,r){t.exports=function nativeKeysIn(t){var r=[];if(null!=t)for(var i in Object(t))r.push(i);return r}},"7JIW":function(t,r,i){"use strict";(function(r){const i={},a=i.hasOwnProperty,forOwn=(t,r)=>{for(const i in t)a.call(t,i)&&r(i,t[i])},o=i.toString,l=Array.isArray,u=r.isBuffer,p={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},d=/["'\\\b\f\n\r\t]/,h=/[0-9]/,m=/[ !#-&\(-\[\]-_a-~]/,jsesc=(t,r)=>{const increaseIndentation=()=>{S=E,++r.indentLevel,E=r.indent.repeat(r.indentLevel)},i={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},a=r&&r.json;var y,g;a&&(i.quotes="double",i.wrap=!0),y=i,"single"!=(r=(g=r)?(forOwn(g,(t,r)=>{y[t]=r}),y):y).quotes&&"double"!=r.quotes&&"backtick"!=r.quotes&&(r.quotes="single");const v="double"==r.quotes?'"':"backtick"==r.quotes?"`":"'",b=r.compact,x=r.lowercaseHex;let E=r.indent.repeat(r.indentLevel),S="";const T=r.__inline1__,A=r.__inline2__,P=b?"":"\n";let C,w=!0;const D="binary"==r.numbers,k="octal"==r.numbers,_="decimal"==r.numbers,I="hexadecimal"==r.numbers;if(a&&t&&"function"==typeof t.toJSON&&(t=t.toJSON()),!(t=>"string"==typeof t||"[object String]"==o.call(t))(t)){if((t=>"[object Map]"==o.call(t))(t))return 0==t.size?"new Map()":(b||(r.__inline1__=!0,r.__inline2__=!1),"new Map("+jsesc(Array.from(t),r)+")");if((t=>"[object Set]"==o.call(t))(t))return 0==t.size?"new Set()":"new Set("+jsesc(Array.from(t),r)+")";if(u(t))return 0==t.length?"Buffer.from([])":"Buffer.from("+jsesc(Array.from(t),r)+")";if(l(t))return C=[],r.wrap=!0,T&&(r.__inline1__=!1,r.__inline2__=!0),A||increaseIndentation(),((t,r)=>{const i=t.length;let a=-1;for(;++a{w=!1,A&&(r.__inline2__=!1),C.push((b||A?"":E)+jsesc(t,r))}),w?"[]":A?"["+C.join(", ")+"]":"["+P+C.join(","+P)+P+(b?"":S)+"]";if(!(t=>"number"==typeof t||"[object Number]"==o.call(t))(t))return(t=>"[object Object]"==o.call(t))(t)?(C=[],r.wrap=!0,increaseIndentation(),forOwn(t,(t,i)=>{w=!1,C.push((b?"":E)+jsesc(t,r)+":"+(b?"":" ")+jsesc(i,r))}),w?"{}":"{"+P+C.join(","+P)+P+(b?"":S)+"}"):a?JSON.stringify(t)||"null":String(t);if(a)return JSON.stringify(t);if(_)return String(t);if(I){let r=t.toString(16);return x||(r=r.toUpperCase()),"0x"+r}if(D)return"0b"+t.toString(2);if(k)return"0o"+t.toString(8)}const O=t;let N=-1;const B=O.length;for(C="";++N=55296&&t<=56319&&B>N+1){const r=O.charCodeAt(N+1);if(r>=56320&&r<=57343){let i=(1024*(t-55296)+r-56320+65536).toString(16);x||(i=i.toUpperCase()),C+="\\u{"+i+"}",++N;continue}}}if(!r.escapeEverything){if(m.test(t)){C+=t;continue}if('"'==t){C+=v==t?'\\"':t;continue}if("`"==t){C+=v==t?"\\`":t;continue}if("'"==t){C+=v==t?"\\'":t;continue}}if("\0"==t&&!a&&!h.test(O.charAt(N+1))){C+="\\0";continue}if(d.test(t)){C+=p[t];continue}const i=t.charCodeAt(0);if(r.minimal&&8232!=i&&8233!=i){C+=t;continue}let o=i.toString(16);x||(o=o.toUpperCase());const l=o.length>2||a,u="\\"+(l?"u":"x")+("0000"+o).slice(l?-4:-2);C+=u}return r.wrap&&(C=v+C+v),"`"==v&&(C=C.replace(/\$\{/g,"\\${")),r.isScriptContext?C.replace(/<\/(script|style)/gi,"<\\/$1").replace(/$/);return null!==h&&(h[1]?h[1]:"next")}function shouldPrePrintTripleHardline(o,h){var E=h.prevNode&&"list"===h.prevNode.type,x="code"===o.type&&o.isIndented;return E&&x}function normalizeDoc(o){return Bg(o,(function(o){if(!o.parts)return o;if("concat"===o.type&&1===o.parts.length)return o.parts[0];var h=o.parts.reduce((function(o,h){return"concat"===h.type?o.push.apply(o,(0,ee.default)(h.parts)):""!==h&&o.push(h),o}),[]);return Object.assign({},o,{parts:normalizeParts$2(h)})}))}function printUrl(o,h){var E=[" "].concat(h||[]);return new RegExp(E.map((function(o){return"\\".concat(o)})).join("|")).test(o)?"<".concat(o,">"):o}function printTitle(o,h,E){if(null==E&&(E=!0),!o)return"";if(E)return" "+printTitle(o,h,!1);if(o.includes('"')&&o.includes("'")&&!o.includes(")"))return"(".concat(o,")");var x=o.split("'").length-1,C=o.split('"').length-1,T=x>C?'"':C>x||h.singleQuote?"'":'"';return o=o.replace(new RegExp("(".concat(T,")"),"g"),"\\$1"),"".concat(T).concat(o).concat(T)}function normalizeParts$2(o){return o.reduce((function(o,h){var E=sa.getLast(o);return"string"==typeof E&&"string"==typeof h?o.splice(-1,1,E+h):o.push(h),o}),[])}var Gg={preprocess:gg,print:function genericPrint$5(o,h,E){var x=o.getValue();if(function shouldRemainTheSameContent(o){var h=getAncestorNode$2(o,["linkReference","imageReference"]);return h&&("linkReference"!==h.type||"full"!==h.referenceType)}(o))return Eg(Rg(h.originalText.slice(x.position.start.offset,x.position.end.offset),h).map((function(E){return"word"===E.type?E.value:""===E.value?"":printLine(o,E.value,h)})));switch(x.type){case"root":return 0===x.children.length?"":Eg([normalizeDoc(printRoot(o,h,E)),Vg.includes(getLastDescendantNode(x).type)?"":Sg]);case"paragraph":return printChildren$2(o,h,E,{postprocessor:Tg});case"sentence":return printChildren$2(o,h,E);case"word":return x.value.replace(/[*$]/g,"\\$&").replace(new RegExp(["(^|".concat(Mg,")(_+)"),"(_+)(".concat(Mg,"|$)")].join("|"),"g"),(function(o,h,E,x,C){return(E?"".concat(h).concat(E):"".concat(x).concat(C)).replace(/_/g,"\\_")}));case"whitespace":var C=o.getParentNode(),T=C.children.indexOf(x),P=C.children[T+1],N=P&&/^>|^([-+*]|#{1,6}|[0-9]+[.)])$/.test(P.value)?"never":h.proseWrap;return printLine(o,x.value,{proseWrap:N});case"emphasis":var R=o.getParentNode(),j=R.children.indexOf(x),ee=R.children[j-1],re=R.children[j+1],ne=ee&&"sentence"===ee.type&&ee.children.length>0&&"word"===sa.getLast(ee.children).type&&!sa.getLast(ee.children).hasTrailingPunctuation||re&&"sentence"===re.type&&re.children.length>0&&"word"===re.children[0].type&&!re.children[0].hasLeadingPunctuation||getAncestorNode$2(o,"emphasis")?"*":"_";return Eg([ne,printChildren$2(o,h,E),ne]);case"strong":return Eg(["**",printChildren$2(o,h,E),"**"]);case"delete":return Eg(["~~",printChildren$2(o,h,E),"~~"]);case"inlineCode":var ie=sa.getMinNotPresentContinuousCount(x.value,"`"),ae="`".repeat(ie||1),se=ie?" ":"";return Eg([ae,se,x.value,se,ae]);case"link":switch(h.originalText[x.position.start.offset]){case"<":var oe=x.url.startsWith("mailto:")&&"mailto:"!==h.originalText.slice(x.position.start.offset+1,x.position.start.offset+1+"mailto:".length)?x.url.slice("mailto:".length):x.url;return Eg(["<",oe,">"]);case"[":return Eg(["[",printChildren$2(o,h,E),"](",printUrl(x.url,")"),printTitle(x.title,h),")"]);default:return h.originalText.slice(x.position.start.offset,x.position.end.offset)}case"image":return Eg(["![",x.alt||"","](",printUrl(x.url,")"),printTitle(x.title,h),")"]);case"blockquote":return Eg(["> ",_g("> ",printChildren$2(o,h,E))]);case"heading":return Eg(["#".repeat(x.depth)+" ",printChildren$2(o,h,E)]);case"code":if(x.isIndented){var ue=" ".repeat(4);return _g(ue,Eg([ue,Eg(qg(x.value,Sg))]))}var le=h.__inJsTemplate?"~":"`",ce=le.repeat(Math.max(3,sa.getMaxContinuousCount(x.value,le)+1));return Eg([ce,x.lang||"",Sg,Eg(qg(Ig(x,h.originalText),Sg)),Sg,ce]);case"yaml":case"toml":return h.originalText.slice(x.position.start.offset,x.position.end.offset);case"html":var pe=o.getParentNode(),fe="root"===pe.type&&sa.getLast(pe.children)===x?x.value.trimEnd():x.value,he=/^$/.test(fe);return Eg(qg(fe,he?Sg:Ag(Cg)));case"list":var de=getNthListSiblingIndex(x,o.getParentNode()),me=Og(x,h);return printChildren$2(o,h,E,{processor:function processor(o,C){var T=function getPrefix(){var o=x.ordered?(0===C?x.start:me?1:x.start+C)+(de%2==0?". ":") "):de%2==0?"- ":"* ";return x.isAligned||x.hasIndentedCodeblock?function alignListPrefix(o,h){var E=function getAdditionalSpaces(){var E=o.length%h.tabWidth;return 0===E?0:h.tabWidth-E}();return o+" ".repeat(E>=4?0:E)}(o,h):o}(),P=o.getValue();return 2===P.children.length&&"html"===P.children[1].type&&P.children[0].position.start.column!==P.children[1].position.start.column?Eg([T,printListItem(o,h,E,T)]):Eg([T,_g(" ".repeat(T.length),printListItem(o,h,E,T))])}});case"thematicBreak":var ye=getAncestorCounter$1(o,"list");return-1===ye?"---":getNthListSiblingIndex(o.getParentNode(ye),o.getParentNode(ye+1))%2==0?"***":"---";case"linkReference":return Eg(["[",printChildren$2(o,h,E),"]","full"===x.referenceType?Eg(["[",x.identifier,"]"]):"collapsed"===x.referenceType?"[]":""]);case"imageReference":switch(x.referenceType){case"full":return Eg(["![",x.alt||"","][",x.identifier,"]"]);default:return Eg(["![",x.alt,"]","collapsed"===x.referenceType?"[]":""])}case"definition":var ge="always"===h.proseWrap?bg:" ";return Pg(Eg([Eg(["[",x.identifier,"]:"]),Fg(Eg([ge,printUrl(x.url),null===x.title?"":Eg([ge,printTitle(x.title,h,!1)])]))]));case"footnote":return Eg(["[^",printChildren$2(o,h,E),"]"]);case"footnoteReference":return Eg(["[^",x.identifier,"]"]);case"footnoteDefinition":var ve=o.getParentNode().children[o.getName()+1],De=1===x.children.length&&"paragraph"===x.children[0].type&&("never"===h.proseWrap||"preserve"===h.proseWrap&&x.children[0].position.start.line===x.children[0].position.end.line);return Eg(["[^",x.identifier,"]: ",De?printChildren$2(o,h,E):Pg(Eg([_g(" ".repeat(h.tabWidth),printChildren$2(o,h,E,{processor:function processor(o,h){return 0===h?Pg(Eg([wg,o.call(E)])):o.call(E)}})),ve&&"footnoteDefinition"===ve.type?wg:""]))]);case"table":return function printTable(o,h,E){var x=Sg.parts[0],C=o.getValue(),T=[];o.map((function(o){var x=[];o.map((function(o){x.push(Ng(o.call(E),h).formatted)}),"children"),T.push(x)}),"children");var P=T.reduce((function(o,h){return o.map((function(o,E){return Math.max(o,sa.getStringWidth(h[E]))}))}),T[0].map((function(){return 3}))),N=xg(x,[printRow(T[0]),printSeparator(),xg(x,T.slice(1).map((function(o){return printRow(o)})))]);if("never"!==h.proseWrap)return Eg([Dg,N]);var R=xg(x,[printRow(T[0],!0),printSeparator(!0),xg(x,T.slice(1).map((function(o){return printRow(o,!0)})))]);return Eg([Dg,Pg(kg(R,N))]);function printSeparator(o){return Eg(["| ",xg(" | ",P.map((function(h,E){var x=o?3:h;switch(C.align[E]){case"left":return":"+"-".repeat(x-1);case"right":return"-".repeat(x-1)+":";case"center":return":"+"-".repeat(x-2)+":";default:return"-".repeat(x)}})))," |"])}function printRow(o,h){return Eg(["| ",xg(" | ",h?o:o.map((function(o,h){switch(C.align[h]){case"right":return function alignRight(o,h){var E=h-sa.getStringWidth(o);return Eg([" ".repeat(E),o])}(o,P[h]);case"center":return function alignCenter(o,h){var E=h-sa.getStringWidth(o),x=Math.floor(E/2),C=E-x;return Eg([" ".repeat(x),o," ".repeat(C)])}(o,P[h]);default:return function alignLeft(o,h){var E=h-sa.getStringWidth(o);return Eg([o," ".repeat(E)])}(o,P[h])}})))," |"])}}(o,h,E);case"tableCell":return printChildren$2(o,h,E);case"break":return/\s/.test(h.originalText[x.position.start.offset])?Eg([" ",Ag(Cg)]):Eg(["\\",Sg]);case"liquidNode":return Eg(qg(x.value,Sg));case"importExport":case"jsx":return x.value;case"math":return Eg(["$$",Sg,x.value?Eg([Eg(qg(x.value,Sg)),Sg]):"","$$"]);case"inlineMath":return h.originalText.slice(h.locStart(x),h.locEnd(x));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(x.type)))}},embed:cg,massageAstNode:function clean$6(o,h,E){return delete h.position,delete h.raw,"code"!==o.type&&"yaml"!==o.type&&"import"!==o.type&&"export"!==o.type&&"jsx"!==o.type||delete h.value,"list"===o.type&&delete h.isAligned,"text"===o.type?null:("inlineCode"===o.type&&(h.value=o.value.replace(/[ \t\n]+/g," ")),E&&"root"===E.type&&E.children.length>0&&(E.children[0]===o||("yaml"===E.children[0].type||"toml"===E.children[0].type)&&E.children[1]===o)&&"html"===o.type&&fg.startWithPragma(o.value)?null:void 0)},hasPrettierIgnore:function hasPrettierIgnore$6(o){var h=+o.getName();return 0!==h&&"next"===isPrettierIgnore$1(o.getParentNode().children[h-1])},insertPragma:fg.insertPragma},Hg={proseWrap:Au.proseWrap,singleQuote:Au.singleQuote},zg=["pandoc"],Kg=[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".workbook"],Yg=["contents.lr"],$g={name:"Markdown",type:"prose",aliases:zg,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:Kg,filenames:Yg,tmScope:"source.gfm",languageId:222},Jg=getCjsExportFromNamespace(Object.freeze({__proto__:null,name:"Markdown",type:"prose",aliases:zg,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:Kg,filenames:Yg,tmScope:"source.gfm",languageId:222,default:$g})),Xg={languages:[wu(Jg,(function(o){return{since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:o.filenames.concat(["README"]),extensions:o.extensions.filter((function(o){return".mdx"!==o}))}})),wu(Jg,(function(){return{name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}}))],options:Hg,printers:{mdast:Gg}},Qg=function isPragma(o){return/^\s*@(prettier|format)\s*$/.test(o)},Zg=function insertPragma$8(o){return"# @format\n\n".concat(o)},ev=sa.getLast;function isNode(o,h){return o&&"string"==typeof o.type&&(!h||h.includes(o.type))}function isPrettierIgnore$2(o){return"prettier-ignore"===o.value.trim()}function hasLeadingComments(o){return o&&o.leadingComments&&0!==o.leadingComments.length}function hasMiddleComments(o){return o&&o.middleComments&&0!==o.middleComments.length}function hasIndicatorComment(o){return o&&o.indicatorComment}function hasTrailingComment$2(o){return o&&o.trailingComment}function hasEndComments(o){return o&&o.endComments&&0!==o.endComments.length}function splitWithSingleSpace(o){var h,E=[],x=void 0,C=_createForOfIteratorHelper(o.split(/( +)/g));try{for(C.s();!(h=C.n()).done;){var T=h.value;" "!==T?" "===x?E.push(T):E.push((E.pop()||"")+T):void 0===x&&E.unshift(""),x=T}}catch(o){C.e(o)}finally{C.f()}return" "===x&&E.push((E.pop()||"")+" "),""===E[0]&&(E.shift(),E.unshift(" "+(E.shift()||""))),E}var tv={getLast:ev,getAncestorCount:function getAncestorCount(o,h){for(var E=0,x=o.stack.length-1,C=0;C=0&&0===h[x].length;x--)E++;return 0===E?h:E>=2&&!C?h.slice(0,-(E-1)):h.slice(0,-E)}},getFlowScalarLineContents:function getFlowScalarLineContents(o,h,E){var x=h.split("\n").map((function(o,h,E){return 0===h&&h===E.length-1?o:0!==h&&h!==E.length-1?o.trim():0===h?o.trimEnd():o.trimStart()}));return"preserve"===E.proseWrap?x.map((function(o){return 0===o.length?[]:[o]})):x.map((function(o){return 0===o.length?[]:splitWithSingleSpace(o)})).reduce((function(h,E,C){return 0===C||0===x[C-1].length||0===E.length||"quoteDouble"===o&&ev(ev(h)).endsWith("\\")?h.concat([E]):h.concat([h.pop().concat(E)])}),[]).map((function(o){return"never"===E.proseWrap?[o.join(" ")]:o}))},getLastDescendantNode:function getLastDescendantNode$1(o){return"children"in o&&0!==o.children.length?getLastDescendantNode$1(ev(o.children)):o},hasPrettierIgnore:function hasPrettierIgnore$7(o){var h=o.getValue();if("documentBody"===h.type){var E=o.getParentNode();return hasEndComments(E.head)&&isPrettierIgnore$2(ev(E.head.endComments))}return hasLeadingComments(h)&&isPrettierIgnore$2(ev(h.leadingComments))},hasLeadingComments:hasLeadingComments,hasMiddleComments:hasMiddleComments,hasIndicatorComment:hasIndicatorComment,hasTrailingComment:hasTrailingComment$2,hasEndComments:hasEndComments},rv=Zg,nv=Qg,iv=tv.getAncestorCount,av=tv.getBlockValueLineContents,sv=tv.getFlowScalarLineContents,ov=tv.getLast,uv=tv.getLastDescendantNode,lv=tv.hasLeadingComments,cv=tv.hasMiddleComments,pv=tv.hasIndicatorComment,fv=tv.hasTrailingComment,hv=tv.hasEndComments,dv=tv.hasPrettierIgnore,mv=tv.isLastDescendantNode,yv=tv.isNextLineEmpty,gv=tv.isNode,vv=tv.isEmptyNode,Dv=tv.defineShortcut,Ev=tv.mapNode,xv=ma.builders,bv=xv.conditionalGroup,Cv=xv.breakParent,Av=xv.concat,Sv=xv.dedent,wv=xv.dedentToRoot,kv=xv.fill,Tv=xv.group,_v=xv.hardline,Fv=xv.ifBreak,Pv=xv.join,Bv=xv.line,Nv=xv.lineSuffix,Iv=xv.literalline,Ov=xv.markAsRoot,Rv=xv.softline,Mv=sa.replaceEndOfLineWith;function defineShortcuts(o){switch(o.type){case"document":Dv(o,"head",(function(){return o.children[0]})),Dv(o,"body",(function(){return o.children[1]}));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Dv(o,"content",(function(){return o.children[0]}));break;case"mappingItem":case"flowMappingItem":Dv(o,"key",(function(){return o.children[0]})),Dv(o,"value",(function(){return o.children[1]}))}return o}function _print(o,h,E,x,C){switch(o.type){case"root":return Av([Pv(_v,E.map((function(h,x){var T=o.children[x],P=o.children[x+1];return Av([C(h),shouldPrintDocumentEndMarker(T,P)?Av([_v,"...",fv(T)?Av([" ",E.call(C,"trailingComment")]):""]):!P||fv(P.head)?"":Av([_v,"---"])])}),"children")),0===o.children.length||(me=uv(o),gv(me,["blockLiteral","blockFolded"])&&"keep"===me.chomping)?"":_v]);case"document":var T=h.children[E.getName()+1];return Pv(_v,["head"===shouldPrintDocumentHeadEndMarker(o,T,h,x)?Pv(_v,[0===o.head.children.length&&0===o.head.endComments.length?"":E.call(C,"head"),Av(["---",fv(o.head)?Av([" ",E.call(C,"head","trailingComment")]):""])].filter(Boolean)):"",shouldPrintDocumentBody(o)?E.call(C,"body"):""].filter(Boolean));case"documentHead":return Pv(_v,[].concat(E.map(C,"children"),E.map(C,"endComments")));case"documentBody":var P=Pv(_v,E.map(C,"children")).parts,N=Pv(_v,E.map(C,"endComments")).parts,R=0===P.length||0===N.length?"":function(o){return gv(o,["blockFolded","blockLiteral"])?"keep"===o.chomping?"":Av([_v,_v]):_v}(uv(o));return Av([].concat(P,R,N));case"directive":return Av(["%",Pv(" ",[o.name].concat(o.parameters))]);case"comment":return Av(["#",o.value]);case"alias":return Av(["*",o.value]);case"tag":return x.originalText.slice(o.position.start.offset,o.position.end.offset);case"anchor":return Av(["&",o.value]);case"plain":return printFlowScalarContent(o.type,x.originalText.slice(o.position.start.offset,o.position.end.offset),x);case"quoteDouble":case"quoteSingle":var j=x.originalText.slice(o.position.start.offset+1,o.position.end.offset-1);if("quoteSingle"===o.type&&j.includes("\\")||"quoteDouble"===o.type&&/\\[^"]/.test(j)){var ee="quoteDouble"===o.type?'"':"'";return Av([ee,printFlowScalarContent(o.type,j,x),ee])}if(j.includes('"'))return Av(["'",printFlowScalarContent(o.type,"quoteDouble"===o.type?j.replace(/\\"/g,'"').replace(/'/g,"'".repeat(2)):j,x),"'"]);if(j.includes("'"))return Av(['"',printFlowScalarContent(o.type,"quoteSingle"===o.type?j.replace(/''/g,"'"):j,x),'"']);var re=x.singleQuote?"'":'"';return Av([re,printFlowScalarContent(o.type,j,x),re]);case"blockFolded":case"blockLiteral":var ne=iv(E,(function(o){return gv(o,["sequence","mapping"])})),ie=mv(E);return Av(["blockFolded"===o.type?">":"|",null===o.indent?"":o.indent.toString(),"clip"===o.chomping?"":"keep"===o.chomping?"+":"-",pv(o)?Av([" ",E.call(C,"indicatorComment")]):"",(null===o.indent?Sv:wv)(align$3(null===o.indent?x.tabWidth:o.indent-1+ne,Av(av(o,{parentIndent:ne,isLastDescendant:ie,options:x}).reduce((function(h,E,x,C){return h.concat(0===x?_v:"",kv(Pv(Bv,E).parts),x!==C.length-1?0===E.length?_v:Ov(Iv):"keep"===o.chomping&&ie?0===E.length?wv(_v):wv(Iv):"")}),[]))))]);case"sequence":return Pv(_v,E.map(C,"children"));case"sequenceItem":return Av(["- ",align$3(2,o.content?E.call(C,"content"):"")]);case"mappingKey":case"mappingValue":return o.content?E.call(C,"content"):"";case"mapping":return Pv(_v,E.map(C,"children"));case"mappingItem":case"flowMappingItem":var ae=vv(o.key),se=vv(o.value);if(ae&&se)return Av([": "]);var oe=E.call(C,"key"),ue=E.call(C,"value");if(se)return"flowMappingItem"===o.type&&"flowMapping"===h.type?oe:"mappingItem"!==o.type||!isAbsolutelyPrintedAsSingleLineNode(o.key.content,x)||fv(o.key.content)||h.tag&&"tag:yaml.org,2002:set"===h.tag.value?Av(["? ",align$3(2,oe)]):Av([oe,needsSpaceInFrontOfMappingValue(o)?" ":"",":"]);if(ae)return Av([": ",align$3(2,ue)]);var le=Symbol("mappingKey");return lv(o.value)||!isInlineNode(o.key.content)?Av(["? ",align$3(2,oe),_v,Pv("",E.map(C,"value","leadingComments").map((function(o){return Av([o,_v])}))),": ",align$3(2,ue)]):!function isSingleLineNode(o){if(!o)return!0;switch(o.type){case"plain":case"quoteDouble":case"quoteSingle":return o.position.start.line===o.position.end.line;case"alias":return!0;default:return!1}}(o.key.content)||lv(o.key.content)||cv(o.key.content)||fv(o.key.content)||hv(o.key)||lv(o.value.content)||cv(o.value.content)||hv(o.value)||!isAbsolutelyPrintedAsSingleLineNode(o.value.content,x)?bv([Av([Tv(Av([Fv("? "),Tv(align$3(2,oe),{id:le})])),Fv(Av([_v,": ",align$3(2,ue)]),indent(Av([needsSpaceInFrontOfMappingValue(o)?" ":"",":",lv(o.value.content)||hv(o.value)&&o.value.content&&!gv(o.value.content,["mapping","sequence"])||"mapping"===h.type&&fv(o.key.content)&&isInlineNode(o.value.content)||gv(o.value.content,["mapping","sequence"])&&null===o.value.content.tag&&null===o.value.content.anchor?_v:o.value.content?Bv:"",ue])),{groupId:le})])]):Av([oe,needsSpaceInFrontOfMappingValue(o)?" ":"",": ",ue]);case"flowMapping":case"flowSequence":var ce="flowMapping"===o.type?"{":"[",pe="flowMapping"===o.type?"}":"]",fe="flowMapping"===o.type&&0!==o.children.length&&x.bracketSpacing?Bv:Rv,he=0!==o.children.length&&"flowMappingItem"===(de=ov(o.children)).type&&vv(de.key)&&vv(de.value);return Av([ce,indent(Av([fe,Av(E.map((function(h,E){return Av([C(h),E===o.children.length-1?"":Av([",",Bv,o.children[E].position.start.line!==o.children[E+1].position.start.line?printNextEmptyLine(h,x.originalText):""])])}),"children")),Fv(",","")])),he?"":fe,pe]);case"flowSequenceItem":return E.call(C,"content");default:throw new Error("Unexpected node type ".concat(o.type))}var de,me;function indent(o){return xv.align(" ".repeat(x.tabWidth),o)}}function align$3(o,h){return"number"==typeof o&&o>0?xv.align(" ".repeat(o),h):xv.align(o,h)}function isInlineNode(o){if(!o)return!0;switch(o.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function shouldPrintDocumentBody(o){return 0!==o.body.children.length||hv(o.body)}function shouldPrintDocumentEndMarker(o,h){return fv(o)||h&&(0!==h.head.children.length||hv(h.head))}function shouldPrintDocumentHeadEndMarker(o,h,E,x){return E.children[0]===o&&/---(\s|$)/.test(x.originalText.slice(x.locStart(o),x.locStart(o)+4))||0!==o.head.children.length||hv(o.head)||fv(o.head)?"head":!shouldPrintDocumentEndMarker(o,h)&&!!h&&"root"}function isAbsolutelyPrintedAsSingleLineNode(o,h){if(!o)return!0;switch(o.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===h.proseWrap)return o.position.start.line===o.position.end.line;if(/\\$/m.test(h.originalText.slice(o.position.start.offset,o.position.end.offset)))return!1;switch(h.proseWrap){case"never":return!o.value.includes("\n");case"always":return!/[\n ]/.test(o.value);default:return!1}}function needsSpaceInFrontOfMappingValue(o){return o.key.content&&"alias"===o.key.content.type}function printNextEmptyLine(o,h){var E=o.getValue(),x=o.stack[0];return x.isNextEmptyLinePrintedChecklist=x.isNextEmptyLinePrintedChecklist||[],!x.isNextEmptyLinePrintedChecklist[E.position.end.line]&&yv(E,h)?(x.isNextEmptyLinePrintedChecklist[E.position.end.line]=!0,Rv):""}function printFlowScalarContent(o,h,E){var x=sv(o,h,E);return Pv(_v,x.map((function(o){return kv(Pv(Bv,o).parts)})))}var Lv={preprocess:function preprocess$3(o){return Ev(o,defineShortcuts)},print:function genericPrint$6(o,h,E){var x=o.getValue(),C=o.getParentNode(),T=x.tag?o.call(E,"tag"):"",P=x.anchor?o.call(E,"anchor"):"",N=gv(x,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!mv(o)?printNextEmptyLine(o,h.originalText):"";return Av(["mappingValue"!==x.type&&lv(x)?Av([Pv(_v,o.map(E,"leadingComments")),_v]):"",T,T&&P?" ":"",P,T||P?gv(x,["sequence","mapping"])&&!cv(x)?_v:" ":"",cv(x)?Av([1===x.middleComments.length?"":_v,Pv(_v,o.map(E,"middleComments")),_v]):"",dv(o)?Av(Mv(h.originalText.slice(x.position.start.offset,x.position.end.offset),Iv)):Tv(_print(x,C,o,h,E)),fv(x)&&!gv(x,["document","documentHead"])?Nv(Av(["mappingValue"!==x.type||x.content?" ":"","mappingKey"===C.type&&"mapping"===o.getParentNode(2).type&&isInlineNode(x)?"":Cv,o.call(E,"trailingComment")])):"",N,hv(x)&&!gv(x,["documentHead","documentBody"])?align$3("sequenceItem"===x.type?2:0,Av([_v,Pv(_v,o.map(E,"endComments"))])):""])},massageAstNode:function clean$7(o,h){if(gv(h))switch(delete h.position,h.type){case"comment":if(nv(h.value))return null;break;case"quoteDouble":case"quoteSingle":h.type="quote"}},insertPragma:rv},jv={bracketSpacing:Au.bracketSpacing,singleQuote:Au.singleQuote,proseWrap:Au.proseWrap},qv=["yml"],Vv=[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],Uv=[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],Wv={name:"YAML",type:"data",tmScope:"source.yaml",aliases:qv,extensions:Vv,filenames:Uv,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},Gv={languages:[wu(getCjsExportFromNamespace(Object.freeze({__proto__:null,name:"YAML",type:"data",tmScope:"source.yaml",aliases:qv,extensions:Vv,filenames:Uv,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407,default:Wv})),(function(o){return{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml"],filenames:o.filenames.filter((function(o){return"yarn.lock"!==o}))}}))],printers:{yaml:Lv},options:jv},Hv=Mt.version,zv=Vt.getSupportInfo,Kv=[Wu,sl,Ml,dh,Ky,Xg,Gv];function withPlugins(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var E=arguments.length,x=new Array(E),C=0;C0&&o.column>=0)||h||E||x)&&!(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&&E))throw new Error("Invalid mapping: "+JSON.stringify({generated:o,source:E,original:h,name:x}))},SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){for(var o,h,E,T,P=0,N=1,R=0,j=0,ee=0,re=0,ne="",ie=this._mappings.toArray(),ae=0,se=ie.length;ae0){if(!C.compareByGeneratedPositionsInflated(h,ie[ae-1]))continue;o+=","}o+=x.encode(h.generatedColumn-P),P=h.generatedColumn,null!=h.source&&(T=this._sources.indexOf(h.source),o+=x.encode(T-re),re=T,o+=x.encode(h.originalLine-1-j),j=h.originalLine-1,o+=x.encode(h.originalColumn-R),R=h.originalColumn,null!=h.name&&(E=this._names.indexOf(h.name),o+=x.encode(E-ee),ee=E)),ne+=o}return ne},SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(o,h){return o.map((function(o){if(!this._sourcesContents)return null;null!=h&&(o=C.relative(h,o));var E=C.toSetString(o);return Object.prototype.hasOwnProperty.call(this._sourcesContents,E)?this._sourcesContents[E]:null}),this)},SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(o.file=this._file),null!=this._sourceRoot&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())},h.SourceMapGenerator=SourceMapGenerator},MvwC:function(o,h,E){var x=E("5T2Y").document;o.exports=x&&x.documentElement},"N+bD":function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o){for(var h=o.params,E=0;E=0;--E){var x=this.entryStack[E],C=x[o];if(C)if(h){if(x.label&&x.label.name===h.name)return C}else if(!(x instanceof LabeledEntry))return C}return null},P.getBreakLoc=function(o){return this._findLeapLocation("breakLoc",o)},P.getContinueLoc=function(o){return this._findLeapLocation("continueLoc",o)}},NKxu:function(o,h,E){var x=E("lSCD"),C=E("E2jh"),T=E("GoyQ"),P=E("3Fdi"),N=/^\[object .+?Constructor\]$/,R=Function.prototype,j=Object.prototype,ee=R.toString,re=j.hasOwnProperty,ne=RegExp("^"+ee.call(re).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");o.exports=function baseIsNative(o){return!(!T(o)||C(o))&&(x(o)?ne:N).test(P(o))}},NOtv:function(o,h,E){(function(x){function load(){var o;try{o=h.storage.debug}catch(o){}return!o&&void 0!==x&&"env"in x&&(o=x.env.DEBUG),o}(h=o.exports=E("lv48")).log=function log(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},h.formatArgs=function formatArgs(o){var E=this.useColors;if(o[0]=(E?"%c":"")+this.namespace+(E?" %c":" ")+o[0]+(E?"%c ":" ")+"+"+h.humanize(this.diff),!E)return;var x="color: "+this.color;o.splice(1,0,x,"color: inherit");var C=0,T=0;o[0].replace(/%[a-zA-Z%]/g,(function(o){"%%"!==o&&(C++,"%c"===o&&(T=C))})),o.splice(T,0,x)},h.save=function save(o){try{null==o?h.storage.removeItem("debug"):h.storage.debug=o}catch(o){}},h.load=load,h.useColors=function useColors(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},h.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function localstorage(){try{return window.localStorage}catch(o){}}(),h.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],h.formatters.j=function(o){try{return JSON.stringify(o)}catch(o){return"[UnexpectedJSONParseError]: "+o.message}},h.enable(load())}).call(this,E("8oxB"))},NV0k:function(o,h){h.f={}.propertyIsEnumerable},NVct:function(o,h,E){o.exports={default:E("E9oJ"),__esModule:!0}},NegM:function(o,h,E){var x=E("2faE"),C=E("rr1i");o.exports=E("jmDH")?function(o,h,E){return x.f(o,h,C(1,E))}:function(o,h,E){return o[h]=E,o}},Npjl:function(o,h){o.exports=function getValue(o,h){return null==o?void 0:o[h]}},Nq24:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("AyUB"));h.getBindingIdentifiers=getBindingIdentifiers,h.getOuterBindingIdentifiers=function getOuterBindingIdentifiers(o,h){return getBindingIdentifiers(o,h,!0)};var C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function getBindingIdentifiers(o,h,E){for(var T=[].concat(o),P=(0,x.default)(null);T.length;){var N=T.shift();if(N){var R=C.getBindingIdentifiers.keys[N.type];if(C.isIdentifier(N))h?(P[N.name]=P[N.name]||[]).push(N):P[N.name]=N;else if(C.isExportDeclaration(N))C.isDeclaration(N.declaration)&&T.push(N.declaration);else{if(E){if(C.isFunctionDeclaration(N)){T.push(N.id);continue}if(C.isFunctionExpression(N))continue}if(R)for(var j=0;j=P.length)break;j=P[R++]}else{if((R=P.next()).done)break;j=R.value}var ee=j;if(ee){var re=ee.apply(this,C);null!=re&&(o=re)}}return o}},Plugin.prototype.maybeInherit=function maybeInherit(o){var h=this.take("inherits");h&&(h=N.default.normalisePlugin(h,o,"inherits"),this.manipulateOptions=this.chain(h,"manipulateOptions"),this.post=this.chain(h,"post"),this.pre=this.chain(h,"pre"),this.visitor=ee.default.visitors.merge([h.visitor,this.visitor]))},Plugin.prototype.init=function init(o,h){if(!this.initialized)for(var E in this.initialized=!0,this.maybeInherit(o),this.raw)throw new Error(R.get("pluginInvalidProperty",o,h,E))},Plugin.prototype.normaliseVisitor=function normaliseVisitor(o){var h=ie,E=Array.isArray(h),C=0;for(h=E?h:(0,x.default)(h);;){var T;if(E){if(C>=h.length)break;T=h[C++]}else{if((C=h.next()).done)break;T=C.value}if(o[T])throw new Error("Plugins aren't allowed to specify catch-all enter/exit handlers. Please target individual nodes.")}return ee.default.explode(o),o},Plugin}(j.default);h.default=ae,o.exports=h.default},Oc8Q:function(o,h,E){"use strict";var x,C=E("5T2Y"),T=E("V7Et")(0),P=E("kTiW"),N=E("6/1s"),R=E("kwZ1"),j=E("kB4c"),ee=E("93I4"),re=E("n3ko"),ne=E("n3ko"),ie=!C.ActiveXObject&&"ActiveXObject"in C,ae=N.getWeak,se=Object.isExtensible,oe=j.ufstore,wrapper=function(o){return function WeakMap(){return o(this,arguments.length>0?arguments[0]:void 0)}},ue={get:function get(o){if(ee(o)){var h=ae(o);return!0===h?oe(re(this,"WeakMap")).get(o):h?h[this._i]:void 0}},set:function set(o,h){return j.def(re(this,"WeakMap"),o,h)}},le=o.exports=E("raTm")("WeakMap",wrapper,ue,j,!0,!0);ne&&ie&&(R((x=j.getConstructor(wrapper,"WeakMap")).prototype,ue),N.NEED=!0,T(["delete","has","get","set"],(function(o){var h=le.prototype,E=h[o];P(h,o,(function(h,C){if(ee(h)&&!se(h)){this._f||(this._f=new x);var T=this._f[o](h,C);return"set"==o?this:T}return E.call(this,h,C)}))})))},"Of+w":function(o,h,E){var x=E("Cwc5")(E("Kz5y"),"WeakMap");o.exports=x},Ojgd:function(o,h){var E=Math.ceil,x=Math.floor;o.exports=function(o){return isNaN(o=+o)?0:(o>0?x:E)(o)}},OuQW:function(o,h,E){"use strict";h.__esModule=!0,h.ThrowStatement=h.BreakStatement=h.ReturnStatement=h.ContinueStatement=h.ForAwaitStatement=h.ForOfStatement=h.ForInStatement=void 0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.WithStatement=function WithStatement(o){this.word("with"),this.space(),this.token("("),this.print(o.object,o),this.token(")"),this.printBlock(o)},h.IfStatement=function IfStatement(o){this.word("if"),this.space(),this.token("("),this.print(o.test,o),this.token(")"),this.space();var h=o.alternate&&C.isIfStatement(function getLastStatement(o){return C.isStatement(o.body)?getLastStatement(o.body):o}(o.consequent));h&&(this.token("{"),this.newline(),this.indent());this.printAndIndentOnComments(o.consequent,o),h&&(this.dedent(),this.newline(),this.token("}"));o.alternate&&(this.endsWith("}")&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(o.alternate,o))},h.ForStatement=function ForStatement(o){this.word("for"),this.space(),this.token("("),this.inForStatementInitCounter++,this.print(o.init,o),this.inForStatementInitCounter--,this.token(";"),o.test&&(this.space(),this.print(o.test,o));this.token(";"),o.update&&(this.space(),this.print(o.update,o));this.token(")"),this.printBlock(o)},h.WhileStatement=function WhileStatement(o){this.word("while"),this.space(),this.token("("),this.print(o.test,o),this.token(")"),this.printBlock(o)},h.DoWhileStatement=function DoWhileStatement(o){this.word("do"),this.space(),this.print(o.body,o),this.space(),this.word("while"),this.space(),this.token("("),this.print(o.test,o),this.token(")"),this.semicolon()},h.LabeledStatement=function LabeledStatement(o){this.print(o.label,o),this.token(":"),this.space(),this.print(o.body,o)},h.TryStatement=function TryStatement(o){this.word("try"),this.space(),this.print(o.block,o),this.space(),o.handlers?this.print(o.handlers[0],o):this.print(o.handler,o);o.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(o.finalizer,o))},h.CatchClause=function CatchClause(o){this.word("catch"),this.space(),this.token("("),this.print(o.param,o),this.token(")"),this.space(),this.print(o.body,o)},h.SwitchStatement=function SwitchStatement(o){this.word("switch"),this.space(),this.token("("),this.print(o.discriminant,o),this.token(")"),this.space(),this.token("{"),this.printSequence(o.cases,o,{indent:!0,addNewlines:function addNewlines(h,E){if(!h&&o.cases[o.cases.length-1]===E)return-1}}),this.token("}")},h.SwitchCase=function SwitchCase(o){o.test?(this.word("case"),this.space(),this.print(o.test,o),this.token(":")):(this.word("default"),this.token(":"));o.consequent.length&&(this.newline(),this.printSequence(o.consequent,o,{indent:!0}))},h.DebuggerStatement=function DebuggerStatement(){this.word("debugger"),this.semicolon()},h.VariableDeclaration=function VariableDeclaration(o,h){this.word(o.kind),this.space();var E=!1;if(!C.isFor(h)){var T=o.declarations,P=Array.isArray(T),N=0;for(T=P?T:(0,x.default)(T);;){var R;if(P){if(N>=T.length)break;R=T[N++]}else{if((N=T.next()).done)break;R=N.value}R.init&&(E=!0)}}var j=void 0;E&&(j="const"===o.kind?constDeclarationIdent:variableDeclarationIdent);if(this.printList(o.declarations,o,{separator:j}),C.isFor(h)&&(h.left===o||h.init===o))return;this.semicolon()},h.VariableDeclarator=function VariableDeclarator(o){this.print(o.id,o),this.print(o.id.typeAnnotation,o),o.init&&(this.space(),this.token("="),this.space(),this.print(o.init,o))};var C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));var T=function buildForXStatement(o){return function(h){this.word("for"),this.space(),"await"===o&&(this.word("await"),this.space()),this.token("("),this.print(h.left,h),this.space(),this.word("await"===o?"of":o),this.space(),this.print(h.right,h),this.token(")"),this.printBlock(h)}};h.ForInStatement=T("in"),h.ForOfStatement=T("of"),h.ForAwaitStatement=T("await");function buildLabelStatement(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"label";return function(E){this.word(o);var x=E[h];if(x){this.space();var C=this.startTerminatorless();this.print(x,E),this.endTerminatorless(C)}this.semicolon()}}h.ContinueStatement=buildLabelStatement("continue"),h.ReturnStatement=buildLabelStatement("return","argument"),h.BreakStatement=buildLabelStatement("break"),h.ThrowStatement=buildLabelStatement("throw","argument");function variableDeclarationIdent(){if(this.token(","),this.newline(),this.endsWith("\n"))for(var o=0;o<4;o++)this.space(!0)}function constDeclarationIdent(){if(this.token(","),this.newline(),this.endsWith("\n"))for(var o=0;o<6;o++)this.space(!0)}},"P/G1":function(o,h,E){var x=E("JmpY"),C=E("7GkX");o.exports=function values(o){return null==o?[]:x(o,C(o))}},P2sY:function(o,h,E){o.exports={default:E("UbbE"),__esModule:!0}},"P9Q+":function(o,h){h.getArg=function getArg(o,h,E){if(h in o)return o[h];if(3===arguments.length)return E;throw new Error('"'+h+'" is a required argument.')};var E=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,x=/^data:.+\,.+$/;function urlParse(o){var h=o.match(E);return h?{scheme:h[1],auth:h[2],host:h[3],port:h[4],path:h[5]}:null}function urlGenerate(o){var h="";return o.scheme&&(h+=o.scheme+":"),h+="//",o.auth&&(h+=o.auth+"@"),o.host&&(h+=o.host),o.port&&(h+=":"+o.port),o.path&&(h+=o.path),h}function normalize(o){var E=o,x=urlParse(o);if(x){if(!x.path)return o;E=x.path}for(var C,T=h.isAbsolute(E),P=E.split(/\/+/),N=0,R=P.length-1;R>=0;R--)"."===(C=P[R])?P.splice(R,1):".."===C?N++:N>0&&(""===C?(P.splice(R+1,N),N=0):(P.splice(R,2),N--));return""===(E=P.join("/"))&&(E=T?"/":"."),x?(x.path=E,urlGenerate(x)):E}h.urlParse=urlParse,h.urlGenerate=urlGenerate,h.normalize=normalize,h.join=function join(o,h){""===o&&(o="."),""===h&&(h=".");var E=urlParse(h),C=urlParse(o);if(C&&(o=C.path||"/"),E&&!E.scheme)return C&&(E.scheme=C.scheme),urlGenerate(E);if(E||h.match(x))return h;if(C&&!C.host&&!C.path)return C.host=h,urlGenerate(C);var T="/"===h.charAt(0)?h:normalize(o.replace(/\/+$/,"")+"/"+h);return C?(C.path=T,urlGenerate(C)):T},h.isAbsolute=function(o){return"/"===o.charAt(0)||!!o.match(E)},h.relative=function relative(o,h){""===o&&(o="."),o=o.replace(/\/$/,"");for(var E=0;0!==h.indexOf(o+"/");){var x=o.lastIndexOf("/");if(x<0)return h;if((o=o.slice(0,x)).match(/^([^\/]+:\/)?\/*$/))return h;++E}return Array(E+1).join("../")+h.substr(o.length+1)};var C=!("__proto__"in Object.create(null));function identity(o){return o}function isProtoString(o){if(!o)return!1;var h=o.length;if(h<9)return!1;if(95!==o.charCodeAt(h-1)||95!==o.charCodeAt(h-2)||111!==o.charCodeAt(h-3)||116!==o.charCodeAt(h-4)||111!==o.charCodeAt(h-5)||114!==o.charCodeAt(h-6)||112!==o.charCodeAt(h-7)||95!==o.charCodeAt(h-8)||95!==o.charCodeAt(h-9))return!1;for(var E=h-10;E>=0;E--)if(36!==o.charCodeAt(E))return!1;return!0}function strcmp(o,h){return o===h?0:o>h?1:-1}h.toSetString=C?identity:function toSetString(o){return isProtoString(o)?"$"+o:o},h.fromSetString=C?identity:function fromSetString(o){return isProtoString(o)?o.slice(1):o},h.compareByOriginalPositions=function compareByOriginalPositions(o,h,E){var x=o.source-h.source;return 0!==x||0!==(x=o.originalLine-h.originalLine)||0!==(x=o.originalColumn-h.originalColumn)||E||0!==(x=o.generatedColumn-h.generatedColumn)||0!==(x=o.generatedLine-h.generatedLine)?x:o.name-h.name},h.compareByGeneratedPositionsDeflated=function compareByGeneratedPositionsDeflated(o,h,E){var x=o.generatedLine-h.generatedLine;return 0!==x||0!==(x=o.generatedColumn-h.generatedColumn)||E||0!==(x=o.source-h.source)||0!==(x=o.originalLine-h.originalLine)||0!==(x=o.originalColumn-h.originalColumn)?x:o.name-h.name},h.compareByGeneratedPositionsInflated=function compareByGeneratedPositionsInflated(o,h){var E=o.generatedLine-h.generatedLine;return 0!==E||0!==(E=o.generatedColumn-h.generatedColumn)||0!==(E=strcmp(o.source,h.source))||0!==(E=o.originalLine-h.originalLine)||0!==(E=o.originalColumn-h.originalColumn)?E:strcmp(o.name,h.name)}},P9SC:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("FyfS"));h.default=function(o,h){if(o&&h)return(0,C.default)(o,h,(function(o,h){if(h&&Array.isArray(o)){var E=h.slice(0),C=o,T=Array.isArray(C),P=0;for(C=T?C:(0,x.default)(C);;){var N;if(T){if(P>=C.length)break;N=C[P++]}else{if((P=C.next()).done)break;N=P.value}var R=N;E.indexOf(R)<0&&E.push(R)}return E}}))};var C=_interopRequireDefault(E("JBE3"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}o.exports=h.default},PTdM:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("+JPL"));h.default=function(o,h){var E=void 0;try{throw new Error}catch(o){o.stack&&(E=o.stack.split("\n").slice(1).join("\n"))}h=(0,T.default)({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,preserveComments:!1},h);var x=function getAst(){var C=void 0;try{C=R.parse(o,h),C=N.default.removeProperties(C,{preserveComments:h.preserveComments}),N.default.cheap(C,(function(o){o[ee]=!0}))}catch(o){throw o.stack=o.stack+"from\n"+E,o}return x=function getAst(){return C},C};return function(){for(var o=arguments.length,h=Array(o),E=0;E1?E.body:E.body[0]}var ne={noScope:!0,enter:function enter(o,h){var E=o.node;if(E[re])return o.skip();j.isExpressionStatement(E)&&(E=E.expression);var x=void 0;if(j.isIdentifier(E)&&E[ee])if((0,P.default)(h[0],E.name))x=h[0][E.name];else if("$"===E.name[0]){var C=+E.name.slice(1);h[C]&&(x=h[C])}null===x&&o.remove(),x&&(x[re]=!0,o.replaceInline(x))},exit:function exit(o){var h=o.node;h.loc||N.default.clearNode(h)}};o.exports=h.default},Po9p:function(o,h){},Q1l4:function(o,h){o.exports=function copyArray(o,h){var E=-1,x=o.length;for(h||(h=Array(x));++E=0){for(;C&&o.start===x[C-1].start;)--C;h=x[C-1],E=x[C]}return this._getNewlinesBetween(h,E)},Whitespace.prototype.getNewlinesAfter=function getNewlinesAfter(o){var h=void 0,E=void 0,x=this.tokens,C=this._findToken((function(h){return h.end-o.end}),0,x.length);if(C>=0){for(;C&&o.end===x[C-1].end;)--C;h=x[C],(E=x[C+1])&&","===E.type.label&&(E=x[C+2])}return E&&"eof"===E.type.label?1:this._getNewlinesBetween(h,E)},Whitespace.prototype._getNewlinesBetween=function _getNewlinesBetween(o,h){if(!h||!h.loc)return 0;for(var E=o?o.loc.end.line:1,x=h.loc.start.line,C=0,T=E;T=E)return-1;var x=h+E>>>1,C=o(this.tokens[x]);return C<0?this._findToken(o,x+1,E):C>0?this._findToken(o,h,x):0===C?x:-1},Whitespace}();h.default=C,o.exports=h.default},QoRX:function(o,h){o.exports=function arraySome(o,h){for(var E=-1,x=null==o?0:o.length;++Ej;)R.call(o,P=N[j++])&&h.push(P);return h}},"R/W3":function(o,h,E){var x=E("KwMD"),C=E("2ajD"),T=E("CZoQ");o.exports=function baseIndexOf(o,h,E){return h==h?T(o,h,E):x(o,C,E)}},R050:function(o,h,E){"use strict";h.__esModule=!0,h.is=function is(o,h){return C.isRegExpLiteral(o)&&o.flags.indexOf(h)>=0},h.pullFlag=function pullFlag(o,h){var E=o.flags.split("");if(o.flags.indexOf(h)<0)return;(0,x.default)(E,h),o.flags=E.join("")};var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("hzCD")),C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"))},RDjL:function(o,h,E){var x=E("dVj6");h.REGULAR={d:x().addRange(48,57),D:x().addRange(0,47).addRange(58,65535),s:x(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:x().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535),w:x(95).addRange(48,57).addRange(65,90).addRange(97,122),W:x(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)},h.UNICODE={d:x().addRange(48,57),D:x().addRange(0,47).addRange(58,1114111),s:x(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:x().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:x(95).addRange(48,57).addRange(65,90).addRange(97,122),W:x(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)},h.UNICODE_IGNORE_CASE={d:x().addRange(48,57),D:x().addRange(0,47).addRange(58,1114111),s:x(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233),S:x().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111),w:x(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122),W:x(75,83,96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)}},"RRc/":function(o,h,E){var x=E("oioR");o.exports=function(o,h){var E=[];return x(o,!1,E.push,E,h),E}},"RWG+":function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.default=function(o){var h=o.types,E=(0,o.template)("\n MUTATOR_MAP_REF[KEY] = MUTATOR_MAP_REF[KEY] || {};\n MUTATOR_MAP_REF[KEY].KIND = VALUE;\n ");function getValue(o){return h.isObjectProperty(o)?o.value:h.isObjectMethod(o)?h.functionExpression(null,o.params,o.body,o.generator,o.async):void 0}function pushAssign(o,E,x){"get"===E.kind&&"set"===E.kind?pushMutatorDefine(o,E):x.push(h.expressionStatement(h.assignmentExpression("=",h.memberExpression(o,E.key,E.computed||h.isLiteral(E.key)),getValue(E))))}function pushMutatorDefine(o,x){o.objId;var C=o.body,T=o.getMutatorId,P=o.scope,N=!x.computed&&h.isIdentifier(x.key)?h.stringLiteral(x.key.name):x.key,R=P.maybeGenerateMemoised(N);R&&(C.push(h.expressionStatement(h.assignmentExpression("=",R,N))),N=R),C.push.apply(C,E({MUTATOR_MAP_REF:T(),KEY:N,VALUE:getValue(x),KIND:h.identifier(x.kind)}))}function loose(o){var h=o.computedProps,E=Array.isArray(h),C=0;for(h=E?h:(0,x.default)(h);;){var T;if(E){if(C>=h.length)break;T=h[C++]}else{if((C=h.next()).done)break;T=C.value}var P=T;"get"===P.kind||"set"===P.kind?pushMutatorDefine(o,P):pushAssign(o.objId,P,o.body)}}function spec(o){var E=o.objId,C=o.body,T=o.computedProps,P=o.state,N=T,R=Array.isArray(N),j=0;for(N=R?N:(0,x.default)(N);;){var ee;if(R){if(j>=N.length)break;ee=N[j++]}else{if((j=N.next()).done)break;ee=j.value}var re=ee,ne=h.toComputedKey(re);if("get"===re.kind||"set"===re.kind)pushMutatorDefine(o,re);else if(h.isStringLiteral(ne,{value:"__proto__"}))pushAssign(E,re,C);else{if(1===T.length)return h.callExpression(P.addHelper("defineProperty"),[o.initPropExpression,ne,getValue(re)]);C.push(h.expressionStatement(h.callExpression(P.addHelper("defineProperty"),[E,ne,getValue(re)])))}}}return{visitor:{ObjectExpression:{exit:function exit(o,E){var C=o.node,T=o.parent,P=o.scope,N=!1,R=C.properties,j=Array.isArray(R),ee=0;for(R=j?R:(0,x.default)(R);;){var re;if(j){if(ee>=R.length)break;re=R[ee++]}else{if((ee=R.next()).done)break;re=ee.value}if(N=!0===re.computed)break}if(N){var ne=[],ie=[],ae=!1,se=C.properties,oe=Array.isArray(se),ue=0;for(se=oe?se:(0,x.default)(se);;){var le;if(oe){if(ue>=se.length)break;le=se[ue++]}else{if((ue=se.next()).done)break;le=ue.value}var ce=le;ce.computed&&(ae=!0),ae?ie.push(ce):ne.push(ce)}var pe=P.generateUidIdentifierBasedOnNode(T),fe=h.objectExpression(ne),he=[];he.push(h.variableDeclaration("var",[h.variableDeclarator(pe,fe)]));var de=spec;E.opts.loose&&(de=loose);var me=void 0,ye=de({scope:P,objId:pe,body:he,computedProps:ie,initPropExpression:fe,getMutatorId:function getMutatorId(){return me||(me=P.generateUidIdentifier("mutatorMap"),he.push(h.variableDeclaration("var",[h.variableDeclarator(me,h.objectExpression([]))]))),me},state:E});me&&he.push(h.expressionStatement(h.callExpression(E.addHelper("defineEnumerableProperties"),[pe,me]))),ye?o.replaceWith(ye):(he.push(h.expressionStatement(pe)),o.replaceWithMultiple(he))}}}}}},o.exports=h.default},RdKH:function(o,h,E){var x=E("Mvlo").SourceMapGenerator,C=E("P9Q+"),T=/(\r?\n)/,P="$$$isSourceNode$$$";function SourceNode(o,h,E,x,C){this.children=[],this.sourceContents={},this.line=null==o?null:o,this.column=null==h?null:h,this.source=null==E?null:E,this.name=null==C?null:C,this[P]=!0,null!=x&&this.add(x)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(o,h,E){var x=new SourceNode,P=o.split(T),N=0,shiftNextLine=function(){return getNextLine()+(getNextLine()||"");function getNextLine(){return N=0;h--)this.prepend(o[h]);else{if(!o[P]&&"string"!=typeof o)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+o);this.children.unshift(o)}return this},SourceNode.prototype.walk=function SourceNode_walk(o){for(var h,E=0,x=this.children.length;E0){for(h=[],E=0;E"),this.space(),this.print(o.body,o)};var x=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function FunctionExpression(o){o.async&&(this.word("async"),this.space()),this.word("function"),o.generator&&this.token("*"),o.id?(this.space(),this.print(o.id,o)):this.space(),this._params(o),this.space(),this.print(o.body,o)}h.FunctionDeclaration=FunctionExpression},RnfZ:function(o,h,E){"use strict";var x=E("nu5z")();o.exports=function(o){return"string"==typeof o?o.replace(x,""):o}},Rp86:function(o,h,E){E("bBy9"),E("FlQf"),o.exports=E("fXsU")},RxRL:function(o,h,E){o.exports={default:E("m5qO"),__esModule:!0}},S2LA:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o,h,E){E||(E={wrapAsync:h},h=null),o.traverse(j,{file:h,wrapAwait:E.wrapAwait}),o.isClassMethod()||o.isObjectMethod()?function classOrObjectMethod(o,h){var E=o.node,x=E.body;E.async=!1;var C=T.functionExpression(null,[],T.blockStatement(x.body),!0);C.shadow=!0,x.body=[T.returnStatement(T.callExpression(T.callExpression(h,[C]),[]))],E.generator=!1}(o,E.wrapAsync):function plainFunction(o,h){var E=o.node,C=o.isFunctionDeclaration(),P=E.id,j=N;o.isArrowFunctionExpression()?o.arrowFunctionToShadowed():!C&&P&&(j=R);E.async=!1,E.generator=!0,E.id=null,C&&(E.type="FunctionExpression");var ee=T.callExpression(h,[E]),re=j({NAME:P,REF:o.scope.generateUidIdentifier("ref"),FUNCTION:ee,PARAMS:E.params.reduce((function(h,E){return h.done=h.done||T.isAssignmentPattern(E)||T.isRestElement(E),h.done||h.params.push(o.scope.generateUidIdentifier("x")),h}),{params:[],done:!1}).params}).expression;if(C){var ne=T.variableDeclaration("let",[T.variableDeclarator(T.identifier(P.name),T.callExpression(re,[]))]);ne._blockHoist=!0,o.replaceWith(ne)}else{var ie=re.body.body[1].argument;P||(0,x.default)({node:ie,parent:o.parent,scope:o.scope}),!ie||ie.id||E.params.length?o.replaceWith(T.callExpression(re,[])):o.replaceWith(ee)}}(o,E.wrapAsync)};var x=_interopRequireDefault(E("v1+0")),C=_interopRequireDefault(E("PTdM")),T=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW")),P=_interopRequireDefault(E("AMC/"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var N=(0,C.default)("\n (() => {\n var REF = FUNCTION;\n return function NAME(PARAMS) {\n return REF.apply(this, arguments);\n };\n })\n"),R=(0,C.default)("\n (() => {\n var REF = FUNCTION;\n function NAME(PARAMS) {\n return REF.apply(this, arguments);\n }\n return NAME;\n })\n"),j={Function:function Function(o){!o.isArrowFunctionExpression()||o.node.async?o.skip():o.arrowFunctionToShadowed()},AwaitExpression:function AwaitExpression(o,h){var E=o.node,x=h.wrapAwait;E.type="YieldExpression",x&&(E.argument=T.callExpression(x,[E.argument]))},ForAwaitStatement:function ForAwaitStatement(o,h){var E=h.file,x=h.wrapAwait,C=o.node,N=(0,P.default)(o,{getAsyncIterator:E.addHelper("asyncIterator"),wrapAwait:x}),R=N.declar,j=N.loop,ee=j.body;o.ensureBlock(),R&&ee.body.push(R),ee.body=ee.body.concat(C.body.body),T.inherits(j,C),T.inherits(j.body,C.body),N.replaceParent?(o.parentPath.replaceWithMultiple(N.node),o.remove()):o.replaceWithMultiple(N.node)}};o.exports=h.default},"SA+Z":function(o,h,E){var x=E("wTVA"),C=E("EbDI"),T=E("ZhPi"),P=E("wkBT");o.exports=function _toArray(o){return x(o)||C(o)||T(o)||P()},o.exports.__esModule=!0,o.exports.default=o.exports},SBuE:function(o,h){o.exports={}},SKAX:function(o,h,E){var x=E("JC6p"),C=E("lQqw")(x);o.exports=C},SN2W:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("FyfS"));h.default=function(o){o.assertClass();var h=[];function maybeMemoise(E){if(E.node&&!E.isPure()){var x=o.scope.generateDeclaredUidIdentifier();h.push(T.assignmentExpression("=",x,E.node)),E.replaceWith(x)}}function memoiseDecorators(o){if(Array.isArray(o)&&o.length){o=o.reverse(),(0,C.default)(o);var h=o,E=Array.isArray(h),T=0;for(h=E?h:(0,x.default)(h);;){var P;if(E){if(T>=h.length)break;P=h[T++]}else{if((T=h.next()).done)break;P=T.value}maybeMemoise(P)}}}maybeMemoise(o.get("superClass")),memoiseDecorators(o.get("decorators"));var E=o.get("body.body"),P=Array.isArray(E),N=0;for(E=P?E:(0,x.default)(E);;){var R;if(P){if(N>=E.length)break;R=E[N++]}else{if((N=E.next()).done)break;R=N.value}var j=R;j.is("computed")&&maybeMemoise(j.get("key")),j.has("decorators")&&memoiseDecorators(o.get("decorators"))}h&&o.insertBefore(h.map((function(o){return T.expressionStatement(o)})))};var C=_interopRequireDefault(E("saCS")),T=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}o.exports=h.default},SS4V:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.default=function(o){var h=o.types;function statementList(o,E){var C=E.get(o),T=Array.isArray(C),P=0;for(C=T?C:(0,x.default)(C);;){var N;if(T){if(P>=C.length)break;N=C[P++]}else{if((P=C.next()).done)break;N=P.value}var R=N,j=R.node;if(R.isFunctionDeclaration()){var ee=h.variableDeclaration("let",[h.variableDeclarator(j.id,h.toExpression(j))]);ee._blockHoist=2,j.id=null,R.replaceWith(ee)}}}return{visitor:{BlockStatement:function BlockStatement(o){var E=o.node,x=o.parent;h.isFunction(x,{body:E})||h.isExportDeclaration(x)||statementList("body",o)},SwitchCase:function SwitchCase(o){statementList("consequent",o)}}}},o.exports=h.default},SeTr:function(o,h,E){"use strict";(function(x){h.__esModule=!0;var C=_interopRequireDefault(E("EJiy"));h.default=function(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.cwd();if("object"===(void 0===T.default?"undefined":(0,C.default)(T.default)))return null;var E=N[h];if(!E){E=new T.default;var R=P.default.join(h,".babelrc");E.id=R,E.filename=R,E.paths=T.default._nodeModulePaths(h),N[h]=E}try{return T.default._resolveFilename(o,E)}catch(o){return null}};var T=_interopRequireDefault(E("Po9p")),P=_interopRequireDefault(E("33yf"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var N={};o.exports=h.default}).call(this,E("8oxB"))},SfRM:function(o,h,E){var x=E("YESw");o.exports=function hashClear(){this.__data__=x?x(null):{},this.size=0}},SkRP:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));function spaceSeparator(){this.space()}h.JSXAttribute=function JSXAttribute(o){this.print(o.name,o),o.value&&(this.token("="),this.print(o.value,o))},h.JSXIdentifier=function JSXIdentifier(o){this.word(o.name)},h.JSXNamespacedName=function JSXNamespacedName(o){this.print(o.namespace,o),this.token(":"),this.print(o.name,o)},h.JSXMemberExpression=function JSXMemberExpression(o){this.print(o.object,o),this.token("."),this.print(o.property,o)},h.JSXSpreadAttribute=function JSXSpreadAttribute(o){this.token("{"),this.token("..."),this.print(o.argument,o),this.token("}")},h.JSXExpressionContainer=function JSXExpressionContainer(o){this.token("{"),this.print(o.expression,o),this.token("}")},h.JSXSpreadChild=function JSXSpreadChild(o){this.token("{"),this.token("..."),this.print(o.expression,o),this.token("}")},h.JSXText=function JSXText(o){this.token(o.value)},h.JSXElement=function JSXElement(o){var h=o.openingElement;if(this.print(h,o),h.selfClosing)return;this.indent();var E=o.children,C=Array.isArray(E),T=0;for(E=C?E:(0,x.default)(E);;){var P;if(C){if(T>=E.length)break;P=E[T++]}else{if((T=E.next()).done)break;P=T.value}var N=P;this.print(N,o)}this.dedent(),this.print(o.closingElement,o)},h.JSXOpeningElement=function JSXOpeningElement(o){this.token("<"),this.print(o.name,o),o.attributes.length>0&&(this.space(),this.printJoin(o.attributes,o,{separator:spaceSeparator}));o.selfClosing?(this.space(),this.token("/>")):this.token(">")},h.JSXClosingElement=function JSXClosingElement(o){this.token("")},h.JSXEmptyExpression=function JSXEmptyExpression(){}},Sxd8:function(o,h,E){var x=E("ZCgT");o.exports=function toInteger(o){var h=x(o),E=h%1;return h==h?E?h-E:h:0}},T1AV:function(o,h,E){var x=E("t2Dn"),C=E("5Tg0"),T=E("yP5f"),P=E("Q1l4"),N=E("+iFO"),R=E("03A+"),j=E("Z0cm"),ee=E("3L66"),re=E("DSRE"),ne=E("lSCD"),ie=E("GoyQ"),ae=E("YO3V"),se=E("c6wG"),oe=E("itsj"),ue=E("jeLo");o.exports=function baseMergeDeep(o,h,E,le,ce,pe,fe){var he=oe(o,E),de=oe(h,E),me=fe.get(de);if(me)x(o,E,me);else{var ye=pe?pe(he,de,E+"",o,h,fe):void 0,ge=void 0===ye;if(ge){var ve=j(de),De=!ve&&re(de),Ee=!ve&&!De&&se(de);ye=de,ve||De||Ee?j(he)?ye=he:ee(he)?ye=P(he):De?(ge=!1,ye=C(de,!0)):Ee?(ge=!1,ye=T(de,!0)):ye=[]:ae(de)||R(de)?(ye=he,R(he)?ye=ue(he):ie(he)&&!ne(he)||(ye=N(de))):ge=!1}ge&&(fe.set(de,ye),ce(ye,de,le,pe,fe),fe.delete(de)),x(o,E,ye)}}},TDbU:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{manipulateOptions:function manipulateOptions(o,h){h.plugins.push("asyncFunctions")}}},o.exports=h.default},TJWN:function(o,h,E){"use strict";var x=E("5T2Y"),C=E("WEpk"),T=E("2faE"),P=E("jmDH"),N=E("UWiX")("species");o.exports=function(o){var h="function"==typeof C[o]?C[o]:x[o];P&&h&&!h[N]&&T.f(h,N,{configurable:!0,get:function(){return this}})}},TO8r:function(o,h){var E=/\s/;o.exports=function trimmedEndIndex(o){for(var h=o.length;h--&&E.test(o.charAt(h)););return h}},TdmO:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{visitor:{FunctionExpression:{exit:function exit(o){if("value"!==o.key&&!o.parentPath.isObjectProperty()){var h=(0,x.default)(o);h&&o.replaceWith(h)}}},ObjectProperty:function ObjectProperty(o){var h=o.get("value");if(h.isFunction()){var E=(0,x.default)(h);E&&h.replaceWith(E)}}}}};var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("v1+0"));o.exports=h.default},TuBq:function(o,h,E){var x=E("icBU"),C=E("kbA8");o.exports=function expandTop(o){if(!o)return[];"{}"===o.substr(0,2)&&(o="\\{\\}"+o.substr(2));return function expand(o,h){var E=[],T=C("{","}",o);if(!T||/\$$/.test(T.pre))return[o];var P,R=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(T.body),j=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(T.body),ee=R||j,re=T.body.indexOf(",")>=0;if(!ee&&!re)return T.post.match(/,.*\}/)?(o=T.pre+"{"+T.body+N+T.post,expand(o)):[o];if(ee)P=T.body.split(/\.\./);else{if(1===(P=function parseCommaParts(o){if(!o)return[""];var h=[],E=C("{","}",o);if(!E)return o.split(",");var x=E.pre,T=E.body,P=E.post,N=x.split(",");N[N.length-1]+="{"+T+"}";var R=parseCommaParts(P);P.length&&(N[N.length-1]+=R.shift(),N.push.apply(N,R));return h.push.apply(h,N),h}(T.body)).length)if(1===(P=expand(P[0],!1).map(embrace)).length)return(ae=T.post.length?expand(T.post,!1):[""]).map((function(o){return T.pre+P[0]+o}))}var ne,ie=T.pre,ae=T.post.length?expand(T.post,!1):[""];if(ee){var se=numeric(P[0]),oe=numeric(P[1]),ue=Math.max(P[0].length,P[1].length),le=3==P.length?Math.abs(numeric(P[2])):1,ce=lte;oe0){var me=new Array(de+1).join("0");he=fe<0?"-"+me+he.slice(1):me+he}}ne.push(he)}}else ne=x(P,(function(o){return expand(o,!1)}));for(var ye=0;ye=h}},TuGD:function(o,h,E){var x=E("UWiX")("iterator"),C=!1;try{var T=[7][x]();T.return=function(){C=!0},Array.from(T,(function(){throw 2}))}catch(o){}o.exports=function(o,h){if(!h&&!C)return!1;var E=!1;try{var T=[7],P=T[x]();P.next=function(){return{done:E=!0}},T[x]=function(){return P},o(T)}catch(o){}return E}},"U+KD":function(o,h,E){var x=E("B+OT"),C=E("JB68"),T=E("VVlx")("IE_PROTO"),P=Object.prototype;o.exports=Object.getPrototypeOf||function(o){return o=C(o),x(o,T)?o[T]:"function"==typeof o.constructor&&o instanceof o.constructor?o.constructor.prototype:o instanceof Object?P:null}},U4Pw:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("OSkm")),C=_interopRequireDefault(E("xweI"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}h.default=new x.default({name:"internal.blockHoist",visitor:{Block:{exit:function exit(o){for(var h=o.node,E=!1,x=0;x1?h-1:0),C=1;C=x.length)break;N=x[P++]}else{if((P=x.next()).done)break;N=P.value}var R=N;E="."===R?E.parentPath:Array.isArray(E)?E[R]:E.get(R,h)}return E},h.getBindingIdentifiers=function getBindingIdentifiers(o){return P.getBindingIdentifiers(this.node,o)},h.getOuterBindingIdentifiers=function getOuterBindingIdentifiers(o){return P.getOuterBindingIdentifiers(this.node,o)},h.getBindingIdentifierPaths=function getBindingIdentifierPaths(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],h=arguments.length>1&&void 0!==arguments[1]&&arguments[1],E=this,C=[].concat(E),T=(0,x.default)(null);for(;C.length;){var N=C.shift();if(N&&N.node){var R=P.getBindingIdentifiers.keys[N.node.type];if(N.isIdentifier())if(o){var j=T[N.node.name]=T[N.node.name]||[];j.push(N)}else T[N.node.name]=N;else if(N.isExportDeclaration()){var ee=N.get("declaration");ee.isDeclaration()&&C.push(ee)}else{if(h){if(N.isFunctionDeclaration()){C.push(N.get("id"));continue}if(N.isFunctionExpression())continue}if(R)for(var re=0;re=E.length)break;P=E[T++]}else{if((T=E.next()).done)break;P=T.value}var N=P;if(h.isPattern(N.id))return!0}return!1}function hasRest(o){var E=o.elements,x=Array.isArray(E),T=0;for(E=x?E:(0,C.default)(E);;){var P;if(x){if(T>=E.length)break;P=E[T++]}else{if((T=E.next()).done)break;P=T.value}var N=P;if(h.isRestElement(N))return!0}return!1}var E={ReferencedIdentifier:function ReferencedIdentifier(o,h){h.bindings[o.node.name]&&(h.deopt=!0,o.stop())}},T=function(){function DestructuringTransformer(o){(0,x.default)(this,DestructuringTransformer),this.blockHoist=o.blockHoist,this.operator=o.operator,this.arrays={},this.nodes=o.nodes||[],this.scope=o.scope,this.file=o.file,this.kind=o.kind}return DestructuringTransformer.prototype.buildVariableAssignment=function buildVariableAssignment(o,E){var x=this.operator;h.isMemberExpression(o)&&(x="=");var C=void 0;return(C=x?h.expressionStatement(h.assignmentExpression(x,o,E)):h.variableDeclaration(this.kind,[h.variableDeclarator(o,E)]))._blockHoist=this.blockHoist,C},DestructuringTransformer.prototype.buildVariableDeclaration=function buildVariableDeclaration(o,E){var x=h.variableDeclaration("var",[h.variableDeclarator(o,E)]);return x._blockHoist=this.blockHoist,x},DestructuringTransformer.prototype.push=function push(o,E){h.isObjectPattern(o)?this.pushObjectPattern(o,E):h.isArrayPattern(o)?this.pushArrayPattern(o,E):h.isAssignmentPattern(o)?this.pushAssignmentPattern(o,E):this.nodes.push(this.buildVariableAssignment(o,E))},DestructuringTransformer.prototype.toArray=function toArray(o,E){return this.file.opts.loose||h.isIdentifier(o)&&this.arrays[o.name]?o:this.scope.toArray(o,E)},DestructuringTransformer.prototype.pushAssignmentPattern=function pushAssignmentPattern(o,E){var x=this.scope.generateUidIdentifierBasedOnNode(E),C=h.variableDeclaration("var",[h.variableDeclarator(x,E)]);C._blockHoist=this.blockHoist,this.nodes.push(C);var T=h.conditionalExpression(h.binaryExpression("===",x,h.identifier("undefined")),o.right,x),P=o.left;if(h.isPattern(P)){var N=h.expressionStatement(h.assignmentExpression("=",x,T));N._blockHoist=this.blockHoist,this.nodes.push(N),this.push(P,x)}else this.nodes.push(this.buildVariableAssignment(P,T))},DestructuringTransformer.prototype.pushObjectRest=function pushObjectRest(o,E,x,C){for(var T=[],P=0;P=C)break;if(!h.isRestProperty(N)){var R=N.key;h.isIdentifier(R)&&!N.computed&&(R=h.stringLiteral(N.key.name)),T.push(R)}}T=h.arrayExpression(T);var j=h.callExpression(this.file.addHelper("objectWithoutProperties"),[E,T]);this.nodes.push(this.buildVariableAssignment(x.argument,j))},DestructuringTransformer.prototype.pushObjectProperty=function pushObjectProperty(o,E){h.isLiteral(o.key)&&(o.computed=!0);var x=o.value,C=h.memberExpression(E,o.key,o.computed);h.isPattern(x)?this.push(x,C):this.nodes.push(this.buildVariableAssignment(x,C))},DestructuringTransformer.prototype.pushObjectPattern=function pushObjectPattern(o,E){if(o.properties.length||this.nodes.push(h.expressionStatement(h.callExpression(this.file.addHelper("objectDestructuringEmpty"),[E]))),o.properties.length>1&&!this.scope.isStatic(E)){var x=this.scope.generateUidIdentifierBasedOnNode(E);this.nodes.push(this.buildVariableDeclaration(x,E)),E=x}for(var C=0;Cx.elements.length)){if(o.elements.length=T.length)break;R=T[N++]}else{if((N=T.next()).done)break;R=N.value}var j=R;if(!j)return!1;if(h.isMemberExpression(j))return!1}var ee=x.elements,re=Array.isArray(ee),ne=0;for(ee=re?ee:(0,C.default)(ee);;){var ie;if(re){if(ne>=ee.length)break;ie=ee[ne++]}else{if((ne=ee.next()).done)break;ie=ne.value}var ae=ie;if(h.isSpreadElement(ae))return!1;if(h.isCallExpression(ae))return!1;if(h.isMemberExpression(ae))return!1}var se={deopt:!1,bindings:h.getBindingIdentifiers(o)};return this.scope.traverse(x,E,se),!se.deopt}},DestructuringTransformer.prototype.pushUnpackedArrayPattern=function pushUnpackedArrayPattern(o,E){for(var x=0;x=se.length)break;le=se[ue++]}else{if((ue=se.next()).done)break;le=ue.value}var ce,pe=le,fe=ae[ae.length-1];if(fe&&h.isVariableDeclaration(fe)&&h.isVariableDeclaration(pe)&&fe.kind===pe.kind)(ce=fe.declarations).push.apply(ce,pe.declarations);else ae.push(pe)}var he=ae,de=Array.isArray(he),me=0;for(he=de?he:(0,C.default)(he);;){var ye;if(de){if(me>=he.length)break;ye=he[me++]}else{if((me=he.next()).done)break;ye=me.value}var ge=ye;if(ge.declarations){var ve=ge.declarations,De=Array.isArray(ve),Ee=0;for(ve=De?ve:(0,C.default)(ve);;){var xe;if(De){if(Ee>=ve.length)break;xe=ve[Ee++]}else{if((Ee=ve.next()).done)break;xe=Ee.value}var be=xe.id.name;P.bindings[be]&&(P.bindings[be].kind=ge.kind)}}}1===ae.length?o.replaceWith(ae[0]):o.replaceWithMultiple(ae)}}}}},o.exports=h.default},V4Ze:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("FyfS")),C=_interopRequireDefault(E("iCc5")),T=E("dZTf"),P=_interopRequireDefault(E("ZxM+")),N=_interopRequireDefault(E("3Ifc")),R=_interopRequireWildcard(E("2pnV")),j=_interopRequireDefault(E("PTdM")),ee=_interopRequireWildcard(E("KCzW"));function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var re=(0,j.default)("\n (function () {\n super(...arguments);\n })\n"),ne={"FunctionExpression|FunctionDeclaration":function FunctionExpressionFunctionDeclaration(o){o.is("shadow")||o.skip()},Method:function Method(o){o.skip()}},ie=T.visitors.merge([ne,{Super:function Super(o){if(this.isDerived&&!this.hasBareSuper&&!o.parentPath.isCallExpression({callee:o.node}))throw o.buildCodeFrameError("'super.*' is not allowed before super()")},CallExpression:{exit:function exit(o){if(o.get("callee").isSuper()&&(this.hasBareSuper=!0,!this.isDerived))throw o.buildCodeFrameError("super() is only allowed in a derived constructor")}},ThisExpression:function ThisExpression(o){if(this.isDerived&&!this.hasBareSuper&&!o.inShadow("this"))throw o.buildCodeFrameError("'this' is not allowed before super()")}}]),ae=T.visitors.merge([ne,{ThisExpression:function ThisExpression(o){this.superThises.push(o)}}]),se=function(){function ClassTransformer(o,h){(0,C.default)(this,ClassTransformer),this.parent=o.parent,this.scope=o.scope,this.node=o.node,this.path=o,this.file=h,this.clearDescriptors(),this.instancePropBody=[],this.instancePropRefs={},this.staticPropBody=[],this.body=[],this.bareSuperAfter=[],this.bareSupers=[],this.pushedConstructor=!1,this.pushedInherits=!1,this.isLoose=!1,this.superThises=[],this.classId=this.node.id,this.classRef=this.node.id?ee.identifier(this.node.id.name):this.scope.generateUidIdentifier("class"),this.superName=this.node.superClass||ee.identifier("Function"),this.isDerived=!!this.node.superClass}return ClassTransformer.prototype.run=function run(){var o=this,h=this.superName,E=this.file,x=this.body,C=this.constructorBody=ee.blockStatement([]);this.constructor=this.buildConstructor();var T=[],P=[];if(this.isDerived&&(P.push(h),h=this.scope.generateUidIdentifierBasedOnNode(h),T.push(h),this.superName=h),this.buildBody(),C.body.unshift(ee.expressionStatement(ee.callExpression(E.addHelper("classCallCheck"),[ee.thisExpression(),this.classRef]))),x=x.concat(this.staticPropBody.map((function(h){return h(o.classRef)}))),this.classId&&1===x.length)return ee.toExpression(x[0]);x.push(ee.returnStatement(this.classRef));var N=ee.functionExpression(null,T,ee.blockStatement(x));return N.shadow=!0,ee.callExpression(N,P)},ClassTransformer.prototype.buildConstructor=function buildConstructor(){var o=ee.functionDeclaration(this.classRef,[],this.constructorBody);return ee.inherits(o,this.node),o},ClassTransformer.prototype.pushToMap=function pushToMap(o,h){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"value",x=arguments[3],C=void 0;o.static?(this.hasStaticDescriptors=!0,C=this.staticMutatorMap):(this.hasInstanceDescriptors=!0,C=this.instanceMutatorMap);var T=R.push(C,o,E,this.file,x);return h&&(T.enumerable=ee.booleanLiteral(!0)),T},ClassTransformer.prototype.constructorMeMaybe=function constructorMeMaybe(){var o=!1,h=this.path.get("body.body"),E=Array.isArray(h),C=0;for(h=E?h:(0,x.default)(h);;){var T;if(E){if(C>=h.length)break;T=h[C++]}else{if((C=h.next()).done)break;T=C.value}if(o=T.equals("kind","constructor"))break}if(!o){var P=void 0,N=void 0;if(this.isDerived){var R=re().expression;P=R.params,N=R.body}else P=[],N=ee.blockStatement([]);this.path.get("body").unshiftContainer("body",ee.classMethod("constructor",ee.identifier("constructor"),P,N))}},ClassTransformer.prototype.buildBody=function buildBody(){if(this.constructorMeMaybe(),this.pushBody(),this.verifyConstructor(),this.userConstructor){var o=this.constructorBody;o.body=o.body.concat(this.userConstructor.body.body),ee.inherits(this.constructor,this.userConstructor),ee.inherits(o,this.userConstructor.body)}this.pushDescriptors()},ClassTransformer.prototype.pushBody=function pushBody(){var o=this.path.get("body.body"),h=Array.isArray(o),E=0;for(o=h?o:(0,x.default)(o);;){var C;if(h){if(E>=o.length)break;C=o[E++]}else{if((E=o.next()).done)break;C=E.value}var T=C,N=T.node;if(T.isClassProperty())throw T.buildCodeFrameError("Missing class properties transform.");if(N.decorators)throw T.buildCodeFrameError("Method has decorators, put the decorator plugin before the classes one.");if(ee.isClassMethod(N)){var R="constructor"===N.kind;if(R&&(T.traverse(ie,this),!this.hasBareSuper&&this.isDerived))throw T.buildCodeFrameError("missing super() call in constructor");var j=new P.default({forceSuperMemoisation:R,methodPath:T,methodNode:N,objectRef:this.classRef,superRef:this.superName,isStatic:N.static,isLoose:this.isLoose,scope:this.scope,file:this.file},!0);j.replace(),R?this.pushConstructor(j,N,T):this.pushMethod(N,T)}}},ClassTransformer.prototype.clearDescriptors=function clearDescriptors(){this.hasInstanceDescriptors=!1,this.hasStaticDescriptors=!1,this.instanceMutatorMap={},this.staticMutatorMap={}},ClassTransformer.prototype.pushDescriptors=function pushDescriptors(){this.pushInherits();var o=this.body,h=void 0,E=void 0;if(this.hasInstanceDescriptors&&(h=R.toClassObject(this.instanceMutatorMap)),this.hasStaticDescriptors&&(E=R.toClassObject(this.staticMutatorMap)),h||E){h&&(h=R.toComputedObjectFromClass(h)),E&&(E=R.toComputedObjectFromClass(E));var x=ee.nullLiteral(),C=[this.classRef,x,x,x,x];h&&(C[1]=h),E&&(C[2]=E),this.instanceInitializersId&&(C[3]=this.instanceInitializersId,o.unshift(this.buildObjectAssignment(this.instanceInitializersId))),this.staticInitializersId&&(C[4]=this.staticInitializersId,o.unshift(this.buildObjectAssignment(this.staticInitializersId)));for(var T=0,P=0;P=N.length)break;re=N[j++]}else{if((j=N.next()).done)break;re=j.value}var ne=re;this.wrapSuperCall(ne,T,P,E),C&&ne.find((function(o){return o===h||(o.isLoop()||o.isConditional()?(C=!1,!0):void 0)}))}var ie=this.superThises,se=Array.isArray(ie),oe=0;for(ie=se?ie:(0,x.default)(ie);;){var ue;if(se){if(oe>=ie.length)break;ue=ie[oe++]}else{if((oe=ie.next()).done)break;ue=oe.value}ue.replaceWith(P)}var le=function wrapReturn(h){return ee.callExpression(o.file.addHelper("possibleConstructorReturn"),[P].concat(h||[]))},ce=E.get("body");ce.length&&!ce.pop().isReturnStatement()&&E.pushContainer("body",ee.returnStatement(C?P:le()));var pe=this.superReturns,fe=Array.isArray(pe),he=0;for(pe=fe?pe:(0,x.default)(pe);;){var de;if(fe){if(he>=pe.length)break;de=pe[he++]}else{if((he=pe.next()).done)break;de=he.value}var me=de;if(me.node.argument){var ye=me.scope.generateDeclaredUidIdentifier("ret");me.get("argument").replaceWithMultiple([ee.assignmentExpression("=",ye,me.node.argument),le(ye)])}else me.get("argument").replaceWith(le())}}},ClassTransformer.prototype.pushMethod=function pushMethod(o,h){var E=h?h.scope:this.scope;"method"===o.kind&&this._processMethod(o,E)||this.pushToMap(o,!1,null,E)},ClassTransformer.prototype._processMethod=function _processMethod(){return!1},ClassTransformer.prototype.pushConstructor=function pushConstructor(o,h,E){this.bareSupers=o.bareSupers,this.superReturns=o.returns,E.scope.hasOwnBinding(this.classRef.name)&&E.scope.rename(this.classRef.name);var x=this.constructor;this.userConstructorPath=E,this.userConstructor=h,this.hasConstructor=!0,ee.inheritsComments(x,h),x._ignoreUserWhitespace=!0,x.params=h.params,ee.inherits(x.body,h.body),x.body.directives=h.body.directives,this._pushConstructor()},ClassTransformer.prototype._pushConstructor=function _pushConstructor(){this.pushedConstructor||(this.pushedConstructor=!0,(this.hasInstanceDescriptors||this.hasStaticDescriptors)&&this.pushDescriptors(),this.body.push(this.constructor),this.pushInherits())},ClassTransformer.prototype.pushInherits=function pushInherits(){this.isDerived&&!this.pushedInherits&&(this.pushedInherits=!0,this.body.unshift(ee.expressionStatement(ee.callExpression(this.file.addHelper("inherits"),[this.classRef,this.superName]))))},ClassTransformer}();h.default=se,o.exports=h.default},V5v5:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("AyUB")),C=_interopRequireDefault(E("FyfS")),T=_interopRequireDefault(E("+JPL"));h.default=function(o){var h=o.types,E=(0,T.default)(),N={"AssignmentExpression|UpdateExpression":function AssignmentExpressionUpdateExpression(o){if(!o.node[E]){o.node[E]=!0;var x=o.get(o.isAssignmentExpression()?"left":"argument");if(x.isIdentifier()){var T=x.node.name;if(this.scope.getBinding(T)===o.scope.getBinding(T)){var P=this.exports[T];if(P){var N=o.node,R=o.isUpdateExpression()&&!N.prefix;R&&("++"===N.operator?N=h.binaryExpression("+",N.argument,h.numericLiteral(1)):"--"===N.operator?N=h.binaryExpression("-",N.argument,h.numericLiteral(1)):R=!1);var j=P,ee=Array.isArray(j),re=0;for(j=ee?j:(0,C.default)(j);;){var ne;if(ee){if(re>=j.length)break;ne=j[re++]}else{if((re=j.next()).done)break;ne=re.value}var ie=ne;N=this.buildCall(ie,N).expression}R&&(N=h.sequenceExpression([N,o.node])),o.replaceWith(N)}}}}}};return{visitor:{CallExpression:function CallExpression(o,E){if(o.node.callee.type===ee){var x=E.contextIdent;o.replaceWith(h.callExpression(h.memberExpression(x,h.identifier("import")),o.node.arguments))}},ReferencedIdentifier:function ReferencedIdentifier(o,E){"__moduleName"!=o.node.name||o.scope.hasBinding("__moduleName")||o.replaceWith(h.memberExpression(E.contextIdent,h.identifier("id")))},Program:{enter:function enter(o,h){h.contextIdent=o.scope.generateUidIdentifier("context")},exit:function exit(o,E){var T=o.scope.generateUidIdentifier("export"),ee=E.contextIdent,re=(0,x.default)(null),ne=[],ie=[],ae=[],se=[],oe=[],ue=[];function addExportName(o,h){re[o]=re[o]||[],re[o].push(h)}function pushModule(o,h,E){var x=void 0;ne.forEach((function(h){h.key===o&&(x=h)})),x||ne.push(x={key:o,imports:[],exports:[]}),x[h]=x[h].concat(E)}function buildExportCall(o,E){return h.expressionStatement(h.callExpression(T,[h.stringLiteral(o),E]))}var le=o.get("body"),ce=!0,pe=le,fe=Array.isArray(pe),he=0;for(pe=fe?pe:(0,C.default)(pe);;){var de;if(fe){if(he>=pe.length)break;de=pe[he++]}else{if((he=pe.next()).done)break;de=he.value}var me=de;if(me.isExportDeclaration()&&(me=me.get("declaration")),me.isVariableDeclaration()&&"var"!==me.node.kind){ce=!1;break}}var ye=le,ge=Array.isArray(ye),ve=0;for(ye=ge?ye:(0,C.default)(ye);;){var De;if(ge){if(ve>=ye.length)break;De=ye[ve++]}else{if((ve=ye.next()).done)break;De=ve.value}var Ee=De;if(ce&&Ee.isFunctionDeclaration())ie.push(Ee.node),ue.push(Ee);else if(Ee.isImportDeclaration()){var xe=Ee.node.source.value;for(var be in pushModule(xe,"imports",Ee.node.specifiers),Ee.getBindingIdentifiers())Ee.scope.removeBinding(be),oe.push(h.identifier(be));Ee.remove()}else if(Ee.isExportAllDeclaration())pushModule(Ee.node.source.value,"exports",Ee.node),Ee.remove();else if(Ee.isExportDefaultDeclaration()){var Ce=Ee.get("declaration");if(Ce.isClassDeclaration()||Ce.isFunctionDeclaration()){var Ae=Ce.node.id,Se=[];Ae?(Se.push(Ce.node),Se.push(buildExportCall("default",Ae)),addExportName(Ae.name,"default")):Se.push(buildExportCall("default",h.toExpression(Ce.node))),!ce||Ce.isClassDeclaration()?Ee.replaceWithMultiple(Se):(ie=ie.concat(Se),ue.push(Ee))}else Ee.replaceWith(buildExportCall("default",Ce.node))}else if(Ee.isExportNamedDeclaration()){var we=Ee.get("declaration");if(we.node){Ee.replaceWith(we);var ke=[],Te=void 0;if(Ee.isFunction()){var _e,Fe=we.node,Pe=Fe.id.name;if(ce)addExportName(Pe,Pe),ie.push(Fe),ie.push(buildExportCall(Pe,Fe.id)),ue.push(Ee);else(_e={})[Pe]=Fe.id,Te=_e}else Te=we.getBindingIdentifiers();for(var Be in Te)addExportName(Be,Be),ke.push(buildExportCall(Be,h.identifier(Be)));Ee.insertAfter(ke)}else{var Ne=Ee.node.specifiers;if(Ne&&Ne.length)if(Ee.node.source)pushModule(Ee.node.source.value,"exports",Ne),Ee.remove();else{var Ie=[],Oe=Ne,Re=Array.isArray(Oe),Me=0;for(Oe=Re?Oe:(0,C.default)(Oe);;){var Le;if(Re){if(Me>=Oe.length)break;Le=Oe[Me++]}else{if((Me=Oe.next()).done)break;Le=Me.value}var je=Le;Ie.push(buildExportCall(je.exported.name,je.local)),addExportName(je.local.name,je.exported.name)}Ee.replaceWithMultiple(Ie)}}}}ne.forEach((function(E){var x=[],P=o.scope.generateUidIdentifier(E.key),N=E.imports,R=Array.isArray(N),ee=0;for(N=R?N:(0,C.default)(N);;){var re;if(R){if(ee>=N.length)break;re=N[ee++]}else{if((ee=N.next()).done)break;re=ee.value}var ne=re;h.isImportNamespaceSpecifier(ne)?x.push(h.expressionStatement(h.assignmentExpression("=",ne.local,P))):h.isImportDefaultSpecifier(ne)&&(ne=h.importSpecifier(ne.local,h.identifier("default"))),h.isImportSpecifier(ne)&&x.push(h.expressionStatement(h.assignmentExpression("=",ne.local,h.memberExpression(P,ne.imported))))}if(E.exports.length){var ie=o.scope.generateUidIdentifier("exportObj");x.push(h.variableDeclaration("var",[h.variableDeclarator(ie,h.objectExpression([]))]));var oe=E.exports,ue=Array.isArray(oe),le=0;for(oe=ue?oe:(0,C.default)(oe);;){var ce;if(ue){if(le>=oe.length)break;ce=oe[le++]}else{if((le=oe.next()).done)break;ce=le.value}var pe=ce;h.isExportAllDeclaration(pe)?x.push(j({KEY:o.scope.generateUidIdentifier("key"),EXPORT_OBJ:ie,TARGET:P})):h.isExportSpecifier(pe)&&x.push(h.expressionStatement(h.assignmentExpression("=",h.memberExpression(ie,pe.exported),h.memberExpression(P,pe.local))))}x.push(h.expressionStatement(h.callExpression(T,[ie])))}se.push(h.stringLiteral(E.key)),ae.push(h.functionExpression(null,[P],h.blockStatement(x)))}));var qe=this.getModuleName();qe&&(qe=h.stringLiteral(qe)),ce&&(0,P.default)(o,(function(o){return oe.push(o)})),oe.length&&ie.unshift(h.variableDeclaration("var",oe.map((function(o){return h.variableDeclarator(o)})))),o.traverse(N,{exports:re,buildCall:buildExportCall,scope:o.scope});var Ve=ue,Ue=Array.isArray(Ve),We=0;for(Ve=Ue?Ve:(0,C.default)(Ve);;){var Ge;if(Ue){if(We>=Ve.length)break;Ge=Ve[We++]}else{if((We=Ve.next()).done)break;Ge=We.value}Ge.remove()}o.node.body=[R({SYSTEM_REGISTER:h.memberExpression(h.identifier(E.opts.systemGlobal||"System"),h.identifier("register")),BEFORE_BODY:ie,MODULE_NAME:qe,SETTERS:ae,SOURCES:se,BODY:o.node.body,EXPORT_IDENTIFIER:T,CONTEXT_IDENTIFIER:ee})]}}}}};var P=_interopRequireDefault(E("GarX")),N=_interopRequireDefault(E("PTdM"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var R=(0,N.default)('\n SYSTEM_REGISTER(MODULE_NAME, [SOURCES], function (EXPORT_IDENTIFIER, CONTEXT_IDENTIFIER) {\n "use strict";\n BEFORE_BODY;\n return {\n setters: [SETTERS],\n execute: function () {\n BODY;\n }\n };\n });\n'),j=(0,N.default)('\n for (var KEY in TARGET) {\n if (KEY !== "default" && KEY !== "__esModule") EXPORT_OBJ[KEY] = TARGET[KEY];\n }\n'),ee="Import";o.exports=h.default},V6Ve:function(o,h,E){var x=E("kekF")(Object.keys,Object);o.exports=x},V7Et:function(o,h,E){var x=E("2GTP"),C=E("M1xp"),T=E("JB68"),P=E("tEej"),N=E("v6xn");o.exports=function(o,h){var E=1==o,R=2==o,j=3==o,ee=4==o,re=6==o,ne=5==o||re,ie=h||N;return function(h,N,ae){for(var se,oe,ue=T(h),le=C(ue),ce=x(N,ae,3),pe=P(le.length),fe=0,he=E?ie(h,pe):R?ie(h,0):void 0;pe>fe;fe++)if((ne||fe in le)&&(oe=ce(se=le[fe],fe,ue),o))if(E)he[fe]=oe;else if(oe)switch(o){case 3:return!0;case 5:return se;case 6:return fe;case 2:he.push(se)}else if(ee)return!1;return re?-1:j||ee?ee:he}}},VCcS:function(o,h,E){(function(o,x){var C;!function(T){var P=h,N=(o&&o.exports,"object"==typeof x&&x);N.global!==N&&N.window;var R={},j=R.hasOwnProperty,forOwn=function(o,h){var E;for(E in o)j.call(o,E)&&h(E,o[E])},ee=R.toString,re={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},ne=/["'\\\b\f\n\r\t]/,ie=/[0-9]/,ae=/[ !#-&\(-\[\]-~]/,jsesc=function(o,h){var E,x,C={escapeEverything:!1,escapeEtago:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",__indent__:"",__inline1__:!1,__inline2__:!1},T=h&&h.json;T&&(C.quotes="double",C.wrap=!0),E=C,"single"!=(h=(x=h)?(forOwn(x,(function(o,h){E[o]=h})),E):E).quotes&&"double"!=h.quotes&&(h.quotes="single");var P,N,R="double"==h.quotes?'"':"'",j=h.compact,se=h.indent,oe=h.lowercaseHex,ue="",le=h.__inline1__,ce=h.__inline2__,pe=j?"":"\n",fe=!0,he="binary"==h.numbers,de="octal"==h.numbers,me="decimal"==h.numbers,ye="hexadecimal"==h.numbers;if(T&&o&&("function"==typeof(N=o.toJSON)||"[object Function]"==ee.call(N))&&(o=o.toJSON()),!function(o){return"string"==typeof o||"[object String]"==ee.call(o)}(o)){if(function(o){return"[object Map]"==ee.call(o)}(o))return 0==o.size?"new Map()":(j||(h.__inline1__=!0),"new Map("+jsesc(Array.from(o),h)+")");if(function(o){return"[object Set]"==ee.call(o)}(o))return 0==o.size?"new Set()":"new Set("+jsesc(Array.from(o),h)+")";if(function(o){return"[object Array]"==ee.call(o)}(o))return P=[],h.wrap=!0,le?(h.__inline1__=!1,h.__inline2__=!0):(ue=h.__indent__,se+=ue,h.__indent__=se),function(o,h){for(var E=o.length,x=-1;++x=55296&&ve<=56319&&be>xe+1&&(De=Ee.charCodeAt(xe+1))>=56320&&De<=57343){var Ae=(1024*(ve-55296)+De-56320+65536).toString(16);oe||(Ae=Ae.toUpperCase()),P+="\\u{"+Ae+"}",xe++}else{if(!h.escapeEverything){if(ae.test(Ce)){P+=Ce;continue}if('"'==Ce){P+=R==Ce?'\\"':Ce;continue}if("'"==Ce){P+=R==Ce?"\\'":Ce;continue}}if("\0"!=Ce||T||ie.test(Ee.charAt(xe+1)))if(ne.test(Ce))P+=re[Ce];else{Ae=Ce.charCodeAt(0).toString(16);oe||(Ae=Ae.toUpperCase());var Se=Ae.length>2||T,we="\\"+(Se?"u":"x")+("0000"+Ae).slice(Se?-4:-2);P+=we}else P+="\\0"}}return h.wrap&&(P=R+P+R),h.escapeEtago?P.replace(/<\/(script|style)/gi,"<\\/$1"):P};jsesc.version="1.3.0",void 0===(C=function(){return jsesc}.call(h,E,h,o))||(o.exports=C)}()}).call(this,E("YuTi")(o),E("yLpj"))},VJsP:function(o,h,E){"use strict";var x=E("2GTP"),C=E("Y7ZC"),T=E("JB68"),P=E("sNwI"),N=E("NwJ3"),R=E("tEej"),j=E("IP1Z"),ee=E("fNZA");C(C.S+C.F*!E("TuGD")((function(o){Array.from(o)})),"Array",{from:function from(o){var h,E,C,re,ne=T(o),ie="function"==typeof this?this:Array,ae=arguments.length,se=ae>1?arguments[1]:void 0,oe=void 0!==se,ue=0,le=ee(ne);if(oe&&(se=x(se,ae>2?arguments[2]:void 0,2)),null==le||ie==Array&&N(le))for(E=new ie(h=R(ne.length));h>ue;ue++)j(E,ue,oe?se(ne[ue],ue):ne[ue]);else for(re=le.call(ne),E=new ie;!(C=re.next()).done;ue++)j(E,ue,oe?P(re,se,[C.value,ue],!0):C.value);return E.length=ue,E}})},VOtZ:function(o,h,E){var x=E("juv8"),C=E("MvSz");o.exports=function copySymbols(o,h){return x(o,C(o),h)}},VVlx:function(o,h,E){var x=E("29s/")("keys"),C=E("YqAc");o.exports=function(o){return x[o]||(x[o]=C(o))}},VaNO:function(o,h){o.exports=function stackHas(o){return this.__data__.has(o)}},Vbzx:function(o,h,E){"use strict";h.__esModule=!0,h.default=function resolveFromPossibleNames(o,h){return o.reduce((function(o,E){return o||(0,x.default)(E,h)}),null)};var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("SeTr"));o.exports=h.default},Vwyw:function(o,h,E){"use strict";h.__esModule=!0,h.ImportDeclaration=h.ModuleDeclaration=void 0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.ExportDeclaration=function ExportDeclaration(o,h){var E=o.node,T=E.source?E.source.value:null,P=h.metadata.modules.exports,N=o.get("declaration");if(N.isStatement()){var R=N.getBindingIdentifiers();for(var j in R)P.exported.push(j),P.specifiers.push({kind:"local",local:j,exported:o.isExportDefaultDeclaration()?"default":j})}if(o.isExportNamedDeclaration()&&E.specifiers){var ee=E.specifiers,re=Array.isArray(ee),ne=0;for(ee=re?ee:(0,x.default)(ee);;){var ie;if(re){if(ne>=ee.length)break;ie=ee[ne++]}else{if((ne=ee.next()).done)break;ie=ne.value}var ae=ie,se=ae.exported.name;P.exported.push(se),C.isExportDefaultSpecifier(ae)&&P.specifiers.push({kind:"external",local:se,exported:se,source:T}),C.isExportNamespaceSpecifier(ae)&&P.specifiers.push({kind:"external-namespace",exported:se,source:T});var oe=ae.local;oe&&(T&&P.specifiers.push({kind:"external",local:oe.name,exported:se,source:T}),T||P.specifiers.push({kind:"local",local:oe.name,exported:se}))}}o.isExportAllDeclaration()&&P.specifiers.push({kind:"external-all",source:T})},h.Scope=function Scope(o){o.skip()};var C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));h.ModuleDeclaration={enter:function enter(o,h){var E=o.node;E.source&&(E.source.value=h.resolveModuleSource(E.source.value))}},h.ImportDeclaration={exit:function exit(o,h){var E=o.node,C=[],T=[];h.metadata.modules.imports.push({source:E.source.value,imported:T,specifiers:C});var P=o.get("specifiers"),N=Array.isArray(P),R=0;for(P=N?P:(0,x.default)(P);;){var j;if(N){if(R>=P.length)break;j=P[R++]}else{if((R=P.next()).done)break;j=R.value}var ee=j,re=ee.node.local.name;if(ee.isImportDefaultSpecifier()&&(T.push("default"),C.push({kind:"named",imported:"default",local:re})),ee.isImportSpecifier()){var ne=ee.node.imported.name;T.push(ne),C.push({kind:"named",imported:ne,local:re})}ee.isImportNamespaceSpecifier()&&(T.push("*"),C.push({kind:"namespace",local:re}))}}}},W070:function(o,h,E){var x=E("NsO/"),C=E("tEej"),T=E("D8kY");o.exports=function(o){return function(h,E,P){var N,R=x(h),j=C(R.length),ee=T(P,j);if(o&&E!=E){for(;j>ee;)if((N=R[ee++])!=N)return!0}else for(;j>ee;ee++)if((o||ee in R)&&R[ee]===E)return o||ee||0;return!o&&-1}}},"W2+x":function(o,h,E){"use strict";(function(h){var x=E("oxjq"),C=E("pLZy"),T=E("RnfZ"),P=E("fYZ/"),N=E("CXZK"),R=Object.defineProperties,j="win32"===h.platform&&!/^xterm/i.test(h.env.TERM);function Chalk(o){this.enabled=o&&void 0!==o.enabled?o.enabled:N}j&&(C.blue.open="");var ee,re=(ee={},Object.keys(C).forEach((function(o){C[o].closeRe=new RegExp(x(C[o].close),"g"),ee[o]={get:function(){return build.call(this,this._styles.concat(o))}}})),ee),ne=R((function chalk(){}),re);function build(o){var builder=function(){return applyStyle.apply(builder,arguments)};return builder._styles=o,builder.enabled=this.enabled,builder.__proto__=ne,builder}function applyStyle(){var o=arguments,h=o.length,E=0!==h&&String(arguments[0]);if(h>1)for(var x=1;x-1;)ie!==o&&R.call(ie,ae,1),R.call(o,ae,1);return o}},WEpk:function(o,h){var E=o.exports={version:"2.6.9"};"number"==typeof __e&&(__e=E)},WFqU:function(o,h,E){(function(h){var E="object"==typeof h&&h&&h.Object===Object&&h;o.exports=E}).call(this,E("yLpj"))},WnmU:function(o,h,E){E("cHUd")("WeakSet")},Wu5q:function(o,h,E){"use strict";var x=E("2faE").f,C=E("oVml"),T=E("XJU/"),P=E("2GTP"),N=E("EXMj"),R=E("oioR"),j=E("MPFp"),ee=E("UO39"),re=E("TJWN"),ne=E("jmDH"),ie=E("6/1s").fastKey,ae=E("n3ko"),se=ne?"_s":"size",getEntry=function(o,h){var E,x=ie(h);if("F"!==x)return o._i[x];for(E=o._f;E;E=E.n)if(E.k==h)return E};o.exports={getConstructor:function(o,h,E,j){var ee=o((function(o,x){N(o,ee,h,"_i"),o._t=h,o._i=C(null),o._f=void 0,o._l=void 0,o[se]=0,null!=x&&R(x,E,o[j],o)}));return T(ee.prototype,{clear:function clear(){for(var o=ae(this,h),E=o._i,x=o._f;x;x=x.n)x.r=!0,x.p&&(x.p=x.p.n=void 0),delete E[x.i];o._f=o._l=void 0,o[se]=0},delete:function(o){var E=ae(this,h),x=getEntry(E,o);if(x){var C=x.n,T=x.p;delete E._i[x.i],x.r=!0,T&&(T.n=C),C&&(C.p=T),E._f==x&&(E._f=C),E._l==x&&(E._l=T),E[se]--}return!!x},forEach:function forEach(o){ae(this,h);for(var E,x=P(o,arguments.length>1?arguments[1]:void 0,3);E=E?E.n:this._f;)for(x(E.v,E.k,this);E&&E.r;)E=E.p},has:function has(o){return!!getEntry(ae(this,h),o)}}),ne&&x(ee.prototype,"size",{get:function(){return ae(this,h)[se]}}),ee},def:function(o,h,E){var x,C,T=getEntry(o,h);return T?T.v=E:(o._l=T={i:C=ie(h,!0),k:h,v:E,p:x=o._l,n:void 0,r:!1},o._f||(o._f=T),x&&(x.n=T),o[se]++,"F"!==C&&(o._i[C]=T)),o},getEntry:getEntry,setStrong:function(o,h,E){j(o,h,(function(o,E){this._t=ae(o,h),this._k=E,this._l=void 0}),(function(){for(var o=this._k,h=this._l;h&&h.r;)h=h.p;return this._t&&(this._l=h=h?h.n:this._t._f)?ee(0,"keys"==o?h.k:"values"==o?h.v:[h.k,h.v]):(this._t=void 0,ee(1))}),E?"entries":"values",!E,!0),re(h)}}},WwFo:function(o,h,E){var x=E("juv8"),C=E("7GkX");o.exports=function baseAssign(o,h){return o&&x(h,C(h),o)}},X0nG:function(o,h,E){"use strict";var x=E("TqRt"),C=E("cDf5");Object.defineProperty(h,"__esModule",{value:!0}),h.default=function transpile(o){var h=T.transform(o,ee).code;return h=(0,j.default)(h)};var T=function _interopRequireWildcard(o,h){if(!h&&o&&o.__esModule)return o;if(null===o||"object"!==C(o)&&"function"!=typeof o)return{default:o};var E=_getRequireWildcardCache(h);if(E&&E.has(o))return E.get(o);var x={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in o)if("default"!==P&&Object.prototype.hasOwnProperty.call(o,P)){var N=T?Object.getOwnPropertyDescriptor(o,P):null;N&&(N.get||N.set)?Object.defineProperty(x,P,N):x[P]=o[P]}x.default=o,E&&E.set(o,x);return x}(E("1Mmg")),P=x(E("u/as")),N=x(E("HnT0")),R=x(E("rPqm")),j=x(E("rW2U"));function _getRequireWildcardCache(o){if("function"!=typeof WeakMap)return null;var h=new WeakMap,E=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(o){return o?E:h})(o)}var ee={presets:[P.default,N.default],plugins:[R.default],ast:!1,babelrc:!1,highlightCode:!1}},XGnz:function(o,h,E){var x=E("CH3K"),C=E("BiGR");o.exports=function baseFlatten(o,h,E,T,P){var N=-1,R=o.length;for(E||(E=C),P||(P=[]);++N0&&E(j)?h>1?baseFlatten(j,h-1,E,T,P):x(P,j):T||(P[P.length]=j)}return P}},"XJU/":function(o,h,E){var x=E("NegM");o.exports=function(o,h,E){for(var C in h)E&&o[C]?o[C]=h[C]:x(o,C,h[C]);return o}},XKAG:function(o,h,E){var x=E("ut/Y"),C=E("MMmD"),T=E("7GkX");o.exports=function createFind(o){return function(h,E,P){var N=Object(h);if(!C(h)){var R=x(E,3);h=T(h),E=function(o){return R(N[o],o,N)}}var j=o(h,E,P);return j>-1?N[R?h[j]:j]:void 0}}},XLbu:function(o,h,E){var x=E("Y7ZC");x(x.P+x.R,"Map",{toJSON:E("8iia")("Map")})},XYZo:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("+JPL")),C=_interopRequireDefault(E("AyUB")),T=_interopRequireDefault(E("iCc5"));h.default=function(){return{visitor:{VariableDeclaration:function VariableDeclaration(o,h){var E=o.node,x=o.parent,C=o.scope;if(isBlockScoped(E)&&(convertBlockScopedToVar(o,null,x,C,!0),E._tdzThis)){for(var T=[E],P=0;P4&&void 0!==arguments[4]&&arguments[4];if(h||(h=o.node),!R.isFor(E))for(var T=0;T0&&o.traverse(ie,h),o.skip()}},N.visitor]),ie=P.default.visitors.merge([{ReferencedIdentifier:function ReferencedIdentifier(o,h){var E=h.letReferences[o.node.name];if(E){var x=o.scope.getBindingIdentifier(o.node.name);x&&x!==E||(h.closurify=!0)}}},N.visitor]),ae={enter:function enter(o,h){var E=o.node;o.parent;if(o.isForStatement()){if(isVar(E.init)){var x=h.pushDeclar(E.init);1===x.length?E.init=x[0]:E.init=R.sequenceExpression(x)}}else if(o.isFor())isVar(E.left)&&(h.pushDeclar(E.left),E.left=E.left.declarations[0].id);else if(isVar(E))o.replaceWithMultiple(h.pushDeclar(E).map((function(o){return R.expressionStatement(o)})));else if(o.isFunction())return o.skip()}},se={LabeledStatement:function LabeledStatement(o,h){var E=o.node;h.innerLabels.push(E.label.name)}},oe={enter:function enter(o,h){if(o.isAssignmentExpression()||o.isUpdateExpression()){var E=o.getBindingIdentifiers();for(var x in E)h.outsideReferences[x]===o.scope.getBindingIdentifier(x)&&(h.reassignments[x]=!0)}}};var ue={Loop:function Loop(o,h){var E=h.ignoreLabeless;h.ignoreLabeless=!0,o.traverse(ue,h),h.ignoreLabeless=E,o.skip()},Function:function Function(o){o.skip()},SwitchCase:function SwitchCase(o,h){var E=h.inSwitchCase;h.inSwitchCase=!0,o.traverse(ue,h),h.inSwitchCase=E,o.skip()},"BreakStatement|ContinueStatement|ReturnStatement":function BreakStatementContinueStatementReturnStatement(o,h){var E=o.node,x=o.parent,C=o.scope;if(!E[this.LOOP_IGNORE]){var T=void 0,P=function loopNodeTo(o){return R.isBreakStatement(o)?"break":R.isContinueStatement(o)?"continue":void 0}(E);if(P){if(E.label){if(h.innerLabels.indexOf(E.label.name)>=0)return;P=P+"|"+E.label.name}else{if(h.ignoreLabeless)return;if(h.inSwitchCase)return;if(R.isBreakStatement(E)&&R.isSwitchCase(x))return}h.hasBreakContinue=!0,h.map[P]=E,T=R.stringLiteral(P)}o.isReturnStatement()&&(h.hasReturn=!0,T=R.objectExpression([R.objectProperty(R.identifier("v"),E.argument||C.buildUndefinedNode())])),T&&((T=R.returnStatement(T))[this.LOOP_IGNORE]=!0,o.skip(),o.replaceWith(R.inherits(T,E)))}}},le=function(){function BlockScoping(o,h,E,x,P){(0,T.default)(this,BlockScoping),this.parent=E,this.scope=x,this.file=P,this.blockPath=h,this.block=h.node,this.outsideLetReferences=(0,C.default)(null),this.hasLetReferences=!1,this.letReferences=(0,C.default)(null),this.body=[],o&&(this.loopParent=o.parent,this.loopLabel=R.isLabeledStatement(this.loopParent)&&this.loopParent.label,this.loopPath=o,this.loop=o.node)}return BlockScoping.prototype.run=function run(){var o=this.block;if(!o._letDone){o._letDone=!0;var h=this.getLetReferences();if(R.isFunction(this.parent)||R.isProgram(this.block))this.updateScopeInfo();else if(this.hasLetReferences)return h?this.wrapClosure():this.remap(),this.updateScopeInfo(h),this.loopLabel&&!R.isLabeledStatement(this.loopParent)?R.labeledStatement(this.loopLabel,this.loop):void 0}},BlockScoping.prototype.updateScopeInfo=function updateScopeInfo(o){var h=this.scope,E=h.getFunctionParent(),x=this.letReferences;for(var C in x){var T=x[C],P=h.getBinding(T.name);P&&("let"!==P.kind&&"const"!==P.kind||(P.kind="var",o?h.removeBinding(T.name):h.moveBindingTo(T.name,E)))}},BlockScoping.prototype.remap=function remap(){var o=this.letReferences,h=this.scope;for(var E in o){var x=o[E];(h.parentHasBinding(E)||h.hasGlobal(E))&&(h.hasOwnBinding(E)&&h.rename(x.name),this.blockPath.scope.hasOwnBinding(E)&&this.blockPath.scope.rename(x.name))}},BlockScoping.prototype.wrapClosure=function wrapClosure(){if(this.file.opts.throwIfClosureRequired)throw this.blockPath.buildCodeFrameError("Compiling let/const in this block would add a closure (throwIfClosureRequired).");var o=this.block,h=this.outsideLetReferences;if(this.loop)for(var E in h){var x=h[E];(this.scope.hasGlobal(x.name)||this.scope.parentHasBinding(x.name))&&(delete h[x.name],delete this.letReferences[x.name],this.scope.rename(x.name),this.letReferences[x.name]=x,h[x.name]=x)}this.has=this.checkLoop(),this.hoistVarDeclarations();var C=(0,j.default)(h),T=(0,j.default)(h),N=this.blockPath.isSwitchStatement(),ee=R.functionExpression(null,C,R.blockStatement(N?[o]:o.body));ee.shadow=!0,this.addContinuations(ee);var re=ee;this.loop&&(re=this.scope.generateUidIdentifier("loop"),this.loopPath.insertBefore(R.variableDeclaration("var",[R.variableDeclarator(re,ee)])));var ne=R.callExpression(re,T),ie=this.scope.generateUidIdentifier("ret");P.default.hasType(ee.body,this.scope,"YieldExpression",R.FUNCTION_TYPES)&&(ee.generator=!0,ne=R.yieldExpression(ne,!0)),P.default.hasType(ee.body,this.scope,"AwaitExpression",R.FUNCTION_TYPES)&&(ee.async=!0,ne=R.awaitExpression(ne)),this.buildClosure(ie,ne),N?this.blockPath.replaceWithMultiple(this.body):o.body=this.body},BlockScoping.prototype.buildClosure=function buildClosure(o,h){var E=this.has;E.hasReturn||E.hasBreakContinue?this.buildHas(o,h):this.body.push(R.expressionStatement(h))},BlockScoping.prototype.addContinuations=function addContinuations(o){var h={reassignments:{},outsideReferences:this.outsideLetReferences};this.scope.traverse(o,oe,h);for(var E=0;E=0)){if(x.isAnyTypeAnnotation(N))return[N];if(x.isFlowBaseAnnotation(N))E[N.type]=N;else if(x.isUnionTypeAnnotation(N))C.indexOf(N.types)<0&&(o=o.concat(N.types),C.push(N.types));else if(x.isGenericTypeAnnotation(N)){var R=N.id.name;if(h[R]){var j=h[R];j.typeParameters?N.typeParameters&&(j.typeParameters.params=removeTypeDuplicates(j.typeParameters.params.concat(N.typeParameters.params))):j=N.typeParameters}else h[R]=N}else T.push(N)}}for(var ee in E)T.push(E[ee]);for(var re in h)T.push(h[re]);return T}},"Xt/L":function(o,h){o.exports=function arrayIncludesWith(o,h,E){for(var x=-1,C=null==o?0:o.length;++x=N.length)break;ee=N[j++]}else{if((j=N.next()).done)break;ee=j.value}var re=ee;h.isSpreadElement(re)?(push(),T.push(getSpreadLiteral(re,E,C))):P.push(re)}return push(),T}return{visitor:{ArrayExpression:function ArrayExpression(o,E){var x=o.node,C=o.scope,T=x.elements;if(hasSpread(T)){var P=build(T,C,E),N=P.shift();h.isArrayExpression(N)||(P.unshift(N),N=h.arrayExpression([])),o.replaceWith(h.callExpression(h.memberExpression(N,h.identifier("concat")),P))}},CallExpression:function CallExpression(o,E){var x=o.node,C=o.scope,T=x.arguments;if(hasSpread(T)){var P=o.get("callee");if(!P.isSuper()){var N=h.identifier("undefined");x.arguments=[];var R=void 0,j=(R=1===T.length&&"arguments"===T[0].argument.name?[T[0].argument]:build(T,C,E)).shift();R.length?x.arguments.push(h.callExpression(h.memberExpression(j,h.identifier("concat")),R)):x.arguments.push(j);var ee=x.callee;if(P.isMemberExpression()){var re=C.maybeGenerateMemoised(ee.object);re?(ee.object=h.assignmentExpression("=",re,ee.object),N=re):N=ee.object,h.appendToMemberExpression(ee,h.identifier("apply"))}else x.callee=h.memberExpression(x.callee,h.identifier("apply"));h.isSuper(N)&&(N=h.thisExpression()),x.arguments.unshift(N)}}},NewExpression:function NewExpression(o,E){var x=o.node,C=o.scope,T=x.arguments;if(hasSpread(T)){var P=build(T,C,E),N=h.arrayExpression([h.nullLiteral()]);T=h.callExpression(h.memberExpression(N,h.identifier("concat")),P),o.replaceWith(h.newExpression(h.callExpression(h.memberExpression(h.memberExpression(h.memberExpression(h.identifier("Function"),h.identifier("prototype")),h.identifier("bind")),h.identifier("apply")),[x.callee,T]),[]))}}}}},o.exports=h.default},YESw:function(o,h,E){var x=E("Cwc5")(Object,"create");o.exports=x},YO3V:function(o,h,E){var x=E("NykK"),C=E("LcsW"),T=E("ExA7"),P=Function.prototype,N=Object.prototype,R=P.toString,j=N.hasOwnProperty,ee=R.call(Object);o.exports=function isPlainObject(o){if(!T(o)||"[object Object]"!=x(o))return!1;var h=C(o);if(null===h)return!0;var E=j.call(h,"constructor")&&h.constructor;return"function"==typeof E&&E instanceof E&&R.call(E)==ee}},YQPV:function(o,h,E){"use strict";var x,C,T,P=E("TqRt"),N=P(E("PJYZ")),R=P(E("J4zp")),j=P(E("iWIM")),ee=P(E("7W2i")),re=P(E("a1gu")),ne=P(E("Nsbk")),ie=P(E("W8MJ")),ae=P(E("lwsE")),se=P(E("RIqP")),oe=P(E("cDf5"));function _createSuper(o){var h=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(o){return!1}}();return function _createSuperInternal(){var E,x=(0,ne.default)(o);if(h){var C=(0,ne.default)(this).constructor;E=Reflect.construct(x,arguments,C)}else E=x.apply(this,arguments);return(0,re.default)(this,E)}}function _createForOfIteratorHelper(o,h){var E="undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"];if(!E){if(Array.isArray(o)||(E=function _unsupportedIterableToArray(o,h){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,h);var E=Object.prototype.toString.call(o).slice(8,-1);"Object"===E&&o.constructor&&(E=o.constructor.name);if("Map"===E||"Set"===E)return Array.from(o);if("Arguments"===E||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return _arrayLikeToArray(o,h)}(o))||h&&o&&"number"==typeof o.length){E&&(o=E);var x=0,C=function F(){};return{s:C,n:function n(){return x>=o.length?{done:!0}:{done:!1,value:o[x++]}},e:function e(o){throw o},f:C}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var T,P=!0,N=!1;return{s:function s(){E=E.call(o)},n:function n(){var o=E.next();return P=o.done,o},e:function e(o){N=!0,T=o},f:function f(){try{P||null==E.return||E.return()}finally{if(N)throw T}}}}function _arrayLikeToArray(o,h){(null==h||h>o.length)&&(h=o.length);for(var E=0,x=new Array(h);Eh.length-E?"\r\n":"\n"}},C=x;C.graceful=function(o){return"string"==typeof o&&x(o)||"\n"};var T,P=(T=E)&&T.default||T,re=i((function(o,h){function s(){var o=P;return s=function s(){return o},o}function i(){var o,h=(o=C)&&o.__esModule?o:{default:o};return i=function i(){return h},h}Object.defineProperty(h,"__esModule",{value:!0}),h.extract=function(o){var h=o.match(T);return h?h[0].trimLeft():""},h.strip=function(o){var h=o.match(T);return h&&h[0]?o.substring(h[0].length):o},h.parse=function(o){return m(o).pragmas},h.parseWithComments=m,h.print=function(o){var h=o.comments,E=void 0===h?"":h,x=o.pragmas,C=void 0===x?{}:x,T=(0,i().default)(E)||s().EOL,P=Object.keys(C),N=P.map((function(o){return f(o,C[o])})).reduce((function(o,h){return o.concat(h)}),[]).map((function(o){return" * "+o+T})).join("");if(!E){if(0===P.length)return"";if(1===P.length&&!Array.isArray(C[P[0]])){var R=C[P[0]];return"".concat("/**"," ").concat(f(P[0],R)[0]).concat(" */")}}var j=E.split(T).map((function(o){return"".concat(" *"," ").concat(o)})).join(T)+T;return"/**"+T+(E?j:"")+(E&&P.length?" *"+T:"")+N+" */"};var E=/\*\/$/,x=/^\/\*\*/,T=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,N=/(^|\s+)\/\/([^\r\n]*)/g,R=/^(\r?\n)+/,j=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,ee=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,re=/(\r?\n|^) *\* ?/g;function m(o){var h=(0,i().default)(o)||s().EOL;o=o.replace(x,"").replace(E,"").replace(re,"$1");for(var C="";C!==o;)C=o,o=o.replace(j,"".concat(h,"$1 $2").concat(h));o=o.replace(R,"").trimRight();for(var T,P=Object.create(null),ne=o.replace(ee,"").replace(R,"").trimRight();T=ee.exec(o);){var ie=T[2].replace(N,"");"string"==typeof P[T[1]]||Array.isArray(P[T[1]])?P[T[1]]=[].concat(P[T[1]],ie):P[T[1]]=ie}return{comments:ne,pragmas:P}}function f(o,h){return[].concat(h).map((function(h){return"@".concat(o," ").concat(h).trim()}))}}));s(re),re.extract,re.strip,re.parse,re.parseWithComments,re.print;var ue=function hasPragma(o){var h=Object.keys(re.parse(re.extract(o)));return h.includes("prettier")||h.includes("format")},le=function u(o){return o[o.length-1]};function l(o,h){return!(h=h||{}).ignoreDecorators&&o.declaration&&o.declaration.decorators&&o.declaration.decorators.length>0?l(o.declaration.decorators[0]):!h.ignoreDecorators&&o.decorators&&o.decorators.length>0?l(o.decorators[0]):o.__location?o.__location.startOffset:o.range?o.range[0]:"number"==typeof o.start?o.start:o.loc?o.loc.start:null}function d(o){var h=o.nodes&&le(o.nodes);if(h&&o.source&&!o.source.end&&(o=h),o.__location)return o.__location.endOffset;var E=o.range?o.range[1]:"number"==typeof o.end?o.end:null;return o.typeAnnotation?Math.max(E,d(o.typeAnnotation)):o.loc&&!E?o.loc.end:E}var ce={locStart:l,locEnd:d,composeLoc:function composeLoc(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,E="number"==typeof h?h:-1,x=l(o),C=-1!==E?x+E:d(h),T=o.loc.start;return{start:x,end:C,range:[x,C],loc:{start:T,end:-1!==E?{line:T.line,column:T.column+E}:h.loc.end}}}},pe=function D(o){return!Number.isNaN(o)&&o>=4352&&(o<=4447||9001===o||9002===o||11904<=o&&o<=12871&&12351!==o||12880<=o&&o<=19903||19968<=o&&o<=42182||43360<=o&&o<=43388||44032<=o&&o<=55203||63744<=o&&o<=64255||65040<=o&&o<=65049||65072<=o&&o<=65131||65281<=o&&o<=65376||65504<=o&&o<=65510||110592<=o&&o<=110593||127488<=o&&o<=127569||131072<=o&&o<=262141)},fe=pe,he=pe;fe.default=he;var de=function g(o){if("string"!=typeof(o=o.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," "))||0===o.length)return 0;o=function f(o){return"string"==typeof o?o.replace(function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},h=o.onlyFirst,E=void 0!==h&&h,x=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(x,E?void 0:"g")}(),""):o}(o);for(var h=0,E=0;E=127&&x<=159||x>=768&&x<=879||(x>65535&&E++,h+=fe(x)?2:1)}return h},me=de,ye=de;me.default=ye;var ge=/[|\\{}()[\]^$+*?.-]/g,ve=function b(o){if("string"!=typeof o)throw new TypeError("Expected a string");return o.replace(ge,"\\$&")},De=/[^\x20-\x7F]/;function A(o){return function(h,E,x){var C=x&&x.backwards;if(!1===E)return!1;for(var T=h.length,P=E;P>=0&&P"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((function(o,h){o.forEach((function(o){Ae[o]=h}))}));var Se={"==":!0,"!=":!0,"===":!0,"!==":!0},we={"*":!0,"/":!0,"%":!0},ke={">>":!0,">>>":!0,"<<":!0};function V(o,h,E){for(var x=0,C=E=E||0;C(E.match(P.regex)||[]).length?P.quote:T.quote),N}function H(o,h,E){var x='"'===h?"'":'"',C=o.replace(/\\([\s\S])|(['"])/g,(function(o,C,T){return C===x?C:T===h?"\\"+T:T||(E&&/^[^\\nrvtbfux\r\n\u2028\u2029"'0-7]$/.test(C)?C:"\\"+C)}));return h+C+h}function W(o){return o&&(o.comments&&o.comments.length>0&&o.comments.some((function(o){return K(o)&&!o.unignore}))||o.prettierIgnore)}function K(o){return"prettier-ignore"===o.value.trim()}function J(o,h){(o.comments||(o.comments=[])).push(h),h.printed=!1,"JSXText"===o.type&&(h.printed=!0)}var Te={replaceEndOfLineWith:function replaceEndOfLineWith(o,h){var E,x=[],C=_createForOfIteratorHelper(o.split("\n"));try{for(C.s();!(E=C.n()).done;){var T=E.value;0!==x.length&&x.push(h),x.push(T)}}catch(o){C.e(o)}finally{C.f()}return x},getStringWidth:function getStringWidth(o){return o?De.test(o)?me(o):o.length:0},getMaxContinuousCount:function getMaxContinuousCount(o,h){var E=o.match(new RegExp("(".concat(ve(h),")+"),"g"));return null===E?0:E.reduce((function(o,E){return Math.max(o,E.length/h.length)}),0)},getMinNotPresentContinuousCount:function getMinNotPresentContinuousCount(o,h){var E=o.match(new RegExp("(".concat(ve(h),")+"),"g"));if(null===E)return 0;var x,C=new Map,T=0,P=_createForOfIteratorHelper(E);try{for(P.s();!(x=P.n()).done;){var N=x.value.length/h.length;C.set(N,!0),N>T&&(T=N)}}catch(o){P.e(o)}finally{P.f()}for(var R=1;R1?o[o.length-2]:null},getLast:le,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:M,getNextNonSpaceNonCommentCharacterIndex:O,getNextNonSpaceNonCommentCharacter:function getNextNonSpaceNonCommentCharacter(o,h,E){return o.charAt(O(o,h,E))},skip:A,skipWhitespace:Ee,skipSpaces:xe,skipToLineEnd:be,skipEverythingButNewLine:Ce,skipInlineComment:k,skipTrailingComment:I,skipNewline:v,isNextLineEmptyAfterIndex:B,isNextLineEmpty:function isNextLineEmpty(o,h,E){return B(o,E(h))},isPreviousLineEmpty:function isPreviousLineEmpty(o,h,E){var x=E(h)-1;return x=v(o,x=xe(o,x,{backwards:!0}),{backwards:!0}),(x=xe(o,x,{backwards:!0}))!==v(o,x,{backwards:!0})},hasNewline:L,hasNewlineInRange:function hasNewlineInRange(o,h,E){for(var x=h;xFe(o.expressions).end&&(o.end=Fe(o.expressions).end);break;case"ClassProperty":o.key&&"TSPrivateIdentifier"===o.key.type&&"?"===Pe(h.originalText,o.key,Ne)&&(o.optional=!0)}})),o},Re=i((function(o,h){Object.defineProperty(h,"__esModule",{value:!0});var E=(0,ie.default)((function s(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,ae.default)(this,s),this.label=o,this.keyword=h.keyword,this.beforeExpr=!!h.beforeExpr,this.startsExpr=!!h.startsExpr,this.rightAssociative=!!h.rightAssociative,this.isLoop=!!h.isLoop,this.isAssign=!!h.isAssign,this.prefix=!!h.prefix,this.postfix=!!h.postfix,this.binop=null!=h.binop?h.binop:null,this.updateContext=null})),x=new Map;function r(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};h.keyword=o;var C=new E(o,h);return x.set(o,C),C}function a(o,h){return new E(o,{beforeExpr:!0,binop:h})}var C={num:new E("num",{startsExpr:!0}),bigint:new E("bigint",{startsExpr:!0}),regexp:new E("regexp",{startsExpr:!0}),string:new E("string",{startsExpr:!0}),name:new E("name",{startsExpr:!0}),eof:new E("eof"),bracketL:new E("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:new E("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:new E("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:new E("]"),bracketBarR:new E("|]"),braceL:new E("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:new E("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:new E("#{",{beforeExpr:!0,startsExpr:!0}),braceR:new E("}"),braceBarR:new E("|}"),parenL:new E("(",{beforeExpr:!0,startsExpr:!0}),parenR:new E(")"),comma:new E(",",{beforeExpr:!0}),semi:new E(";",{beforeExpr:!0}),colon:new E(":",{beforeExpr:!0}),doubleColon:new E("::",{beforeExpr:!0}),dot:new E("."),question:new E("?",{beforeExpr:!0}),questionDot:new E("?."),arrow:new E("=>",{beforeExpr:!0}),template:new E("template"),ellipsis:new E("...",{beforeExpr:!0}),backQuote:new E("`",{startsExpr:!0}),dollarBraceL:new E("${",{beforeExpr:!0,startsExpr:!0}),at:new E("@"),hash:new E("#",{startsExpr:!0}),interpreterDirective:new E("#!..."),eq:new E("=",{beforeExpr:!0,isAssign:!0}),assign:new E("_=",{beforeExpr:!0,isAssign:!0}),incDec:new E("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:new E("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:new E("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),pipeline:a("|>",0),nullishCoalescing:a("??",1),logicalOR:a("||",1),logicalAND:a("&&",2),bitwiseOR:a("|",3),bitwiseXOR:a("^",4),bitwiseAND:a("&",5),equality:a("==/!=/===/!==",6),relational:a("/<=/>=",7),bitShift:a("<>/>>>",8),plusMin:new E("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:new E("%",{beforeExpr:!0,binop:10,startsExpr:!0}),star:a("*",10),slash:a("/",10),exponent:new E("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_break:r("break"),_case:r("case",{beforeExpr:!0}),_catch:r("catch"),_continue:r("continue"),_debugger:r("debugger"),_default:r("default",{beforeExpr:!0}),_do:r("do",{isLoop:!0,beforeExpr:!0}),_else:r("else",{beforeExpr:!0}),_finally:r("finally"),_for:r("for",{isLoop:!0}),_function:r("function",{startsExpr:!0}),_if:r("if"),_return:r("return",{beforeExpr:!0}),_switch:r("switch"),_throw:r("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:r("try"),_var:r("var"),_const:r("const"),_while:r("while",{isLoop:!0}),_with:r("with"),_new:r("new",{beforeExpr:!0,startsExpr:!0}),_this:r("this",{startsExpr:!0}),_super:r("super",{startsExpr:!0}),_class:r("class",{startsExpr:!0}),_extends:r("extends",{beforeExpr:!0}),_export:r("export"),_import:r("import",{startsExpr:!0}),_null:r("null",{startsExpr:!0}),_true:r("true",{startsExpr:!0}),_false:r("false",{startsExpr:!0}),_in:r("in",{beforeExpr:!0,binop:7}),_instanceof:r("instanceof",{beforeExpr:!0,binop:7}),_typeof:r("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:r("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:r("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},T=/\r\n?|[\n\u2028\u2029]/,P=new RegExp(T.source,"g");function p(o){switch(o){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var re=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function u(o){switch(o){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var oe=(0,ie.default)((function l(o,h){(0,ae.default)(this,l),this.line=o,this.column=h})),ue=(0,ie.default)((function d(o,h){(0,ae.default)(this,d),this.start=o,this.end=h}));function m(o){return o[o.length-1]}var le=Object.freeze({ArgumentsDisallowedInInitializer:"'arguments' is not allowed in class field initializer",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",AwaitExpressionFormalParameter:"await is not allowed in async function parameters",AwaitNotInAsyncFunction:"Can not use keyword 'await' outside an async function",BadGetterArity:"getter must not have any formal parameters",BadSetterArity:"setter must have exactly one formal parameter",BadSetterRestParameter:"setter 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:"%0 require an initialization value",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon",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:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property",DuplicateRegExpFlags:"Duplicate regular expression flag",ElementAfterRest:"Rest element must be last element",EscapedCharNotAnIdentifier:"Invalid Unicode escape",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block",IllegalBreakContinue:"Unsyntactic %0",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"'return' outside of function",ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments",ImportCallArity:"import() requires exactly one argument",ImportCallArityLtOne:"Dynamic imports require a parameter: import('a.js')",ImportCallNotNewExpression:"Cannot use new with import(...)",ImportCallSpreadArgument:"... is not allowed in import()",ImportMetaOutsideModule:"import.meta may appear only with 'sourceType: \"module\"'",ImportOutsideModule:"'import' and 'export' may appear only with 'sourceType: \"module\"'",InvalidCodePoint:"Code point out of bounds",InvalidDigit:"Expected number in radix %0",InvalidEscapeSequence:"Bad character escape sequence",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template",InvalidEscapedReservedWord:"Escape sequence in keyword %0",InvalidIdentifier:"Invalid identifier %0",InvalidLhs:"Invalid left-hand side in %0",InvalidLhsBinding:"Binding invalid left-hand side in %0",InvalidNumber:"Invalid number",InvalidOrUnexpectedToken:"Unexpected character '%0'",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern",InvalidPrivateFieldResolution:"Private name #%0 is not defined",InvalidPropertyBindingPattern:"Binding member expression",InvalidRestAssignmentPattern:"Invalid rest operator's argument",LabelRedeclaration:"Label '%0' is already declared",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",MalformedRegExpFlags:"Invalid regular expression flag",MissingClassName:"A class name is required",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators",ModuleExportUndefined:"Export '%0' 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",ParamDupe:"Argument name clash",PatternHasAccessor:"Object pattern can't contain getter or setter",PatternHasMethod:"Object pattern can't contain methods",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:"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option.",PrivateNameRedeclaration:"Duplicate private name #%0",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'",RestTrailingComma:"Unexpected trailing comma after rest element",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",StaticPrototype:"Classes may not have static property named prototype",StrictDelete:"Deleting local variable in strict mode",StrictEvalArguments:"Assigning to '%0' in strict mode",StrictEvalArgumentsBinding:"Binding '%0' in strict mode",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode",StrictWith:"'with' in strict mode",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:"Unexpected keyword '%0'",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",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits",UnexpectedPrivateField:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'",UnexpectedSuper:"super is only allowed in object methods and classes",UnexpectedToken:"Unexpected token '%'",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",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:"The only valid meta property for %0 is %0.%1",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",VarRedeclaration:"Identifier '%0' has already been declared",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator",YieldInParameter:"yield is not allowed in generator parameters",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0"});function D(o){return null!=o&&"Property"===o.type&&"init"===o.kind&&!1===o.method}var ce=(0,ie.default)((function y(o,h,E,x){(0,ae.default)(this,y),this.token=o,this.isExpr=!!h,this.preserveSpace=!!E,this.override=x})),pe={braceStatement:new ce("{",!1),braceExpression:new ce("{",!0),templateQuasi:new ce("${",!1),parenStatement:new ce("(",!1),parenExpression:new ce("(",!0),template:new ce("`",!0,!0,(function(o){return o.readTmplToken()})),functionExpression:new ce("function",!0),functionStatement:new ce("function",!1)};C.parenR.updateContext=C.braceR.updateContext=function(){if(1!==this.state.context.length){var o=this.state.context.pop();o===pe.braceStatement&&"function"===this.curContext().token&&(o=this.state.context.pop()),this.state.exprAllowed=!o.isExpr}else this.state.exprAllowed=!0},C.name.updateContext=function(o){var h=!1;o!==C.dot&&("of"===this.state.value&&!this.state.exprAllowed||"yield"===this.state.value&&this.prodParam.hasYield)&&(h=!0),this.state.exprAllowed=h,this.state.isIterator&&(this.state.isIterator=!1)},C.braceL.updateContext=function(o){this.state.context.push(this.braceIsBlock(o)?pe.braceStatement:pe.braceExpression),this.state.exprAllowed=!0},C.dollarBraceL.updateContext=function(){this.state.context.push(pe.templateQuasi),this.state.exprAllowed=!0},C.parenL.updateContext=function(o){var h=o===C._if||o===C._for||o===C._with||o===C._while;this.state.context.push(h?pe.parenStatement:pe.parenExpression),this.state.exprAllowed=!0},C.incDec.updateContext=function(){},C._function.updateContext=C._class.updateContext=function(o){!o.beforeExpr||o===C.semi||o===C._else||o===C._return&&T.test(this.input.slice(this.state.lastTokEnd,this.state.start))||(o===C.colon||o===C.braceL)&&this.curContext()===pe.b_stat?this.state.context.push(pe.functionStatement):this.state.context.push(pe.functionExpression),this.state.exprAllowed=!1},C.backQuote.updateContext=function(){this.curContext()===pe.template?this.state.context.pop():this.state.context.push(pe.template),this.state.exprAllowed=!1};var fe="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",he="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",de=new RegExp("["+fe+"]"),me=new RegExp("["+fe+he+"]");fe=he=null;var ye=[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,157,310,10,21,11,7,153,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,107,20,28,22,13,52,76,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,85,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,230,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,35,56,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,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,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,8952,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],ge=[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,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,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,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,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,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function A(o,h){for(var E=65536,x=0,C=h.length;xo)return!1;if((E+=h[x+1])>=o)return!0}return!1}function w(o){return o<65?36===o:o<=90||(o<97?95===o:o<=122||(o<=65535?o>=170&&de.test(String.fromCharCode(o)):A(o,ye)))}function S(o){return o<48?36===o:o<58||!(o<65)&&(o<=90||(o<97?95===o:o<=122||(o<=65535?o>=170&&me.test(String.fromCharCode(o)):A(o,ye)||A(o,ge))))}var ve=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"]),De=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),Ee=new Set(["eval","arguments"]);function L(o,h){return h&&"await"===o||"enum"===o}function B(o,h){return L(o,h)||De.has(o)}function M(o){return Ee.has(o)}function O(o,h){return B(o,h)||M(o)}var xe=/^in(stanceof)?$/,be=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Ce=Object.freeze({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:"Cannot overwrite reserved type %0",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:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",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",OptionalBindingPattern:"A binding pattern parameter cannot be optional in an implementation signature.",SpreadVariance:"Spread properties cannot have variance",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:"Unexpected reserved type %0",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",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module",UnterminatedFlowComment:"Unterminated flow-comment"});function U(o){return"type"===o.importKind||"typeof"===o.importKind}function q(o){return(o.type===C.name||!!o.type.keyword)&&"from"!==o.value}var Ae={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},Se=/\*?\s*@((?:no)?flow)\b/,we={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},ke=/^[\da-fA-F]+$/,Te=/^\d+$/,_e=Object.freeze({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>",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 X(o){return!!o&&("JSXOpeningFragment"===o.type||"JSXClosingFragment"===o.type)}function G(o){if("JSXIdentifier"===o.type)return o.name;if("JSXNamespacedName"===o.type)return o.namespace.name+":"+o.name.name;if("JSXMemberExpression"===o.type)return G(o.object)+"."+G(o.property);throw new Error("Node had unexpected type: "+o.type)}pe.j_oTag=new ce("...",!0,!0),C.jsxName=new E("jsxName"),C.jsxText=new E("jsxText",{beforeExpr:!0}),C.jsxTagStart=new E("jsxTagStart",{startsExpr:!0}),C.jsxTagEnd=new E("jsxTagEnd"),C.jsxTagStart.updateContext=function(){this.state.context.push(pe.j_expr),this.state.context.push(pe.j_oTag),this.state.exprAllowed=!1},C.jsxTagEnd.updateContext=function(o){var h=this.state.context.pop();h===pe.j_oTag&&o===C.slash||h===pe.j_cTag?(this.state.context.pop(),this.state.exprAllowed=this.curContext()===pe.j_expr):this.state.exprAllowed=!0};var Fe=(0,ie.default)((function Q(o){(0,ae.default)(this,Q),this.var=[],this.lexical=[],this.functions=[],this.flags=o})),Pe=function(){function Y(o,h){(0,ae.default)(this,Y),this.scopeStack=[],this.undefinedExports=new Map,this.undefinedPrivateNames=new Map,this.raise=o,this.inModule=h}return(0,ie.default)(Y,[{key:"inFunction",get:function get(){return(2&this.currentVarScope().flags)>0}},{key:"allowSuper",get:function get(){return(16&this.currentThisScope().flags)>0}},{key:"allowDirectSuper",get:function get(){return(32&this.currentThisScope().flags)>0}},{key:"inClass",get:function get(){return(64&this.currentThisScope().flags)>0}},{key:"inNonArrowFunction",get:function get(){return(2&this.currentThisScope().flags)>0}},{key:"treatFunctionsAsVar",get:function get(){return this.treatFunctionsAsVarInScope(this.currentScope())}},{key:"createScope",value:function createScope(o){return new Fe(o)}},{key:"enter",value:function enter(o){this.scopeStack.push(this.createScope(o))}},{key:"exit",value:function exit(){this.scopeStack.pop()}},{key:"treatFunctionsAsVarInScope",value:function treatFunctionsAsVarInScope(o){return!!(2&o.flags||!this.inModule&&1&o.flags)}},{key:"declareName",value:function declareName(o,h,E){var x=this.currentScope();if(8&h||16&h)this.checkRedeclarationInScope(x,o,h,E),16&h?x.functions.push(o):x.lexical.push(o),8&h&&this.maybeExportDefined(x,o);else if(4&h)for(var C=this.scopeStack.length-1;C>=0&&(x=this.scopeStack[C],this.checkRedeclarationInScope(x,o,h,E),x.var.push(o),this.maybeExportDefined(x,o),!(131&x.flags));--C);this.inModule&&1&x.flags&&this.undefinedExports.delete(o)}},{key:"maybeExportDefined",value:function maybeExportDefined(o,h){this.inModule&&1&o.flags&&this.undefinedExports.delete(h)}},{key:"checkRedeclarationInScope",value:function checkRedeclarationInScope(o,h,E,x){this.isRedeclaredInScope(o,h,E)&&this.raise(x,le.VarRedeclaration,h)}},{key:"isRedeclaredInScope",value:function isRedeclaredInScope(o,h,E){return!!(1&E)&&(8&E?o.lexical.indexOf(h)>-1||o.functions.indexOf(h)>-1||o.var.indexOf(h)>-1:16&E?o.lexical.indexOf(h)>-1||!this.treatFunctionsAsVarInScope(o)&&o.var.indexOf(h)>-1:o.lexical.indexOf(h)>-1&&!(8&o.flags&&o.lexical[0]===h)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(h)>-1)}},{key:"checkLocalExport",value:function checkLocalExport(o){-1===this.scopeStack[0].lexical.indexOf(o.name)&&-1===this.scopeStack[0].var.indexOf(o.name)&&-1===this.scopeStack[0].functions.indexOf(o.name)&&this.undefinedExports.set(o.name,o.start)}},{key:"currentScope",value:function currentScope(){return this.scopeStack[this.scopeStack.length-1]}},{key:"currentVarScope",value:function currentVarScope(){for(var o=this.scopeStack.length-1;;o--){var h=this.scopeStack[o];if(131&h.flags)return h}}},{key:"currentThisScope",value:function currentThisScope(){for(var o=this.scopeStack.length-1;;o--){var h=this.scopeStack[o];if((131&h.flags||64&h.flags)&&!(4&h.flags))return h}}}]),Y}(),Be=function(o){(0,ee.default)($,o);var h=_createSuper($);function $(){var o;(0,ae.default)(this,$);for(var E=arguments.length,x=new Array(E),C=0;C-1?!(256&E)||!!(512&E)!=o.constEnums.indexOf(h)>-1:128&E&&o.classes.indexOf(h)>-1?o.lexical.indexOf(h)>-1&&!!(1&E):!!(2&E&&o.types.indexOf(h)>-1)||(0,j.default)((0,ne.default)(Z.prototype),"isRedeclaredInScope",this).apply(this,arguments)}},{key:"checkLocalExport",value:function checkLocalExport(o){-1===this.scopeStack[0].types.indexOf(o.name)&&-1===this.scopeStack[0].exportOnlyBindings.indexOf(o.name)&&(0,j.default)((0,ne.default)(Z.prototype),"checkLocalExport",this).call(this,o)}}]),Z}(Pe),Ie=function(){function tt(){(0,ae.default)(this,tt),this.stacks=[]}return(0,ie.default)(tt,[{key:"enter",value:function enter(o){this.stacks.push(o)}},{key:"exit",value:function exit(){this.stacks.pop()}},{key:"currentFlags",value:function currentFlags(){return this.stacks[this.stacks.length-1]}},{key:"hasAwait",get:function get(){return(2&this.currentFlags())>0}},{key:"hasYield",get:function get(){return(1&this.currentFlags())>0}},{key:"hasReturn",get:function get(){return(4&this.currentFlags())>0}}]),tt}();function et(o,h){return(o?2:0)|(h?1:0)}function st(o){if(null==o)throw new Error("Unexpected ".concat(o," value."));return o}function it(o){if(!o)throw new Error("Assert fail")}var Oe=Object.freeze({ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier",DeclareClassFieldHasInitializer:"'declare' class fields cannot have an initializer",DuplicateModifier:"Duplicate modifier: '%0'",EmptyHeritageClauseType:"'%0' list cannot be empty.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0')",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0')",TemplateTypeHasSubstitution:"Template literal types cannot have any substitution",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`",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:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0"});function at(o,h){return o.some((function(o){return Array.isArray(o)?o[0]===h:o===h}))}function nt(o,h,E){var x=o.find((function(o){return Array.isArray(o)?o[0]===h:o===h}));return x&&Array.isArray(x)?x[1][E]:null}C.placeholder=new E("%%",{startsExpr:!0});var Re=["minimal","smart","fsharp"],Me=["hash","bar"],Le={estree:function estree(o){return function(o){(0,ee.default)(_class,o);var h=_createSuper(_class);function _class(){return(0,ae.default)(this,_class),h.apply(this,arguments)}return(0,ie.default)(_class,[{key:"estreeParseRegExpLiteral",value:function estreeParseRegExpLiteral(o){var h=o.pattern,E=o.flags,x=null;try{x=new RegExp(h,E)}catch(h){}var C=this.estreeParseLiteral(x);return C.regex={pattern:h,flags:E},C}},{key:"estreeParseBigIntLiteral",value:function estreeParseBigIntLiteral(o){var h="undefined"!=typeof BigInt?BigInt(o):null,E=this.estreeParseLiteral(h);return E.bigint=String(E.value||o),E}},{key:"estreeParseLiteral",value:function estreeParseLiteral(o){return this.parseLiteral(o,"Literal")}},{key:"directiveToStmt",value:function directiveToStmt(o){var h=o.value,E=this.startNodeAt(o.start,o.loc.start),x=this.startNodeAt(h.start,h.loc.start);return x.value=h.value,x.raw=h.extra.raw,E.expression=this.finishNodeAt(x,"Literal",h.end,h.loc.end),E.directive=h.extra.raw.slice(1,-1),this.finishNodeAt(E,"ExpressionStatement",o.end,o.loc.end)}},{key:"initFunction",value:function initFunction(o,h){(0,j.default)((0,ne.default)(_class.prototype),"initFunction",this).call(this,o,h),o.expression=!1}},{key:"checkDeclaration",value:function checkDeclaration(o){D(o)?this.checkDeclaration(o.value):(0,j.default)((0,ne.default)(_class.prototype),"checkDeclaration",this).call(this,o)}},{key:"checkGetterSetterParams",value:function checkGetterSetterParams(o){var h=o,E="get"===h.kind?0:1,x=h.start;h.value.params.length!==E?"get"===o.kind?this.raise(x,le.BadGetterArity):this.raise(x,le.BadSetterArity):"set"===h.kind&&"RestElement"===h.value.params[0].type&&this.raise(x,le.BadSetterRestParameter)}},{key:"checkLVal",value:function checkLVal(o){var h=this,E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:64,x=arguments.length>2?arguments[2]:void 0,C=arguments.length>3?arguments[3]:void 0,T=arguments.length>4?arguments[4]:void 0;switch(o.type){case"ObjectPattern":o.properties.forEach((function(o){h.checkLVal("Property"===o.type?o.value:o,E,x,"object destructuring pattern",T)}));break;default:(0,j.default)((0,ne.default)(_class.prototype),"checkLVal",this).call(this,o,E,x,C,T)}}},{key:"checkDuplicatedProto",value:function checkDuplicatedProto(o,h,E){if(!("SpreadElement"===o.type||o.computed||o.method||o.shorthand)){var x=o.key;"__proto__"===("Identifier"===x.type?x.name:String(x.value))&&"init"===o.kind&&(h.used&&(E&&-1===E.doubleProto?E.doubleProto=x.start:this.raise(x.start,le.DuplicateProto)),h.used=!0)}}},{key:"isValidDirective",value:function isValidDirective(o){return!("ExpressionStatement"!==o.type||"Literal"!==o.expression.type||"string"!=typeof o.expression.value||o.expression.extra&&o.expression.extra.parenthesized)}},{key:"stmtToDirective",value:function stmtToDirective(o){var h=(0,j.default)((0,ne.default)(_class.prototype),"stmtToDirective",this).call(this,o),E=o.expression.value;return h.value.value=E,h}},{key:"parseBlockBody",value:function parseBlockBody(o,h,E,x){var C=this;(0,j.default)((0,ne.default)(_class.prototype),"parseBlockBody",this).call(this,o,h,E,x);var T=o.directives.map((function(o){return C.directiveToStmt(o)}));o.body=T.concat(o.body),delete o.directives}},{key:"pushClassMethod",value:function pushClassMethod(o,h,E,x,C,T){this.parseMethod(h,E,x,C,T,"ClassMethod",!0),h.typeParameters&&(h.value.typeParameters=h.typeParameters,delete h.typeParameters),o.body.push(h)}},{key:"parseExprAtom",value:function parseExprAtom(o){switch(this.state.type){case C.num:case C.string:return this.estreeParseLiteral(this.state.value);case C.regexp:return this.estreeParseRegExpLiteral(this.state.value);case C.bigint:return this.estreeParseBigIntLiteral(this.state.value);case C._null:return this.estreeParseLiteral(null);case C._true:return this.estreeParseLiteral(!0);case C._false:return this.estreeParseLiteral(!1);default:return(0,j.default)((0,ne.default)(_class.prototype),"parseExprAtom",this).call(this,o)}}},{key:"parseLiteral",value:function parseLiteral(o,h,E,x){var C=(0,j.default)((0,ne.default)(_class.prototype),"parseLiteral",this).call(this,o,h,E,x);return C.raw=C.extra.raw,delete C.extra,C}},{key:"parseFunctionBody",value:function parseFunctionBody(o,h){var E=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,j.default)((0,ne.default)(_class.prototype),"parseFunctionBody",this).call(this,o,h,E),o.expression="BlockStatement"!==o.body.type}},{key:"parseMethod",value:function parseMethod(o,h,E,x,C,T){var P=arguments.length>6&&void 0!==arguments[6]&&arguments[6],N=this.startNode();return N.kind=o.kind,(N=(0,j.default)((0,ne.default)(_class.prototype),"parseMethod",this).call(this,N,h,E,x,C,T,P)).type="FunctionExpression",delete N.kind,o.value=N,T="ClassMethod"===T?"MethodDefinition":T,this.finishNode(o,T)}},{key:"parseObjectMethod",value:function parseObjectMethod(o,h,E,x,C){var T=(0,j.default)((0,ne.default)(_class.prototype),"parseObjectMethod",this).call(this,o,h,E,x,C);return T&&(T.type="Property","method"===T.kind&&(T.kind="init"),T.shorthand=!1),T}},{key:"parseObjectProperty",value:function parseObjectProperty(o,h,E,x,C){var T=(0,j.default)((0,ne.default)(_class.prototype),"parseObjectProperty",this).call(this,o,h,E,x,C);return T&&(T.kind="init",T.type="Property"),T}},{key:"toAssignable",value:function toAssignable(o){return D(o)?(this.toAssignable(o.value),o):(0,j.default)((0,ne.default)(_class.prototype),"toAssignable",this).call(this,o)}},{key:"toAssignableObjectExpressionProp",value:function toAssignableObjectExpressionProp(o,h){if("get"===o.kind||"set"===o.kind)throw this.raise(o.key.start,le.PatternHasAccessor);if(o.method)throw this.raise(o.key.start,le.PatternHasMethod);(0,j.default)((0,ne.default)(_class.prototype),"toAssignableObjectExpressionProp",this).call(this,o,h)}},{key:"finishCallExpression",value:function finishCallExpression(o,h){return(0,j.default)((0,ne.default)(_class.prototype),"finishCallExpression",this).call(this,o,h),"Import"===o.callee.type&&(o.type="ImportExpression",o.source=o.arguments[0],delete o.arguments,delete o.callee),o}},{key:"toReferencedListDeep",value:function toReferencedListDeep(o,h){o&&(0,j.default)((0,ne.default)(_class.prototype),"toReferencedListDeep",this).call(this,o,h)}},{key:"parseExport",value:function parseExport(o){switch((0,j.default)((0,ne.default)(_class.prototype),"parseExport",this).call(this,o),o.type){case"ExportAllDeclaration":o.exported=null;break;case"ExportNamedDeclaration":1===o.specifiers.length&&"ExportNamespaceSpecifier"===o.specifiers[0].type&&(o.type="ExportAllDeclaration",o.exported=o.specifiers[0].exported,delete o.specifiers)}return o}}]),_class}(o)},jsx:function jsx(o){return function(o){(0,ee.default)(_class2,o);var h=_createSuper(_class2);function _class2(){return(0,ae.default)(this,_class2),h.apply(this,arguments)}return(0,ie.default)(_class2,[{key:"jsxReadToken",value:function jsxReadToken(){for(var o="",h=this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,_e.UnterminatedJsxContent);var E=this.input.charCodeAt(this.state.pos);switch(E){case 60:case 123:return this.state.pos===this.state.start?60===E&&this.state.exprAllowed?(++this.state.pos,this.finishToken(C.jsxTagStart)):(0,j.default)((0,ne.default)(_class2.prototype),"getTokenFromCode",this).call(this,E):(o+=this.input.slice(h,this.state.pos),this.finishToken(C.jsxText,o));case 38:o+=this.input.slice(h,this.state.pos),o+=this.jsxReadEntity(),h=this.state.pos;break;default:p(E)?(o+=this.input.slice(h,this.state.pos),o+=this.jsxReadNewLine(!0),h=this.state.pos):++this.state.pos}}}},{key:"jsxReadNewLine",value:function jsxReadNewLine(o){var h,E=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===E&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,h=o?"\n":"\r\n"):h=String.fromCharCode(E),++this.state.curLine,this.state.lineStart=this.state.pos,h}},{key:"jsxReadString",value:function jsxReadString(o){for(var h="",E=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,le.UnterminatedString);var x=this.input.charCodeAt(this.state.pos);if(x===o)break;38===x?(h+=this.input.slice(E,this.state.pos),h+=this.jsxReadEntity(),E=this.state.pos):p(x)?(h+=this.input.slice(E,this.state.pos),h+=this.jsxReadNewLine(!1),E=this.state.pos):++this.state.pos}return h+=this.input.slice(E,this.state.pos++),this.finishToken(C.string,h)}},{key:"jsxReadEntity",value:function jsxReadEntity(){for(var o,h="",E=0,x=this.input[this.state.pos],C=++this.state.pos;this.state.pos1&&void 0!==arguments[1]&&arguments[1];if(o.id=this.flowParseRestrictedIdentifier(!h,!0),this.scope.declareName(o.id.name,h?17:9,o.id.start),this.isRelational("<")?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.extends=[],o.implements=[],o.mixins=[],this.eat(C._extends))do{o.extends.push(this.flowParseInterfaceExtends())}while(!h&&this.eat(C.comma));if(this.isContextual("mixins")){this.next();do{o.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(C.comma))}if(this.isContextual("implements")){this.next();do{o.implements.push(this.flowParseInterfaceExtends())}while(this.eat(C.comma))}o.body=this.flowParseObjectType({allowStatic:h,allowExact:!1,allowSpread:!1,allowProto:h,allowInexact:!1})}},{key:"flowParseInterfaceExtends",value:function flowParseInterfaceExtends(){var o=this.startNode();return o.id=this.flowParseQualifiedTypeIdentifier(),this.isRelational("<")?o.typeParameters=this.flowParseTypeParameterInstantiation():o.typeParameters=null,this.finishNode(o,"InterfaceExtends")}},{key:"flowParseInterface",value:function flowParseInterface(o){return this.flowParseInterfaceish(o),this.finishNode(o,"InterfaceDeclaration")}},{key:"checkNotUnderscore",value:function checkNotUnderscore(o){"_"===o&&this.raise(this.state.start,Ce.UnexpectedReservedUnderscore)}},{key:"checkReservedType",value:function checkReservedType(o,h,E){be.has(o)&&this.raise(h,E?Ce.AssignReservedType:Ce.UnexpectedReservedType,o)}},{key:"flowParseRestrictedIdentifier",value:function flowParseRestrictedIdentifier(o,h){return this.checkReservedType(this.state.value,this.state.start,h),this.parseIdentifier(o)}},{key:"flowParseTypeAlias",value:function flowParseTypeAlias(o){return o.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(o.id.name,9,o.id.start),this.isRelational("<")?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.right=this.flowParseTypeInitialiser(C.eq),this.semicolon(),this.finishNode(o,"TypeAlias")}},{key:"flowParseOpaqueType",value:function flowParseOpaqueType(o,h){return this.expectContextual("type"),o.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(o.id.name,9,o.id.start),this.isRelational("<")?o.typeParameters=this.flowParseTypeParameterDeclaration():o.typeParameters=null,o.supertype=null,this.match(C.colon)&&(o.supertype=this.flowParseTypeInitialiser(C.colon)),o.impltype=null,h||(o.impltype=this.flowParseTypeInitialiser(C.eq)),this.semicolon(),this.finishNode(o,"OpaqueType")}},{key:"flowParseTypeParameter",value:function flowParseTypeParameter(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],h=this.state.start,E=this.startNode(),x=this.flowParseVariance(),T=this.flowParseTypeAnnotatableIdentifier();return E.name=T.name,E.variance=x,E.bound=T.typeAnnotation,this.match(C.eq)?(this.eat(C.eq),E.default=this.flowParseType()):o&&this.raise(h,Ce.MissingTypeParamDefault),this.finishNode(E,"TypeParameter")}},{key:"flowParseTypeParameterDeclaration",value:function flowParseTypeParameterDeclaration(){var o=this.state.inType,h=this.startNode();h.params=[],this.state.inType=!0,this.isRelational("<")||this.match(C.jsxTagStart)?this.next():this.unexpected();var E=!1;do{var x=this.flowParseTypeParameter(E);h.params.push(x),x.default&&(E=!0),this.isRelational(">")||this.expect(C.comma)}while(!this.isRelational(">"));return this.expectRelational(">"),this.state.inType=o,this.finishNode(h,"TypeParameterDeclaration")}},{key:"flowParseTypeParameterInstantiation",value:function flowParseTypeParameterInstantiation(){var o=this.startNode(),h=this.state.inType;o.params=[],this.state.inType=!0,this.expectRelational("<");var E=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.isRelational(">");)o.params.push(this.flowParseType()),this.isRelational(">")||this.expect(C.comma);return this.state.noAnonFunctionType=E,this.expectRelational(">"),this.state.inType=h,this.finishNode(o,"TypeParameterInstantiation")}},{key:"flowParseTypeParameterInstantiationCallOrNew",value:function flowParseTypeParameterInstantiationCallOrNew(){var o=this.startNode(),h=this.state.inType;for(o.params=[],this.state.inType=!0,this.expectRelational("<");!this.isRelational(">");)o.params.push(this.flowParseTypeOrImplicitInstantiation()),this.isRelational(">")||this.expect(C.comma);return this.expectRelational(">"),this.state.inType=h,this.finishNode(o,"TypeParameterInstantiation")}},{key:"flowParseInterfaceType",value:function flowParseInterfaceType(){var o=this.startNode();if(this.expectContextual("interface"),o.extends=[],this.eat(C._extends))do{o.extends.push(this.flowParseInterfaceExtends())}while(this.eat(C.comma));return o.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(o,"InterfaceTypeAnnotation")}},{key:"flowParseObjectPropertyKey",value:function flowParseObjectPropertyKey(){return this.match(C.num)||this.match(C.string)?this.parseExprAtom():this.parseIdentifier(!0)}},{key:"flowParseObjectTypeIndexer",value:function flowParseObjectTypeIndexer(o,h,E){return o.static=h,this.lookahead().type===C.colon?(o.id=this.flowParseObjectPropertyKey(),o.key=this.flowParseTypeInitialiser()):(o.id=null,o.key=this.flowParseType()),this.expect(C.bracketR),o.value=this.flowParseTypeInitialiser(),o.variance=E,this.finishNode(o,"ObjectTypeIndexer")}},{key:"flowParseObjectTypeInternalSlot",value:function flowParseObjectTypeInternalSlot(o,h){return o.static=h,o.id=this.flowParseObjectPropertyKey(),this.expect(C.bracketR),this.expect(C.bracketR),this.isRelational("<")||this.match(C.parenL)?(o.method=!0,o.optional=!1,o.value=this.flowParseObjectTypeMethodish(this.startNodeAt(o.start,o.loc.start))):(o.method=!1,this.eat(C.question)&&(o.optional=!0),o.value=this.flowParseTypeInitialiser()),this.finishNode(o,"ObjectTypeInternalSlot")}},{key:"flowParseObjectTypeMethodish",value:function flowParseObjectTypeMethodish(o){for(o.params=[],o.rest=null,o.typeParameters=null,this.isRelational("<")&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(C.parenL);!this.match(C.parenR)&&!this.match(C.ellipsis);)o.params.push(this.flowParseFunctionTypeParam()),this.match(C.parenR)||this.expect(C.comma);return this.eat(C.ellipsis)&&(o.rest=this.flowParseFunctionTypeParam()),this.expect(C.parenR),o.returnType=this.flowParseTypeInitialiser(),this.finishNode(o,"FunctionTypeAnnotation")}},{key:"flowParseObjectTypeCallProperty",value:function flowParseObjectTypeCallProperty(o,h){var E=this.startNode();return o.static=h,o.value=this.flowParseObjectTypeMethodish(E),this.finishNode(o,"ObjectTypeCallProperty")}},{key:"flowParseObjectType",value:function flowParseObjectType(o){var h=o.allowStatic,E=o.allowExact,x=o.allowSpread,T=o.allowProto,P=o.allowInexact,N=this.state.inType;this.state.inType=!0;var R,j,ee=this.startNode();ee.callProperties=[],ee.properties=[],ee.indexers=[],ee.internalSlots=[];var re=!1;for(E&&this.match(C.braceBarL)?(this.expect(C.braceBarL),R=C.braceBarR,j=!0):(this.expect(C.braceL),R=C.braceR,j=!1),ee.exact=j;!this.match(R);){var ne=!1,ie=null,ae=null,se=this.startNode();if(T&&this.isContextual("proto")){var oe=this.lookahead();oe.type!==C.colon&&oe.type!==C.question&&(this.next(),ie=this.state.start,h=!1)}if(h&&this.isContextual("static")){var ue=this.lookahead();ue.type!==C.colon&&ue.type!==C.question&&(this.next(),ne=!0)}var le=this.flowParseVariance();if(this.eat(C.bracketL))null!=ie&&this.unexpected(ie),this.eat(C.bracketL)?(le&&this.unexpected(le.start),ee.internalSlots.push(this.flowParseObjectTypeInternalSlot(se,ne))):ee.indexers.push(this.flowParseObjectTypeIndexer(se,ne,le));else if(this.match(C.parenL)||this.isRelational("<"))null!=ie&&this.unexpected(ie),le&&this.unexpected(le.start),ee.callProperties.push(this.flowParseObjectTypeCallProperty(se,ne));else{var ce="init";if(this.isContextual("get")||this.isContextual("set")){var pe=this.lookahead();pe.type!==C.name&&pe.type!==C.string&&pe.type!==C.num||(ce=this.state.value,this.next())}var fe=this.flowParseObjectTypeProperty(se,ne,ie,le,ce,x,null!=P?P:!j);null===fe?(re=!0,ae=this.state.lastTokStart):ee.properties.push(fe)}this.flowObjectTypeSemicolon(),!ae||this.match(C.braceR)||this.match(C.braceBarR)||this.raise(ae,Ce.UnexpectedExplicitInexactInObject)}this.expect(R),x&&(ee.inexact=re);var he=this.finishNode(ee,"ObjectTypeAnnotation");return this.state.inType=N,he}},{key:"flowParseObjectTypeProperty",value:function flowParseObjectTypeProperty(o,h,E,x,T,P,N){if(this.eat(C.ellipsis))return this.match(C.comma)||this.match(C.semi)||this.match(C.braceR)||this.match(C.braceBarR)?(P?N||this.raise(this.state.lastTokStart,Ce.InexactInsideExact):this.raise(this.state.lastTokStart,Ce.InexactInsideNonObject),x&&this.raise(x.start,Ce.InexactVariance),null):(P||this.raise(this.state.lastTokStart,Ce.UnexpectedSpreadType),null!=E&&this.unexpected(E),x&&this.raise(x.start,Ce.SpreadVariance),o.argument=this.flowParseType(),this.finishNode(o,"ObjectTypeSpreadProperty"));o.key=this.flowParseObjectPropertyKey(),o.static=h,o.proto=null!=E,o.kind=T;var R=!1;return this.isRelational("<")||this.match(C.parenL)?(o.method=!0,null!=E&&this.unexpected(E),x&&this.unexpected(x.start),o.value=this.flowParseObjectTypeMethodish(this.startNodeAt(o.start,o.loc.start)),"get"!==T&&"set"!==T||this.flowCheckGetterSetterParams(o)):("init"!==T&&this.unexpected(),o.method=!1,this.eat(C.question)&&(R=!0),o.value=this.flowParseTypeInitialiser(),o.variance=x),o.optional=R,this.finishNode(o,"ObjectTypeProperty")}},{key:"flowCheckGetterSetterParams",value:function flowCheckGetterSetterParams(o){var h="get"===o.kind?0:1,E=o.start;o.value.params.length+(o.value.rest?1:0)!==h&&("get"===o.kind?this.raise(E,le.BadGetterArity):this.raise(E,le.BadSetterArity)),"set"===o.kind&&o.value.rest&&this.raise(E,le.BadSetterRestParameter)}},{key:"flowObjectTypeSemicolon",value:function flowObjectTypeSemicolon(){this.eat(C.semi)||this.eat(C.comma)||this.match(C.braceR)||this.match(C.braceBarR)||this.unexpected()}},{key:"flowParseQualifiedTypeIdentifier",value:function flowParseQualifiedTypeIdentifier(o,h,E){o=o||this.state.start,h=h||this.state.startLoc;for(var x=E||this.flowParseRestrictedIdentifier(!0);this.eat(C.dot);){var T=this.startNodeAt(o,h);T.qualification=x,T.id=this.flowParseRestrictedIdentifier(!0),x=this.finishNode(T,"QualifiedTypeIdentifier")}return x}},{key:"flowParseGenericType",value:function flowParseGenericType(o,h,E){var x=this.startNodeAt(o,h);return x.typeParameters=null,x.id=this.flowParseQualifiedTypeIdentifier(o,h,E),this.isRelational("<")&&(x.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(x,"GenericTypeAnnotation")}},{key:"flowParseTypeofType",value:function flowParseTypeofType(){var o=this.startNode();return this.expect(C._typeof),o.argument=this.flowParsePrimaryType(),this.finishNode(o,"TypeofTypeAnnotation")}},{key:"flowParseTupleType",value:function flowParseTupleType(){var o=this.startNode();for(o.types=[],this.expect(C.bracketL);this.state.pos0&&void 0!==arguments[0]?arguments[0]:[],h=null;!this.match(C.parenR)&&!this.match(C.ellipsis);)o.push(this.flowParseFunctionTypeParam()),this.match(C.parenR)||this.expect(C.comma);return this.eat(C.ellipsis)&&(h=this.flowParseFunctionTypeParam()),{params:o,rest:h}}},{key:"flowIdentToTypeAnnotation",value:function flowIdentToTypeAnnotation(o,h,E,x){switch(x.name){case"any":return this.finishNode(E,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(E,"BooleanTypeAnnotation");case"mixed":return this.finishNode(E,"MixedTypeAnnotation");case"empty":return this.finishNode(E,"EmptyTypeAnnotation");case"number":return this.finishNode(E,"NumberTypeAnnotation");case"string":return this.finishNode(E,"StringTypeAnnotation");case"symbol":return this.finishNode(E,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(x.name),this.flowParseGenericType(o,h,x)}}},{key:"flowParsePrimaryType",value:function flowParsePrimaryType(){var o,h,E=this.state.start,x=this.state.startLoc,T=this.startNode(),P=!1,N=this.state.noAnonFunctionType;switch(this.state.type){case C.name:return this.isContextual("interface")?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(E,x,T,this.parseIdentifier());case C.braceL:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case C.braceBarL:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case C.bracketL:return this.state.noAnonFunctionType=!1,h=this.flowParseTupleType(),this.state.noAnonFunctionType=N,h;case C.relational:if("<"===this.state.value)return T.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(C.parenL),o=this.flowParseFunctionTypeParams(),T.params=o.params,T.rest=o.rest,this.expect(C.parenR),this.expect(C.arrow),T.returnType=this.flowParseType(),this.finishNode(T,"FunctionTypeAnnotation");break;case C.parenL:if(this.next(),!this.match(C.parenR)&&!this.match(C.ellipsis))if(this.match(C.name)){var R=this.lookahead().type;P=R!==C.question&&R!==C.colon}else P=!0;if(P){if(this.state.noAnonFunctionType=!1,h=this.flowParseType(),this.state.noAnonFunctionType=N,this.state.noAnonFunctionType||!(this.match(C.comma)||this.match(C.parenR)&&this.lookahead().type===C.arrow))return this.expect(C.parenR),h;this.eat(C.comma)}return o=h?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(h)]):this.flowParseFunctionTypeParams(),T.params=o.params,T.rest=o.rest,this.expect(C.parenR),this.expect(C.arrow),T.returnType=this.flowParseType(),T.typeParameters=null,this.finishNode(T,"FunctionTypeAnnotation");case C.string:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case C._true:case C._false:return T.value=this.match(C._true),this.next(),this.finishNode(T,"BooleanLiteralTypeAnnotation");case C.plusMin:if("-"===this.state.value){if(this.next(),this.match(C.num))return this.parseLiteral(-this.state.value,"NumberLiteralTypeAnnotation",T.start,T.loc.start);if(this.match(C.bigint))return this.parseLiteral(-this.state.value,"BigIntLiteralTypeAnnotation",T.start,T.loc.start);throw this.raise(this.state.start,Ce.UnexpectedSubtractionOperand)}throw this.unexpected();case C.num:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case C.bigint:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case C._void:return this.next(),this.finishNode(T,"VoidTypeAnnotation");case C._null:return this.next(),this.finishNode(T,"NullLiteralTypeAnnotation");case C._this:return this.next(),this.finishNode(T,"ThisTypeAnnotation");case C.star:return this.next(),this.finishNode(T,"ExistsTypeAnnotation");default:if("typeof"===this.state.type.keyword)return this.flowParseTypeofType();if(this.state.type.keyword){var ee=this.state.type.label;return this.next(),(0,j.default)((0,ne.default)(_class3.prototype),"createIdentifier",this).call(this,T,ee)}}throw this.unexpected()}},{key:"flowParsePostfixType",value:function flowParsePostfixType(){for(var o=this.state.start,h=this.state.startLoc,E=this.flowParsePrimaryType();this.match(C.bracketL)&&!this.canInsertSemicolon();){var x=this.startNodeAt(o,h);x.elementType=E,this.expect(C.bracketL),this.expect(C.bracketR),E=this.finishNode(x,"ArrayTypeAnnotation")}return E}},{key:"flowParsePrefixType",value:function flowParsePrefixType(){var o=this.startNode();return this.eat(C.question)?(o.typeAnnotation=this.flowParsePrefixType(),this.finishNode(o,"NullableTypeAnnotation")):this.flowParsePostfixType()}},{key:"flowParseAnonFunctionWithoutParens",value:function flowParseAnonFunctionWithoutParens(){var o=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(C.arrow)){var h=this.startNodeAt(o.start,o.loc.start);return h.params=[this.reinterpretTypeAsFunctionTypeParam(o)],h.rest=null,h.returnType=this.flowParseType(),h.typeParameters=null,this.finishNode(h,"FunctionTypeAnnotation")}return o}},{key:"flowParseIntersectionType",value:function flowParseIntersectionType(){var o=this.startNode();this.eat(C.bitwiseAND);var h=this.flowParseAnonFunctionWithoutParens();for(o.types=[h];this.eat(C.bitwiseAND);)o.types.push(this.flowParseAnonFunctionWithoutParens());return 1===o.types.length?h:this.finishNode(o,"IntersectionTypeAnnotation")}},{key:"flowParseUnionType",value:function flowParseUnionType(){var o=this.startNode();this.eat(C.bitwiseOR);var h=this.flowParseIntersectionType();for(o.types=[h];this.eat(C.bitwiseOR);)o.types.push(this.flowParseIntersectionType());return 1===o.types.length?h:this.finishNode(o,"UnionTypeAnnotation")}},{key:"flowParseType",value:function flowParseType(){var o=this.state.inType;this.state.inType=!0;var h=this.flowParseUnionType();return this.state.inType=o,this.state.exprAllowed=this.state.exprAllowed||this.state.noAnonFunctionType,h}},{key:"flowParseTypeOrImplicitInstantiation",value:function flowParseTypeOrImplicitInstantiation(){if(this.state.type===C.name&&"_"===this.state.value){var o=this.state.start,h=this.state.startLoc,E=this.parseIdentifier();return this.flowParseGenericType(o,h,E)}return this.flowParseType()}},{key:"flowParseTypeAnnotation",value:function flowParseTypeAnnotation(){var o=this.startNode();return o.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(o,"TypeAnnotation")}},{key:"flowParseTypeAnnotatableIdentifier",value:function flowParseTypeAnnotatableIdentifier(o){var h=o?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(C.colon)&&(h.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(h)),h}},{key:"typeCastToParameter",value:function typeCastToParameter(o){return o.expression.typeAnnotation=o.typeAnnotation,this.resetEndLocation(o.expression,o.typeAnnotation.end,o.typeAnnotation.loc.end),o.expression}},{key:"flowParseVariance",value:function flowParseVariance(){var o=null;return this.match(C.plusMin)&&(o=this.startNode(),"+"===this.state.value?o.kind="plus":o.kind="minus",this.next(),this.finishNode(o,"Variance")),o}},{key:"parseFunctionBody",value:function parseFunctionBody(o,h){var E=this,x=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return h?this.forwardNoArrowParamsConversionAt(o,(function(){return(0,j.default)((0,ne.default)(_class3.prototype),"parseFunctionBody",E).call(E,o,!0,x)})):(0,j.default)((0,ne.default)(_class3.prototype),"parseFunctionBody",this).call(this,o,!1,x)}},{key:"parseFunctionBodyAndFinish",value:function parseFunctionBodyAndFinish(o,h){var E=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(C.colon)){var x,T,P=this.startNode();x=this.flowParseTypeAndPredicateInitialiser(),T=(0,R.default)(x,2),P.typeAnnotation=T[0],o.predicate=T[1],o.returnType=P.typeAnnotation?this.finishNode(P,"TypeAnnotation"):null}(0,j.default)((0,ne.default)(_class3.prototype),"parseFunctionBodyAndFinish",this).call(this,o,h,E)}},{key:"parseStatement",value:function parseStatement(o,h){if(this.state.strict&&this.match(C.name)&&"interface"===this.state.value){var E=this.startNode();return this.next(),this.flowParseInterface(E)}if(this.shouldParseEnums()&&this.isContextual("enum")){var x=this.startNode();return this.next(),this.flowParseEnumDeclaration(x)}var T=(0,j.default)((0,ne.default)(_class3.prototype),"parseStatement",this).call(this,o,h);return void 0!==this.flowPragma||this.isValidDirective(T)||(this.flowPragma=null),T}},{key:"parseExpressionStatement",value:function parseExpressionStatement(o,h){if("Identifier"===h.type)if("declare"===h.name){if(this.match(C._class)||this.match(C.name)||this.match(C._function)||this.match(C._var)||this.match(C._export))return this.flowParseDeclare(o)}else if(this.match(C.name)){if("interface"===h.name)return this.flowParseInterface(o);if("type"===h.name)return this.flowParseTypeAlias(o);if("opaque"===h.name)return this.flowParseOpaqueType(o,!1)}return(0,j.default)((0,ne.default)(_class3.prototype),"parseExpressionStatement",this).call(this,o,h)}},{key:"shouldParseExportDeclaration",value:function shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||this.shouldParseEnums()&&this.isContextual("enum")||(0,j.default)((0,ne.default)(_class3.prototype),"shouldParseExportDeclaration",this).call(this)}},{key:"isExportDefaultSpecifier",value:function isExportDefaultSpecifier(){return(!this.match(C.name)||!("type"===this.state.value||"interface"===this.state.value||"opaque"===this.state.value||this.shouldParseEnums()&&"enum"===this.state.value))&&(0,j.default)((0,ne.default)(_class3.prototype),"isExportDefaultSpecifier",this).call(this)}},{key:"parseExportDefaultExpression",value:function parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual("enum")){var o=this.startNode();return this.next(),this.flowParseEnumDeclaration(o)}return(0,j.default)((0,ne.default)(_class3.prototype),"parseExportDefaultExpression",this).call(this)}},{key:"parseConditional",value:function parseConditional(o,h,E,x,T){var P=this;if(!this.match(C.question))return o;if(T){var N=this.tryParse((function(){return(0,j.default)((0,ne.default)(_class3.prototype),"parseConditional",P).call(P,o,h,E,x)}));return N.node?(N.error&&(this.state=N.failState),N.node):(T.start=N.error.pos||this.state.start,o)}this.expect(C.question);var ee=this.state.clone(),re=this.state.noArrowAt,ie=this.startNodeAt(E,x),ae=this.tryParseConditionalConsequent(),oe=ae.consequent,ue=ae.failed,le=this.getArrowLikeExpressions(oe),ce=(0,R.default)(le,2),pe=ce[0],fe=ce[1];if(ue||fe.length>0){var he,de=(0,se.default)(re);if(fe.length>0){var me,ye,ge;this.state=ee,this.state.noArrowAt=de;for(var ve=0;ve1&&this.raise(ee.start,Ce.AmbiguousConditionalArrow),ue&&1===pe.length&&(this.state=ee,this.state.noArrowAt=de.concat(pe[0].start),oe=(he=this.tryParseConditionalConsequent()).consequent,ue=he.failed)}return this.getArrowLikeExpressions(oe,!0),this.state.noArrowAt=re,this.expect(C.colon),ie.test=o,ie.consequent=oe,ie.alternate=this.forwardNoArrowParamsConversionAt(ie,(function(){return P.parseMaybeAssign(h,void 0,void 0,void 0)})),this.finishNode(ie,"ConditionalExpression")}},{key:"tryParseConditionalConsequent",value:function tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);var o=this.parseMaybeAssign(),h=!this.match(C.colon);return this.state.noArrowParamsConversionAt.pop(),{consequent:o,failed:h}}},{key:"getArrowLikeExpressions",value:function getArrowLikeExpressions(o,h){for(var E=this,x=[o],C=[];0!==x.length;){var T=x.pop();"ArrowFunctionExpression"===T.type?(T.typeParameters||!T.returnType?this.finishArrowValidation(T):C.push(T),x.push(T.body)):"ConditionalExpression"===T.type&&(x.push(T.consequent),x.push(T.alternate))}return h?(C.forEach((function(o){return E.finishArrowValidation(o)})),[C,[]]):function(o,h){for(var E=[],x=[],C=0;C1)&&h||this.raise(x.typeAnnotation.start,Ce.TypeCastInPattern)}return o}},{key:"checkLVal",value:function checkLVal(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:64,E=arguments.length>2?arguments[2]:void 0,x=arguments.length>3?arguments[3]:void 0;if("TypeCastExpression"!==o.type)return(0,j.default)((0,ne.default)(_class3.prototype),"checkLVal",this).call(this,o,h,E,x)}},{key:"parseClassProperty",value:function parseClassProperty(o){return this.match(C.colon)&&(o.typeAnnotation=this.flowParseTypeAnnotation()),(0,j.default)((0,ne.default)(_class3.prototype),"parseClassProperty",this).call(this,o)}},{key:"parseClassPrivateProperty",value:function parseClassPrivateProperty(o){return this.match(C.colon)&&(o.typeAnnotation=this.flowParseTypeAnnotation()),(0,j.default)((0,ne.default)(_class3.prototype),"parseClassPrivateProperty",this).call(this,o)}},{key:"isClassMethod",value:function isClassMethod(){return this.isRelational("<")||(0,j.default)((0,ne.default)(_class3.prototype),"isClassMethod",this).call(this)}},{key:"isClassProperty",value:function isClassProperty(){return this.match(C.colon)||(0,j.default)((0,ne.default)(_class3.prototype),"isClassProperty",this).call(this)}},{key:"isNonstaticConstructor",value:function isNonstaticConstructor(o){return!this.match(C.colon)&&(0,j.default)((0,ne.default)(_class3.prototype),"isNonstaticConstructor",this).call(this,o)}},{key:"pushClassMethod",value:function pushClassMethod(o,h,E,x,C,T){h.variance&&this.unexpected(h.variance.start),delete h.variance,this.isRelational("<")&&(h.typeParameters=this.flowParseTypeParameterDeclaration()),(0,j.default)((0,ne.default)(_class3.prototype),"pushClassMethod",this).call(this,o,h,E,x,C,T)}},{key:"pushClassPrivateMethod",value:function pushClassPrivateMethod(o,h,E,x){h.variance&&this.unexpected(h.variance.start),delete h.variance,this.isRelational("<")&&(h.typeParameters=this.flowParseTypeParameterDeclaration()),(0,j.default)((0,ne.default)(_class3.prototype),"pushClassPrivateMethod",this).call(this,o,h,E,x)}},{key:"parseClassSuper",value:function parseClassSuper(o){if((0,j.default)((0,ne.default)(_class3.prototype),"parseClassSuper",this).call(this,o),o.superClass&&this.isRelational("<")&&(o.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual("implements")){this.next();var h=o.implements=[];do{var E=this.startNode();E.id=this.flowParseRestrictedIdentifier(!0),this.isRelational("<")?E.typeParameters=this.flowParseTypeParameterInstantiation():E.typeParameters=null,h.push(this.finishNode(E,"ClassImplements"))}while(this.eat(C.comma))}}},{key:"parsePropertyName",value:function parsePropertyName(o,h){var E=this.flowParseVariance(),x=(0,j.default)((0,ne.default)(_class3.prototype),"parsePropertyName",this).call(this,o,h);return o.variance=E,x}},{key:"parseObjPropValue",value:function parseObjPropValue(o,h,E,x,T,P,N,R){var ee;o.variance&&this.unexpected(o.variance.start),delete o.variance,this.isRelational("<")&&(ee=this.flowParseTypeParameterDeclaration(),this.match(C.parenL)||this.unexpected()),(0,j.default)((0,ne.default)(_class3.prototype),"parseObjPropValue",this).call(this,o,h,E,x,T,P,N,R),ee&&((o.value||o).typeParameters=ee)}},{key:"parseAssignableListItemTypes",value:function parseAssignableListItemTypes(o){return this.eat(C.question)&&("Identifier"!==o.type&&this.raise(o.start,Ce.OptionalBindingPattern),o.optional=!0),this.match(C.colon)&&(o.typeAnnotation=this.flowParseTypeAnnotation()),this.resetEndLocation(o),o}},{key:"parseMaybeDefault",value:function parseMaybeDefault(o,h,E){var x=(0,j.default)((0,ne.default)(_class3.prototype),"parseMaybeDefault",this).call(this,o,h,E);return"AssignmentPattern"===x.type&&x.typeAnnotation&&x.right.starto.length){for(var C=0;C=ne){for(var ie=0,ae=N.defaultedMembers;ie=ne){for(var oe=0,ue=N.defaultedMembers;oe")}throw new Error("Unreachable")}},{key:"tsParseList",value:function tsParseList(o,h){for(var E=[];!this.tsIsListTerminator(o);)E.push(h());return E}},{key:"tsParseDelimitedList",value:function tsParseDelimitedList(o,h){return st(this.tsParseDelimitedListWorker(o,h,!0))}},{key:"tsParseDelimitedListWorker",value:function tsParseDelimitedListWorker(o,h,E){for(var x=[];!this.tsIsListTerminator(o);){var T=h();if(null==T)return;if(x.push(T),!this.eat(C.comma)){if(this.tsIsListTerminator(o))break;return void(E&&this.expect(C.comma))}}return x}},{key:"tsParseBracketedList",value:function tsParseBracketedList(o,h,E,x){x||(E?this.expect(C.bracketL):this.expectRelational("<"));var T=this.tsParseDelimitedList(o,h);return E?this.expect(C.bracketR):this.expectRelational(">"),T}},{key:"tsParseImportType",value:function tsParseImportType(){var o=this.startNode();return this.expect(C._import),this.expect(C.parenL),this.match(C.string)||this.raise(this.state.start,Oe.UnsupportedImportTypeArgument),o.argument=this.parseExprAtom(),this.expect(C.parenR),this.eat(C.dot)&&(o.qualifier=this.tsParseEntityName(!0)),this.isRelational("<")&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSImportType")}},{key:"tsParseEntityName",value:function tsParseEntityName(o){for(var h=this.parseIdentifier();this.eat(C.dot);){var E=this.startNodeAtNode(h);E.left=h,E.right=this.parseIdentifier(o),h=this.finishNode(E,"TSQualifiedName")}return h}},{key:"tsParseTypeReference",value:function tsParseTypeReference(){var o=this.startNode();return o.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.isRelational("<")&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSTypeReference")}},{key:"tsParseThisTypePredicate",value:function tsParseThisTypePredicate(o){this.next();var h=this.startNodeAtNode(o);return h.parameterName=o,h.typeAnnotation=this.tsParseTypeAnnotation(!1),this.finishNode(h,"TSTypePredicate")}},{key:"tsParseThisTypeNode",value:function tsParseThisTypeNode(){var o=this.startNode();return this.next(),this.finishNode(o,"TSThisType")}},{key:"tsParseTypeQuery",value:function tsParseTypeQuery(){var o=this.startNode();return this.expect(C._typeof),this.match(C._import)?o.exprName=this.tsParseImportType():o.exprName=this.tsParseEntityName(!0),this.finishNode(o,"TSTypeQuery")}},{key:"tsParseTypeParameter",value:function tsParseTypeParameter(){var o=this.startNode();return o.name=this.parseIdentifierName(o.start),o.constraint=this.tsEatThenParseType(C._extends),o.default=this.tsEatThenParseType(C.eq),this.finishNode(o,"TSTypeParameter")}},{key:"tsTryParseTypeParameters",value:function tsTryParseTypeParameters(){if(this.isRelational("<"))return this.tsParseTypeParameters()}},{key:"tsParseTypeParameters",value:function tsParseTypeParameters(){var o=this.startNode();return this.isRelational("<")||this.match(C.jsxTagStart)?this.next():this.unexpected(),o.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0),this.finishNode(o,"TSTypeParameterDeclaration")}},{key:"tsTryNextParseConstantContext",value:function tsTryNextParseConstantContext(){return this.lookahead().type===C._const?(this.next(),this.tsParseTypeReference()):null}},{key:"tsFillSignature",value:function tsFillSignature(o,h){var E=o===C.arrow;h.typeParameters=this.tsTryParseTypeParameters(),this.expect(C.parenL),h.parameters=this.tsParseBindingListForSignature(),(E||this.match(o))&&(h.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(o))}},{key:"tsParseBindingListForSignature",value:function tsParseBindingListForSignature(){var o=this;return this.parseBindingList(C.parenR,41).map((function(h){return"Identifier"!==h.type&&"RestElement"!==h.type&&"ObjectPattern"!==h.type&&"ArrayPattern"!==h.type&&o.raise(h.start,Oe.UnsupportedSignatureParameterKind,h.type),h}))}},{key:"tsParseTypeMemberSemicolon",value:function tsParseTypeMemberSemicolon(){this.eat(C.comma)||this.semicolon()}},{key:"tsParseSignatureMember",value:function tsParseSignatureMember(o,h){return this.tsFillSignature(C.colon,h),this.tsParseTypeMemberSemicolon(),this.finishNode(h,o)}},{key:"tsIsUnambiguouslyIndexSignature",value:function tsIsUnambiguouslyIndexSignature(){return this.next(),this.eat(C.name)&&this.match(C.colon)}},{key:"tsTryParseIndexSignature",value:function tsTryParseIndexSignature(o){if(this.match(C.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(C.bracketL);var h=this.parseIdentifier();h.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(h),this.expect(C.bracketR),o.parameters=[h];var E=this.tsTryParseTypeAnnotation();return E&&(o.typeAnnotation=E),this.tsParseTypeMemberSemicolon(),this.finishNode(o,"TSIndexSignature")}}},{key:"tsParsePropertyOrMethodSignature",value:function tsParsePropertyOrMethodSignature(o,h){this.eat(C.question)&&(o.optional=!0);var E=o;if(h||!this.match(C.parenL)&&!this.isRelational("<")){var x=E;h&&(x.readonly=!0);var T=this.tsTryParseTypeAnnotation();return T&&(x.typeAnnotation=T),this.tsParseTypeMemberSemicolon(),this.finishNode(x,"TSPropertySignature")}var P=E;return this.tsFillSignature(C.colon,P),this.tsParseTypeMemberSemicolon(),this.finishNode(P,"TSMethodSignature")}},{key:"tsParseTypeMember",value:function tsParseTypeMember(){var o=this.startNode();if(this.match(C.parenL)||this.isRelational("<"))return this.tsParseSignatureMember("TSCallSignatureDeclaration",o);if(this.match(C._new)){var h=this.startNode();return this.next(),this.match(C.parenL)||this.isRelational("<")?this.tsParseSignatureMember("TSConstructSignatureDeclaration",o):(o.key=this.createIdentifier(h,"new"),this.tsParsePropertyOrMethodSignature(o,!1))}var E=!!this.tsParseModifier(["readonly"]),x=this.tsTryParseIndexSignature(o);return x?(E&&(o.readonly=!0),x):(this.parsePropertyName(o,!1),this.tsParsePropertyOrMethodSignature(o,E))}},{key:"tsParseTypeLiteral",value:function tsParseTypeLiteral(){var o=this.startNode();return o.members=this.tsParseObjectTypeMembers(),this.finishNode(o,"TSTypeLiteral")}},{key:"tsParseObjectTypeMembers",value:function tsParseObjectTypeMembers(){this.expect(C.braceL);var o=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(C.braceR),o}},{key:"tsIsStartOfMappedType",value:function tsIsStartOfMappedType(){return this.next(),this.eat(C.plusMin)?this.isContextual("readonly"):(this.isContextual("readonly")&&this.next(),!!this.match(C.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(C._in))))}},{key:"tsParseMappedTypeParameter",value:function tsParseMappedTypeParameter(){var o=this.startNode();return o.name=this.parseIdentifierName(o.start),o.constraint=this.tsExpectThenParseType(C._in),this.finishNode(o,"TSTypeParameter")}},{key:"tsParseMappedType",value:function tsParseMappedType(){var o=this.startNode();return this.expect(C.braceL),this.match(C.plusMin)?(o.readonly=this.state.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(o.readonly=!0),this.expect(C.bracketL),o.typeParameter=this.tsParseMappedTypeParameter(),this.expect(C.bracketR),this.match(C.plusMin)?(o.optional=this.state.value,this.next(),this.expect(C.question)):this.eat(C.question)&&(o.optional=!0),o.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(C.braceR),this.finishNode(o,"TSMappedType")}},{key:"tsParseTupleType",value:function tsParseTupleType(){var o=this,h=this.startNode();h.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var E=!1;return h.elementTypes.forEach((function(h){"TSOptionalType"===h.type?E=!0:E&&"TSRestType"!==h.type&&o.raise(h.start,Oe.OptionalTypeBeforeRequired)})),this.finishNode(h,"TSTupleType")}},{key:"tsParseTupleElementType",value:function tsParseTupleElementType(){if(this.match(C.ellipsis)){var o=this.startNode();return this.next(),o.typeAnnotation=this.tsParseType(),this.match(C.comma)&&93!==this.lookaheadCharCode()&&this.raiseRestNotLast(this.state.start),this.finishNode(o,"TSRestType")}var h=this.tsParseType();if(this.eat(C.question)){var E=this.startNodeAtNode(h);return E.typeAnnotation=h,this.finishNode(E,"TSOptionalType")}return h}},{key:"tsParseParenthesizedType",value:function tsParseParenthesizedType(){var o=this.startNode();return this.expect(C.parenL),o.typeAnnotation=this.tsParseType(),this.expect(C.parenR),this.finishNode(o,"TSParenthesizedType")}},{key:"tsParseFunctionOrConstructorType",value:function tsParseFunctionOrConstructorType(o){var h=this.startNode();return"TSConstructorType"===o&&this.expect(C._new),this.tsFillSignature(C.arrow,h),this.finishNode(h,o)}},{key:"tsParseLiteralTypeNode",value:function tsParseLiteralTypeNode(){var o=this,h=this.startNode();return h.literal=function(){switch(o.state.type){case C.num:case C.string:case C._true:case C._false:return o.parseExprAtom();default:throw o.unexpected()}}(),this.finishNode(h,"TSLiteralType")}},{key:"tsParseTemplateLiteralType",value:function tsParseTemplateLiteralType(){var o=this.startNode(),h=this.parseTemplate(!1);return h.expressions.length>0&&this.raise(h.expressions[0].start,Oe.TemplateTypeHasSubstitution),o.literal=h,this.finishNode(o,"TSLiteralType")}},{key:"tsParseThisTypeOrThisTypePredicate",value:function tsParseThisTypeOrThisTypePredicate(){var o=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(o):o}},{key:"tsParseNonArrayType",value:function tsParseNonArrayType(){switch(this.state.type){case C.name:case C._void:case C._null:var o=this.match(C._void)?"TSVoidKeyword":this.match(C._null)?"TSNullKeyword":function(o){switch(o){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}}(this.state.value);if(void 0!==o&&46!==this.lookaheadCharCode()){var h=this.startNode();return this.next(),this.finishNode(h,o)}return this.tsParseTypeReference();case C.string:case C.num:case C._true:case C._false:return this.tsParseLiteralTypeNode();case C.plusMin:if("-"===this.state.value){var E=this.startNode();if(this.lookahead().type!==C.num)throw this.unexpected();return E.literal=this.parseMaybeUnary(),this.finishNode(E,"TSLiteralType")}break;case C._this:return this.tsParseThisTypeOrThisTypePredicate();case C._typeof:return this.tsParseTypeQuery();case C._import:return this.tsParseImportType();case C.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case C.bracketL:return this.tsParseTupleType();case C.parenL:return this.tsParseParenthesizedType();case C.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}},{key:"tsParseArrayTypeOrHigher",value:function tsParseArrayTypeOrHigher(){for(var o=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(C.bracketL);)if(this.match(C.bracketR)){var h=this.startNodeAtNode(o);h.elementType=o,this.expect(C.bracketR),o=this.finishNode(h,"TSArrayType")}else{var E=this.startNodeAtNode(o);E.objectType=o,E.indexType=this.tsParseType(),this.expect(C.bracketR),o=this.finishNode(E,"TSIndexedAccessType")}return o}},{key:"tsParseTypeOperator",value:function tsParseTypeOperator(o){var h=this.startNode();return this.expectContextual(o),h.operator=o,h.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===o&&this.tsCheckTypeAnnotationForReadOnly(h),this.finishNode(h,"TSTypeOperator")}},{key:"tsCheckTypeAnnotationForReadOnly",value:function tsCheckTypeAnnotationForReadOnly(o){switch(o.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(o.start,Oe.UnexpectedReadonly)}}},{key:"tsParseInferType",value:function tsParseInferType(){var o=this.startNode();this.expectContextual("infer");var h=this.startNode();return h.name=this.parseIdentifierName(h.start),o.typeParameter=this.finishNode(h,"TSTypeParameter"),this.finishNode(o,"TSInferType")}},{key:"tsParseTypeOperatorOrHigher",value:function tsParseTypeOperatorOrHigher(){var o=this,h=["keyof","unique","readonly"].find((function(h){return o.isContextual(h)}));return h?this.tsParseTypeOperator(h):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}},{key:"tsParseUnionOrIntersectionType",value:function tsParseUnionOrIntersectionType(o,h,E){this.eat(E);var x=h();if(this.match(E)){for(var C=[x];this.eat(E);)C.push(h());var T=this.startNodeAtNode(x);T.types=C,x=this.finishNode(T,o)}return x}},{key:"tsParseIntersectionTypeOrHigher",value:function tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),C.bitwiseAND)}},{key:"tsParseUnionTypeOrHigher",value:function tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),C.bitwiseOR)}},{key:"tsIsStartOfFunctionType",value:function tsIsStartOfFunctionType(){return!!this.isRelational("<")||this.match(C.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}},{key:"tsSkipParameterStart",value:function tsSkipParameterStart(){if(this.match(C.name)||this.match(C._this))return this.next(),!0;if(this.match(C.braceL)){var o=1;for(this.next();o>0;)this.match(C.braceL)?++o:this.match(C.braceR)&&--o,this.next();return!0}if(this.match(C.bracketL)){var h=1;for(this.next();h>0;)this.match(C.bracketL)?++h:this.match(C.bracketR)&&--h,this.next();return!0}return!1}},{key:"tsIsUnambiguouslyStartOfFunctionType",value:function tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(C.parenR)||this.match(C.ellipsis))return!0;if(this.tsSkipParameterStart()){if(this.match(C.colon)||this.match(C.comma)||this.match(C.question)||this.match(C.eq))return!0;if(this.match(C.parenR)&&(this.next(),this.match(C.arrow)))return!0}return!1}},{key:"tsParseTypeOrTypePredicateAnnotation",value:function tsParseTypeOrTypePredicateAnnotation(o){var h=this;return this.tsInType((function(){var E=h.startNode();h.expect(o);var x=h.tsTryParse(h.tsParseTypePredicateAsserts.bind(h));if(x&&h.match(C._this)){var T=h.tsParseThisTypeOrThisTypePredicate();if("TSThisType"===T.type){var P=h.startNodeAtNode(E);P.parameterName=T,P.asserts=!0,T=h.finishNode(P,"TSTypePredicate")}else T.asserts=!0;return E.typeAnnotation=T,h.finishNode(E,"TSTypeAnnotation")}var N=h.tsIsIdentifier()&&h.tsTryParse(h.tsParseTypePredicatePrefix.bind(h));if(!N){if(!x)return h.tsParseTypeAnnotation(!1,E);var R=h.startNodeAtNode(E);return R.parameterName=h.parseIdentifier(),R.asserts=x,E.typeAnnotation=h.finishNode(R,"TSTypePredicate"),h.finishNode(E,"TSTypeAnnotation")}var j=h.tsParseTypeAnnotation(!1),ee=h.startNodeAtNode(E);return ee.parameterName=N,ee.typeAnnotation=j,ee.asserts=x,E.typeAnnotation=h.finishNode(ee,"TSTypePredicate"),h.finishNode(E,"TSTypeAnnotation")}))}},{key:"tsTryParseTypeOrTypePredicateAnnotation",value:function tsTryParseTypeOrTypePredicateAnnotation(){return this.match(C.colon)?this.tsParseTypeOrTypePredicateAnnotation(C.colon):void 0}},{key:"tsTryParseTypeAnnotation",value:function tsTryParseTypeAnnotation(){return this.match(C.colon)?this.tsParseTypeAnnotation():void 0}},{key:"tsTryParseType",value:function tsTryParseType(){return this.tsEatThenParseType(C.colon)}},{key:"tsParseTypePredicatePrefix",value:function tsParseTypePredicatePrefix(){var o=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),o}},{key:"tsParseTypePredicateAsserts",value:function tsParseTypePredicateAsserts(){if(!this.match(C.name)||"asserts"!==this.state.value||this.hasPrecedingLineBreak())return!1;var o=this.state.containsEsc;return this.next(),!(!this.match(C.name)&&!this.match(C._this)||(o&&this.raise(this.state.lastTokStart,le.InvalidEscapedReservedWord,"asserts"),0))}},{key:"tsParseTypeAnnotation",value:function tsParseTypeAnnotation(){var o=this,h=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType((function(){h&&o.expect(C.colon),E.typeAnnotation=o.tsParseType()})),this.finishNode(E,"TSTypeAnnotation")}},{key:"tsParseType",value:function tsParseType(){it(this.state.inType);var o=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(C._extends))return o;var h=this.startNodeAtNode(o);return h.checkType=o,h.extendsType=this.tsParseNonConditionalType(),this.expect(C.question),h.trueType=this.tsParseType(),this.expect(C.colon),h.falseType=this.tsParseType(),this.finishNode(h,"TSConditionalType")}},{key:"tsParseNonConditionalType",value:function tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(C._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.tsParseUnionTypeOrHigher()}},{key:"tsParseTypeAssertion",value:function tsParseTypeAssertion(){var o=this.startNode(),h=this.tsTryNextParseConstantContext();return o.typeAnnotation=h||this.tsNextThenParseType(),this.expectRelational(">"),o.expression=this.parseMaybeUnary(),this.finishNode(o,"TSTypeAssertion")}},{key:"tsParseHeritageClause",value:function tsParseHeritageClause(o){var h=this.state.start,E=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));return E.length||this.raise(h,Oe.EmptyHeritageClauseType,o),E}},{key:"tsParseExpressionWithTypeArguments",value:function tsParseExpressionWithTypeArguments(){var o=this.startNode();return o.expression=this.tsParseEntityName(!1),this.isRelational("<")&&(o.typeParameters=this.tsParseTypeArguments()),this.finishNode(o,"TSExpressionWithTypeArguments")}},{key:"tsParseInterfaceDeclaration",value:function tsParseInterfaceDeclaration(o){o.id=this.parseIdentifier(),this.checkLVal(o.id,130,void 0,"typescript interface declaration"),o.typeParameters=this.tsTryParseTypeParameters(),this.eat(C._extends)&&(o.extends=this.tsParseHeritageClause("extends"));var h=this.startNode();return h.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),o.body=this.finishNode(h,"TSInterfaceBody"),this.finishNode(o,"TSInterfaceDeclaration")}},{key:"tsParseTypeAliasDeclaration",value:function tsParseTypeAliasDeclaration(o){return o.id=this.parseIdentifier(),this.checkLVal(o.id,2,void 0,"typescript type alias"),o.typeParameters=this.tsTryParseTypeParameters(),o.typeAnnotation=this.tsExpectThenParseType(C.eq),this.semicolon(),this.finishNode(o,"TSTypeAliasDeclaration")}},{key:"tsInNoContext",value:function tsInNoContext(o){var h=this.state.context;this.state.context=[h[0]];try{return o()}finally{this.state.context=h}}},{key:"tsInType",value:function tsInType(o){var h=this.state.inType;this.state.inType=!0;try{return o()}finally{this.state.inType=h}}},{key:"tsEatThenParseType",value:function tsEatThenParseType(o){return this.match(o)?this.tsNextThenParseType():void 0}},{key:"tsExpectThenParseType",value:function tsExpectThenParseType(o){var h=this;return this.tsDoThenParseType((function(){return h.expect(o)}))}},{key:"tsNextThenParseType",value:function tsNextThenParseType(){var o=this;return this.tsDoThenParseType((function(){return o.next()}))}},{key:"tsDoThenParseType",value:function tsDoThenParseType(o){var h=this;return this.tsInType((function(){return o(),h.tsParseType()}))}},{key:"tsParseEnumMember",value:function tsParseEnumMember(){var o=this.startNode();return o.id=this.match(C.string)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(C.eq)&&(o.initializer=this.parseMaybeAssign()),this.finishNode(o,"TSEnumMember")}},{key:"tsParseEnumDeclaration",value:function tsParseEnumDeclaration(o,h){return h&&(o.const=!0),o.id=this.parseIdentifier(),this.checkLVal(o.id,h?779:267,void 0,"typescript enum declaration"),this.expect(C.braceL),o.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(C.braceR),this.finishNode(o,"TSEnumDeclaration")}},{key:"tsParseModuleBlock",value:function tsParseModuleBlock(){var o=this.startNode();return this.scope.enter(0),this.expect(C.braceL),this.parseBlockOrModuleBlockBody(o.body=[],void 0,!0,C.braceR),this.scope.exit(),this.finishNode(o,"TSModuleBlock")}},{key:"tsParseModuleOrNamespaceDeclaration",value:function tsParseModuleOrNamespaceDeclaration(o){var h=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(o.id=this.parseIdentifier(),h||this.checkLVal(o.id,1024,null,"module or namespace declaration"),this.eat(C.dot)){var E=this.startNode();this.tsParseModuleOrNamespaceDeclaration(E,!0),o.body=E}else this.scope.enter(128),this.prodParam.enter(0),o.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(o,"TSModuleDeclaration")}},{key:"tsParseAmbientExternalModuleDeclaration",value:function tsParseAmbientExternalModuleDeclaration(o){return this.isContextual("global")?(o.global=!0,o.id=this.parseIdentifier()):this.match(C.string)?o.id=this.parseExprAtom():this.unexpected(),this.match(C.braceL)?(this.scope.enter(128),this.prodParam.enter(0),o.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(o,"TSModuleDeclaration")}},{key:"tsParseImportEqualsDeclaration",value:function tsParseImportEqualsDeclaration(o,h){return o.isExport=h||!1,o.id=this.parseIdentifier(),this.checkLVal(o.id,9,void 0,"import equals declaration"),this.expect(C.eq),o.moduleReference=this.tsParseModuleReference(),this.semicolon(),this.finishNode(o,"TSImportEqualsDeclaration")}},{key:"tsIsExternalModuleReference",value:function tsIsExternalModuleReference(){return this.isContextual("require")&&40===this.lookaheadCharCode()}},{key:"tsParseModuleReference",value:function tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}},{key:"tsParseExternalModuleReference",value:function tsParseExternalModuleReference(){var o=this.startNode();if(this.expectContextual("require"),this.expect(C.parenL),!this.match(C.string))throw this.unexpected();return o.expression=this.parseExprAtom(),this.expect(C.parenR),this.finishNode(o,"TSExternalModuleReference")}},{key:"tsLookAhead",value:function tsLookAhead(o){var h=this.state.clone(),E=o();return this.state=h,E}},{key:"tsTryParseAndCatch",value:function tsTryParseAndCatch(o){var h=this.tryParse((function(h){return o()||h()}));if(!h.aborted&&h.node)return h.error&&(this.state=h.failState),h.node}},{key:"tsTryParse",value:function tsTryParse(o){var h=this.state.clone(),E=o();return void 0!==E&&!1!==E?E:void(this.state=h)}},{key:"tsTryParseDeclare",value:function tsTryParseDeclare(o){if(!this.isLineTerminator()){var h,E=this.state.type;switch(this.isContextual("let")&&(E=C._var,h="let"),E){case C._function:return this.parseFunctionStatement(o,!1,!0);case C._class:return o.declare=!0,this.parseClass(o,!0,!1);case C._const:if(this.match(C._const)&&this.isLookaheadContextual("enum"))return this.expect(C._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(o,!0);case C._var:return h=h||this.state.value,this.parseVarStatement(o,h);case C.name:var x=this.state.value;return"global"===x?this.tsParseAmbientExternalModuleDeclaration(o):this.tsParseDeclaration(o,x,!0)}}}},{key:"tsTryParseExportDeclaration",value:function tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}},{key:"tsParseExpressionStatement",value:function tsParseExpressionStatement(o,h){switch(h.name){case"declare":var E=this.tsTryParseDeclare(o);if(E)return E.declare=!0,E;break;case"global":if(this.match(C.braceL)){this.scope.enter(128),this.prodParam.enter(0);var x=o;return x.global=!0,x.id=h,x.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(x,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(o,h.name,!1)}}},{key:"tsParseDeclaration",value:function tsParseDeclaration(o,h,E){switch(h){case"abstract":if(this.tsCheckLineTerminatorAndMatch(C._class,E)){var x=o;return x.abstract=!0,E&&(this.next(),this.match(C._class)||this.unexpected(null,C._class)),this.parseClass(x,!0,!1)}break;case"enum":if(E||this.match(C.name))return E&&this.next(),this.tsParseEnumDeclaration(o,!1);break;case"interface":if(this.tsCheckLineTerminatorAndMatch(C.name,E))return E&&this.next(),this.tsParseInterfaceDeclaration(o);break;case"module":if(E&&this.next(),this.match(C.string))return this.tsParseAmbientExternalModuleDeclaration(o);if(this.tsCheckLineTerminatorAndMatch(C.name,E))return this.tsParseModuleOrNamespaceDeclaration(o);break;case"namespace":if(this.tsCheckLineTerminatorAndMatch(C.name,E))return E&&this.next(),this.tsParseModuleOrNamespaceDeclaration(o);break;case"type":if(this.tsCheckLineTerminatorAndMatch(C.name,E))return E&&this.next(),this.tsParseTypeAliasDeclaration(o)}}},{key:"tsCheckLineTerminatorAndMatch",value:function tsCheckLineTerminatorAndMatch(o,h){return(h||this.match(o))&&!this.isLineTerminator()}},{key:"tsTryParseGenericAsyncArrowFunction",value:function tsTryParseGenericAsyncArrowFunction(o,h){var E=this;if(this.isRelational("<")){var x=this.state.maybeInArrowParameters,T=this.state.yieldPos,P=this.state.awaitPos;this.state.maybeInArrowParameters=!0,this.state.yieldPos=-1,this.state.awaitPos=-1;var N=this.tsTryParseAndCatch((function(){var x=E.startNodeAt(o,h);return x.typeParameters=E.tsParseTypeParameters(),(0,j.default)((0,ne.default)(_class4.prototype),"parseFunctionParams",E).call(E,x),x.returnType=E.tsTryParseTypeOrTypePredicateAnnotation(),E.expect(C.arrow),x}));return this.state.maybeInArrowParameters=x,this.state.yieldPos=T,this.state.awaitPos=P,N?this.parseArrowExpression(N,null,!0):void 0}}},{key:"tsParseTypeArguments",value:function tsParseTypeArguments(){var o=this,h=this.startNode();return h.params=this.tsInType((function(){return o.tsInNoContext((function(){return o.expectRelational("<"),o.tsParseDelimitedList("TypeParametersOrArguments",o.tsParseType.bind(o))}))})),this.state.exprAllowed=!1,this.expectRelational(">"),this.finishNode(h,"TSTypeParameterInstantiation")}},{key:"tsIsDeclarationStart",value:function tsIsDeclarationStart(){if(this.match(C.name))switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return!0}return!1}},{key:"isExportDefaultSpecifier",value:function isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&(0,j.default)((0,ne.default)(_class4.prototype),"isExportDefaultSpecifier",this).call(this)}},{key:"parseAssignableListItem",value:function parseAssignableListItem(o,h){var E,x=this.state.start,C=this.state.startLoc,T=!1;o&&(E=this.parseAccessModifier(),T=!!this.tsParseModifier(["readonly"]));var P=this.parseMaybeDefault();this.parseAssignableListItemTypes(P);var N=this.parseMaybeDefault(P.start,P.loc.start,P);if(E||T){var R=this.startNodeAt(x,C);return h.length&&(R.decorators=h),E&&(R.accessibility=E),T&&(R.readonly=T),"Identifier"!==N.type&&"AssignmentPattern"!==N.type&&this.raise(R.start,Oe.UnsupportedParameterPropertyKind),R.parameter=N,this.finishNode(R,"TSParameterProperty")}return h.length&&(P.decorators=h),N}},{key:"parseFunctionBodyAndFinish",value:function parseFunctionBodyAndFinish(o,h){var E=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(C.colon)&&(o.returnType=this.tsParseTypeOrTypePredicateAnnotation(C.colon));var x="FunctionDeclaration"===h?"TSDeclareFunction":"ClassMethod"===h?"TSDeclareMethod":void 0;x&&!this.match(C.braceL)&&this.isLineTerminator()?this.finishNode(o,x):(0,j.default)((0,ne.default)(_class4.prototype),"parseFunctionBodyAndFinish",this).call(this,o,h,E)}},{key:"registerFunctionStatementId",value:function registerFunctionStatementId(o){!o.body&&o.id?this.checkLVal(o.id,1024,null,"function name"):(0,j.default)((0,ne.default)(_class4.prototype),"registerFunctionStatementId",this).apply(this,arguments)}},{key:"parseSubscript",value:function parseSubscript(o,h,E,x,T){var P=this;if(!this.hasPrecedingLineBreak()&&this.match(C.bang)){this.state.exprAllowed=!1,this.next();var N=this.startNodeAt(h,E);return N.expression=o,this.finishNode(N,"TSNonNullExpression")}if(this.isRelational("<")){var R=this.tsTryParseAndCatch((function(){if(!x&&P.atPossibleAsyncArrow(o)){var N=P.tsTryParseGenericAsyncArrowFunction(h,E);if(N)return N}var R=P.startNodeAt(h,E);R.callee=o;var j=P.tsParseTypeArguments();if(j){if(!x&&P.eat(C.parenL))return R.arguments=P.parseCallExpressionArguments(C.parenR,!1),R.typeParameters=j,P.finishCallExpression(R,T.optionalChainMember);if(P.match(C.backQuote))return P.parseTaggedTemplateExpression(h,E,o,T,j)}P.unexpected()}));if(R)return R}return(0,j.default)((0,ne.default)(_class4.prototype),"parseSubscript",this).call(this,o,h,E,x,T)}},{key:"parseNewArguments",value:function parseNewArguments(o){var h=this;if(this.isRelational("<")){var E=this.tsTryParseAndCatch((function(){var o=h.tsParseTypeArguments();return h.match(C.parenL)||h.unexpected(),o}));E&&(o.typeParameters=E)}(0,j.default)((0,ne.default)(_class4.prototype),"parseNewArguments",this).call(this,o)}},{key:"parseExprOp",value:function parseExprOp(o,h,E,x,T){if(st(C._in.binop)>x&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){var P=this.startNodeAt(h,E);P.expression=o;var N=this.tsTryNextParseConstantContext();return P.typeAnnotation=N||this.tsNextThenParseType(),this.finishNode(P,"TSAsExpression"),this.parseExprOp(P,h,E,x,T)}return(0,j.default)((0,ne.default)(_class4.prototype),"parseExprOp",this).call(this,o,h,E,x,T)}},{key:"checkReservedWord",value:function checkReservedWord(o,h,E,x){}},{key:"checkDuplicateExports",value:function checkDuplicateExports(){}},{key:"parseImport",value:function parseImport(o){if(this.match(C.name)||this.match(C.star)||this.match(C.braceL)){var h=this.lookahead();if(this.match(C.name)&&h.type===C.eq)return this.tsParseImportEqualsDeclaration(o);!this.isContextual("type")||h.type===C.comma||h.type===C.name&&"from"===h.value?o.importKind="value":(o.importKind="type",this.next())}var E=(0,j.default)((0,ne.default)(_class4.prototype),"parseImport",this).call(this,o);return"type"===E.importKind&&E.specifiers.length>1&&"ImportDefaultSpecifier"===E.specifiers[0].type&&this.raise(E.start,"A type-only import can specify a default import or named bindings, but not both."),E}},{key:"parseExport",value:function parseExport(o){if(this.match(C._import))return this.expect(C._import),this.tsParseImportEqualsDeclaration(o,!0);if(this.eat(C.eq)){var h=o;return h.expression=this.parseExpression(),this.semicolon(),this.finishNode(h,"TSExportAssignment")}if(this.eatContextual("as")){var E=o;return this.expectContextual("namespace"),E.id=this.parseIdentifier(),this.semicolon(),this.finishNode(E,"TSNamespaceExportDeclaration")}return this.isContextual("type")&&this.lookahead().type===C.braceL?(this.next(),o.exportKind="type"):o.exportKind="value",(0,j.default)((0,ne.default)(_class4.prototype),"parseExport",this).call(this,o)}},{key:"isAbstractClass",value:function isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===C._class}},{key:"parseExportDefaultExpression",value:function parseExportDefaultExpression(){if(this.isAbstractClass()){var o=this.startNode();return this.next(),this.parseClass(o,!0,!0),o.abstract=!0,o}if("interface"===this.state.value){var h=this.tsParseDeclaration(this.startNode(),this.state.value,!0);if(h)return h}return(0,j.default)((0,ne.default)(_class4.prototype),"parseExportDefaultExpression",this).call(this)}},{key:"parseStatementContent",value:function parseStatementContent(o,h){if(this.state.type===C._const){var E=this.lookahead();if(E.type===C.name&&"enum"===E.value){var x=this.startNode();return this.expect(C._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(x,!0)}}return(0,j.default)((0,ne.default)(_class4.prototype),"parseStatementContent",this).call(this,o,h)}},{key:"parseAccessModifier",value:function parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}},{key:"parseClassMember",value:function parseClassMember(o,h,E,x){this.tsParseModifiers(h,["declare"]);var C=this.parseAccessModifier();C&&(h.accessibility=C),this.tsParseModifiers(h,["declare"]),(0,j.default)((0,ne.default)(_class4.prototype),"parseClassMember",this).call(this,o,h,E,x)}},{key:"parseClassMemberWithIsStatic",value:function parseClassMemberWithIsStatic(o,h,E,x,C){this.tsParseModifiers(h,["abstract","readonly","declare"]);var T=this.tsTryParseIndexSignature(h);if(T)return o.body.push(T),h.abstract&&this.raise(h.start,Oe.IndexSignatureHasAbstract),x&&this.raise(h.start,Oe.IndexSignatureHasStatic),void(h.accessibility&&this.raise(h.start,Oe.IndexSignatureHasAccessibility,h.accessibility));(0,j.default)((0,ne.default)(_class4.prototype),"parseClassMemberWithIsStatic",this).call(this,o,h,E,x,C)}},{key:"parsePostMemberNameModifiers",value:function parsePostMemberNameModifiers(o){this.eat(C.question)&&(o.optional=!0),o.readonly&&this.match(C.parenL)&&this.raise(o.start,Oe.ClassMethodHasReadonly),o.declare&&this.match(C.parenL)&&this.raise(o.start,Oe.ClassMethodHasDeclare)}},{key:"parseExpressionStatement",value:function parseExpressionStatement(o,h){return("Identifier"===h.type?this.tsParseExpressionStatement(o,h):void 0)||(0,j.default)((0,ne.default)(_class4.prototype),"parseExpressionStatement",this).call(this,o,h)}},{key:"shouldParseExportDeclaration",value:function shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||(0,j.default)((0,ne.default)(_class4.prototype),"shouldParseExportDeclaration",this).call(this)}},{key:"parseConditional",value:function parseConditional(o,h,E,x,T){var P=this;if(!T||!this.match(C.question))return(0,j.default)((0,ne.default)(_class4.prototype),"parseConditional",this).call(this,o,h,E,x,T);var N=this.tryParse((function(){return(0,j.default)((0,ne.default)(_class4.prototype),"parseConditional",P).call(P,o,h,E,x)}));return N.node?(N.error&&(this.state=N.failState),N.node):(T.start=N.error.pos||this.state.start,o)}},{key:"parseParenItem",value:function parseParenItem(o,h,E){if(o=(0,j.default)((0,ne.default)(_class4.prototype),"parseParenItem",this).call(this,o,h,E),this.eat(C.question)&&(o.optional=!0,this.resetEndLocation(o)),this.match(C.colon)){var x=this.startNodeAt(h,E);return x.expression=o,x.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(x,"TSTypeCastExpression")}return o}},{key:"parseExportDeclaration",value:function parseExportDeclaration(o){var h,E=this.state.start,x=this.state.startLoc,T=this.eatContextual("declare");return this.match(C.name)&&(h=this.tsTryParseExportDeclaration()),h||(h=(0,j.default)((0,ne.default)(_class4.prototype),"parseExportDeclaration",this).call(this,o)),h&&("TSInterfaceDeclaration"===h.type||"TSTypeAliasDeclaration"===h.type||T)&&(o.exportKind="type"),h&&T&&(this.resetStartLocation(h,E,x),h.declare=!0),h}},{key:"parseClassId",value:function parseClassId(o,h,E){if(h&&!E||!this.isContextual("implements")){(0,j.default)((0,ne.default)(_class4.prototype),"parseClassId",this).call(this,o,h,E,o.declare?1024:139);var x=this.tsTryParseTypeParameters();x&&(o.typeParameters=x)}}},{key:"parseClassPropertyAnnotation",value:function parseClassPropertyAnnotation(o){!o.optional&&this.eat(C.bang)&&(o.definite=!0);var h=this.tsTryParseTypeAnnotation();h&&(o.typeAnnotation=h)}},{key:"parseClassProperty",value:function parseClassProperty(o){return this.parseClassPropertyAnnotation(o),o.declare&&this.match(C.equal)&&this.raise(this.state.start,Oe.DeclareClassFieldHasInitializer),(0,j.default)((0,ne.default)(_class4.prototype),"parseClassProperty",this).call(this,o)}},{key:"parseClassPrivateProperty",value:function parseClassPrivateProperty(o){return o.abstract&&this.raise(o.start,Oe.PrivateElementHasAbstract),o.accessibility&&this.raise(o.start,Oe.PrivateElementHasAccessibility,o.accessibility),this.parseClassPropertyAnnotation(o),(0,j.default)((0,ne.default)(_class4.prototype),"parseClassPrivateProperty",this).call(this,o)}},{key:"pushClassMethod",value:function pushClassMethod(o,h,E,x,C,T){var P=this.tsTryParseTypeParameters();P&&(h.typeParameters=P),(0,j.default)((0,ne.default)(_class4.prototype),"pushClassMethod",this).call(this,o,h,E,x,C,T)}},{key:"pushClassPrivateMethod",value:function pushClassPrivateMethod(o,h,E,x){var C=this.tsTryParseTypeParameters();C&&(h.typeParameters=C),(0,j.default)((0,ne.default)(_class4.prototype),"pushClassPrivateMethod",this).call(this,o,h,E,x)}},{key:"parseClassSuper",value:function parseClassSuper(o){(0,j.default)((0,ne.default)(_class4.prototype),"parseClassSuper",this).call(this,o),o.superClass&&this.isRelational("<")&&(o.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual("implements")&&(o.implements=this.tsParseHeritageClause("implements"))}},{key:"parseObjPropValue",value:function parseObjPropValue(o){for(var h,E=this.tsTryParseTypeParameters(),x=arguments.length,C=new Array(x>1?x-1:0),T=1;T1&&void 0!==arguments[1]?arguments[1]:64,E=arguments.length>2?arguments[2]:void 0,x=arguments.length>3?arguments[3]:void 0;switch(o.type){case"TSTypeCastExpression":return;case"TSParameterProperty":return void this.checkLVal(o.parameter,h,E,"parameter property");case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return void this.checkLVal(o.expression,h,E,x);default:return void(0,j.default)((0,ne.default)(_class4.prototype),"checkLVal",this).call(this,o,h,E,x)}}},{key:"parseBindingAtom",value:function parseBindingAtom(){switch(this.state.type){case C._this:return this.parseIdentifier(!0);default:return(0,j.default)((0,ne.default)(_class4.prototype),"parseBindingAtom",this).call(this)}}},{key:"parseMaybeDecoratorArguments",value:function parseMaybeDecoratorArguments(o){if(this.isRelational("<")){var h=this.tsParseTypeArguments();if(this.match(C.parenL)){var E=(0,j.default)((0,ne.default)(_class4.prototype),"parseMaybeDecoratorArguments",this).call(this,o);return E.typeParameters=h,E}this.unexpected(this.state.start,C.parenL)}return(0,j.default)((0,ne.default)(_class4.prototype),"parseMaybeDecoratorArguments",this).call(this,o)}},{key:"isClassMethod",value:function isClassMethod(){return this.isRelational("<")||(0,j.default)((0,ne.default)(_class4.prototype),"isClassMethod",this).call(this)}},{key:"isClassProperty",value:function isClassProperty(){return this.match(C.bang)||this.match(C.colon)||(0,j.default)((0,ne.default)(_class4.prototype),"isClassProperty",this).call(this)}},{key:"parseMaybeDefault",value:function parseMaybeDefault(){for(var o,h=arguments.length,E=new Array(h),x=0;x0)||(0,j.default)((0,ne.default)(_class6.prototype),"maybeParseExportDefaultSpecifier",this).apply(this,arguments)}},{key:"checkExport",value:function checkExport(o){var h=o.specifiers;h&&h.length&&(o.specifiers=h.filter((function(o){return"Placeholder"===o.exported.type}))),(0,j.default)((0,ne.default)(_class6.prototype),"checkExport",this).call(this,o),o.specifiers=h}},{key:"parseImport",value:function parseImport(o){var h=this.parsePlaceholder("Identifier");if(!h)return(0,j.default)((0,ne.default)(_class6.prototype),"parseImport",this).apply(this,arguments);if(o.specifiers=[],!this.isContextual("from")&&!this.match(C.comma))return o.source=this.finishPlaceholder(h,"StringLiteral"),this.semicolon(),this.finishNode(o,"ImportDeclaration");var E=this.startNodeAtNode(h);return E.local=h,this.finishNode(E,"ImportDefaultSpecifier"),o.specifiers.push(E),this.eat(C.comma)&&(this.maybeParseStarImportSpecifier(o)||this.parseNamedImportSpecifiers(o)),this.expectContextual("from"),o.source=this.parseImportSource(),this.semicolon(),this.finishNode(o,"ImportDeclaration")}},{key:"parseImportSource",value:function parseImportSource(){return this.parsePlaceholder("StringLiteral")||(0,j.default)((0,ne.default)(_class6.prototype),"parseImportSource",this).apply(this,arguments)}}]),_class6}(o)}},je=Object.keys(Le),qe={sourceType:"script",sourceFilename:void 0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1},Ve=function(){function lt(){(0,ae.default)(this,lt),this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.inParameters=!1,this.maybeInArrowParameters=!1,this.maybeInAsyncArrowHead=!1,this.inPipeline=!1,this.inType=!1,this.noAnonFunctionType=!1,this.inPropertyName=!1,this.hasFlowComment=!1,this.isIterator=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.yieldPos=-1,this.awaitPos=-1,this.comments=[],this.trailingComments=[],this.leadingComments=[],this.commentStack=[],this.commentPreviousNode=null,this.pos=0,this.lineStart=0,this.type=C.eof,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.lastTokEnd=0,this.context=[pe.braceStatement],this.exprAllowed=!0,this.containsEsc=!1,this.octalPositions=[],this.exportedIdentifiers=[],this.tokensLength=0}return(0,ie.default)(lt,[{key:"init",value:function init(o){this.strict=!1!==o.strictMode&&"module"===o.sourceType,this.curLine=o.startLine,this.startLoc=this.endLoc=this.curPosition()}},{key:"curPosition",value:function curPosition(){return new oe(this.curLine,this.pos-this.lineStart)}},{key:"clone",value:function clone(o){for(var h=new lt,E=Object.keys(this),x=0,C=E.length;x=48&&o<=57},We=new Set(["g","m","s","i","y","u"]),Ge={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},He={bin:[48,49]};He.oct=[].concat((0,se.default)(He.bin),[50,51,52,53,54,55]),He.dec=[].concat((0,se.default)(He.oct),[56,57]),He.hex=[].concat((0,se.default)(He.dec),[65,66,67,68,69,70,97,98,99,100,101,102]);var ze=(0,ie.default)((function yt(o){(0,ae.default)(this,yt),this.type=o.type,this.value=o.value,this.start=o.start,this.end=o.end,this.loc=new ue(o.startLoc,o.endLoc)})),Ke=(0,ie.default)((function xt(){(0,ae.default)(this,xt),this.shorthandAssign=-1,this.doubleProto=-1})),Ye=function(){function gt(o,h,E){(0,ae.default)(this,gt),this.type="",this.start=h,this.end=0,this.loc=new ue(E),o&&o.options.ranges&&(this.range=[h,0]),o&&o.filename&&(this.loc.filename=o.filename)}return(0,ie.default)(gt,[{key:"__clone",value:function __clone(){for(var o=new gt,h=Object.keys(this),E=0,x=h.length;E0)for(var E=0,x=Array.from(this.scope.undefinedExports);E-1&&this.unexpected(h),this.parseFor(o,null);var E=this.isLet();if(this.match(C._var)||this.match(C._const)||E){var x=this.startNode(),T=E?"let":this.state.value;return this.next(),this.parseVar(x,!0,T),this.finishNode(x,"VariableDeclaration"),(this.match(C._in)||this.isContextual("of"))&&1===x.declarations.length?this.parseForIn(o,x,h):(h>-1&&this.unexpected(h),this.parseFor(o,x))}var P=new Ke,N=this.parseExpression(!0,P);if(this.match(C._in)||this.isContextual("of")){this.toAssignable(N);var R=this.isContextual("of")?"for-of statement":"for-in statement";return this.checkLVal(N,void 0,void 0,R),this.parseForIn(o,N,h)}return this.checkExpressionErrors(P,!0),h>-1&&this.unexpected(h),this.parseFor(o,N)}},{key:"parseFunctionStatement",value:function parseFunctionStatement(o,h,E){return this.next(),this.parseFunction(o,1|(E?0:2),h)}},{key:"parseIfStatement",value:function parseIfStatement(o){return this.next(),o.test=this.parseHeaderExpression(),o.consequent=this.parseStatement("if"),o.alternate=this.eat(C._else)?this.parseStatement("if"):null,this.finishNode(o,"IfStatement")}},{key:"parseReturnStatement",value:function parseReturnStatement(o){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(this.state.start,le.IllegalReturn),this.next(),this.isLineTerminator()?o.argument=null:(o.argument=this.parseExpression(),this.semicolon()),this.finishNode(o,"ReturnStatement")}},{key:"parseSwitchStatement",value:function parseSwitchStatement(o){this.next(),o.discriminant=this.parseHeaderExpression();var h,E,x=o.cases=[];for(this.expect(C.braceL),this.state.labels.push(Je),this.scope.enter(0);!this.match(C.braceR);)if(this.match(C._case)||this.match(C._default)){var T=this.match(C._case);h&&this.finishNode(h,"SwitchCase"),x.push(h=this.startNode()),h.consequent=[],this.next(),T?h.test=this.parseExpression():(E&&this.raise(this.state.lastTokStart,le.MultipleDefaultsInSwitch),E=!0,h.test=null),this.expect(C.colon)}else h?h.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),h&&this.finishNode(h,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(o,"SwitchStatement")}},{key:"parseThrowStatement",value:function parseThrowStatement(o){return this.next(),T.test(this.input.slice(this.state.lastTokEnd,this.state.start))&&this.raise(this.state.lastTokEnd,le.NewlineAfterThrow),o.argument=this.parseExpression(),this.semicolon(),this.finishNode(o,"ThrowStatement")}},{key:"parseTryStatement",value:function parseTryStatement(o){var h=this;if(this.next(),o.block=this.parseBlock(),o.handler=null,this.match(C._catch)){var E=this.startNode();if(this.next(),this.match(C.parenL)){this.expect(C.parenL),E.param=this.parseBindingAtom();var x="Identifier"===E.param.type;this.scope.enter(x?8:0),this.checkLVal(E.param,9,null,"catch clause"),this.expect(C.parenR)}else E.param=null,this.scope.enter(0);E.body=this.withTopicForbiddingContext((function(){return h.parseBlock(!1,!1)})),this.scope.exit(),o.handler=this.finishNode(E,"CatchClause")}return o.finalizer=this.eat(C._finally)?this.parseBlock():null,o.handler||o.finalizer||this.raise(o.start,le.NoCatchOrFinally),this.finishNode(o,"TryStatement")}},{key:"parseVarStatement",value:function parseVarStatement(o,h){return this.next(),this.parseVar(o,!1,h),this.semicolon(),this.finishNode(o,"VariableDeclaration")}},{key:"parseWhileStatement",value:function parseWhileStatement(o){var h=this;return this.next(),o.test=this.parseHeaderExpression(),this.state.labels.push($e),o.body=this.withTopicForbiddingContext((function(){return h.parseStatement("while")})),this.state.labels.pop(),this.finishNode(o,"WhileStatement")}},{key:"parseWithStatement",value:function parseWithStatement(o){var h=this;return this.state.strict&&this.raise(this.state.start,le.StrictWith),this.next(),o.object=this.parseHeaderExpression(),o.body=this.withTopicForbiddingContext((function(){return h.parseStatement("with")})),this.finishNode(o,"WithStatement")}},{key:"parseEmptyStatement",value:function parseEmptyStatement(o){return this.next(),this.finishNode(o,"EmptyStatement")}},{key:"parseLabeledStatement",value:function parseLabeledStatement(o,h,E,x){for(var T=0,P=this.state.labels;T=0;R--){var j=this.state.labels[R];if(j.statementStart!==o.start)break;j.statementStart=this.state.start,j.kind=N}return this.state.labels.push({name:h,kind:N,statementStart:this.state.start}),o.body=this.parseStatement(x?-1===x.indexOf("label")?x+"label":x:"label"),this.state.labels.pop(),o.label=E,this.finishNode(o,"LabeledStatement")}},{key:"parseExpressionStatement",value:function parseExpressionStatement(o,h){return o.expression=h,this.semicolon(),this.finishNode(o,"ExpressionStatement")}},{key:"parseBlock",value:function parseBlock(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],h=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],E=arguments.length>2?arguments[2]:void 0,x=this.startNode();return this.expect(C.braceL),h&&this.scope.enter(0),this.parseBlockBody(x,o,!1,C.braceR,E),h&&this.scope.exit(),this.finishNode(x,"BlockStatement")}},{key:"isValidDirective",value:function isValidDirective(o){return"ExpressionStatement"===o.type&&"StringLiteral"===o.expression.type&&!o.expression.extra.parenthesized}},{key:"parseBlockBody",value:function parseBlockBody(o,h,E,x,C){var T=o.body=[],P=o.directives=[];this.parseBlockOrModuleBlockBody(T,h?P:void 0,E,x,C)}},{key:"parseBlockOrModuleBlockBody",value:function parseBlockOrModuleBlockBody(o,h,E,x,C){for(var T=[],P=this.state.strict,N=!1,R=!1;!this.match(x);){!R&&this.state.octalPositions.length&&T.push.apply(T,(0,se.default)(this.state.octalPositions));var j=this.parseStatement(null,E);if(h&&!R&&this.isValidDirective(j)){var ee=this.stmtToDirective(j);h.push(ee),N||"use strict"!==ee.value.value||(N=!0,this.setStrict(!0))}else R=!0,o.push(j)}if(this.state.strict&&T.length)for(var re=0;re-1&&this.unexpected(E):o.await=E>-1,"VariableDeclaration"!==h.type||null==h.declarations[0].init||T&&!this.state.strict&&"var"===h.kind&&"Identifier"===h.declarations[0].id.type?"AssignmentPattern"===h.type&&this.raise(h.start,le.InvalidLhs,"for-loop"):this.raise(h.start,le.ForInOfLoopInitializer,T?"for-in":"for-of"),o.left=h,o.right=T?this.parseExpression():this.parseMaybeAssign(),this.expect(C.parenR),o.body=this.withTopicForbiddingContext((function(){return x.parseStatement("for")})),this.scope.exit(),this.state.labels.pop(),this.finishNode(o,T?"ForInStatement":"ForOfStatement")}},{key:"parseVar",value:function parseVar(o,h,E){var x=o.declarations=[],T=this.hasPlugin("typescript");for(o.kind=E;;){var P=this.startNode();if(this.parseVarId(P,E),this.eat(C.eq)?P.init=this.parseMaybeAssign(h):("const"!==E||this.match(C._in)||this.isContextual("of")?"Identifier"===P.id.type||h&&(this.match(C._in)||this.isContextual("of"))||this.raise(this.state.lastTokEnd,le.DeclarationMissingInitializer,"Complex binding patterns"):T||this.unexpected(),P.init=null),x.push(this.finishNode(P,"VariableDeclarator")),!this.eat(C.comma))break}return o}},{key:"parseVarId",value:function parseVarId(o,h){o.id=this.parseBindingAtom(),this.checkLVal(o.id,"var"===h?5:9,void 0,"variable declaration","var"!==h)}},{key:"parseFunction",value:function parseFunction(o){var h=this,E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,x=arguments.length>2&&void 0!==arguments[2]&&arguments[2],T=1&E,P=2&E,N=!(!T||4&E);this.initFunction(o,x),this.match(C.star)&&P&&this.raise(this.state.start,le.GeneratorInSingleStatementContext),o.generator=this.eat(C.star),T&&(o.id=this.parseFunctionId(N));var R=this.state.maybeInArrowParameters,j=this.state.yieldPos,ee=this.state.awaitPos;return this.state.maybeInArrowParameters=!1,this.state.yieldPos=-1,this.state.awaitPos=-1,this.scope.enter(2),this.prodParam.enter(et(x,o.generator)),T||(o.id=this.parseFunctionId()),this.parseFunctionParams(o),this.withTopicForbiddingContext((function(){h.parseFunctionBodyAndFinish(o,T?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),T&&!P&&this.registerFunctionStatementId(o),this.state.maybeInArrowParameters=R,this.state.yieldPos=j,this.state.awaitPos=ee,o}},{key:"parseFunctionId",value:function parseFunctionId(o){return o||this.match(C.name)?this.parseIdentifier():null}},{key:"parseFunctionParams",value:function parseFunctionParams(o,h){var E=this.state.inParameters;this.state.inParameters=!0,this.expect(C.parenL),o.params=this.parseBindingList(C.parenR,41,!1,h),this.state.inParameters=E,this.checkYieldAwaitInDefaultParams()}},{key:"registerFunctionStatementId",value:function registerFunctionStatementId(o){o.id&&this.scope.declareName(o.id.name,this.state.strict||o.generator||o.async?this.scope.treatFunctionsAsVar?5:9:17,o.id.start)}},{key:"parseClass",value:function parseClass(o,h,E){this.next(),this.takeDecorators(o);var x=this.state.strict;return this.state.strict=!0,this.parseClassId(o,h,E),this.parseClassSuper(o),o.body=this.parseClassBody(!!o.superClass,x),this.state.strict=x,this.finishNode(o,h?"ClassDeclaration":"ClassExpression")}},{key:"isClassProperty",value:function isClassProperty(){return this.match(C.eq)||this.match(C.semi)||this.match(C.braceR)}},{key:"isClassMethod",value:function isClassMethod(){return this.match(C.parenL)}},{key:"isNonstaticConstructor",value:function isNonstaticConstructor(o){return!(o.computed||o.static||"constructor"!==o.key.name&&"constructor"!==o.key.value)}},{key:"parseClassBody",value:function parseClassBody(o,h){var E=this;this.classScope.enter();var x={hadConstructor:!1},T=[],P=this.startNode();if(P.body=[],this.expect(C.braceL),this.withTopicForbiddingContext((function(){for(;!E.match(C.braceR);)if(E.eat(C.semi)){if(T.length>0)throw E.raise(E.state.lastTokEnd,le.DecoratorSemicolon)}else if(E.match(C.at))T.push(E.parseDecorator());else{var h=E.startNode();T.length&&(h.decorators=T,E.resetStartLocationFromNode(h,T[0]),T=[]),E.parseClassMember(P,h,x,o),"constructor"===h.kind&&h.decorators&&h.decorators.length>0&&E.raise(h.start,le.DecoratorConstructor)}})),h||(this.state.strict=!1),this.next(),T.length)throw this.raise(this.state.start,le.TrailingDecorator);return this.classScope.exit(),this.finishNode(P,"ClassBody")}},{key:"parseClassMemberFromModifier",value:function parseClassMemberFromModifier(o,h){var E=this.state.containsEsc,x=this.parseIdentifier(!0);if(this.isClassMethod()){var C=h;return C.kind="method",C.computed=!1,C.key=x,C.static=!1,this.pushClassMethod(o,C,!1,!1,!1,!1),!0}if(this.isClassProperty()){var T=h;return T.computed=!1,T.key=x,T.static=!1,o.body.push(this.parseClassProperty(T)),!0}if(E)throw this.unexpected();return!1}},{key:"parseClassMember",value:function parseClassMember(o,h,E,x){var C=this.isContextual("static");C&&this.parseClassMemberFromModifier(o,h)||this.parseClassMemberWithIsStatic(o,h,E,C,x)}},{key:"parseClassMemberWithIsStatic",value:function parseClassMemberWithIsStatic(o,h,E,x,T){var P=h,N=h,R=h,j=h,ee=P,re=P;if(h.static=x,this.eat(C.star))return ee.kind="method",this.parseClassPropertyName(ee),"PrivateName"===ee.key.type?void this.pushClassPrivateMethod(o,N,!0,!1):(this.isNonstaticConstructor(P)&&this.raise(P.key.start,le.ConstructorIsGenerator),void this.pushClassMethod(o,P,!0,!1,!1,!1));var ne=this.state.containsEsc,ie=this.parseClassPropertyName(h),ae="PrivateName"===ie.type,se="Identifier"===ie.type,oe=this.state.start;if(this.parsePostMemberNameModifiers(re),this.isClassMethod()){if(ee.kind="method",ae)return void this.pushClassPrivateMethod(o,N,!1,!1);var ue=this.isNonstaticConstructor(P),ce=!1;ue&&(P.kind="constructor",E.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(ie.start,le.DuplicateConstructor),E.hadConstructor=!0,ce=T),this.pushClassMethod(o,P,!1,!1,ue,ce)}else if(this.isClassProperty())ae?this.pushClassPrivateProperty(o,j):this.pushClassProperty(o,R);else if(!se||"async"!==ie.name||ne||this.isLineTerminator())!se||"get"!==ie.name&&"set"!==ie.name||ne||this.match(C.star)&&this.isLineTerminator()?this.isLineTerminator()?ae?this.pushClassPrivateProperty(o,j):this.pushClassProperty(o,R):this.unexpected():(ee.kind=ie.name,this.parseClassPropertyName(P),"PrivateName"===ee.key.type?this.pushClassPrivateMethod(o,N,!1,!1):(this.isNonstaticConstructor(P)&&this.raise(P.key.start,le.ConstructorIsAccessor),this.pushClassMethod(o,P,!1,!1,!1,!1)),this.checkGetterSetterParams(P));else{var pe=this.eat(C.star);re.optional&&this.unexpected(oe),ee.kind="method",this.parseClassPropertyName(ee),this.parsePostMemberNameModifiers(re),"PrivateName"===ee.key.type?this.pushClassPrivateMethod(o,N,pe,!0):(this.isNonstaticConstructor(P)&&this.raise(P.key.start,le.ConstructorIsAsync),this.pushClassMethod(o,P,pe,!0,!1,!1))}}},{key:"parseClassPropertyName",value:function parseClassPropertyName(o){var h=this.parsePropertyName(o,!0);return o.computed||!o.static||"prototype"!==h.name&&"prototype"!==h.value||this.raise(h.start,le.StaticPrototype),"PrivateName"===h.type&&"constructor"===h.id.name&&this.raise(h.start,le.ConstructorClassPrivateField),h}},{key:"pushClassProperty",value:function pushClassProperty(o,h){h.computed||"constructor"!==h.key.name&&"constructor"!==h.key.value||this.raise(h.key.start,le.ConstructorClassField),o.body.push(this.parseClassProperty(h))}},{key:"pushClassPrivateProperty",value:function pushClassPrivateProperty(o,h){this.expectPlugin("classPrivateProperties",h.key.start);var E=this.parseClassPrivateProperty(h);o.body.push(E),this.classScope.declarePrivateName(E.key.id.name,0,E.key.start)}},{key:"pushClassMethod",value:function pushClassMethod(o,h,E,x,C,T){o.body.push(this.parseMethod(h,E,x,C,T,"ClassMethod",!0))}},{key:"pushClassPrivateMethod",value:function pushClassPrivateMethod(o,h,E,x){this.expectPlugin("classPrivateMethods",h.key.start);var C=this.parseMethod(h,E,x,!1,!1,"ClassPrivateMethod",!0);o.body.push(C);var T="get"===C.kind?C.static?6:2:"set"===C.kind?C.static?5:1:0;this.classScope.declarePrivateName(C.key.id.name,T,C.key.start)}},{key:"parsePostMemberNameModifiers",value:function parsePostMemberNameModifiers(o){}},{key:"parseAccessModifier",value:function parseAccessModifier(){}},{key:"parseClassPrivateProperty",value:function parseClassPrivateProperty(o){return this.scope.enter(80),this.prodParam.enter(0),o.value=this.eat(C.eq)?this.parseMaybeAssign():null,this.semicolon(),this.prodParam.exit(),this.scope.exit(),this.finishNode(o,"ClassPrivateProperty")}},{key:"parseClassProperty",value:function parseClassProperty(o){return o.typeAnnotation||this.expectPlugin("classProperties"),this.scope.enter(80),this.prodParam.enter(0),this.match(C.eq)?(this.expectPlugin("classProperties"),this.next(),o.value=this.parseMaybeAssign()):o.value=null,this.semicolon(),this.prodParam.exit(),this.scope.exit(),this.finishNode(o,"ClassProperty")}},{key:"parseClassId",value:function parseClassId(o,h,E){var x=arguments.length>3&&void 0!==arguments[3]?arguments[3]:139;this.match(C.name)?(o.id=this.parseIdentifier(),h&&this.checkLVal(o.id,x,void 0,"class name")):E||!h?o.id=null:this.unexpected(null,le.MissingClassName)}},{key:"parseClassSuper",value:function parseClassSuper(o){o.superClass=this.eat(C._extends)?this.parseExprSubscripts():null}},{key:"parseExport",value:function parseExport(o){var h=this.maybeParseExportDefaultSpecifier(o),E=!h||this.eat(C.comma),x=E&&this.eatExportStar(o),T=x&&this.maybeParseExportNamespaceSpecifier(o),P=E&&(!T||this.eat(C.comma)),N=h||x;if(x&&!T)return h&&this.unexpected(),this.parseExportFrom(o,!0),this.finishNode(o,"ExportAllDeclaration");var R,j=this.maybeParseExportNamedSpecifiers(o);if(h&&E&&!x&&!j||T&&P&&!j)throw this.unexpected(null,C.braceL);if(N||j?(R=!1,this.parseExportFrom(o,N)):R=this.maybeParseExportDeclaration(o),N||j||R)return this.checkExport(o,!0,!1,!!o.source),this.finishNode(o,"ExportNamedDeclaration");if(this.eat(C._default))return o.declaration=this.parseExportDefaultExpression(),this.checkExport(o,!0,!0),this.finishNode(o,"ExportDefaultDeclaration");throw this.unexpected(null,C.braceL)}},{key:"eatExportStar",value:function eatExportStar(o){return this.eat(C.star)}},{key:"maybeParseExportDefaultSpecifier",value:function maybeParseExportDefaultSpecifier(o){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");var h=this.startNode();return h.exported=this.parseIdentifier(!0),o.specifiers=[this.finishNode(h,"ExportDefaultSpecifier")],!0}return!1}},{key:"maybeParseExportNamespaceSpecifier",value:function maybeParseExportNamespaceSpecifier(o){if(this.isContextual("as")){o.specifiers||(o.specifiers=[]);var h=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),h.exported=this.parseIdentifier(!0),o.specifiers.push(this.finishNode(h,"ExportNamespaceSpecifier")),!0}return!1}},{key:"maybeParseExportNamedSpecifiers",value:function maybeParseExportNamedSpecifiers(o){var h;return!!this.match(C.braceL)&&(o.specifiers||(o.specifiers=[]),(h=o.specifiers).push.apply(h,(0,se.default)(this.parseExportSpecifiers())),o.source=null,o.declaration=null,!0)}},{key:"maybeParseExportDeclaration",value:function maybeParseExportDeclaration(o){if(this.shouldParseExportDeclaration()){if(this.isContextual("async")){var h=this.nextTokenStart();this.isUnparsedContextual(h,"function")||this.unexpected(h,C._function)}return o.specifiers=[],o.source=null,o.declaration=this.parseExportDeclaration(o),!0}return!1}},{key:"isAsyncFunction",value:function isAsyncFunction(){if(!this.isContextual("async"))return!1;var o=this.nextTokenStart();return!T.test(this.input.slice(this.state.pos,o))&&this.isUnparsedContextual(o,"function")}},{key:"parseExportDefaultExpression",value:function parseExportDefaultExpression(){var o=this.startNode(),h=this.isAsyncFunction();if(this.match(C._function)||h)return this.next(),h&&this.next(),this.parseFunction(o,5,h);if(this.match(C._class))return this.parseClass(o,!0,!0);if(this.match(C.at))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,le.DecoratorBeforeExport),this.parseDecorators(!1),this.parseClass(o,!0,!0);if(this.match(C._const)||this.match(C._var)||this.isLet())throw this.raise(this.state.start,le.UnsupportedDefaultExport);var E=this.parseMaybeAssign();return this.semicolon(),E}},{key:"parseExportDeclaration",value:function parseExportDeclaration(o){return this.parseStatement(null)}},{key:"isExportDefaultSpecifier",value:function isExportDefaultSpecifier(){if(this.match(C.name))return"async"!==this.state.value&&"let"!==this.state.value;if(!this.match(C._default))return!1;var o=this.nextTokenStart();return 44===this.input.charCodeAt(o)||this.isUnparsedContextual(o,"from")}},{key:"parseExportFrom",value:function parseExportFrom(o,h){this.eatContextual("from")?(o.source=this.parseImportSource(),this.checkExport(o)):h?this.unexpected():o.source=null,this.semicolon()}},{key:"shouldParseExportDeclaration",value:function shouldParseExportDeclaration(){if(this.match(C.at)&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(!this.getPluginOption("decorators","decoratorsBeforeExport"))return!0;this.unexpected(this.state.start,le.DecoratorBeforeExport)}return"var"===this.state.type.keyword||"const"===this.state.type.keyword||"function"===this.state.type.keyword||"class"===this.state.type.keyword||this.isLet()||this.isAsyncFunction()}},{key:"checkExport",value:function checkExport(o,h,E,x){if(h)if(E)this.checkDuplicateExports(o,"default");else if(o.specifiers&&o.specifiers.length)for(var C=0,T=o.specifiers;C-1&&this.raise(o.start,"default"===h?le.DuplicateDefaultExport:le.DuplicateExport,h),this.state.exportedIdentifiers.push(h)}},{key:"parseExportSpecifiers",value:function parseExportSpecifiers(){var o=[],h=!0;for(this.expect(C.braceL);!this.eat(C.braceR);){if(h)h=!1;else if(this.expect(C.comma),this.eat(C.braceR))break;var E=this.startNode();E.local=this.parseIdentifier(!0),E.exported=this.eatContextual("as")?this.parseIdentifier(!0):E.local.__clone(),o.push(this.finishNode(E,"ExportSpecifier"))}return o}},{key:"parseImport",value:function parseImport(o){if(o.specifiers=[],!this.match(C.string)){var h=!this.maybeParseDefaultImportSpecifier(o)||this.eat(C.comma),E=h&&this.maybeParseStarImportSpecifier(o);h&&!E&&this.parseNamedImportSpecifiers(o),this.expectContextual("from")}return o.source=this.parseImportSource(),this.semicolon(),this.finishNode(o,"ImportDeclaration")}},{key:"parseImportSource",value:function parseImportSource(){return this.match(C.string)||this.unexpected(),this.parseExprAtom()}},{key:"shouldParseDefaultImport",value:function shouldParseDefaultImport(o){return this.match(C.name)}},{key:"parseImportSpecifierLocal",value:function parseImportSpecifierLocal(o,h,E,x){h.local=this.parseIdentifier(),this.checkLVal(h.local,9,void 0,x),o.specifiers.push(this.finishNode(h,E))}},{key:"maybeParseDefaultImportSpecifier",value:function maybeParseDefaultImportSpecifier(o){return!!this.shouldParseDefaultImport(o)&&(this.parseImportSpecifierLocal(o,this.startNode(),"ImportDefaultSpecifier","default import specifier"),!0)}},{key:"maybeParseStarImportSpecifier",value:function maybeParseStarImportSpecifier(o){if(this.match(C.star)){var h=this.startNode();return this.next(),this.expectContextual("as"),this.parseImportSpecifierLocal(o,h,"ImportNamespaceSpecifier","import namespace specifier"),!0}return!1}},{key:"parseNamedImportSpecifiers",value:function parseNamedImportSpecifiers(o){var h=!0;for(this.expect(C.braceL);!this.eat(C.braceR);){if(h)h=!1;else{if(this.eat(C.colon))throw this.raise(this.state.start,le.DestructureNamedImport);if(this.expect(C.comma),this.eat(C.braceR))break}this.parseImportSpecifier(o)}}},{key:"parseImportSpecifier",value:function parseImportSpecifier(o){var h=this.startNode();h.imported=this.parseIdentifier(!0),this.eatContextual("as")?h.local=this.parseIdentifier():(this.checkReservedWord(h.imported.name,h.start,!0,!0),h.local=h.imported.__clone()),this.checkLVal(h.local,9,void 0,"import specifier"),o.specifiers.push(this.finishNode(h,"ImportSpecifier"))}}]),_class7}(function(o){(0,ee.default)(_class8,o);var h=_createSuper(_class8);function _class8(){return(0,ae.default)(this,_class8),h.apply(this,arguments)}return(0,ie.default)(_class8,[{key:"checkDuplicatedProto",value:function checkDuplicatedProto(o,h,E){if(!("SpreadElement"===o.type||o.computed||o.kind||o.shorthand)){var x=o.key;"__proto__"===("Identifier"===x.type?x.name:String(x.value))&&(h.used&&(E?-1===E.doubleProto&&(E.doubleProto=x.start):this.raise(x.start,le.DuplicateProto)),h.used=!0)}}},{key:"getExpression",value:function getExpression(){var o=0;this.hasPlugin("topLevelAwait")&&this.inModule&&(o|=2),this.scope.enter(1),this.prodParam.enter(o),this.nextToken();var h=this.parseExpression();return this.match(C.eof)||this.unexpected(),h.comments=this.state.comments,h.errors=this.state.errors,h}},{key:"parseExpression",value:function parseExpression(o,h){var E=this.state.start,x=this.state.startLoc,T=this.parseMaybeAssign(o,h);if(this.match(C.comma)){var P=this.startNodeAt(E,x);for(P.expressions=[T];this.eat(C.comma);)P.expressions.push(this.parseMaybeAssign(o,h));return this.toReferencedList(P.expressions),this.finishNode(P,"SequenceExpression")}return T}},{key:"parseMaybeAssign",value:function parseMaybeAssign(o,h,E,x){var T,P=this.state.start,N=this.state.startLoc;if(this.isContextual("yield")){if(this.prodParam.hasYield){var R=this.parseYield(o);return E&&(R=E.call(this,R,P,N)),R}this.state.exprAllowed=!1}h?T=!1:(h=new Ke,T=!0),(this.match(C.parenL)||this.match(C.name))&&(this.state.potentialArrowAt=this.state.start);var j=this.parseMaybeConditional(o,h,x);if(E&&(j=E.call(this,j,P,N)),this.state.type.isAssign){var ee=this.startNodeAt(P,N),re=this.state.value;return ee.operator=re,"??="===re&&this.expectPlugin("logicalAssignment"),"||="!==re&&"&&="!==re||this.expectPlugin("logicalAssignment"),this.match(C.eq)?(ee.left=this.toAssignable(j),h.doubleProto=-1):ee.left=j,h.shorthandAssign>=ee.left.start&&(h.shorthandAssign=-1),this.checkLVal(j,void 0,void 0,"assignment expression"),this.next(),ee.right=this.parseMaybeAssign(o),this.finishNode(ee,"AssignmentExpression")}return T&&this.checkExpressionErrors(h,!0),j}},{key:"parseMaybeConditional",value:function parseMaybeConditional(o,h,E){var x=this.state.start,C=this.state.startLoc,T=this.state.potentialArrowAt,P=this.parseExprOps(o,h);return"ArrowFunctionExpression"===P.type&&P.start===T||this.checkExpressionErrors(h,!1)?P:this.parseConditional(P,o,x,C,E)}},{key:"parseConditional",value:function parseConditional(o,h,E,x,T){if(this.eat(C.question)){var P=this.startNodeAt(E,x);return P.test=o,P.consequent=this.parseMaybeAssign(),this.expect(C.colon),P.alternate=this.parseMaybeAssign(h),this.finishNode(P,"ConditionalExpression")}return o}},{key:"parseExprOps",value:function parseExprOps(o,h){var E=this.state.start,x=this.state.startLoc,C=this.state.potentialArrowAt,T=this.parseMaybeUnary(h);return"ArrowFunctionExpression"===T.type&&T.start===C||this.checkExpressionErrors(h,!1)?T:this.parseExprOp(T,E,x,-1,o)}},{key:"parseExprOp",value:function parseExprOp(o,h,E,x,T){var P=this.state.type.binop;if(!(null==P||T&&this.match(C._in))&&P>x){var N=this.state.value;if("|>"===N&&this.state.inFSharpPipelineDirectBody)return o;var R=this.startNodeAt(h,E);R.left=o,R.operator=N,"**"!==N||"UnaryExpression"!==o.type||!this.options.createParenthesizedExpressions&&o.extra&&o.extra.parenthesized||this.raise(o.argument.start,le.UnexpectedTokenUnaryExponentiation);var j=this.state.type,ee=j===C.logicalOR||j===C.logicalAND,re=j===C.nullishCoalescing;if(j===C.pipeline?(this.expectPlugin("pipelineOperator"),this.state.inPipeline=!0,this.checkPipelineAtInfixOperator(o,h)):re&&(P=C.logicalAND.binop),this.next(),j===C.pipeline&&"minimal"===this.getPluginOption("pipelineOperator","proposal")&&this.match(C.name)&&"await"===this.state.value&&this.prodParam.hasAwait)throw this.raise(this.state.start,le.UnexpectedAwaitAfterPipelineBody);R.right=this.parseExprOpRightExpr(j,P,T),this.finishNode(R,ee||re?"LogicalExpression":"BinaryExpression");var ne=this.state.type;if(re&&(ne===C.logicalOR||ne===C.logicalAND)||ee&&ne===C.nullishCoalescing)throw this.raise(this.state.start,le.MixingCoalesceWithLogical);return this.parseExprOp(R,h,E,x,T)}return o}},{key:"parseExprOpRightExpr",value:function parseExprOpRightExpr(o,h,E){var x=this,T=this.state.start,P=this.state.startLoc;switch(o){case C.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext((function(){return x.parseSmartPipelineBody(x.parseExprOpBaseRightExpr(o,h,E),T,P)}));case"fsharp":return this.withSoloAwaitPermittingContext((function(){return x.parseFSharpPipelineBody(h,E)}))}default:return this.parseExprOpBaseRightExpr(o,h,E)}}},{key:"parseExprOpBaseRightExpr",value:function parseExprOpBaseRightExpr(o,h,E){var x=this.state.start,C=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),x,C,o.rightAssociative?h-1:h,E)}},{key:"parseMaybeUnary",value:function parseMaybeUnary(o){if(this.isContextual("await")&&this.isAwaitAllowed())return this.parseAwait();if(this.state.type.prefix){var h=this.startNode(),E=this.match(C.incDec);if(h.operator=this.state.value,h.prefix=!0,"throw"===h.operator&&this.expectPlugin("throwExpressions"),this.next(),h.argument=this.parseMaybeUnary(),this.checkExpressionErrors(o,!0),E)this.checkLVal(h.argument,void 0,void 0,"prefix operation");else if(this.state.strict&&"delete"===h.operator){var x=h.argument;"Identifier"===x.type?this.raise(h.start,le.StrictDelete):"MemberExpression"===x.type&&"PrivateName"===x.property.type&&this.raise(h.start,le.DeletePrivateField)}return this.finishNode(h,E?"UpdateExpression":"UnaryExpression")}var T=this.state.start,P=this.state.startLoc,N=this.parseExprSubscripts(o);if(this.checkExpressionErrors(o,!1))return N;for(;this.state.type.postfix&&!this.canInsertSemicolon();){var R=this.startNodeAt(T,P);R.operator=this.state.value,R.prefix=!1,R.argument=N,this.checkLVal(N,void 0,void 0,"postfix operation"),this.next(),N=this.finishNode(R,"UpdateExpression")}return N}},{key:"parseExprSubscripts",value:function parseExprSubscripts(o){var h=this.state.start,E=this.state.startLoc,x=this.state.potentialArrowAt,C=this.parseExprAtom(o);return"ArrowFunctionExpression"===C.type&&C.start===x?C:this.parseSubscripts(C,h,E)}},{key:"parseSubscripts",value:function parseSubscripts(o,h,E,x){var C={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(o),stop:!1};do{var T=this.state.maybeInAsyncArrowHead;C.maybeAsyncArrow&&(this.state.maybeInAsyncArrowHead=!0),o=this.parseSubscript(o,h,E,x,C),C.maybeAsyncArrow=!1,this.state.maybeInAsyncArrowHead=T}while(!C.stop);return o}},{key:"parseSubscript",value:function parseSubscript(o,h,E,x,T){if(!x&&this.eat(C.doubleColon)){var P=this.startNodeAt(h,E);return P.object=o,P.callee=this.parseNoCallExpr(),T.stop=!0,this.parseSubscripts(this.finishNode(P,"BindExpression"),h,E,x)}var N=!1;if(this.match(C.questionDot)){if(T.optionalChainMember=N=!0,x&&40===this.lookaheadCharCode())return T.stop=!0,o;this.next()}var R=this.eat(C.bracketL);if(N&&!this.match(C.parenL)&&!this.match(C.backQuote)||R||this.eat(C.dot)){var j=this.startNodeAt(h,E);return j.object=o,j.property=R?this.parseExpression():N?this.parseIdentifier(!0):this.parseMaybePrivateName(!0),j.computed=R,"PrivateName"===j.property.type&&("Super"===j.object.type&&this.raise(h,le.SuperPrivateField),this.classScope.usePrivateName(j.property.id.name,j.property.start)),R&&this.expect(C.bracketR),T.optionalChainMember?(j.optional=N,this.finishNode(j,"OptionalMemberExpression")):this.finishNode(j,"MemberExpression")}if(!x&&this.match(C.parenL)){var ee=this.state.maybeInArrowParameters,re=this.state.yieldPos,ne=this.state.awaitPos;this.state.maybeInArrowParameters=!0,this.state.yieldPos=-1,this.state.awaitPos=-1,this.next();var ie=this.startNodeAt(h,E);return ie.callee=o,N?(ie.optional=!0,ie.arguments=this.parseCallExpressionArguments(C.parenR,!1)):ie.arguments=this.parseCallExpressionArguments(C.parenR,T.maybeAsyncArrow,"Import"===o.type,"Super"!==o.type,ie),this.finishCallExpression(ie,T.optionalChainMember),T.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!N?(T.stop=!0,ie=this.parseAsyncArrowFromCallExpression(this.startNodeAt(h,E),ie),this.checkYieldAwaitInDefaultParams(),this.state.yieldPos=re,this.state.awaitPos=ne):(this.toReferencedListDeep(ie.arguments),-1!==re&&(this.state.yieldPos=re),(this.isAwaitAllowed()||ee)&&-1===ne||(this.state.awaitPos=ne)),this.state.maybeInArrowParameters=ee,ie}return this.match(C.backQuote)?this.parseTaggedTemplateExpression(h,E,o,T):(T.stop=!0,o)}},{key:"parseTaggedTemplateExpression",value:function parseTaggedTemplateExpression(o,h,E,x,C){var T=this.startNodeAt(o,h);return T.tag=E,T.quasi=this.parseTemplate(!0),C&&(T.typeParameters=C),x.optionalChainMember&&this.raise(o,le.OptionalChainingNoTemplate),this.finishNode(T,"TaggedTemplateExpression")}},{key:"atPossibleAsyncArrow",value:function atPossibleAsyncArrow(o){return"Identifier"===o.type&&"async"===o.name&&this.state.lastTokEnd===o.end&&!this.canInsertSemicolon()&&o.end-o.start==5&&o.start===this.state.potentialArrowAt}},{key:"finishCallExpression",value:function finishCallExpression(o,h){if("Import"===o.callee.type)if(1!==o.arguments.length)this.raise(o.start,le.ImportCallArity);else{var E=o.arguments[0];E&&"SpreadElement"===E.type&&this.raise(E.start,le.ImportCallSpreadArgument)}return this.finishNode(o,h?"OptionalCallExpression":"CallExpression")}},{key:"parseCallExpressionArguments",value:function parseCallExpressionArguments(o,h,E,x,T){var P,N=[],R=!0,j=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(o);){if(R)R=!1;else if(this.expect(C.comma),this.match(o)){E&&this.raise(this.state.lastTokStart,le.ImportCallArgumentTrailingComma),T&&this.addExtra(T,"trailingComma",this.state.lastTokStart),this.next();break}this.match(C.parenL)&&!P&&(P=this.state.start),N.push(this.parseExprListItem(!1,h?new Ke:void 0,h?{start:0}:void 0,x))}return h&&P&&this.shouldParseAsyncArrow()&&this.unexpected(),this.state.inFSharpPipelineDirectBody=j,N}},{key:"shouldParseAsyncArrow",value:function shouldParseAsyncArrow(){return this.match(C.arrow)&&!this.canInsertSemicolon()}},{key:"parseAsyncArrowFromCallExpression",value:function parseAsyncArrowFromCallExpression(o,h){var E;return this.expect(C.arrow),this.parseArrowExpression(o,h.arguments,!0,null==(E=h.extra)?void 0:E.trailingComma),o}},{key:"parseNoCallExpr",value:function parseNoCallExpr(){var o=this.state.start,h=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),o,h,!0)}},{key:"parseExprAtom",value:function parseExprAtom(o){this.state.type===C.slash&&this.readRegexp();var h,E=this.state.potentialArrowAt===this.state.start;switch(this.state.type){case C._super:return h=this.startNode(),this.next(),!this.match(C.parenL)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(h.start,le.UnexpectedSuper):this.raise(h.start,le.SuperNotAllowed),this.match(C.parenL)||this.match(C.bracketL)||this.match(C.dot)||this.raise(h.start,le.UnsupportedSuper),this.finishNode(h,"Super");case C._import:return h=this.startNode(),this.next(),this.match(C.dot)?this.parseImportMetaProperty(h):(this.match(C.parenL)||this.raise(this.state.lastTokStart,le.UnsupportedImport),this.finishNode(h,"Import"));case C._this:return h=this.startNode(),this.next(),this.finishNode(h,"ThisExpression");case C.name:h=this.startNode();var x=this.state.containsEsc,T=this.parseIdentifier();if(!x&&"async"===T.name&&this.match(C._function)&&!this.canInsertSemicolon()){var P=this.state.context.length-1;if(this.state.context[P]!==pe.functionStatement)throw new Error("Internal error");return this.state.context[P]=pe.functionExpression,this.next(),this.parseFunction(h,void 0,!0)}if(E&&!x&&"async"===T.name&&this.match(C.name)&&!this.canInsertSemicolon()){var N=this.state.maybeInArrowParameters,R=this.state.maybeInAsyncArrowHead,j=this.state.yieldPos,ee=this.state.awaitPos;this.state.maybeInArrowParameters=!0,this.state.maybeInAsyncArrowHead=!0,this.state.yieldPos=-1,this.state.awaitPos=-1;var re=[this.parseIdentifier()];return this.expect(C.arrow),this.checkYieldAwaitInDefaultParams(),this.state.maybeInArrowParameters=N,this.state.maybeInAsyncArrowHead=R,this.state.yieldPos=j,this.state.awaitPos=ee,this.parseArrowExpression(h,re,!0),h}return E&&this.match(C.arrow)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(h,[T],!1),h):T;case C._do:this.expectPlugin("doExpressions");var ne=this.startNode();this.next();var ie=this.state.labels;return this.state.labels=[],ne.body=this.parseBlock(),this.state.labels=ie,this.finishNode(ne,"DoExpression");case C.regexp:var ae=this.state.value;return(h=this.parseLiteral(ae.value,"RegExpLiteral")).pattern=ae.pattern,h.flags=ae.flags,h;case C.num:return this.parseLiteral(this.state.value,"NumericLiteral");case C.bigint:return this.parseLiteral(this.state.value,"BigIntLiteral");case C.string:return this.parseLiteral(this.state.value,"StringLiteral");case C._null:return h=this.startNode(),this.next(),this.finishNode(h,"NullLiteral");case C._true:case C._false:return this.parseBooleanLiteral();case C.parenL:return this.parseParenAndDistinguishExpression(E);case C.bracketBarL:case C.bracketHashL:this.expectPlugin("recordAndTuple");var se=this.state.inFSharpPipelineDirectBody,oe=this.state.type===C.bracketBarL?C.bracketBarR:C.bracketR;return this.state.inFSharpPipelineDirectBody=!1,h=this.startNode(),this.next(),h.elements=this.parseExprList(oe,!0,o,h),this.state.inFSharpPipelineDirectBody=se,this.finishNode(h,"TupleExpression");case C.bracketL:var ue=this.state.inFSharpPipelineDirectBody;return this.state.inFSharpPipelineDirectBody=!1,h=this.startNode(),this.next(),h.elements=this.parseExprList(C.bracketR,!0,o,h),this.state.maybeInArrowParameters||this.toReferencedList(h.elements),this.state.inFSharpPipelineDirectBody=ue,this.finishNode(h,"ArrayExpression");case C.braceBarL:case C.braceHashL:this.expectPlugin("recordAndTuple");var ce=this.state.inFSharpPipelineDirectBody,fe=this.state.type===C.braceBarL?C.braceBarR:C.braceR;this.state.inFSharpPipelineDirectBody=!1;var he=this.parseObj(fe,!1,!0,o);return this.state.inFSharpPipelineDirectBody=ce,he;case C.braceL:var de=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;var me=this.parseObj(C.braceR,!1,!1,o);return this.state.inFSharpPipelineDirectBody=de,me;case C._function:return this.parseFunctionExpression();case C.at:this.parseDecorators();case C._class:return h=this.startNode(),this.takeDecorators(h),this.parseClass(h,!1);case C._new:return this.parseNew();case C.backQuote:return this.parseTemplate(!1);case C.doubleColon:h=this.startNode(),this.next(),h.object=null;var ye=h.callee=this.parseNoCallExpr();if("MemberExpression"===ye.type)return this.finishNode(h,"BindExpression");throw this.raise(ye.start,le.UnsupportedBind);case C.hash:if(this.state.inPipeline)return h=this.startNode(),"smart"!==this.getPluginOption("pipelineOperator","proposal")&&this.raise(h.start,le.PrimaryTopicRequiresSmartPipeline),this.next(),this.primaryTopicReferenceIsAllowedInCurrentTopicContext()||this.raise(h.start,le.PrimaryTopicNotAllowed),this.registerTopicReference(),this.finishNode(h,"PipelinePrimaryTopicReference");default:throw this.unexpected()}}},{key:"parseBooleanLiteral",value:function parseBooleanLiteral(){var o=this.startNode();return o.value=this.match(C._true),this.next(),this.finishNode(o,"BooleanLiteral")}},{key:"parseMaybePrivateName",value:function parseMaybePrivateName(o){if(this.match(C.hash)){this.expectOnePlugin(["classPrivateProperties","classPrivateMethods"]),o||this.raise(this.state.pos,le.UnexpectedPrivateField);var h=this.startNode();return this.next(),this.assertNoSpace("Unexpected space between # and identifier"),h.id=this.parseIdentifier(!0),this.finishNode(h,"PrivateName")}return this.parseIdentifier(!0)}},{key:"parseFunctionExpression",value:function parseFunctionExpression(){var o=this.startNode(),h=this.startNode();return this.next(),h=this.createIdentifier(h,"function"),this.prodParam.hasYield&&this.eat(C.dot)?this.parseMetaProperty(o,h,"sent"):this.parseFunction(o)}},{key:"parseMetaProperty",value:function parseMetaProperty(o,h,E){o.meta=h,"function"===h.name&&"sent"===E&&(this.isContextual(E)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected());var x=this.state.containsEsc;return o.property=this.parseIdentifier(!0),(o.property.name!==E||x)&&this.raise(o.property.start,le.UnsupportedMetaProperty,h.name,E),this.finishNode(o,"MetaProperty")}},{key:"parseImportMetaProperty",value:function parseImportMetaProperty(o){var h=this.createIdentifier(this.startNodeAtNode(o),"import");return this.expect(C.dot),this.isContextual("meta")?(this.expectPlugin("importMeta"),this.inModule||this.raiseWithData(h.start,{code:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},le.ImportMetaOutsideModule),this.sawUnambiguousESM=!0):this.hasPlugin("importMeta")||this.raise(h.start,le.ImportCallArityLtOne),this.parseMetaProperty(o,h,"meta")}},{key:"parseLiteral",value:function parseLiteral(o,h,E,x){E=E||this.state.start,x=x||this.state.startLoc;var C=this.startNodeAt(E,x);return this.addExtra(C,"rawValue",o),this.addExtra(C,"raw",this.input.slice(E,this.state.end)),C.value=o,this.next(),this.finishNode(C,h)}},{key:"parseParenAndDistinguishExpression",value:function parseParenAndDistinguishExpression(o){var h,E=this.state.start,x=this.state.startLoc;this.expect(C.parenL);var T=this.state.maybeInArrowParameters,P=this.state.yieldPos,N=this.state.awaitPos,R=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.yieldPos=-1,this.state.awaitPos=-1,this.state.inFSharpPipelineDirectBody=!1;for(var j,ee,re=this.state.start,ne=this.state.startLoc,ie=[],ae=new Ke,se={start:0},oe=!0;!this.match(C.parenR);){if(oe)oe=!1;else if(this.expect(C.comma,se.start||null),this.match(C.parenR)){ee=this.state.start;break}if(this.match(C.ellipsis)){var ue=this.state.start,le=this.state.startLoc;j=this.state.start,ie.push(this.parseParenItem(this.parseRestBinding(),ue,le)),this.checkCommaAfterRest(41);break}ie.push(this.parseMaybeAssign(!1,ae,this.parseParenItem,se))}var ce=this.state.start,pe=this.state.startLoc;this.expect(C.parenR),this.state.maybeInArrowParameters=T,this.state.inFSharpPipelineDirectBody=R;var fe=this.startNodeAt(E,x);if(o&&this.shouldParseArrow()&&(fe=this.parseArrow(fe))){this.isAwaitAllowed()||this.state.maybeInAsyncArrowHead||(this.state.awaitPos=N),this.checkYieldAwaitInDefaultParams(),this.state.yieldPos=P,this.state.awaitPos=N;for(var he=0;he1?((h=this.startNodeAt(re,ne)).expressions=ie,this.finishNodeAt(h,"SequenceExpression",ce,pe)):h=ie[0],!this.options.createParenthesizedExpressions)return this.addExtra(h,"parenthesized",!0),this.addExtra(h,"parenStart",E),h;var me=this.startNodeAt(E,x);return me.expression=h,this.finishNode(me,"ParenthesizedExpression"),me}},{key:"shouldParseArrow",value:function shouldParseArrow(){return!this.canInsertSemicolon()}},{key:"parseArrow",value:function parseArrow(o){if(this.eat(C.arrow))return o}},{key:"parseParenItem",value:function parseParenItem(o,h,E){return o}},{key:"parseNew",value:function parseNew(){var o=this.startNode(),h=this.startNode();if(this.next(),h=this.createIdentifier(h,"new"),this.eat(C.dot)){var E=this.parseMetaProperty(o,h,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass){var x=le.UnexpectedNewTarget;this.hasPlugin("classProperties")&&(x+=" or class properties"),this.raise(E.start,x)}return E}return o.callee=this.parseNoCallExpr(),"Import"===o.callee.type?this.raise(o.callee.start,le.ImportCallNotNewExpression):"OptionalMemberExpression"===o.callee.type||"OptionalCallExpression"===o.callee.type?this.raise(this.state.lastTokEnd,le.OptionalChainingNoNew):this.eat(C.questionDot)&&this.raise(this.state.start,le.OptionalChainingNoNew),this.parseNewArguments(o),this.finishNode(o,"NewExpression")}},{key:"parseNewArguments",value:function parseNewArguments(o){if(this.eat(C.parenL)){var h=this.parseExprList(C.parenR);this.toReferencedList(h),o.arguments=h}else o.arguments=[]}},{key:"parseTemplateElement",value:function parseTemplateElement(o){var h=this.startNode();return null===this.state.value&&(o||this.raise(this.state.start+1,le.InvalidEscapeSequenceTemplate)),h.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value},this.next(),h.tail=this.match(C.backQuote),this.finishNode(h,"TemplateElement")}},{key:"parseTemplate",value:function parseTemplate(o){var h=this.startNode();this.next(),h.expressions=[];var E=this.parseTemplateElement(o);for(h.quasis=[E];!E.tail;)this.expect(C.dollarBraceL),h.expressions.push(this.parseExpression()),this.expect(C.braceR),h.quasis.push(E=this.parseTemplateElement(o));return this.next(),this.finishNode(h,"TemplateLiteral")}},{key:"parseObj",value:function parseObj(o,h,E,x){var T=Object.create(null),P=!0,N=this.startNode();for(N.properties=[],this.next();!this.eat(o);){if(P)P=!1;else if(this.expect(C.comma),this.match(o)){this.addExtra(N,"trailingComma",this.state.lastTokStart),this.next();break}var R=this.parseObjectMember(h,x);h||this.checkDuplicatedProto(R,T,x),R.shorthand&&this.addExtra(R,"shorthand",!0),N.properties.push(R)}var j="ObjectExpression";return h?j="ObjectPattern":E&&(j="RecordExpression"),this.finishNode(N,j)}},{key:"isAsyncProp",value:function isAsyncProp(o){return!o.computed&&"Identifier"===o.key.type&&"async"===o.key.name&&(this.match(C.name)||this.match(C.num)||this.match(C.string)||this.match(C.bracketL)||this.state.type.keyword||this.match(C.star))&&!this.hasPrecedingLineBreak()}},{key:"parseObjectMember",value:function parseObjectMember(o,h){var E=[];if(this.match(C.at))for(this.hasPlugin("decorators")&&this.raise(this.state.start,le.UnsupportedPropertyDecorator);this.match(C.at);)E.push(this.parseDecorator());var x,T,P=this.startNode(),N=!1,R=!1;if(this.match(C.ellipsis))return E.length&&this.unexpected(),o?(this.next(),P.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(P,"RestElement")):this.parseSpread();E.length&&(P.decorators=E,E=[]),P.method=!1,(o||h)&&(x=this.state.start,T=this.state.startLoc),o||(N=this.eat(C.star));var j=this.state.containsEsc;return this.parsePropertyName(P,!1),o||j||N||!this.isAsyncProp(P)?R=!1:(R=!0,N=this.eat(C.star),this.parsePropertyName(P,!1)),this.parseObjPropValue(P,x,T,N,R,o,h,j),P}},{key:"isGetterOrSetterMethod",value:function isGetterOrSetterMethod(o,h){return!h&&!o.computed&&"Identifier"===o.key.type&&("get"===o.key.name||"set"===o.key.name)&&(this.match(C.string)||this.match(C.num)||this.match(C.bracketL)||this.match(C.name)||!!this.state.type.keyword)}},{key:"getGetterSetterExpectedParamCount",value:function getGetterSetterExpectedParamCount(o){return"get"===o.kind?0:1}},{key:"checkGetterSetterParams",value:function checkGetterSetterParams(o){var h=this.getGetterSetterExpectedParamCount(o),E=o.start;o.params.length!==h&&("get"===o.kind?this.raise(E,le.BadGetterArity):this.raise(E,le.BadSetterArity)),"set"===o.kind&&"RestElement"===o.params[o.params.length-1].type&&this.raise(E,le.BadSetterRestParameter)}},{key:"parseObjectMethod",value:function parseObjectMethod(o,h,E,x,T){return E||h||this.match(C.parenL)?(x&&this.unexpected(),o.kind="method",o.method=!0,this.parseMethod(o,h,E,!1,!1,"ObjectMethod")):!T&&this.isGetterOrSetterMethod(o,x)?((h||E)&&this.unexpected(),o.kind=o.key.name,this.parsePropertyName(o,!1),this.parseMethod(o,!1,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(o),o):void 0}},{key:"parseObjectProperty",value:function parseObjectProperty(o,h,E,x,T){return o.shorthand=!1,this.eat(C.colon)?(o.value=x?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssign(!1,T),this.finishNode(o,"ObjectProperty")):o.computed||"Identifier"!==o.key.type?void 0:(this.checkReservedWord(o.key.name,o.key.start,!0,!0),x?o.value=this.parseMaybeDefault(h,E,o.key.__clone()):this.match(C.eq)&&T?(-1===T.shorthandAssign&&(T.shorthandAssign=this.state.start),o.value=this.parseMaybeDefault(h,E,o.key.__clone())):o.value=o.key.__clone(),o.shorthand=!0,this.finishNode(o,"ObjectProperty"))}},{key:"parseObjPropValue",value:function parseObjPropValue(o,h,E,x,C,T,P,N){var R=this.parseObjectMethod(o,x,C,T,N)||this.parseObjectProperty(o,h,E,T,P);return R||this.unexpected(),R}},{key:"parsePropertyName",value:function parsePropertyName(o,h){if(this.eat(C.bracketL))o.computed=!0,o.key=this.parseMaybeAssign(),this.expect(C.bracketR);else{var E=this.state.inPropertyName;this.state.inPropertyName=!0,o.key=this.match(C.num)||this.match(C.string)||this.match(C.bigint)?this.parseExprAtom():this.parseMaybePrivateName(h),"PrivateName"!==o.key.type&&(o.computed=!1),this.state.inPropertyName=E}return o.key}},{key:"initFunction",value:function initFunction(o,h){o.id=null,o.generator=!1,o.async=!!h}},{key:"parseMethod",value:function parseMethod(o,h,E,x,C,T){var P=arguments.length>6&&void 0!==arguments[6]&&arguments[6],N=this.state.yieldPos,R=this.state.awaitPos;this.state.yieldPos=-1,this.state.awaitPos=-1,this.initFunction(o,E),o.generator=!!h;var j=x;return this.scope.enter(18|(P?64:0)|(C?32:0)),this.prodParam.enter(et(E,o.generator)),this.parseFunctionParams(o,j),this.parseFunctionBodyAndFinish(o,T,!0),this.prodParam.exit(),this.scope.exit(),this.state.yieldPos=N,this.state.awaitPos=R,o}},{key:"parseArrowExpression",value:function parseArrowExpression(o,h,E,x){this.scope.enter(6),this.prodParam.enter(et(E,!1)),this.initFunction(o,E);var C=this.state.maybeInArrowParameters,T=this.state.yieldPos,P=this.state.awaitPos;return h&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(o,h,x)),this.state.maybeInArrowParameters=!1,this.state.yieldPos=-1,this.state.awaitPos=-1,this.parseFunctionBody(o,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=C,this.state.yieldPos=T,this.state.awaitPos=P,this.finishNode(o,"ArrowFunctionExpression")}},{key:"setArrowFunctionParameters",value:function setArrowFunctionParameters(o,h,E){o.params=this.toAssignableList(h,E)}},{key:"parseFunctionBodyAndFinish",value:function parseFunctionBodyAndFinish(o,h){var E=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parseFunctionBody(o,!1,E),this.finishNode(o,h)}},{key:"parseFunctionBody",value:function parseFunctionBody(o,h){var E=this,x=arguments.length>2&&void 0!==arguments[2]&&arguments[2],T=h&&!this.match(C.braceL),P=this.state.inParameters;if(this.state.inParameters=!1,T)o.body=this.parseMaybeAssign(),this.checkParams(o,!1,h,!1);else{var N=this.state.strict,R=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),o.body=this.parseBlock(!0,!1,(function(C){var T=!E.isSimpleParamList(o.params);if(C&&T){var P="method"!==o.kind&&"constructor"!==o.kind||!o.key?o.start:o.key.end;E.raise(P,le.IllegalLanguageModeDirective)}var R=!N&&E.state.strict;E.checkParams(o,!(E.state.strict||h||x||T),h,R),E.state.strict&&o.id&&E.checkLVal(o.id,65,void 0,"function name",void 0,R)})),this.prodParam.exit(),this.state.labels=R}this.state.inParameters=P}},{key:"isSimpleParamList",value:function isSimpleParamList(o){for(var h=0,E=o.length;h3&&void 0!==arguments[3])||arguments[3],C=Object.create(null),T=0;T=1}},{key:"topicReferenceWasUsedInCurrentTopicContext",value:function topicReferenceWasUsedInCurrentTopicContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}},{key:"parseFSharpPipelineBody",value:function parseFSharpPipelineBody(o,h){var E=this.state.start,x=this.state.startLoc;this.state.potentialArrowAt=this.state.start;var C=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;var T=this.parseExprOp(this.parseMaybeUnary(),E,x,o,h);return this.state.inFSharpPipelineDirectBody=C,T}}]),_class8}(function(o){(0,ee.default)(_class9,o);var h=_createSuper(_class9);function _class9(){return(0,ae.default)(this,_class9),h.apply(this,arguments)}return(0,ie.default)(_class9,[{key:"toAssignable",value:function toAssignable(o){var h,E,x=void 0;switch(("ParenthesizedExpression"===o.type||(null==(h=o.extra)?void 0:h.parenthesized))&&("Identifier"!==(x=function Pt(o){return"ParenthesizedExpression"===o.type?Pt(o.expression):o}(o)).type&&"MemberExpression"!==x.type&&this.raise(o.start,le.InvalidParenthesizedAssignment)),o.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":o.type="ObjectPattern";for(var C=0,T=o.properties.length,P=T-1;C1&&void 0!==arguments[1]?arguments[1]:64,E=arguments.length>2?arguments[2]:void 0,x=arguments.length>3?arguments[3]:void 0,C=arguments.length>4?arguments[4]:void 0,T=arguments.length>5&&void 0!==arguments[5]&&arguments[5];switch(o.type){case"Identifier":if(this.state.strict&&(T?O(o.name,this.inModule):M(o.name))&&this.raise(o.start,64===h?le.StrictEvalArguments:le.StrictEvalArgumentsBinding,o.name),E){var P="_".concat(o.name);E[P]?this.raise(o.start,le.ParamDupe):E[P]=!0}C&&"let"===o.name&&this.raise(o.start,le.LetInLexicalBinding),64&h||this.scope.declareName(o.name,h,o.start);break;case"MemberExpression":64!==h&&this.raise(o.start,le.InvalidPropertyBindingPattern);break;case"ObjectPattern":for(var N=0,R=o.properties;N1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEnd,E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.state.lastTokEndLoc;o.end=h,o.loc.end=E,this.options.ranges&&(o.range[1]=h)}},{key:"resetStartLocationFromNode",value:function resetStartLocationFromNode(o,h){this.resetStartLocation(o,h.start,h.loc.start)}}]),_class10}(function(o){(0,ee.default)(_class11,o);var h=_createSuper(_class11);function _class11(){return(0,ae.default)(this,_class11),h.apply(this,arguments)}return(0,ie.default)(_class11,[{key:"addExtra",value:function addExtra(o,h,E){o&&((o.extra=o.extra||{})[h]=E)}},{key:"isRelational",value:function isRelational(o){return this.match(C.relational)&&this.state.value===o}},{key:"isLookaheadRelational",value:function isLookaheadRelational(o){var h=this.nextTokenStart();if(this.input.charAt(h)===o){if(h+1===this.input.length)return!0;var E=this.input.charCodeAt(h+1);return E!==o.charCodeAt(0)&&61!==E}return!1}},{key:"expectRelational",value:function expectRelational(o){this.isRelational(o)?this.next():this.unexpected(null,C.relational)}},{key:"isContextual",value:function isContextual(o){return this.match(C.name)&&this.state.value===o&&!this.state.containsEsc}},{key:"isUnparsedContextual",value:function isUnparsedContextual(o,h){var E=o+h.length;return this.input.slice(o,E)===h&&(E===this.input.length||!S(this.input.charCodeAt(E)))}},{key:"isLookaheadContextual",value:function isLookaheadContextual(o){var h=this.nextTokenStart();return this.isUnparsedContextual(h,o)}},{key:"eatContextual",value:function eatContextual(o){return this.isContextual(o)&&this.eat(C.name)}},{key:"expectContextual",value:function expectContextual(o,h){this.eatContextual(o)||this.unexpected(null,h)}},{key:"canInsertSemicolon",value:function canInsertSemicolon(){return this.match(C.eof)||this.match(C.braceR)||this.hasPrecedingLineBreak()}},{key:"hasPrecedingLineBreak",value:function hasPrecedingLineBreak(){return T.test(this.input.slice(this.state.lastTokEnd,this.state.start))}},{key:"isLineTerminator",value:function isLineTerminator(){return this.eat(C.semi)||this.canInsertSemicolon()}},{key:"semicolon",value:function semicolon(){this.isLineTerminator()||this.unexpected(null,C.semi)}},{key:"expect",value:function expect(o,h){this.eat(o)||this.unexpected(h,o)}},{key:"assertNoSpace",value:function assertNoSpace(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Unexpected space.";this.state.start>this.state.lastTokEnd&&this.raise(this.state.lastTokEnd,o)}},{key:"unexpected",value:function unexpected(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Unexpected token";throw"string"!=typeof h&&(h='Unexpected token, expected "'.concat(h.label,'"')),this.raise(null!=o?o:this.state.start,h)}},{key:"expectPlugin",value:function expectPlugin(o,h){if(!this.hasPlugin(o))throw this.raiseWithData(null!=h?h:this.state.start,{missingPlugin:[o]},"This experimental syntax requires enabling the parser plugin: '".concat(o,"'"));return!0}},{key:"expectOnePlugin",value:function expectOnePlugin(o,h){var E=this;if(!o.some((function(o){return E.hasPlugin(o)})))throw this.raiseWithData(null!=h?h:this.state.start,{missingPlugin:o},"This experimental syntax requires enabling one of the following parser plugin(s): '".concat(o.join(", "),"'"))}},{key:"checkYieldAwaitInDefaultParams",value:function checkYieldAwaitInDefaultParams(){-1!==this.state.yieldPos&&(-1===this.state.awaitPos||this.state.yieldPos1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),E={node:null};try{var x=o((function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw E.node=o,E}));if(this.state.errors.length>h.errors.length){var C=this.state;return this.state=h,{node:x,error:C.errors[h.errors.length],thrown:!1,aborted:!1,failState:C}}return{node:x,error:null,thrown:!1,aborted:!1,failState:null}}catch(o){var T=this.state;if(this.state=h,o instanceof SyntaxError)return{node:null,error:o,thrown:!0,aborted:!1,failState:T};if(o===E)return{node:E.node,error:null,thrown:!1,aborted:!0,failState:T};throw o}}},{key:"checkExpressionErrors",value:function checkExpressionErrors(o,h){if(!o)return!1;var E=o.shorthandAssign,x=o.doubleProto;if(!h)return E>=0||x>=0;E>=0&&this.unexpected(E),x>=0&&this.raise(x,le.DuplicateProto)}}]),_class11}(function(o){(0,ee.default)(_class12,o);var h=_createSuper(_class12);function _class12(o,E){var x;return(0,ae.default)(this,_class12),(x=h.call(this)).tokens=[],x.state=new Ve,x.state.init(o),x.input=E,x.length=E.length,x.isLookahead=!1,x}return(0,ie.default)(_class12,[{key:"pushToken",value:function pushToken(o){this.tokens.length=this.state.tokensLength,this.tokens.push(o),++this.state.tokensLength}},{key:"next",value:function next(){this.isLookahead||(this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new ze(this.state))),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}},{key:"eat",value:function eat(o){return!!this.match(o)&&(this.next(),!0)}},{key:"match",value:function match(o){return this.state.type===o}},{key:"lookahead",value:function lookahead(){var o=this.state;this.state=o.clone(!0),this.isLookahead=!0,this.next(),this.isLookahead=!1;var h=this.state;return this.state=o,h}},{key:"nextTokenStart",value:function nextTokenStart(){var o=this.state.pos;return re.lastIndex=o,o+re.exec(this.input)[0].length}},{key:"lookaheadCharCode",value:function lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}},{key:"setStrict",value:function setStrict(o){if(this.state.strict=o,this.match(C.num)||this.match(C.string)){for(this.state.pos=this.state.start;this.state.pos=this.length)this.finishToken(C.eof);else{var h=null==o?void 0:o.override;h?h(this):this.getTokenFromCode(this.input.codePointAt(this.state.pos))}}},{key:"pushComment",value:function pushComment(o,h,E,x,C,T){var P={type:o?"CommentBlock":"CommentLine",value:h,start:E,end:x,loc:new ue(C,T)};this.options.tokens&&this.pushToken(P),this.state.comments.push(P),this.addComment(P)}},{key:"skipBlockComment",value:function skipBlockComment(){var o,h=this.state.curPosition(),E=this.state.pos,x=this.input.indexOf("*/",this.state.pos+2);if(-1===x)throw this.raise(E,le.UnterminatedComment);for(this.state.pos=x+2,P.lastIndex=E;(o=P.exec(this.input))&&o.index=48&&h<=57)throw this.raise(this.state.pos,le.UnexpectedDigitAfterHash);if(!this.hasPlugin("recordAndTuple")||123!==h&&91!==h){if(!this.hasPlugin("classPrivateProperties")&&!this.hasPlugin("classPrivateMethods")&&"smart"!==this.getPluginOption("pipelineOperator","proposal"))throw this.raise(this.state.pos,le.InvalidOrUnexpectedToken,"#");this.finishOp(C.hash,1)}else{if("hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,123===h?le.RecordExpressionHashIncorrectStartSyntaxType:le.TupleExpressionHashIncorrectStartSyntaxType);123===h?this.finishToken(C.braceHashL):this.finishToken(C.bracketHashL),this.state.pos+=2}}}},{key:"readToken_dot",value:function readToken_dot(){var o=this.input.charCodeAt(this.state.pos+1);o>=48&&o<=57?this.readNumber(!0):46===o&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(C.ellipsis)):(++this.state.pos,this.finishToken(C.dot))}},{key:"readToken_slash",value:function readToken_slash(){if(this.state.exprAllowed&&!this.state.inType)return++this.state.pos,void this.readRegexp();61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(C.assign,2):this.finishOp(C.slash,1)}},{key:"readToken_interpreter",value:function readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;var o=this.input.charCodeAt(this.state.pos+1);if(33!==o)return!1;var h=this.state.pos;for(this.state.pos+=1;!p(o)&&++this.state.pos=48&&h<=57?(++this.state.pos,this.finishToken(C.question)):(this.state.pos+=2,this.finishToken(C.questionDot)):61===h?this.finishOp(C.assign,3):this.finishOp(C.nullishCoalescing,2)}},{key:"getTokenFromCode",value:function getTokenFromCode(o){switch(o){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(C.parenL);case 41:return++this.state.pos,void this.finishToken(C.parenR);case 59:return++this.state.pos,void this.finishToken(C.semi);case 44:return++this.state.pos,void this.finishToken(C.comma);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,le.TupleExpressionBarIncorrectStartSyntaxType);this.finishToken(C.bracketBarL),this.state.pos+=2}else++this.state.pos,this.finishToken(C.bracketL);return;case 93:return++this.state.pos,void this.finishToken(C.bracketR);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,le.RecordExpressionBarIncorrectStartSyntaxType);this.finishToken(C.braceBarL),this.state.pos+=2}else++this.state.pos,this.finishToken(C.braceL);return;case 125:return++this.state.pos,void this.finishToken(C.braceR);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(C.doubleColon,2):(++this.state.pos,this.finishToken(C.colon)));case 63:return void this.readToken_question();case 96:return++this.state.pos,void this.finishToken(C.backQuote);case 48:var h=this.input.charCodeAt(this.state.pos+1);if(120===h||88===h)return void this.readRadixNumber(16);if(111===h||79===h)return void this.readRadixNumber(8);if(98===h||66===h)return void this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(o);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(o);case 124:case 38:return void this.readToken_pipe_amp(o);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(o);case 60:case 62:return void this.readToken_lt_gt(o);case 61:case 33:return void this.readToken_eq_excl(o);case 126:return void this.finishOp(C.tilde,1);case 64:return++this.state.pos,void this.finishToken(C.at);case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(w(o))return void this.readWord()}throw this.raise(this.state.pos,le.InvalidOrUnexpectedToken,String.fromCodePoint(o))}},{key:"finishOp",value:function finishOp(o,h){var E=this.input.slice(this.state.pos,this.state.pos+h);this.state.pos+=h,this.finishToken(o,E)}},{key:"readRegexp",value:function readRegexp(){for(var o,h,E=this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(E,le.UnterminatedRegExp);var x=this.input.charAt(this.state.pos);if(T.test(x))throw this.raise(E,le.UnterminatedRegExp);if(o)o=!1;else{if("["===x)h=!0;else if("]"===x&&h)h=!1;else if("/"===x&&!h)break;o="\\"===x}++this.state.pos}var P=this.input.slice(E,this.state.pos);++this.state.pos;for(var N="";this.state.pos-1&&this.raise(this.state.pos+1,le.DuplicateRegExpFlags);else{if(!S(j)&&92!==j)break;this.raise(this.state.pos+1,le.MalformedRegExpFlags)}++this.state.pos,N+=R}this.finishToken(C.regexp,{pattern:P,flags:N})}},{key:"readInt",value:function readInt(o,h,E){for(var x=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],C=this.state.pos,T=16===o?Ge.hex:Ge.decBinOct,P=16===o?He.hex:10===o?He.dec:8===o?He.oct:He.bin,N=!1,R=0,j=0,ee=null==h?1/0:h;j-1||T.indexOf(ae)>-1||Number.isNaN(ae))&&this.raise(this.state.pos,le.UnexpectedNumericSeparator),x||this.raise(this.state.pos,le.NumericSeparatorInEscapeSequence),++this.state.pos}else{if((ne=re>=97?re-97+10:re>=65?re-65+10:Ue(re)?re-48:1/0)>=o)if(this.options.errorRecovery&&ne<=9)ne=0,this.raise(this.state.start+j+2,le.InvalidDigit,o);else{if(!E)break;ne=0,N=!0}++this.state.pos,R=R*o+ne}}return this.state.pos===C||null!=h&&this.state.pos-C!==h||N?null:R}},{key:"readRadixNumber",value:function readRadixNumber(o){var h=this.state.pos,E=!1;this.state.pos+=2;var x=this.readInt(o);if(null==x&&this.raise(this.state.start+2,le.InvalidDigit,o),110===this.input.charCodeAt(this.state.pos)&&(++this.state.pos,E=!0),w(this.input.codePointAt(this.state.pos)))throw this.raise(this.state.pos,le.NumberIdentifier);if(E){var T=this.input.slice(h,this.state.pos).replace(/[_n]/g,"");this.finishToken(C.bigint,T)}else this.finishToken(C.num,x)}},{key:"readNumber",value:function readNumber(o){var h=this.state.pos,E=!1,x=!1,T=!1;o||null!==this.readInt(10)||this.raise(h,le.InvalidNumber);var P=this.state.pos-h>=2&&48===this.input.charCodeAt(h);P&&(this.state.strict&&this.raise(h,le.StrictOctalLiteral),/[89]/.test(this.input.slice(h,this.state.pos))&&(P=!1,T=!0));var N=this.input.charCodeAt(this.state.pos);if(46!==N||P||(++this.state.pos,this.readInt(10),E=!0,N=this.input.charCodeAt(this.state.pos)),69!==N&&101!==N||P||(43!==(N=this.input.charCodeAt(++this.state.pos))&&45!==N||++this.state.pos,null===this.readInt(10)&&this.raise(h,"Invalid number"),E=!0,N=this.input.charCodeAt(this.state.pos)),this.hasPlugin("numericSeparator")&&(P||T)){var R=this.input.slice(h,this.state.pos).indexOf("_");R>0&&this.raise(R+h,le.ZeroDigitNumericSeparator)}if(110===N&&((E||P||T)&&this.raise(h,"Invalid BigIntLiteral"),++this.state.pos,x=!0),w(this.input.codePointAt(this.state.pos)))throw this.raise(this.state.pos,le.NumberIdentifier);var j=this.input.slice(h,this.state.pos).replace(/[_n]/g,"");if(x)this.finishToken(C.bigint,j);else{var ee=P?parseInt(j,8):parseFloat(j);this.finishToken(C.num,ee)}}},{key:"readCodePoint",value:function readCodePoint(o){var h;if(123===this.input.charCodeAt(this.state.pos)){var E=++this.state.pos;if(h=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,o),++this.state.pos,null!==h&&h>1114111){if(!o)return null;this.raise(E,le.InvalidCodePoint)}}else h=this.readHexChar(4,!1,o);return h}},{key:"readString",value:function readString(o){for(var h="",E=++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,le.UnterminatedString);var x=this.input.charCodeAt(this.state.pos);if(x===o)break;if(92===x)h+=this.input.slice(E,this.state.pos),h+=this.readEscapedChar(!1),E=this.state.pos;else if(8232===x||8233===x)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(p(x))throw this.raise(this.state.start,le.UnterminatedString);++this.state.pos}}h+=this.input.slice(E,this.state.pos++),this.finishToken(C.string,h)}},{key:"readTmplToken",value:function readTmplToken(){for(var o="",h=this.state.pos,E=!1;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,le.UnterminatedTemplate);var x=this.input.charCodeAt(this.state.pos);if(96===x||36===x&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(C.template)?36===x?(this.state.pos+=2,void this.finishToken(C.dollarBraceL)):(++this.state.pos,void this.finishToken(C.backQuote)):(o+=this.input.slice(h,this.state.pos),void this.finishToken(C.template,E?null:o));if(92===x){o+=this.input.slice(h,this.state.pos);var T=this.readEscapedChar(!0);null===T?E=!0:o+=T,h=this.state.pos}else if(p(x)){switch(o+=this.input.slice(h,this.state.pos),++this.state.pos,x){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:o+="\n";break;default:o+=String.fromCharCode(x)}++this.state.curLine,this.state.lineStart=this.state.pos,h=this.state.pos}else++this.state.pos}}},{key:"readEscapedChar",value:function readEscapedChar(o){var h=!o,E=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,E){case 110:return"\n";case 114:return"\r";case 120:var x=this.readHexChar(2,!1,h);return null===x?null:String.fromCharCode(x);case 117:var C=this.readCodePoint(h);return null===C?null:String.fromCodePoint(C);case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(o)return null;default:if(E>=48&&E<=55){var T=this.state.pos-1,P=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],N=parseInt(P,8);N>255&&(P=P.slice(0,-1),N=parseInt(P,8)),this.state.pos+=P.length-1;var R=this.input.charCodeAt(this.state.pos);if("0"!==P||56===R||57===R){if(o)return null;this.state.strict?this.raise(T,le.StrictOctalLiteral):this.state.octalPositions.push(T)}return String.fromCharCode(N)}return String.fromCharCode(E)}}},{key:"readHexChar",value:function readHexChar(o,h,E){var x=this.state.pos,C=this.readInt(16,o,h,!1);return null===C&&(E?this.raise(x,le.InvalidEscapeSequence):this.state.pos=x-1),C}},{key:"readWord1",value:function readWord1(){var o="";this.state.containsEsc=!1;for(var h=this.state.pos,E=this.state.pos;this.state.pos2?E-2:0),C=2;C3?x-3:0),T=3;T0;)x=h[--C];if(null!==x){for(var T=0;T0?x.trailingComments=P:void 0!==x.trailingComments&&(x.trailingComments=[])}}}},{key:"processComment",value:function processComment(o){if(!("Program"===o.type&&o.body.length>0)){var h,E,x,C,T,P=this.state.commentStack;if(this.state.trailingComments.length>0)this.state.trailingComments[0].start>=o.end?(x=this.state.trailingComments,this.state.trailingComments=[]):this.state.trailingComments.length=0;else if(P.length>0){var N=m(P);N.trailingComments&&N.trailingComments[0].start>=o.end&&(x=N.trailingComments,delete N.trailingComments)}for(P.length>0&&m(P).start>=o.start&&(h=P.pop());P.length>0&&m(P).start>=o.start;)E=P.pop();if(!E&&h&&(E=h),h)switch(o.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(o,o.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(o,o.properties,!0);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(o,o.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(o,o.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(o,o.elements,!0)}else this.state.commentPreviousNode&&("ImportSpecifier"===this.state.commentPreviousNode.type&&"ImportSpecifier"!==o.type||"ExportSpecifier"===this.state.commentPreviousNode.type&&"ExportSpecifier"!==o.type)&&this.adjustCommentsAfterTrailingComma(o,[this.state.commentPreviousNode]);if(E){if(E.leadingComments)if(E!==o&&E.leadingComments.length>0&&m(E.leadingComments).end<=o.start)o.leadingComments=E.leadingComments,delete E.leadingComments;else for(C=E.leadingComments.length-2;C>=0;--C)if(E.leadingComments[C].end<=o.start){o.leadingComments=E.leadingComments.splice(0,C+1);break}}else if(this.state.leadingComments.length>0)if(m(this.state.leadingComments).end<=o.start){if(this.state.commentPreviousNode)for(T=0;T0&&(o.leadingComments=this.state.leadingComments,this.state.leadingComments=[])}else{for(C=0;Co.start);C++);var R=this.state.leadingComments.slice(0,C);R.length&&(o.leadingComments=R),0===(x=this.state.leadingComments.slice(C)).length&&(x=null)}this.state.commentPreviousNode=o,x&&(x.length&&x[0].start>=o.start&&m(x).end<=o.end?o.innerComments=x:o.trailingComments=x),P.push(o)}}}]),_class14}(function(){function _class15(){(0,ae.default)(this,_class15),this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}return(0,ie.default)(_class15,[{key:"hasPlugin",value:function hasPlugin(o){return this.plugins.has(o)}},{key:"getPluginOption",value:function getPluginOption(o,h){if(this.hasPlugin(o))return this.plugins.get(o)[h]}}]),_class15}())))))))));function wt(o,h){var E=Ze;return o&&o.plugins&&(function(o){if(at(o,"decorators")){if(at(o,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");var h=nt(o,"decorators","decoratorsBeforeExport");if(null==h)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof h)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(at(o,"flow")&&at(o,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(at(o,"placeholders")&&at(o,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(at(o,"pipelineOperator")&&!Re.includes(nt(o,"pipelineOperator","proposal")))throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Re.map((function(o){return"'".concat(o,"'")})).join(", "));if(at(o,"recordAndTuple")&&!Me.includes(nt(o,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+Me.map((function(o){return"'".concat(o,"'")})).join(", "))}(o.plugins),E=function(o){var h=je.filter((function(h){return at(o,h)})),E=h.join("/"),x=rt[E];if(!x){x=Ze;for(var C=0;C0&&void 0!==arguments[0]?arguments[0]:[];return{sourceType:"module",allowAwaitOutsideFunction:!0,allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","objectRestSpread","classProperties","exportDefaultFrom","exportNamespaceFrom","asyncGenerators","functionBind","functionSent","dynamicImport","numericSeparator","importMeta","optionalCatchBinding","optionalChaining","classPrivateProperties",["pipelineOperator",{proposal:"minimal"}],"nullishCoalescingOperator","bigInt","throwExpressions","logicalAssignment","classPrivateMethods","v8intrinsic","partialApplication",["decorators",{decoratorsBeforeExport:!1}]].concat((0,se.default)(o))}}function Gt(o){for(var E=arguments.length,x=new Array(E>1?E-1:0),C=1;C=ee.length)break;ie=ee[ne++]}else{if((ne=ee.next()).done)break;ie=ne.value}var ae=ie;ae.setScope(),ae.debug((function(){return"Inserted."}));var se=j,oe=Array.isArray(se),ue=0;for(se=oe?se:(0,C.default)(se);;){var le;if(oe){if(ue>=se.length)break;le=se[ue++]}else{if((ue=se.next()).done)break;le=ue.value}le.maybeQueue(ae,!0)}}return E},h._containerInsertBefore=function _containerInsertBefore(o){return this._containerInsert(this.key,o)},h._containerInsertAfter=function _containerInsertAfter(o){return this._containerInsert(this.key+1,o)},h._maybePopFromStatements=function _maybePopFromStatements(o){var h=o[o.length-1];(R.isIdentifier(h)||R.isExpressionStatement(h)&&R.isIdentifier(h.expression))&&!this.isCompletionRecord()&&o.pop()},h.insertAfter=function insertAfter(o){if(this._assertUnremoved(),o=this._verifyNodeList(o),this.parentPath.isExpressionStatement()||this.parentPath.isLabeledStatement())return this.parentPath.insertAfter(o);if(this.isNodeType("Expression")||this.parentPath.isForStatement()&&"init"===this.key){if(this.node){var h=this.scope.generateDeclaredUidIdentifier();o.unshift(R.expressionStatement(R.assignmentExpression("=",h,this.node))),o.push(R.expressionStatement(h))}this.replaceExpressionWithStatements(o)}else{if(this._maybePopFromStatements(o),Array.isArray(this.container))return this._containerInsertAfter(o);if(!this.isStatementOrBlock())throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?");this.node&&o.unshift(this.node),this._replaceWith(R.blockStatement(o))}return[this]},h.updateSiblingKeys=function updateSiblingKeys(o,h){if(!this.parent)return;for(var E=T.path.get(this.parent),x=0;x=o&&(C.key+=h)}},h._verifyNodeList=function _verifyNodeList(o){if(!o)return[];o.constructor!==Array&&(o=[o]);for(var h=0;h0&&void 0!==arguments[0]?arguments[0]:this.scope,h=new P.default(this,o);return h.run()};var T=E("mDoV"),P=_interopRequireDefault(E("J+dq")),N=_interopRequireDefault(E("4NcM")),R=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}},"Z+Wv":function(o,h,E){"use strict";h.__esModule=!0,h.CodeGenerator=void 0;var x=_interopRequireDefault(E("iCc5")),C=_interopRequireDefault(E("FYw3")),T=_interopRequireDefault(E("mRg0"));h.default=function(o,h,E){return new j(o,h,E).generate()};var P=_interopRequireDefault(E("f/E0")),N=_interopRequireDefault(E("EnFx")),R=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("UPZs"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var j=function(o){function Generator(h){var E=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},T=arguments[2];(0,x.default)(this,Generator);var P=h.tokens||[],R=normalizeOptions(T,E,P),j=E.sourceMaps?new N.default(E,T):null,ee=(0,C.default)(this,o.call(this,R,j,P));return ee.ast=h,ee}return(0,T.default)(Generator,o),Generator.prototype.generate=function generate(){return o.prototype.generate.call(this,this.ast)},Generator}(_interopRequireDefault(E("owDw")).default);function normalizeOptions(o,h,E){var x=" ";if(o&&"string"==typeof o){var C=(0,P.default)(o).indent;C&&" "!==C&&(x=C)}var T={auxiliaryCommentBefore:h.auxiliaryCommentBefore,auxiliaryCommentAfter:h.auxiliaryCommentAfter,shouldPrintComment:h.shouldPrintComment,retainLines:h.retainLines,retainFunctionParens:h.retainFunctionParens,comments:null==h.comments||h.comments,compact:h.compact,minified:h.minified,concise:h.concise,quotes:h.quotes||findCommonStringDelimiter(o,E),jsonCompatibleStrings:h.jsonCompatibleStrings,indent:{adjustMultilineComment:!0,style:x,base:0},flowCommaSeparator:h.flowCommaSeparator};return T.minified?(T.compact=!0,T.shouldPrintComment=T.shouldPrintComment||function(){return T.comments}):T.shouldPrintComment=T.shouldPrintComment||function(o){return T.comments||o.indexOf("@license")>=0||o.indexOf("@preserve")>=0},"auto"===T.compact&&(T.compact=o.length>5e5,T.compact&&console.error("[BABEL] "+R.get("codeGeneratorDeopt",h.filename,"500KB"))),T.compact&&(T.indent.adjustMultilineComment=!1),T}function findCommonStringDelimiter(o,h){if(!o)return"double";for(var E={single:0,double:0},x=0,C=0;C=3)break}return E.single>E.double?"single":"double"}h.CodeGenerator=function(){function CodeGenerator(o,h,E){(0,x.default)(this,CodeGenerator),this._generator=new j(o,h,E)}return CodeGenerator.prototype.generate=function generate(){return this._generator.generate()},CodeGenerator}()},Z0cm:function(o,h){var E=Array.isArray;o.exports=E},Z8oC:function(o,h,E){var x=E("y1pI");o.exports=function listCacheSet(o,h){var E=this.__data__,C=x(E,o);return C<0?(++this.size,E.push([o,h])):E[C][1]=h,this}},ZCgT:function(o,h,E){var x=E("tLB3");o.exports=function toFinite(o){return o?(o=x(o))===1/0||o===-1/0?17976931348623157e292*(o<0?-1:1):o==o?o:0:0===o?o:0}},ZCpW:function(o,h,E){var x=E("lm/5"),C=E("O7RO"),T=E("IOzZ");o.exports=function baseMatches(o){var h=C(o);return 1==h.length&&h[0][2]?T(h[0][0],h[0][1]):function(E){return E===o||x(E,o,h)}}},ZETi:function(o,h){h.isatty=function(){return!1},h.ReadStream=function ReadStream(){throw new Error("tty.ReadStream is not implemented")},h.WriteStream=function WriteStream(){throw new Error("tty.ReadStream is not implemented")}},ZT4x:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.default=function(o){var h=o.messages;return{visitor:{Scope:function Scope(o){var E=o.scope;for(var C in E.bindings){var T=E.bindings[C];if("const"===T.kind||"module"===T.kind){var P=T.constantViolations,N=Array.isArray(P),R=0;for(P=N?P:(0,x.default)(P);;){var j;if(N){if(R>=P.length)break;j=P[R++]}else{if((R=P.next()).done)break;j=R.value}throw j.buildCodeFrameError(h.get("readOnly",C))}}}}}}},o.exports=h.default},ZTkf:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o,h,E){if(o){if("Program"===o.type)return x.file(o,h||[],E||[]);if("File"===o.type)return o}throw new Error("Not a valid ast?")};var x=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));o.exports=h.default},ZWtO:function(o,h,E){var x=E("4uTw"),C=E("9Nap");o.exports=function baseGet(o,h){for(var E=0,T=(h=x(h,o)).length;null!=o&&E=h.length)break;C=h[x++]}else{if((x=h.next()).done)break;C=x.value}var T=C,P=o.get(T);P.isVar()&&o.scope.getFunctionParent().registerBinding("var",P)}},Declaration:function Declaration(o){o.isBlockScoped()||o.isExportDeclaration()&&o.get("declaration").isDeclaration()||o.scope.getFunctionParent().registerDeclaration(o)},ReferencedIdentifier:function ReferencedIdentifier(o,h){h.references.push(o)},ForXStatement:function ForXStatement(o,h){var E=o.get("left");(E.isPattern()||E.isIdentifier())&&h.constantViolations.push(E)},ExportDeclaration:{exit:function exit(o){var h=o.node,E=o.scope,x=h.declaration;if(oe.isClassDeclaration(x)||oe.isFunctionDeclaration(x)){var C=x.id;if(!C)return;var T=E.getBinding(C.name);T&&T.reference(o)}else if(oe.isVariableDeclaration(x)){var P=x.declarations,R=Array.isArray(P),j=0;for(P=R?P:(0,N.default)(P);;){var ee;if(R){if(j>=P.length)break;ee=P[j++]}else{if((j=P.next()).done)break;ee=j.value}var re=ee,ne=oe.getBindingIdentifiers(re);for(var ie in ne){var ae=E.getBinding(ie);ae&&ae.reference(o)}}}}},LabeledStatement:function LabeledStatement(o){o.scope.getProgramParent().addGlobal(o.node),o.scope.getBlockParent().registerDeclaration(o)},AssignmentExpression:function AssignmentExpression(o,h){h.assignments.push(o)},UpdateExpression:function UpdateExpression(o,h){h.constantViolations.push(o.get("argument"))},UnaryExpression:function UnaryExpression(o,h){"delete"===o.node.operator&&h.constantViolations.push(o.get("argument"))},BlockScoped:function BlockScoped(o){var h=o.scope;h.path===o&&(h=h.parent),h.getBlockParent().registerDeclaration(o)},ClassDeclaration:function ClassDeclaration(o){var h=o.node.id;if(h){var E=h.name;o.scope.bindings[E]=o.scope.getBinding(E)}},Block:function Block(o){var h=o.get("body"),E=Array.isArray(h),x=0;for(h=E?h:(0,N.default)(h);;){var C;if(E){if(x>=h.length)break;C=h[x++]}else{if((x=h.next()).done)break;C=x.value}var T=C;T.isFunctionDeclaration()&&o.scope.getBlockParent().registerDeclaration(T)}}},pe=0,fe=function(){function Scope(o,h){if((0,P.default)(this,Scope),h&&h.block===o.node)return h;var E=function getCache(o,h,E){var x=ue.scope.get(o.node)||[],C=x,T=Array.isArray(C),P=0;for(C=T?C:(0,N.default)(C);;){var R;if(T){if(P>=C.length)break;R=C[P++]}else{if((P=C.next()).done)break;R=P.value}var j=R;if(j.parent===h&&j.path===o)return j}x.push(E),ue.scope.has(o.node)||ue.scope.set(o.node,x)}(o,h,this);if(E)return E;this.uid=pe++,this.parent=h,this.hub=o.hub,this.parentBlock=o.parent,this.block=o.node,this.path=o,this.labels=new T.default}return Scope.prototype.traverse=function traverse(o,h,E){(0,re.default)(o,h,this,E,this.path)},Scope.prototype.generateDeclaredUidIdentifier=function generateDeclaredUidIdentifier(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temp",h=this.generateUidIdentifier(o);return this.push({id:h}),h},Scope.prototype.generateUidIdentifier=function generateUidIdentifier(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temp";return oe.identifier(this.generateUid(o))},Scope.prototype.generateUid=function generateUid(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"temp";o=oe.toIdentifier(o).replace(/^_+/,"").replace(/[0-9]+$/g,"");var h=void 0,E=0;do{h=this._generateUid(o,E),E++}while(this.hasLabel(h)||this.hasBinding(h)||this.hasGlobal(h)||this.hasReference(h));var x=this.getProgramParent();return x.references[h]=!0,x.uids[h]=!0,h},Scope.prototype._generateUid=function _generateUid(o,h){var E=o;return h>1&&(E+=h),"_"+E},Scope.prototype.generateUidIdentifierBasedOnNode=function generateUidIdentifierBasedOnNode(o,h){var E=o;oe.isAssignmentExpression(o)?E=o.left:oe.isVariableDeclarator(o)?E=o.id:(oe.isObjectProperty(E)||oe.isObjectMethod(E))&&(E=E.key);var x=[];!function gatherNodeParts(o,h){if(oe.isModuleDeclaration(o))if(o.source)gatherNodeParts(o.source,h);else if(o.specifiers&&o.specifiers.length){var E=o.specifiers,x=Array.isArray(E),C=0;for(E=x?E:(0,N.default)(E);;){var T;if(x){if(C>=E.length)break;T=E[C++]}else{if((C=E.next()).done)break;T=C.value}gatherNodeParts(T,h)}}else o.declaration&&gatherNodeParts(o.declaration,h);else if(oe.isModuleSpecifier(o))gatherNodeParts(o.local,h);else if(oe.isMemberExpression(o))gatherNodeParts(o.object,h),gatherNodeParts(o.property,h);else if(oe.isIdentifier(o))h.push(o.name);else if(oe.isLiteral(o))h.push(o.value);else if(oe.isCallExpression(o))gatherNodeParts(o.callee,h);else if(oe.isObjectExpression(o)||oe.isObjectPattern(o)){var P=o.properties,R=Array.isArray(P),j=0;for(P=R?P:(0,N.default)(P);;){var ee;if(R){if(j>=P.length)break;ee=P[j++]}else{if((j=P.next()).done)break;ee=j.value}var re=ee;gatherNodeParts(re.key||re.argument,h)}}}(E,x);var C=x.join("$");return C=C.replace(/^_/,"")||h||"ref",this.generateUidIdentifier(C.slice(0,20))},Scope.prototype.isStatic=function isStatic(o){if(oe.isThisExpression(o)||oe.isSuper(o))return!0;if(oe.isIdentifier(o)){var h=this.getBinding(o.name);return h?h.constant:this.hasBinding(o.name)}return!1},Scope.prototype.maybeGenerateMemoised=function maybeGenerateMemoised(o,h){if(this.isStatic(o))return null;var E=this.generateUidIdentifierBasedOnNode(o);return h||this.push({id:E}),E},Scope.prototype.checkBlockScopedCollisions=function checkBlockScopedCollisions(o,h,E,x){if("param"!==h&&!("hoisted"===h&&"let"===o.kind||"let"!==h&&"let"!==o.kind&&"const"!==o.kind&&"module"!==o.kind&&("param"!==o.kind||"let"!==h&&"const"!==h)))throw this.hub.file.buildCodeFrameError(x,ie.get("scopeDuplicateDeclaration",E),TypeError)},Scope.prototype.rename=function rename(o,h,E){var x=this.getBinding(o);if(x)return h=h||this.generateUidIdentifier(o).name,new ee.default(x,o,h).rename(E)},Scope.prototype._renameFromMap=function _renameFromMap(o,h,E,x){o[h]&&(o[E]=x,o[h]=null)},Scope.prototype.dump=function dump(){var o=(0,j.default)("-",60);console.log(o);var h=this;do{for(var E in console.log("#",h.block.type),h.bindings){var x=h.bindings[E];console.log(" -",E,{constant:x.constant,references:x.references,violations:x.constantViolations.length,kind:x.kind})}}while(h=h.parent);console.log(o)},Scope.prototype.toArray=function toArray(o,h){var E=this.hub.file;if(oe.isIdentifier(o)){var x=this.getBinding(o.name);if(x&&x.constant&&x.path.isGenericType("Array"))return o}if(oe.isArrayExpression(o))return o;if(oe.isIdentifier(o,{name:"arguments"}))return oe.callExpression(oe.memberExpression(oe.memberExpression(oe.memberExpression(oe.identifier("Array"),oe.identifier("prototype")),oe.identifier("slice")),oe.identifier("call")),[o]);var C="toArray",T=[o];return!0===h?C="toConsumableArray":h&&(T.push(oe.numericLiteral(h)),C="slicedToArray"),oe.callExpression(E.addHelper(C),T)},Scope.prototype.hasLabel=function hasLabel(o){return!!this.getLabel(o)},Scope.prototype.getLabel=function getLabel(o){return this.labels.get(o)},Scope.prototype.registerLabel=function registerLabel(o){this.labels.set(o.node.label.name,o)},Scope.prototype.registerDeclaration=function registerDeclaration(o){if(o.isLabeledStatement())this.registerLabel(o);else if(o.isFunctionDeclaration())this.registerBinding("hoisted",o.get("id"),o);else if(o.isVariableDeclaration()){var h=o.get("declarations"),E=Array.isArray(h),x=0;for(h=E?h:(0,N.default)(h);;){var C;if(E){if(x>=h.length)break;C=h[x++]}else{if((x=h.next()).done)break;C=x.value}var T=C;this.registerBinding(o.node.kind,T)}}else if(o.isClassDeclaration())this.registerBinding("let",o);else if(o.isImportDeclaration()){var P=o.get("specifiers"),R=Array.isArray(P),j=0;for(P=R?P:(0,N.default)(P);;){var ee;if(R){if(j>=P.length)break;ee=P[j++]}else{if((j=P.next()).done)break;ee=j.value}var re=ee;this.registerBinding("module",re)}}else if(o.isExportDeclaration()){var ne=o.get("declaration");(ne.isClassDeclaration()||ne.isFunctionDeclaration()||ne.isVariableDeclaration())&&this.registerDeclaration(ne)}else this.registerBinding("unknown",o)},Scope.prototype.buildUndefinedNode=function buildUndefinedNode(){return this.hasBinding("undefined")?oe.unaryExpression("void",oe.numericLiteral(0),!0):oe.identifier("undefined")},Scope.prototype.registerConstantViolation=function registerConstantViolation(o){var h=o.getBindingIdentifiers();for(var E in h){var x=this.getBinding(E);x&&x.reassign(o)}},Scope.prototype.registerBinding=function registerBinding(o,h){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;if(!o)throw new ReferenceError("no `kind`");if(h.isVariableDeclaration()){var x=h.get("declarations"),C=x,T=Array.isArray(C),P=0;for(C=T?C:(0,N.default)(C);;){var R;if(T){if(P>=C.length)break;R=C[P++]}else{if((P=C.next()).done)break;R=P.value}var j=R;this.registerBinding(o,j)}}else{var ee=this.getProgramParent(),re=h.getBindingIdentifiers(!0);for(var ne in re){var ie=re[ne],se=Array.isArray(ie),oe=0;for(ie=se?ie:(0,N.default)(ie);;){var ue;if(se){if(oe>=ie.length)break;ue=ie[oe++]}else{if((oe=ie.next()).done)break;ue=oe.value}var le=ue,ce=this.getOwnBinding(ne);if(ce){if(ce.identifier===le)continue;this.checkBlockScopedCollisions(ce,o,ne,le)}ce&&ce.path.isFlow()&&(ce=null),ee.references[ne]=!0,this.bindings[ne]=new ae.default({identifier:le,existing:ce,scope:this,path:E,kind:o})}}}},Scope.prototype.addGlobal=function addGlobal(o){this.globals[o.name]=o},Scope.prototype.hasUid=function hasUid(o){var h=this;do{if(h.uids[o])return!0}while(h=h.parent);return!1},Scope.prototype.hasGlobal=function hasGlobal(o){var h=this;do{if(h.globals[o])return!0}while(h=h.parent);return!1},Scope.prototype.hasReference=function hasReference(o){var h=this;do{if(h.references[o])return!0}while(h=h.parent);return!1},Scope.prototype.isPure=function isPure(o,h){if(oe.isIdentifier(o)){var E=this.getBinding(o.name);return!!E&&(!h||E.constant)}if(oe.isClass(o))return!(o.superClass&&!this.isPure(o.superClass,h))&&this.isPure(o.body,h);if(oe.isClassBody(o)){var x=o.body,C=Array.isArray(x),T=0;for(x=C?x:(0,N.default)(x);;){var P;if(C){if(T>=x.length)break;P=x[T++]}else{if((T=x.next()).done)break;P=T.value}var R=P;if(!this.isPure(R,h))return!1}return!0}if(oe.isBinary(o))return this.isPure(o.left,h)&&this.isPure(o.right,h);if(oe.isArrayExpression(o)){var j=o.elements,ee=Array.isArray(j),re=0;for(j=ee?j:(0,N.default)(j);;){var ne;if(ee){if(re>=j.length)break;ne=j[re++]}else{if((re=j.next()).done)break;ne=re.value}var ie=ne;if(!this.isPure(ie,h))return!1}return!0}if(oe.isObjectExpression(o)){var ae=o.properties,se=Array.isArray(ae),ue=0;for(ae=se?ae:(0,N.default)(ae);;){var le;if(se){if(ue>=ae.length)break;le=ae[ue++]}else{if((ue=ae.next()).done)break;le=ue.value}var ce=le;if(!this.isPure(ce,h))return!1}return!0}return oe.isClassMethod(o)?!(o.computed&&!this.isPure(o.key,h))&&("get"!==o.kind&&"set"!==o.kind):oe.isClassProperty(o)||oe.isObjectProperty(o)?!(o.computed&&!this.isPure(o.key,h))&&this.isPure(o.value,h):oe.isUnaryExpression(o)?this.isPure(o.argument,h):oe.isPureish(o)},Scope.prototype.setData=function setData(o,h){return this.data[o]=h},Scope.prototype.getData=function getData(o){var h=this;do{var E=h.data[o];if(null!=E)return E}while(h=h.parent)},Scope.prototype.removeData=function removeData(o){var h=this;do{null!=h.data[o]&&(h.data[o]=null)}while(h=h.parent)},Scope.prototype.init=function init(){this.references||this.crawl()},Scope.prototype.crawl=function crawl(){le++,this._crawl(),le--},Scope.prototype._crawl=function _crawl(){var o=this.path;if(this.references=(0,C.default)(null),this.bindings=(0,C.default)(null),this.globals=(0,C.default)(null),this.uids=(0,C.default)(null),this.data=(0,C.default)(null),o.isLoop()){var h=oe.FOR_INIT_KEYS,E=Array.isArray(h),x=0;for(h=E?h:(0,N.default)(h);;){var T;if(E){if(x>=h.length)break;T=h[x++]}else{if((x=h.next()).done)break;T=x.value}var P=T,R=o.get(P);R.isBlockScoped()&&this.registerBinding(R.node.kind,R)}}if(o.isFunctionExpression()&&o.has("id")&&(o.get("id").node[oe.NOT_LOCAL_BINDING]||this.registerBinding("local",o.get("id"),o)),o.isClassExpression()&&o.has("id")&&(o.get("id").node[oe.NOT_LOCAL_BINDING]||this.registerBinding("local",o)),o.isFunction()){var j=o.get("params"),ee=Array.isArray(j),re=0;for(j=ee?j:(0,N.default)(j);;){var ne;if(ee){if(re>=j.length)break;ne=j[re++]}else{if((re=j.next()).done)break;ne=re.value}var ie=ne;this.registerBinding("param",ie)}}if(o.isCatchClause()&&this.registerBinding("let",o),!this.getProgramParent().crawling){var ae={references:[],constantViolations:[],assignments:[]};this.crawling=!0,o.traverse(ce,ae),this.crawling=!1;var se=ae.assignments,ue=Array.isArray(se),le=0;for(se=ue?se:(0,N.default)(se);;){var pe;if(ue){if(le>=se.length)break;pe=se[le++]}else{if((le=se.next()).done)break;pe=le.value}var fe=pe,he=fe.getBindingIdentifiers(),de=void 0;for(var me in he)fe.scope.getBinding(me)||(de=de||fe.scope.getProgramParent()).addGlobal(he[me]);fe.scope.registerConstantViolation(fe)}var ye=ae.references,ge=Array.isArray(ye),ve=0;for(ye=ge?ye:(0,N.default)(ye);;){var De;if(ge){if(ve>=ye.length)break;De=ye[ve++]}else{if((ve=ye.next()).done)break;De=ve.value}var Ee=De,xe=Ee.scope.getBinding(Ee.node.name);xe?xe.reference(Ee):Ee.scope.getProgramParent().addGlobal(Ee.node)}var be=ae.constantViolations,Ce=Array.isArray(be),Ae=0;for(be=Ce?be:(0,N.default)(be);;){var Se;if(Ce){if(Ae>=be.length)break;Se=be[Ae++]}else{if((Ae=be.next()).done)break;Se=Ae.value}var we=Se;we.scope.registerConstantViolation(we)}}},Scope.prototype.push=function push(o){var h=this.path;h.isBlockStatement()||h.isProgram()||(h=this.getBlockParent().path),h.isSwitchStatement()&&(h=this.getFunctionParent().path),(h.isLoop()||h.isCatchClause()||h.isFunction())&&(oe.ensureBlock(h.node),h=h.get("body"));var E=o.unique,x=o.kind||"var",C=null==o._blockHoist?2:o._blockHoist,T="declaration:"+x+":"+C,P=!E&&h.getData(T);if(!P){var N=oe.variableDeclaration(x,[]);N._generated=!0,N._blockHoist=C,P=h.unshiftContainer("body",[N])[0],E||h.setData(T,P)}var R=oe.variableDeclarator(o.id,o.init);P.node.declarations.push(R),this.registerBinding(x,P.get("declarations").pop())},Scope.prototype.getProgramParent=function getProgramParent(){var o=this;do{if(o.path.isProgram())return o}while(o=o.parent);throw new Error("We couldn't find a Function or Program...")},Scope.prototype.getFunctionParent=function getFunctionParent(){var o=this;do{if(o.path.isFunctionParent())return o}while(o=o.parent);throw new Error("We couldn't find a Function or Program...")},Scope.prototype.getBlockParent=function getBlockParent(){var o=this;do{if(o.path.isBlockParent())return o}while(o=o.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")},Scope.prototype.getAllBindings=function getAllBindings(){var o=(0,C.default)(null),h=this;do{(0,ne.default)(o,h.bindings),h=h.parent}while(h);return o},Scope.prototype.getAllBindingsOfKind=function getAllBindingsOfKind(){var o=(0,C.default)(null),h=arguments,E=Array.isArray(h),x=0;for(h=E?h:(0,N.default)(h);;){var T;if(E){if(x>=h.length)break;T=h[x++]}else{if((x=h.next()).done)break;T=x.value}var P=T,R=this;do{for(var j in R.bindings){var ee=R.bindings[j];ee.kind===P&&(o[j]=ee)}R=R.parent}while(R)}return o},Scope.prototype.bindingIdentifierEquals=function bindingIdentifierEquals(o,h){return this.getBindingIdentifier(o)===h},Scope.prototype.warnOnFlowBinding=function warnOnFlowBinding(o){return 0===le&&o&&o.path.isFlow()&&console.warn("\n You or one of the Babel plugins you are using are using Flow declarations as bindings.\n Support for this will be removed in version 7. To find out the caller, grep for this\n message and change it to a `console.trace()`.\n "),o},Scope.prototype.getBinding=function getBinding(o){var h=this;do{var E=h.getOwnBinding(o);if(E)return this.warnOnFlowBinding(E)}while(h=h.parent)},Scope.prototype.getOwnBinding=function getOwnBinding(o){return this.warnOnFlowBinding(this.bindings[o])},Scope.prototype.getBindingIdentifier=function getBindingIdentifier(o){var h=this.getBinding(o);return h&&h.identifier},Scope.prototype.getOwnBindingIdentifier=function getOwnBindingIdentifier(o){var h=this.bindings[o];return h&&h.identifier},Scope.prototype.hasOwnBinding=function hasOwnBinding(o){return!!this.getOwnBinding(o)},Scope.prototype.hasBinding=function hasBinding(o,h){return!!o&&(!!this.hasOwnBinding(o)||(!!this.parentHasBinding(o,h)||(!!this.hasUid(o)||(!(h||!(0,R.default)(Scope.globals,o))||!(h||!(0,R.default)(Scope.contextVariables,o))))))},Scope.prototype.parentHasBinding=function parentHasBinding(o,h){return this.parent&&this.parent.hasBinding(o,h)},Scope.prototype.moveBindingTo=function moveBindingTo(o,h){var E=this.getBinding(o);E&&(E.scope.removeOwnBinding(o),E.scope=h,h.bindings[o]=E)},Scope.prototype.removeOwnBinding=function removeOwnBinding(o){delete this.bindings[o]},Scope.prototype.removeBinding=function removeBinding(o){var h=this.getBinding(o);h&&h.scope.removeOwnBinding(o);var E=this;do{E.uids[o]&&(E.uids[o]=!1)}while(E=E.parent)},Scope}();fe.globals=(0,x.default)(se.default.builtin),fe.contextVariables=["arguments","undefined","Infinity","NaN"],h.default=fe,o.exports=h.default},ZiuE:function(o,h,E){"use strict";h.__esModule=!0,h.shareCommentsWithSiblings=function shareCommentsWithSiblings(){if("string"==typeof this.key)return;var o=this.node;if(!o)return;var h=o.trailingComments,E=o.leadingComments;if(!h&&!E)return;var x=this.getSibling(this.key-1),C=this.getSibling(this.key+1);x.node||(x=C);C.node||(C=x);x.addComments("trailing",E),C.addComments("leading",h)},h.addComment=function addComment(o,h,E){this.addComments(o,[{type:E?"CommentLine":"CommentBlock",value:h}])},h.addComments=function addComments(o,h){if(!h)return;var E=this.node;if(!E)return;var x=o+"Comments";E[x]?E[x]=E[x].concat(h):E[x]=h}},ZsyM:function(o,h){h.GREATEST_LOWER_BOUND=1,h.LEAST_UPPER_BOUND=2,h.search=function search(o,E,x,C){if(0===E.length)return-1;var T=function recursiveSearch(o,E,x,C,T,P){var N=Math.floor((E-o)/2)+o,R=T(x,C[N],!0);return 0===R?N:R>0?E-N>1?recursiveSearch(N,E,x,C,T,P):P==h.LEAST_UPPER_BOUND?E1?recursiveSearch(o,N,x,C,T,P):P==h.LEAST_UPPER_BOUND?N:o<0?-1:o}(-1,E.length,o,E,x,C||h.GREATEST_LOWER_BOUND);if(T<0)return-1;for(;T-1>=0&&0===x(E[T],E[T-1],!0);)--T;return T}},"ZxM+":function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("iCc5")),C=_interopRequireDefault(E("+JPL")),T=_interopRequireDefault(E("3Ifc")),P=_interopRequireWildcard(E("UPZs")),N=_interopRequireWildcard(E("KCzW"));function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var R=(0,C.default)();function isMemberExpressionSuper(o){return N.isMemberExpression(o)&&N.isSuper(o.object)}function getPrototypeOfExpression(o,h){var E=h?o:N.memberExpression(o,N.identifier("prototype"));return N.logicalExpression("||",N.memberExpression(E,N.identifier("__proto__")),N.callExpression(N.memberExpression(N.identifier("Object"),N.identifier("getPrototypeOf")),[E]))}var j={Function:function Function(o){o.inShadow("this")||o.skip()},ReturnStatement:function ReturnStatement(o,h){o.inShadow("this")||h.returns.push(o)},ThisExpression:function ThisExpression(o,h){o.node[R]||h.thises.push(o)},enter:function enter(o,h){var E=h.specHandle;h.isLoose&&(E=h.looseHandle);var x=o.isCallExpression()&&o.get("callee").isSuper(),C=E.call(h,o);C&&(h.hasSuper=!0),x&&h.bareSupers.push(o),!0===C&&o.requeue(),!0!==C&&C&&(Array.isArray(C)?o.replaceWithMultiple(C):o.replaceWith(C))}},ee=function(){function ReplaceSupers(o){var h=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,x.default)(this,ReplaceSupers),this.forceSuperMemoisation=o.forceSuperMemoisation,this.methodPath=o.methodPath,this.methodNode=o.methodNode,this.superRef=o.superRef,this.isStatic=o.isStatic,this.hasSuper=!1,this.inClass=h,this.isLoose=o.isLoose,this.scope=this.methodPath.scope,this.file=o.file,this.opts=o,this.bareSupers=[],this.returns=[],this.thises=[]}return ReplaceSupers.prototype.getObjectRef=function getObjectRef(){return this.opts.objectRef||this.opts.getObjectRef()},ReplaceSupers.prototype.setSuperProperty=function setSuperProperty(o,h,E){return N.callExpression(this.file.addHelper("set"),[getPrototypeOfExpression(this.getObjectRef(),this.isStatic),E?o:N.stringLiteral(o.name),h,N.thisExpression()])},ReplaceSupers.prototype.getSuperProperty=function getSuperProperty(o,h){return N.callExpression(this.file.addHelper("get"),[getPrototypeOfExpression(this.getObjectRef(),this.isStatic),h?o:N.stringLiteral(o.name),N.thisExpression()])},ReplaceSupers.prototype.replace=function replace(){this.methodPath.traverse(j,this)},ReplaceSupers.prototype.getLooseSuperProperty=function getLooseSuperProperty(o,h){var E=this.methodNode,x=this.superRef||N.identifier("Function");return h.property===o||N.isCallExpression(h,{callee:o})?void 0:N.isMemberExpression(h)&&!E.static?N.memberExpression(x,N.identifier("prototype")):x},ReplaceSupers.prototype.looseHandle=function looseHandle(o){var h=o.node;if(o.isSuper())return this.getLooseSuperProperty(h,o.parent);if(o.isCallExpression()){var E=h.callee;if(!N.isMemberExpression(E))return;if(!N.isSuper(E.object))return;return N.appendToMemberExpression(E,N.identifier("call")),h.arguments.unshift(N.thisExpression()),!0}},ReplaceSupers.prototype.specHandleAssignmentExpression=function specHandleAssignmentExpression(o,h,E){return"="===E.operator?this.setSuperProperty(E.left.property,E.right,E.left.computed):(o=o||h.scope.generateUidIdentifier("ref"),[N.variableDeclaration("var",[N.variableDeclarator(o,E.left)]),N.expressionStatement(N.assignmentExpression("=",E.left,N.binaryExpression(E.operator[0],o,E.right)))])},ReplaceSupers.prototype.specHandle=function specHandle(o){var h=void 0,E=void 0,x=void 0,C=o.parent,T=o.node;if(function isIllegalBareSuper(o,h){return!!N.isSuper(o)&&(!N.isMemberExpression(h,{computed:!1})&&!N.isCallExpression(h,{callee:o}))}(T,C))throw o.buildCodeFrameError(P.get("classesIllegalBareSuper"));if(N.isCallExpression(T)){var R=T.callee;if(N.isSuper(R))return;isMemberExpressionSuper(R)&&(h=R.property,E=R.computed,x=T.arguments)}else if(N.isMemberExpression(T)&&N.isSuper(T.object))h=T.property,E=T.computed;else{if(N.isUpdateExpression(T)&&isMemberExpressionSuper(T.argument)){var j=N.binaryExpression(T.operator[0],T.argument,N.numericLiteral(1));if(T.prefix)return this.specHandleAssignmentExpression(null,o,j);var ee=o.scope.generateUidIdentifier("ref");return this.specHandleAssignmentExpression(ee,o,j).concat(N.expressionStatement(ee))}if(N.isAssignmentExpression(T)&&isMemberExpressionSuper(T.left))return this.specHandleAssignmentExpression(null,o,T)}if(h){var re=this.getSuperProperty(h,E);return x?this.optimiseCall(re,x):re}},ReplaceSupers.prototype.optimiseCall=function optimiseCall(o,h){var E=N.thisExpression();return E[R]=!0,(0,T.default)(o,E,h)},ReplaceSupers}();h.default=ee,o.exports=h.default},Zxgi:function(o,h,E){var x=E("5T2Y"),C=E("WEpk"),T=E("uOPS"),P=E("zLkG"),N=E("2faE").f;o.exports=function(o){var h=C.Symbol||(C.Symbol=T?{}:x.Symbol||{});"_"==o.charAt(0)||o in h||N(h,o,{value:P.f(o)})}},a0xu:function(o,h){var E={}.toString;o.exports=function(o){return E.call(o).slice(8,-1)}},a9m0:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("+JPL"));h.default=function(o){var h=o.types,E=(0,x.default)();return{visitor:{Scope:function Scope(o){var h=o.scope;h.getBinding("Symbol")&&h.rename("Symbol")},UnaryExpression:function UnaryExpression(o){var x=o.node,C=o.parent;if(!x[E]&&!o.find((function(o){return o.node&&!!o.node._generated}))){if(o.parentPath.isBinaryExpression()&&h.EQUALITY_BINARY_OPERATORS.indexOf(C.operator)>=0){var T=o.getOpposite();if(T.isLiteral()&&"symbol"!==T.node.value&&"object"!==T.node.value)return}if("typeof"===x.operator){var P=h.callExpression(this.addHelper("typeof"),[x.argument]);if(o.get("argument").isIdentifier()){var N=h.stringLiteral("undefined"),R=h.unaryExpression("typeof",x.argument);R[E]=!0,o.replaceWith(h.conditionalExpression(h.binaryExpression("===",R,N),N,P))}else o.replaceWith(P)}}}}}},o.exports=h.default},aHIm:function(o,h,E){"use strict";h.__esModule=!0,h.NOT_LOCAL_BINDING=h.BLOCK_SCOPED_SYMBOL=h.INHERIT_KEYS=h.UNARY_OPERATORS=h.STRING_UNARY_OPERATORS=h.NUMBER_UNARY_OPERATORS=h.BOOLEAN_UNARY_OPERATORS=h.BINARY_OPERATORS=h.NUMBER_BINARY_OPERATORS=h.BOOLEAN_BINARY_OPERATORS=h.COMPARISON_BINARY_OPERATORS=h.EQUALITY_BINARY_OPERATORS=h.BOOLEAN_NUMBER_BINARY_OPERATORS=h.UPDATE_OPERATORS=h.LOGICAL_OPERATORS=h.COMMENT_KEYS=h.FOR_INIT_KEYS=h.FLATTENABLE_KEYS=h.STATEMENT_OR_BLOCK_KEYS=void 0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("NVct"));h.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],h.FLATTENABLE_KEYS=["body","expressions"],h.FOR_INIT_KEYS=["left","init"],h.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],h.LOGICAL_OPERATORS=["||","&&"],h.UPDATE_OPERATORS=["++","--"];var C=h.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],T=h.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],P=h.COMPARISON_BINARY_OPERATORS=[].concat(T,["in","instanceof"]),N=h.BOOLEAN_BINARY_OPERATORS=[].concat(P,C),R=h.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],j=(h.BINARY_OPERATORS=["+"].concat(R,N),h.BOOLEAN_UNARY_OPERATORS=["delete","!"]),ee=h.NUMBER_UNARY_OPERATORS=["+","-","++","--","~"],re=h.STRING_UNARY_OPERATORS=["typeof"];h.UNARY_OPERATORS=["void"].concat(j,ee,re),h.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},h.BLOCK_SCOPED_SYMBOL=(0,x.default)("var used to be block scoped"),h.NOT_LOCAL_BINDING=(0,x.default)("should not be considered a local binding")},aPfg:function(o,h,E){"use strict";var x=E("Y7ZC"),C=E("eaoh"),T=E("2GTP"),P=E("oioR");o.exports=function(o){x(x.S,o,{from:function from(o){var h,E,x,N,R=arguments[1];return C(this),(h=void 0!==R)&&C(R),null==o?new this:(E=[],h?(x=0,N=T(R,arguments[2],2),P(o,!1,(function(o){E.push(N(o,x++))}))):P(o,!1,E.push,E),new this(E))}})}},aSeU:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("+JPL")),C=_interopRequireDefault(E("OSkm")),T=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var P=(0,x.default)("super this bound"),N={CallExpression:function CallExpression(o){if(o.get("callee").isSuper()){var h=o.node;h[P]||(h[P]=!0,o.replaceWith(T.assignmentExpression("=",this.id,h)))}}};function remap(o,h){var E=o.inShadow(h);if(function shouldShadow(o,h){return!!o.is("_forceShadow")||h}(o,E)){var x=o.node._shadowedFunctionLiteral,C=void 0,P=!1,R=o.find((function(h){if(h.parentPath&&h.parentPath.isClassProperty()&&"value"===h.key)return!0;if(o===h)return!1;if((h.isProgram()||h.isFunction())&&(C=C||h),h.isProgram())return P=!0,!0;if(h.isFunction()&&!h.isArrowFunctionExpression()){if(x){if(h===x||h.node===x.node)return!0}else if(!h.is("shadow"))return!0;return P=!0,!1}return!1}));if(x&&R.isProgram()&&!x.isProgram()&&(R=o.findParent((function(o){return o.isProgram()||o.isFunction()}))),R!==C&&P){var j=R.getData(h);if(!j){var ee=o.scope.generateUidIdentifier(h);R.setData(h,ee),j=ee;var re=R.findParent((function(o){return o.isClass()})),ne=!!(re&&re.node&&re.node.superClass);if("this"===h&&R.isMethod({kind:"constructor"})&&ne)R.scope.push({id:ee}),R.traverse(N,{id:ee});else{var ie="this"===h?T.thisExpression():T.identifier(h);x&&(ie._shadowedFunctionLiteral=x),R.scope.push({id:ee,init:ie})}}var ae=T.cloneDeep(j);return ae.loc=o.node.loc,o.replaceWith(ae)}}}h.default=new C.default({name:"internal.shadowFunctions",visitor:{ThisExpression:function ThisExpression(o){remap(o,"this")},ReferencedIdentifier:function ReferencedIdentifier(o){"arguments"===o.node.name&&remap(o,"arguments")}}}),o.exports=h.default},aX5Y:function(o,h,E){var x=E("Sxd8");o.exports=function isInteger(o){return"number"==typeof o&&o==x(o)}},adOz:function(o,h,E){E("Zxgi")("asyncIterator")},adU4:function(o,h,E){var x=E("y1pI"),C=Array.prototype.splice;o.exports=function listCacheDelete(o){var h=this.__data__,E=x(h,o);return!(E<0)&&(E==h.length-1?h.pop():C.call(h,E,1),--this.size,!0)}},alwl:function(o,h,E){var x=E("eUgh"),C=E("ZWtO"),T=E("ut/Y"),P=E("l9OW"),N=E("1LK5"),R=E("sEf8"),j=E("IWTy"),ee=E("zZ0H"),re=E("Z0cm");o.exports=function baseOrderBy(o,h,E){h=h.length?x(h,(function(o){return re(o)?function(h){return C(h,1===o.length?o[0]:o)}:o})):[ee];var ne=-1;h=x(h,R(T));var ie=P(o,(function(o,E,C){return{criteria:x(h,(function(h){return h(o)})),index:++ne,value:o}}));return N(ie,(function(o,h){return j(o,h,E)}))}},"ar/p":function(o,h,E){var x=E("5vMV"),C=E("FpHa").concat("length","prototype");h.f=Object.getOwnPropertyNames||function getOwnPropertyNames(o){return x(o,C)}},"b/f/":function(o,h,E){"use strict";h.__esModule=!0,h.File=function File(o){this.print(o.program,o)},h.Program=function Program(o){this.printInnerComments(o,!1),this.printSequence(o.directives,o),o.directives&&o.directives.length&&this.newline();this.printSequence(o.body,o)},h.BlockStatement=function BlockStatement(o){this.token("{"),this.printInnerComments(o);var h=o.directives&&o.directives.length;o.body.length||h?(this.newline(),this.printSequence(o.directives,o,{indent:!0}),h&&this.newline(),this.printSequence(o.body,o,{indent:!0}),this.removeTrailingNewline(),this.source("end",o.loc),this.endsWith("\n")||this.newline(),this.rightBrace()):(this.source("end",o.loc),this.token("}"))},h.Noop=function Noop(){},h.Directive=function Directive(o){this.print(o.value,o),this.semicolon()};var x=E("imsj");Object.defineProperty(h,"DirectiveLiteral",{enumerable:!0,get:function get(){return x.StringLiteral}})},b1pJ:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("AyUB"));h.default=function(o){var h=o.types;function isValidRequireCall(o){if(!o.isCallExpression())return!1;if(!o.get("callee").isIdentifier({name:"require"}))return!1;if(o.scope.getBinding("require"))return!1;var h=o.get("arguments");return 1===h.length&&!!h[0].isStringLiteral()}var C={ReferencedIdentifier:function ReferencedIdentifier(o){var h=o.node,E=o.scope;"exports"!==h.name||E.getBinding("exports")||(this.hasExports=!0),"module"!==h.name||E.getBinding("module")||(this.hasModule=!0)},CallExpression:function CallExpression(o){isValidRequireCall(o)&&(this.bareSources.push(o.node.arguments[0]),o.remove())},VariableDeclarator:function VariableDeclarator(o){var h=o.get("id");if(h.isIdentifier()){var E=o.get("init");if(isValidRequireCall(E)){var x=E.node.arguments[0];this.sourceNames[x.value]=!0,this.sources.push([h.node,x]),o.remove()}}}};return{inherits:E("0TNr"),pre:function pre(){this.sources=[],this.sourceNames=(0,x.default)(null),this.bareSources=[],this.hasExports=!1,this.hasModule=!1},visitor:{Program:{exit:function exit(o){var E=this;if(!this.ran){this.ran=!0,o.traverse(C,this);var x=this.sources.map((function(o){return o[0]})),N=this.sources.map((function(o){return o[1]}));N=N.concat(this.bareSources.filter((function(o){return!E.sourceNames[o.value]})));var R=this.getModuleName();R&&(R=h.stringLiteral(R)),this.hasExports&&(N.unshift(h.stringLiteral("exports")),x.unshift(h.identifier("exports"))),this.hasModule&&(N.unshift(h.stringLiteral("module")),x.unshift(h.identifier("module")));var j=o.node,ee=P({PARAMS:x,BODY:j.body});ee.expression.body.directives=j.directives,j.directives=[],j.body=[T({MODULE_NAME:R,SOURCES:N,FACTORY:ee})]}}}}}};var C=_interopRequireDefault(E("PTdM"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var T=(0,C.default)("\n define(MODULE_NAME, [SOURCES], FACTORY);\n"),P=(0,C.default)("\n (function (PARAMS) {\n BODY;\n })\n");o.exports=h.default},b2z7:function(o,h){var E=/\w*$/;o.exports=function cloneRegExp(o){var h=new o.constructor(o.source,E.exec(o));return h.lastIndex=o.lastIndex,h}},b48C:function(o,h){o.exports=function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(o){return!1}},o.exports.__esModule=!0,o.exports.default=o.exports},b80T:function(o,h,E){var x=E("UNi/"),C=E("03A+"),T=E("Z0cm"),P=E("DSRE"),N=E("wJg7"),R=E("c6wG"),j=Object.prototype.hasOwnProperty;o.exports=function arrayLikeKeys(o,h){var E=T(o),ee=!E&&C(o),re=!E&&!ee&&P(o),ne=!E&&!ee&&!re&&R(o),ie=E||ee||re||ne,ae=ie?x(o.length,String):[],se=ae.length;for(var oe in o)!h&&!j.call(o,oe)||ie&&("length"==oe||re&&("offset"==oe||"parent"==oe)||ne&&("buffer"==oe||"byteLength"==oe||"byteOffset"==oe)||N(oe,se))||ae.push(oe);return ae}},bBy9:function(o,h,E){E("w2d+");for(var x=E("5T2Y"),C=E("NegM"),T=E("SBuE"),P=E("UWiX")("toStringTag"),N="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),R=0;R=o,"try entries out of order"),o=E;var x=h.catchEntry,P=h.finallyEntry,N=[h.firstLoc,x?x.firstLoc:null];return P&&(N[2]=P.firstLoc,N[3]=P.afterLoc),T.arrayExpression(N)})))},ee.explode=function(o,h){var E=o.node;if(T.assertNode(E),T.isDeclaration(E))throw getDeclError(E);if(T.isStatement(E))return this.explodeStatement(o);if(T.isExpression(E))return this.explodeExpression(o,h);switch(E.type){case"Program":return o.get("body").map(this.explodeStatement,this);case"VariableDeclarator":throw getDeclError(E);case"Property":case"SwitchCase":case"CatchClause":throw new Error(E.type+" nodes should be handled by their parents");default:throw new Error("unknown Node of type "+(0,x.default)(E.type))}},ee.explodeStatement=function(o,h){var E=o.node,j=this,ee=void 0,ne=void 0,ie=void 0;if(T.assertStatement(E),h?T.assertIdentifier(h):h=null,T.isBlockStatement(E))o.get("body").forEach((function(o){j.explodeStatement(o)}));else if(N.containsLeap(E))switch(E.type){case"ExpressionStatement":j.explodeExpression(o.get("expression"),!0);break;case"LabeledStatement":ne=loc(),j.leapManager.withEntry(new P.LabeledEntry(ne,E.label),(function(){j.explodeStatement(o.get("body"),E.label)})),j.mark(ne);break;case"WhileStatement":ee=loc(),ne=loc(),j.mark(ee),j.jumpIfNot(j.explodeExpression(o.get("test")),ne),j.leapManager.withEntry(new P.LoopEntry(ne,ee,h),(function(){j.explodeStatement(o.get("body"))})),j.jump(ee),j.mark(ne);break;case"DoWhileStatement":var ae=loc(),se=loc();ne=loc(),j.mark(ae),j.leapManager.withEntry(new P.LoopEntry(ne,se,h),(function(){j.explode(o.get("body"))})),j.mark(se),j.jumpIf(j.explodeExpression(o.get("test")),ae),j.mark(ne);break;case"ForStatement":ie=loc();var oe=loc();ne=loc(),E.init&&j.explode(o.get("init"),!0),j.mark(ie),E.test&&j.jumpIfNot(j.explodeExpression(o.get("test")),ne),j.leapManager.withEntry(new P.LoopEntry(ne,oe,h),(function(){j.explodeStatement(o.get("body"))})),j.mark(oe),E.update&&j.explode(o.get("update"),!0),j.jump(ie),j.mark(ne);break;case"TypeCastExpression":return j.explodeExpression(o.get("expression"));case"ForInStatement":ie=loc(),ne=loc();var ue=j.makeTempVar();j.emitAssign(ue,T.callExpression(R.runtimeProperty("keys"),[j.explodeExpression(o.get("right"))])),j.mark(ie);var le=j.makeTempVar();j.jumpIf(T.memberExpression(T.assignmentExpression("=",le,T.callExpression(ue,[])),T.identifier("done"),!1),ne),j.emitAssign(E.left,T.memberExpression(le,T.identifier("value"),!1)),j.leapManager.withEntry(new P.LoopEntry(ne,ie,h),(function(){j.explodeStatement(o.get("body"))})),j.jump(ie),j.mark(ne);break;case"BreakStatement":j.emitAbruptCompletion({type:"break",target:j.leapManager.getBreakLoc(E.label)});break;case"ContinueStatement":j.emitAbruptCompletion({type:"continue",target:j.leapManager.getContinueLoc(E.label)});break;case"SwitchStatement":var ce=j.emitAssign(j.makeTempVar(),j.explodeExpression(o.get("discriminant")));ne=loc();for(var pe=loc(),fe=pe,he=[],de=E.cases||[],me=de.length-1;me>=0;--me){var ye=de[me];T.assertSwitchCase(ye),ye.test?fe=T.conditionalExpression(T.binaryExpression("===",ce,ye.test),he[me]=loc(),fe):he[me]=pe}var ge=o.get("discriminant");R.replaceWithOrRemove(ge,fe),j.jump(j.explodeExpression(ge)),j.leapManager.withEntry(new P.SwitchEntry(ne),(function(){o.get("cases").forEach((function(o){var h=o.key;j.mark(he[h]),o.get("consequent").forEach((function(o){j.explodeStatement(o)}))}))})),j.mark(ne),-1===pe.value&&(j.mark(pe),C.default.strictEqual(ne.value,pe.value));break;case"IfStatement":var ve=E.alternate&&loc();ne=loc(),j.jumpIfNot(j.explodeExpression(o.get("test")),ve||ne),j.explodeStatement(o.get("consequent")),ve&&(j.jump(ne),j.mark(ve),j.explodeStatement(o.get("alternate"))),j.mark(ne);break;case"ReturnStatement":j.emitAbruptCompletion({type:"return",value:j.explodeExpression(o.get("argument"))});break;case"WithStatement":throw new Error("WithStatement not supported in generator functions.");case"TryStatement":ne=loc();var De=E.handler,Ee=De&&loc(),xe=Ee&&new P.CatchEntry(Ee,De.param),be=E.finalizer&&loc(),Ce=be&&new P.FinallyEntry(be,ne),Ae=new P.TryEntry(j.getUnmarkedCurrentLoc(),xe,Ce);j.tryEntries.push(Ae),j.updateContextPrevLoc(Ae.firstLoc),j.leapManager.withEntry(Ae,(function(){if(j.explodeStatement(o.get("block")),Ee){be?j.jump(be):j.jump(ne),j.updateContextPrevLoc(j.mark(Ee));var h=o.get("handler.body"),E=j.makeTempVar();j.clearPendingException(Ae.firstLoc,E),h.traverse(re,{safeParam:E,catchParamName:De.param.name}),j.leapManager.withEntry(xe,(function(){j.explodeStatement(h)}))}be&&(j.updateContextPrevLoc(j.mark(be)),j.leapManager.withEntry(Ce,(function(){j.explodeStatement(o.get("finalizer"))})),j.emit(T.returnStatement(T.callExpression(j.contextProperty("finish"),[Ce.firstLoc]))))})),j.mark(ne);break;case"ThrowStatement":j.emit(T.throwStatement(j.explodeExpression(o.get("argument"))));break;default:throw new Error("unknown Statement of type "+(0,x.default)(E.type))}else j.emit(E)};var re={Identifier:function Identifier(o,h){o.node.name===h.catchParamName&&R.isReference(o)&&R.replaceWithOrRemove(o,h.safeParam)},Scope:function Scope(o,h){o.scope.hasOwnBinding(h.catchParamName)&&o.skip()}};ee.emitAbruptCompletion=function(o){(function isValidCompletion(o){var h=o.type;if("normal"===h)return!j.call(o,"target");if("break"===h||"continue"===h)return!j.call(o,"value")&&T.isLiteral(o.target);if("return"===h||"throw"===h)return j.call(o,"value")&&!j.call(o,"target");return!1})(o)||C.default.ok(!1,"invalid completion record: "+(0,x.default)(o)),C.default.notStrictEqual(o.type,"normal","normal completions are not abrupt");var h=[T.stringLiteral(o.type)];"break"===o.type||"continue"===o.type?(T.assertLiteral(o.target),h[1]=o.target):"return"!==o.type&&"throw"!==o.type||o.value&&(T.assertExpression(o.value),h[1]=o.value),this.emit(T.returnStatement(T.callExpression(this.contextProperty("abrupt"),h)))},ee.getUnmarkedCurrentLoc=function(){return T.numericLiteral(this.listing.length)},ee.updateContextPrevLoc=function(o){o?(T.assertLiteral(o),-1===o.value?o.value=this.listing.length:C.default.strictEqual(o.value,this.listing.length)):o=this.getUnmarkedCurrentLoc(),this.emitAssign(this.contextProperty("prev"),o)},ee.explodeExpression=function(o,h){var E=o.node;if(!E)return E;T.assertExpression(E);var P=this,R=void 0,j=void 0;function finish(o){if(T.assertExpression(o),!h)return o;P.emit(o)}if(!N.containsLeap(E))return finish(E);var ee=N.containsLeap.onlyChildren(E);function explodeViaTempVar(o,h,E){C.default.ok(!E||!o,"Ignoring the result of a child expression but forcing it to be assigned to a temporary variable?");var x=P.explodeExpression(h,E);return E||(o||ee&&!T.isLiteral(x))&&(x=P.emitAssign(o||P.makeTempVar(),x)),x}switch(E.type){case"MemberExpression":return finish(T.memberExpression(P.explodeExpression(o.get("object")),E.computed?explodeViaTempVar(null,o.get("property")):E.property,E.computed));case"CallExpression":var re=o.get("callee"),ne=o.get("arguments"),ie=void 0,ae=[],se=!1;if(ne.forEach((function(o){se=se||N.containsLeap(o.node)})),T.isMemberExpression(re.node))if(se){var oe=explodeViaTempVar(P.makeTempVar(),re.get("object")),ue=re.node.computed?explodeViaTempVar(null,re.get("property")):re.node.property;ae.unshift(oe),ie=T.memberExpression(T.memberExpression(oe,ue,re.node.computed),T.identifier("call"),!1)}else ie=P.explodeExpression(re);else ie=explodeViaTempVar(null,re),T.isMemberExpression(ie)&&(ie=T.sequenceExpression([T.numericLiteral(0),ie]));return ne.forEach((function(o){ae.push(explodeViaTempVar(null,o))})),finish(T.callExpression(ie,ae));case"NewExpression":return finish(T.newExpression(explodeViaTempVar(null,o.get("callee")),o.get("arguments").map((function(o){return explodeViaTempVar(null,o)}))));case"ObjectExpression":return finish(T.objectExpression(o.get("properties").map((function(o){return o.isObjectProperty()?T.objectProperty(o.node.key,explodeViaTempVar(null,o.get("value")),o.node.computed):o.node}))));case"ArrayExpression":return finish(T.arrayExpression(o.get("elements").map((function(o){return explodeViaTempVar(null,o)}))));case"SequenceExpression":var le=E.expressions.length-1;return o.get("expressions").forEach((function(o){o.key===le?R=P.explodeExpression(o,h):P.explodeExpression(o,!0)})),R;case"LogicalExpression":j=loc(),h||(R=P.makeTempVar());var ce=explodeViaTempVar(R,o.get("left"));return"&&"===E.operator?P.jumpIfNot(ce,j):(C.default.strictEqual(E.operator,"||"),P.jumpIf(ce,j)),explodeViaTempVar(R,o.get("right"),h),P.mark(j),R;case"ConditionalExpression":var pe=loc();j=loc();var fe=P.explodeExpression(o.get("test"));return P.jumpIfNot(fe,pe),h||(R=P.makeTempVar()),explodeViaTempVar(R,o.get("consequent"),h),P.jump(j),P.mark(pe),explodeViaTempVar(R,o.get("alternate"),h),P.mark(j),R;case"UnaryExpression":return finish(T.unaryExpression(E.operator,P.explodeExpression(o.get("argument")),!!E.prefix));case"BinaryExpression":return finish(T.binaryExpression(E.operator,explodeViaTempVar(null,o.get("left")),explodeViaTempVar(null,o.get("right"))));case"AssignmentExpression":return finish(T.assignmentExpression(E.operator,P.explodeExpression(o.get("left")),P.explodeExpression(o.get("right"))));case"UpdateExpression":return finish(T.updateExpression(E.operator,P.explodeExpression(o.get("argument")),E.prefix));case"YieldExpression":j=loc();var he=E.argument&&P.explodeExpression(o.get("argument"));if(he&&E.delegate){var de=P.makeTempVar();return P.emit(T.returnStatement(T.callExpression(P.contextProperty("delegateYield"),[he,T.stringLiteral(de.property.name),j]))),P.mark(j),de}return P.emitAssign(P.contextProperty("next"),j),P.emit(T.returnStatement(he||null)),P.mark(j),P.contextProperty("sent");default:throw new Error("unknown Expression of type "+(0,x.default)(E.type))}}},cWuE:function(o,h){function swap(o,h,E){var x=o[h];o[h]=o[E],o[E]=x}function doQuickSort(o,h,E,x){if(E=j?o?"":void 0:(T=N.charCodeAt(R))<55296||T>56319||R+1===j||(P=N.charCodeAt(R+1))<56320||P>57343?o?N.charAt(R):T:o?N.slice(R,R+2):P-56320+(T-55296<<10)+65536}}},cn2g:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{visitor:{ObjectMethod:function ObjectMethod(o){var h=o.node;if("method"===h.kind){var E=x.functionExpression(null,h.params,h.body,h.generator,h.async);E.returnType=h.returnType,o.replaceWith(x.objectProperty(h.key,E,h.computed))}},ObjectProperty:function ObjectProperty(o){var h=o.node;h.shorthand&&(h.shorthand=!1)}}}};var x=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));o.exports=h.default},"cq/+":function(o,h,E){var x=E("mc0g")();o.exports=x},cqG1:function(o,h,E){!function(){"use strict";h.ast=E("FLLs"),h.code=E("KoBc"),h.keyword=E("jqjA")}()},cvCv:function(o,h){o.exports=function constant(o){return function(){return o}}},dD9F:function(o,h,E){var x=E("NykK"),C=E("shjB"),T=E("ExA7"),P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Arguments]"]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object Boolean]"]=P["[object DataView]"]=P["[object Date]"]=P["[object Error]"]=P["[object Function]"]=P["[object Map]"]=P["[object Number]"]=P["[object Object]"]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object WeakMap]"]=!1,o.exports=function baseIsTypedArray(o){return T(o)&&C(o.length)&&!!P[x(o)]}},dQpi:function(o,h,E){var x=E("yGk4"),C=E("vN+2"),T=E("rEGp"),P=x&&1/T(new x([,-0]))[1]==1/0?function(o){return new x(o)}:C;o.exports=P},dTAl:function(o,h,E){var x=E("GoyQ"),C=Object.create,T=function(){function object(){}return function(o){if(!x(o))return{};if(C)return C(o);object.prototype=o;var h=new object;return object.prototype=void 0,h}}();o.exports=T},dVTT:function(o,h,E){E("aPfg")("Map")},dVj6:function(o,h,E){(function(o,x){var C;!function(T){var P=h,N=(o&&o.exports,"object"==typeof x&&x);N.global!==N&&N.window;var R="A range’s `stop` value must be greater than or equal to the `start` value.",j="Invalid code point value. Code points range from U+000000 to U+10FFFF.",ee=/\\x00([^0123456789]|$)/g,re={},ne=re.hasOwnProperty,forEach=function(o,h){for(var E=-1,x=o.length;++E=E&&hE)return o;if(h<=x&&E>=C)o.splice(T,2);else{if(h>=x&&E=x&&h<=C)o[T+1]=h;else if(E>=x&&E<=C)return o[T]=E+1,o;T+=2}}return o},dataAdd=function(o,h){var E,x,C=0,T=null,P=o.length;if(h<0||h>1114111)throw RangeError(j);for(;C=E&&hh)return o.splice(null!=T?T+2:0,0,h,h+1),o;if(h==x)return h+1==o[C+2]?(o.splice(C,4,E,o[C+3]),o):(o[C+1]=h+1,o);T=C,C+=2}return o.push(h,h+1),o},dataAddData=function(o,h){for(var E,x,C=0,T=o.slice(),P=h.length;C1114111||E<0||E>1114111)throw RangeError(j);for(var x,C,T=0,P=!1,N=o.length;TE)return o;x>=h&&x<=E&&(C>h&&C-1<=E?(o.splice(T,2),T-=2):(o.splice(T-1,2),T-=2))}else{if(x==E+1)return o[T]=h,o;if(x>E)return o.splice(T,0,h,E+1),o;if(h>=x&&h=x&&h=C&&(o[T]=h,o[T+1]=E+1,P=!0)}T+=2}return P||o.push(h,E+1),o},dataContains=function(o,h){var E=0,x=o.length,C=o[E],T=o[x-1];if(x>=2&&(hT))return!1;for(;E=C&&h=40&&o<=43||46==o||47==o||63==o||o>=91&&o<=94||o>=123&&o<=125?"\\"+oe(o):o>=32&&o<=126?oe(o):o<=255?"\\x"+pad(hex(o),2):"\\u"+pad(hex(o),4)},codePointToStringUnicode=function(o){return o<=65535?codePointToString(o):"\\u{"+o.toString(16).toUpperCase()+"}"},symbolToCodePoint=function(o){var h=o.length,E=o.charCodeAt(0);return E>=55296&&E<=56319&&h>1?1024*(E-55296)+o.charCodeAt(1)-56320+65536:E},createBMPCharacterClasses=function(o){var h,E,x="",C=0,T=o.length;if(dataIsSingleton(o))return codePointToString(o[0]);for(;C=55296&&E<=56319&&(T.push(h,55296),x.push(55296,E+1)),E>=56320&&E<=57343&&(T.push(h,55296),x.push(55296,56320),C.push(56320,E+1)),E>57343&&(T.push(h,55296),x.push(55296,56320),C.push(56320,57344),E<=65535?T.push(57344,E+1):(T.push(57344,65536),P.push(65536,E+1)))):h>=55296&&h<=56319?(E>=55296&&E<=56319&&x.push(h,E+1),E>=56320&&E<=57343&&(x.push(h,56320),C.push(56320,E+1)),E>57343&&(x.push(h,56320),C.push(56320,57344),E<=65535?T.push(57344,E+1):(T.push(57344,65536),P.push(65536,E+1)))):h>=56320&&h<=57343?(E>=56320&&E<=57343&&C.push(h,E+1),E>57343&&(C.push(h,57344),E<=65535?T.push(57344,E+1):(T.push(57344,65536),P.push(65536,E+1)))):h>57343&&h<=65535?E<=65535?T.push(h,E+1):(T.push(h,65536),P.push(65536,E+1)):P.push(h,E+1),N+=2;return{loneHighSurrogates:x,loneLowSurrogates:C,bmp:T,astral:P}}(o),T=C.loneHighSurrogates,P=C.loneLowSurrogates,N=C.bmp,R=C.astral,j=!dataIsEmpty(T),ee=!dataIsEmpty(P),re=surrogateSet(R);return h&&(N=dataAddData(N,T),j=!1,N=dataAddData(N,P),ee=!1),dataIsEmpty(N)||x.push(createBMPCharacterClasses(N)),re.length&&x.push(function(o){var h=[];return forEach(o,(function(o){var E=o[0],x=o[1];h.push(createBMPCharacterClasses(E)+createBMPCharacterClasses(x))})),h.join("|")}(re)),j&&x.push(createBMPCharacterClasses(T)+"(?![\\uDC00-\\uDFFF])"),ee&&x.push("(?:[^\\uD800-\\uDBFF]|^)"+createBMPCharacterClasses(P)),x.join("|")},regenerate=function(o){return arguments.length>1&&(o=ae.call(arguments)),this instanceof regenerate?(this.data=[],o?this.add(o):this):(new regenerate).add(o)};regenerate.version="1.3.3";var ue=regenerate.prototype;!function(o,h){var E;for(E in h)ne.call(h,E)&&(o[E]=h[E])}(ue,{add:function(o){var h=this;return null==o?h:o instanceof regenerate?(h.data=dataAddData(h.data,o.data),h):(arguments.length>1&&(o=ae.call(arguments)),isArray(o)?(forEach(o,(function(o){h.add(o)})),h):(h.data=dataAdd(h.data,isNumber(o)?o:symbolToCodePoint(o)),h))},remove:function(o){var h=this;return null==o?h:o instanceof regenerate?(h.data=dataRemoveData(h.data,o.data),h):(arguments.length>1&&(o=ae.call(arguments)),isArray(o)?(forEach(o,(function(o){h.remove(o)})),h):(h.data=dataRemove(h.data,isNumber(o)?o:symbolToCodePoint(o)),h))},addRange:function(o,h){return this.data=dataAddRange(this.data,isNumber(o)?o:symbolToCodePoint(o),isNumber(h)?h:symbolToCodePoint(h)),this},removeRange:function(o,h){var E=isNumber(o)?o:symbolToCodePoint(o),x=isNumber(h)?h:symbolToCodePoint(h);return this.data=dataRemoveRange(this.data,E,x),this},intersection:function(o){var h=o instanceof regenerate?dataToArray(o.data):o;return this.data=function(o,h){for(var E,x=0,C=h.length,T=[];x=ee.length)break;ae=ee[ie++]}else{if((ie=ee.next()).done)break;ae=ie.value}var se=ae;if((!P||!P[se])&&j.visit(o,se))return}}},traverse.clearNode=function(o,h){re.removeProperties(o,h),ne.path.delete(o)},traverse.removeProperties=function(o,h){return re.traverseFast(o,traverse.clearNode,h),o},traverse.hasType=function(o,h,E,x){if((0,ee.default)(x,o.type))return!1;if(o.type===E)return!0;var C={has:!1,type:E};return traverse(o,{blacklist:x,enter:hasBlacklistedType},h,C),C.has},traverse.clearCache=function(){ne.clear()},traverse.clearCache.clearPath=ne.clearPath,traverse.clearCache.clearScope=ne.clearScope,traverse.copyCache=function(o,h){ne.path.has(o)&&ne.path.set(h,ne.path.get(o))}},dbV7:function(o,h,E){var x=E("Y7ZC");x(x.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},dl0q:function(o,h,E){E("Zxgi")("observable")},dt0z:function(o,h,E){var x=E("zoYe");o.exports=function toString(o){return null==o?"":x(o)}},dtiW:function(o,h,E){var x=E("/tHr"),C=Object.prototype.hasOwnProperty,T="undefined"!=typeof Map;function ArraySet(){this._array=[],this._set=T?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(o,h){for(var E=new ArraySet,x=0,C=o.length;x=0)return h}else{var E=x.toSetString(o);if(C.call(this._set,E))return this._set[E]}throw new Error('"'+o+'" is not in the set.')},ArraySet.prototype.at=function ArraySet_at(o){if(o>=0&&o=0)return!0}else if(T===o)return!0}return!1},h.isReferenced=function isReferenced(o,h){switch(h.type){case"BindExpression":return h.object===o||h.callee===o;case"MemberExpression":case"JSXMemberExpression":return!(h.property!==o||!h.computed)||h.object===o;case"MetaProperty":return!1;case"ObjectProperty":if(h.key===o)return h.computed;case"VariableDeclarator":return h.id!==o;case"ArrowFunctionExpression":case"FunctionDeclaration":case"FunctionExpression":var E=h.params,x=Array.isArray(E),C=0;for(E=x?E:(0,T.default)(E);;){var P;if(x){if(C>=E.length)break;P=E[C++]}else{if((C=E.next()).done)break;P=C.value}if(P===o)return!1}return h.id!==o;case"ExportSpecifier":return!h.source&&h.local===o;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"JSXAttribute":return h.name!==o;case"ClassProperty":return h.key===o?h.computed:h.value===o;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ClassDeclaration":case"ClassExpression":return h.id!==o;case"ClassMethod":case"ObjectMethod":return h.key===o&&h.computed;case"LabeledStatement":return!1;case"CatchClause":return h.param!==o;case"RestElement":return!1;case"AssignmentExpression":case"AssignmentPattern":return h.right===o;case"ObjectPattern":case"ArrayPattern":return!1}return!0},h.isValidIdentifier=function isValidIdentifier(o){return"string"==typeof o&&!N.default.keyword.isReservedWordES6(o,!0)&&("await"!==o&&N.default.keyword.isIdentifierNameES6(o))},h.isLet=function isLet(o){return R.isVariableDeclaration(o)&&("var"!==o.kind||o[j.BLOCK_SCOPED_SYMBOL])},h.isBlockScoped=function isBlockScoped(o){return R.isFunctionDeclaration(o)||R.isClassDeclaration(o)||R.isLet(o)},h.isVar=function isVar(o){return R.isVariableDeclaration(o,{kind:"var"})&&!o[j.BLOCK_SCOPED_SYMBOL]},h.isSpecifierDefault=function isSpecifierDefault(o){return R.isImportDefaultSpecifier(o)||R.isIdentifier(o.imported||o.exported,{name:"default"})},h.isScope=function isScope(o,h){if(R.isBlockStatement(o)&&R.isFunction(h,{body:o}))return!1;return R.isScopable(o)},h.isImmutable=function isImmutable(o){if(R.isType(o.type,"Immutable"))return!0;if(R.isIdentifier(o))return"undefined"===o.name;return!1},h.isNodesEquivalent=function isNodesEquivalent(o,h){if("object"!==(void 0===o?"undefined":(0,C.default)(o))||"object"!==(void 0===o?"undefined":(0,C.default)(o))||null==o||null==h)return o===h;if(o.type!==h.type)return!1;var E=(0,x.default)(R.NODE_FIELDS[o.type]||o.type),P=Array.isArray(E),N=0;for(E=P?E:(0,T.default)(E);;){var j;if(P){if(N>=E.length)break;j=E[N++]}else{if((N=E.next()).done)break;j=N.value}var ee=j;if((0,C.default)(o[ee])!==(0,C.default)(h[ee]))return!1;if(Array.isArray(o[ee])){if(!Array.isArray(h[ee]))return!1;if(o[ee].length!==h[ee].length)return!1;for(var re=0;re0)?ee:-ee])?h[0]++:h=R[ee]=[1,0]:h&&(h[1]+=Number(E))}}));var j,ee,re=function getMostUsed(o){var h=0,E=0,x=0;for(var C in o){var T=o[C],P=T[0],N=T[1];(P>E||P===E&&N>x)&&(E=P,x=N,h=Number(C))}return h}(R);return re?P>=T?(j="space",ee=x(" ",re)):(j="tab",ee=x("\t",re)):(j=null,ee=""),{amount:re,type:j,indent:ee}}},f98j:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("z/5e")),C=_interopRequireDefault(E("gDS+")),T=_interopRequireDefault(E("FyfS"));h.toComputedKey=function toComputedKey(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.key||o.property;o.computed||R.isIdentifier(h)&&(h=R.stringLiteral(h.name));return h},h.toSequenceExpression=function toSequenceExpression(o,h){if(!o||!o.length)return;var E=[],x=function gatherSequenceExpressions(o,h,E){var x=[],C=!0,P=o,N=Array.isArray(P),j=0;for(P=N?P:(0,T.default)(P);;){var ee;if(N){if(j>=P.length)break;ee=P[j++]}else{if((j=P.next()).done)break;ee=j.value}var re=ee;if(C=!1,R.isExpression(re))x.push(re);else if(R.isExpressionStatement(re))x.push(re.expression);else if(R.isVariableDeclaration(re)){if("var"!==re.kind)return;var ne=re.declarations,ie=Array.isArray(ne),ae=0;for(ne=ie?ne:(0,T.default)(ne);;){var se;if(ie){if(ae>=ne.length)break;se=ne[ae++]}else{if((ae=ne.next()).done)break;se=ae.value}var oe=se,ue=R.getBindingIdentifiers(oe);for(var le in ue)E.push({kind:re.kind,id:ue[le]});oe.init&&x.push(R.assignmentExpression("=",oe.id,oe.init))}C=!0}else if(R.isIfStatement(re)){var ce=re.consequent?gatherSequenceExpressions([re.consequent],h,E):h.buildUndefinedNode(),pe=re.alternate?gatherSequenceExpressions([re.alternate],h,E):h.buildUndefinedNode();if(!ce||!pe)return;x.push(R.conditionalExpression(re.test,ce,pe))}else if(R.isBlockStatement(re)){var fe=gatherSequenceExpressions(re.body,h,E);if(!fe)return;x.push(fe)}else{if(!R.isEmptyStatement(re))return;C=!0}}C&&x.push(h.buildUndefinedNode());return 1===x.length?x[0]:R.sequenceExpression(x)}(o,h,E);if(!x)return;var C=E,P=Array.isArray(C),N=0;for(C=P?C:(0,T.default)(C);;){var j;if(P){if(N>=C.length)break;j=C[N++]}else{if((N=C.next()).done)break;j=N.value}var ee=j;h.push(ee)}return x},h.toKeyAlias=toKeyAlias,h.toIdentifier=toIdentifier,h.toBindingIdentifierName=function toBindingIdentifierName(o){"eval"!==(o=toIdentifier(o))&&"arguments"!==o||(o="_"+o);return o},h.toStatement=function toStatement(o,h){if(R.isStatement(o))return o;var E=!1,x=void 0;if(R.isClass(o))E=!0,x="ClassDeclaration";else if(R.isFunction(o))E=!0,x="FunctionDeclaration";else if(R.isAssignmentExpression(o))return R.expressionStatement(o);E&&!o.id&&(x=!1);if(!x){if(h)return!1;throw new Error("cannot turn "+o.type+" to a statement")}return o.type=x,o},h.toExpression=function toExpression(o){R.isExpressionStatement(o)&&(o=o.expression);if(R.isExpression(o))return o;R.isClass(o)?o.type="ClassExpression":R.isFunction(o)&&(o.type="FunctionExpression");if(!R.isExpression(o))throw new Error("cannot turn "+o.type+" to an expression");return o},h.toBlock=function toBlock(o,h){if(R.isBlockStatement(o))return o;R.isEmptyStatement(o)&&(o=[]);Array.isArray(o)||(R.isStatement(o)||(o=R.isFunction(h)?R.returnStatement(o):R.expressionStatement(o)),o=[o]);return R.blockStatement(o)},h.valueToNode=function valueToNode(o){if(void 0===o)return R.identifier("undefined");if(!0===o||!1===o)return R.booleanLiteral(o);if(null===o)return R.nullLiteral();if("string"==typeof o)return R.stringLiteral(o);if("number"==typeof o)return R.numericLiteral(o);if((0,N.default)(o)){var h=o.source,E=o.toString().match(/\/([a-z]+|)$/)[1];return R.regExpLiteral(h,E)}if(Array.isArray(o))return R.arrayExpression(o.map(R.valueToNode));if((0,P.default)(o)){var x=[];for(var C in o){var T=void 0;T=R.isValidIdentifier(C)?R.identifier(C):R.stringLiteral(C),x.push(R.objectProperty(T,R.valueToNode(o[C])))}return R.objectExpression(x)}throw new Error("don't know how to turn this value into a node")};var P=_interopRequireDefault(E("YO3V")),N=_interopRequireDefault(E("wAXd")),R=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function toKeyAlias(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.key,E=void 0;return"method"===o.kind?toKeyAlias.increment()+"":(E=R.isIdentifier(h)?h.name:R.isStringLiteral(h)?(0,C.default)(h.value):(0,C.default)(R.removePropertiesDeep(R.cloneDeep(h))),o.computed&&(E="["+E+"]"),o.static&&(E="static:"+E),E)}function toIdentifier(o){return o=(o=(o=(o+="").replace(/[^a-zA-Z0-9$_]/g,"-")).replace(/^[-0-9]+/,"")).replace(/[-\s]+(.)?/g,(function(o,h){return h?h.toUpperCase():""})),R.isValidIdentifier(o)||(o="_"+o),o||"_"}toKeyAlias.uid=0,toKeyAlias.increment=function(){return toKeyAlias.uid>=x.default?toKeyAlias.uid=0:toKeyAlias.uid++}},fGT3:function(o,h,E){var x=E("4kuk"),C=E("Xi7e"),T=E("ebwN");o.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new x,map:new(T||C),string:new x}}},fNZA:function(o,h,E){var x=E("QMMT"),C=E("UWiX")("iterator"),T=E("SBuE");o.exports=E("WEpk").getIteratorMethod=function(o){if(null!=o)return o[C]||o["@@iterator"]||T[x(o)]}},"fR/l":function(o,h,E){var x=E("CH3K"),C=E("Z0cm");o.exports=function baseGetAllKeys(o,h,E){var T=h(o);return C(o)?T:x(T,E(o))}},fXsU:function(o,h,E){var x=E("5K7Z"),C=E("fNZA");o.exports=E("WEpk").getIterator=function(o){var h=C(o);if("function"!=typeof h)throw TypeError(o+" is not iterable!");return x(h.call(o))}},"fYZ/":function(o,h,E){"use strict";var x=E("nu5z"),C=new RegExp(x().source);o.exports=C.test.bind(C)},fmRc:function(o,h,E){var x=E("Xi7e"),C=E("77Zs"),T=E("L8xA"),P=E("gCq4"),N=E("VaNO"),R=E("0Cz8");function Stack(o){var h=this.__data__=new x(o);this.size=h.size}Stack.prototype.clear=C,Stack.prototype.delete=T,Stack.prototype.get=P,Stack.prototype.has=N,Stack.prototype.set=R,o.exports=Stack},fpC5:function(o,h,E){var x=E("2faE"),C=E("5K7Z"),T=E("w6GO");o.exports=E("jmDH")?Object.defineProperties:function defineProperties(o,h){C(o);for(var E,P=T(h),N=P.length,R=0;N>R;)x.f(o,E=P[R++],h[E]);return o}},ftKO:function(o,h){o.exports=function setCacheAdd(o){return this.__data__.set(o,"__lodash_hash_undefined__"),this}},g33z:function(o,h,E){"use strict";var x=E("Wu5q"),C=E("n3ko");o.exports=E("raTm")("Map",(function(o){return function Map(){return o(this,arguments.length>0?arguments[0]:void 0)}}),{get:function get(o){var h=x.getEntry(C(this,"Map"),o);return h&&h.v},set:function set(o,h){return x.def(C(this,"Map"),0===o?0:o,h)}},x,!0)},g4R6:function(o,h){o.exports=function baseClamp(o,h,E){return o==o&&(void 0!==E&&(o=o<=E?o:E),void 0!==h&&(o=o>=h?o:h)),o}},gCq4:function(o,h){o.exports=function stackGet(o){return this.__data__.get(o)}},"gDS+":function(o,h,E){o.exports={default:E("oh+g"),__esModule:!0}},gFfm:function(o,h){o.exports=function arrayEach(o,h){for(var E=-1,x=null==o?0:o.length;++E"z")&&(x<"A"||x>"Z")&&error("Bad identifier as unquoted key");next()&&("_"===x||"$"===x||x>="a"&&x<="z"||x>="A"&&x<="Z"||x>="0"&&x<="9");)o+=x;return o},number=function(){var o,h="",E="",C=10;if("-"!==x&&"+"!==x||(h=x,next(x)),"I"===x)return("number"!=typeof(o=word())||isNaN(o))&&error("Unexpected word for number"),"-"===h?-o:o;if("N"===x)return o=word(),isNaN(o)||error("expected word to be NaN"),o;switch("0"===x&&(E+=x,next(),"x"===x||"X"===x?(E+=x,next(),C=16):x>="0"&&x<="9"&&error("Octal literal")),C){case 10:for(;x>="0"&&x<="9";)E+=x,next();if("."===x)for(E+=".";next()&&x>="0"&&x<="9";)E+=x;if("e"===x||"E"===x)for(E+=x,next(),"-"!==x&&"+"!==x||(E+=x,next());x>="0"&&x<="9";)E+=x,next();break;case 16:for(;x>="0"&&x<="9"||x>="A"&&x<="F"||x>="a"&&x<="f";)E+=x,next()}if(o="-"===h?-E:+E,isFinite(o))return o;error("Bad number")},string=function(){var o,h,E,C,T="";if('"'===x||"'"===x)for(E=x;next();){if(x===E)return next(),T;if("\\"===x)if(next(),"u"===x){for(C=0,h=0;h<4&&(o=parseInt(next(),16),isFinite(o));h+=1)C=16*C+o;T+=String.fromCharCode(C)}else if("\r"===x)"\n"===peek()&&next();else{if("string"!=typeof P[x])break;T+=P[x]}else{if("\n"===x)break;T+=x}}error("Bad string")},comment=function(){"/"!==x&&error("Not a comment"),next("/"),"/"===x?function(){"/"!==x&&error("Not an inline comment");do{if(next(),"\n"===x||"\r"===x)return void next()}while(x)}():"*"===x?function(){"*"!==x&&error("Not a block comment");do{for(next();"*"===x;)if(next("*"),"/"===x)return void next("/")}while(x);error("Unterminated block comment")}():error("Unrecognized comment")},white=function(){for(;x;)if("/"===x)comment();else{if(!(N.indexOf(x)>=0))return;next()}},word=function(){switch(x){case"t":return next("t"),next("r"),next("u"),next("e"),!0;case"f":return next("f"),next("a"),next("l"),next("s"),next("e"),!1;case"n":return next("n"),next("u"),next("l"),next("l"),null;case"I":return next("I"),next("n"),next("f"),next("i"),next("n"),next("i"),next("t"),next("y"),1/0;case"N":return next("N"),next("a"),next("N"),NaN}error("Unexpected "+renderChar(x))};return T=function(){switch(white(),x){case"{":return function(){var o,h={};if("{"===x)for(next("{"),white();x;){if("}"===x)return next("}"),h;if(o='"'===x||"'"===x?string():identifier(),white(),next(":"),h[o]=T(),white(),","!==x)return next("}"),h;next(","),white()}error("Bad object")}();case"[":return function(){var o=[];if("["===x)for(next("["),white();x;){if("]"===x)return next("]"),o;if(","===x?error("Missing array element"):o.push(T()),white(),","!==x)return next("]"),o;next(","),white()}error("Bad array")}();case'"':case"'":return string();case"-":case"+":case".":return number();default:return x>="0"&&x<="9"?number():word()}},function(P,N){var R;return C=String(P),o=0,h=1,E=1,x=" ",R=T(),white(),x&&error("Syntax error"),"function"==typeof N?function walk(o,h){var E,x,C=o[h];if(C&&"object"==typeof C)for(E in C)Object.prototype.hasOwnProperty.call(C,E)&&(void 0!==(x=walk(C,E))?C[E]=x:delete C[E]);return N.call(o,h,C)}({"":R},""):R}}(),x.stringify=function(o,h,E){if(h&&"function"!=typeof h&&!isArray(h))throw new Error("Replacer must be a function or an array");var getReplacedValueOrUndefined=function(o,E,x){var C=o[E];return C&&C.toJSON&&"function"==typeof C.toJSON&&(C=C.toJSON()),"function"==typeof h?h.call(o,E,C):h?x||isArray(o)||h.indexOf(E)>=0?C:void 0:C};function isWord(o){if("string"!=typeof o)return!1;if(!function isWordStart(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||"_"===o||"$"===o}(o[0]))return!1;for(var h,E=1,x=o.length;E="a"&&h<="z"||h>="A"&&h<="Z"||h>="0"&&h<="9"||"_"===h||"$"===h))return!1;E++}return!0}function isArray(o){return Array.isArray?Array.isArray(o):"[object Array]"===Object.prototype.toString.call(o)}x.isWord=isWord;var C,T=[];function checkForCircular(o){for(var h=0;h10&&(o=o.substring(0,10));for(var x=E?"":"\n",C=0;C=0&&(C=makeIndent(" ",E,!0)));var P=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,N={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function escapeString(o){return P.lastIndex=0,P.test(o)?'"'+o.replace(P,(function(o){var h=N[o];return"string"==typeof h?h:"\\u"+("0000"+o.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+o+'"'}var R={"":o};return void 0===o?getReplacedValueOrUndefined(R,"",!0):function internalStringify(o,h,E){var x,P,N=getReplacedValueOrUndefined(o,h,E);switch(N&&!function isDate(o){return"[object Date]"===Object.prototype.toString.call(o)}(N)&&(N=N.valueOf()),typeof N){case"boolean":return N.toString();case"number":return isNaN(N)||!isFinite(N)?"null":N.toString();case"string":return escapeString(N.toString());case"object":if(null===N)return"null";if(isArray(N)){checkForCircular(N),x="[",T.push(N);for(var R=0;R","homepage":"https://babeljs.io/","license":"MIT","repository":"https://github.com/babel/babel/tree/master/packages/babel-core","keywords":["6to5","babel","classes","const","es6","harmony","let","modules","transpile","transpiler","var","babel-core","compiler"],"scripts":{"bench":"make bench","test":"make test"},"dependencies":{"babel-code-frame":"^6.26.0","babel-generator":"^6.26.0","babel-helpers":"^6.24.1","babel-messages":"^6.23.0","babel-register":"^6.26.0","babel-runtime":"^6.26.0","babel-template":"^6.26.0","babel-traverse":"^6.26.0","babel-types":"^6.26.0","babylon":"^6.18.0","convert-source-map":"^1.5.1","debug":"^2.6.9","json5":"^0.5.1","lodash":"^4.17.4","minimatch":"^3.0.4","path-is-absolute":"^1.0.1","private":"^0.1.8","slash":"^1.0.0","source-map":"^0.5.7"},"devDependencies":{"babel-helper-fixtures":"^6.26.2","babel-helper-transform-fixture-test-runner":"^6.26.2","babel-polyfill":"^6.26.0"}}')},"h+yE":function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("PTdM"));var C={};h.default=C,C.typeof=(0,x.default)('\n (typeof Symbol === "function" && typeof Symbol.iterator === "symbol")\n ? function (obj) { return typeof obj; }\n : function (obj) {\n return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype\n ? "symbol"\n : typeof obj;\n };\n'),C.jsx=(0,x.default)('\n (function () {\n var REACT_ELEMENT_TYPE = (typeof Symbol === "function" && Symbol.for && Symbol.for("react.element")) || 0xeac7;\n\n return function createRawReactElement (type, props, key, children) {\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n\n if (!props && childrenLength !== 0) {\n // If we\'re going to assign props.children, we create a new object now\n // to avoid mutating defaultProps.\n props = {};\n }\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = Array(childrenLength);\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n props.children = childArray;\n }\n\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : \'\' + key,\n ref: null,\n props: props,\n _owner: null,\n };\n };\n\n })()\n'),C.asyncIterator=(0,x.default)('\n (function (iterable) {\n if (typeof Symbol === "function") {\n if (Symbol.asyncIterator) {\n var method = iterable[Symbol.asyncIterator];\n if (method != null) return method.call(iterable);\n }\n if (Symbol.iterator) {\n return iterable[Symbol.iterator]();\n }\n }\n throw new TypeError("Object is not async iterable");\n })\n'),C.asyncGenerator=(0,x.default)('\n (function () {\n function AwaitValue(value) {\n this.value = value;\n }\n\n function AsyncGenerator(gen) {\n var front, back;\n\n function send(key, arg) {\n return new Promise(function (resolve, reject) {\n var request = {\n key: key,\n arg: arg,\n resolve: resolve,\n reject: reject,\n next: null\n };\n\n if (back) {\n back = back.next = request;\n } else {\n front = back = request;\n resume(key, arg);\n }\n });\n }\n\n function resume(key, arg) {\n try {\n var result = gen[key](arg)\n var value = result.value;\n if (value instanceof AwaitValue) {\n Promise.resolve(value.value).then(\n function (arg) { resume("next", arg); },\n function (arg) { resume("throw", arg); });\n } else {\n settle(result.done ? "return" : "normal", result.value);\n }\n } catch (err) {\n settle("throw", err);\n }\n }\n\n function settle(type, value) {\n switch (type) {\n case "return":\n front.resolve({ value: value, done: true });\n break;\n case "throw":\n front.reject(value);\n break;\n default:\n front.resolve({ value: value, done: false });\n break;\n }\n\n front = front.next;\n if (front) {\n resume(front.key, front.arg);\n } else {\n back = null;\n }\n }\n\n this._invoke = send;\n\n // Hide "return" method if generator return is not supported\n if (typeof gen.return !== "function") {\n this.return = undefined;\n }\n }\n\n if (typeof Symbol === "function" && Symbol.asyncIterator) {\n AsyncGenerator.prototype[Symbol.asyncIterator] = function () { return this; };\n }\n\n AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); };\n AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); };\n AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); };\n\n return {\n wrap: function (fn) {\n return function () {\n return new AsyncGenerator(fn.apply(this, arguments));\n };\n },\n await: function (value) {\n return new AwaitValue(value);\n }\n };\n\n })()\n'),C.asyncGeneratorDelegate=(0,x.default)('\n (function (inner, awaitWrap) {\n var iter = {}, waiting = false;\n\n function pump(key, value) {\n waiting = true;\n value = new Promise(function (resolve) { resolve(inner[key](value)); });\n return { done: false, value: awaitWrap(value) };\n };\n\n if (typeof Symbol === "function" && Symbol.iterator) {\n iter[Symbol.iterator] = function () { return this; };\n }\n\n iter.next = function (value) {\n if (waiting) {\n waiting = false;\n return value;\n }\n return pump("next", value);\n };\n\n if (typeof inner.throw === "function") {\n iter.throw = function (value) {\n if (waiting) {\n waiting = false;\n throw value;\n }\n return pump("throw", value);\n };\n }\n\n if (typeof inner.return === "function") {\n iter.return = function (value) {\n return pump("return", value);\n };\n }\n\n return iter;\n })\n'),C.asyncToGenerator=(0,x.default)('\n (function (fn) {\n return function () {\n var gen = fn.apply(this, arguments);\n return new Promise(function (resolve, reject) {\n function step(key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n return Promise.resolve(value).then(function (value) {\n step("next", value);\n }, function (err) {\n step("throw", err);\n });\n }\n }\n\n return step("next");\n });\n };\n })\n'),C.classCallCheck=(0,x.default)('\n (function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError("Cannot call a class as a function");\n }\n });\n'),C.createClass=(0,x.default)('\n (function() {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i ++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ("value" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n })()\n'),C.defineEnumerableProperties=(0,x.default)('\n (function (obj, descs) {\n for (var key in descs) {\n var desc = descs[key];\n desc.configurable = desc.enumerable = true;\n if ("value" in desc) desc.writable = true;\n Object.defineProperty(obj, key, desc);\n }\n return obj;\n })\n'),C.defaults=(0,x.default)("\n (function (obj, defaults) {\n var keys = Object.getOwnPropertyNames(defaults);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = Object.getOwnPropertyDescriptor(defaults, key);\n if (value && value.configurable && obj[key] === undefined) {\n Object.defineProperty(obj, key, value);\n }\n }\n return obj;\n })\n"),C.defineProperty=(0,x.default)("\n (function (obj, key, value) {\n // Shortcircuit the slow defineProperty path when possible.\n // We are trying to avoid issues where setters defined on the\n // prototype cause side effects under the fast path of simple\n // assignment. By checking for existence of the property with\n // the in operator, we can optimize most of this overhead away.\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n });\n"),C.extends=(0,x.default)("\n Object.assign || (function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n })\n"),C.get=(0,x.default)('\n (function get(object, property, receiver) {\n if (object === null) object = Function.prototype;\n\n var desc = Object.getOwnPropertyDescriptor(object, property);\n\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n\n if (parent === null) {\n return undefined;\n } else {\n return get(parent, property, receiver);\n }\n } else if ("value" in desc) {\n return desc.value;\n } else {\n var getter = desc.get;\n\n if (getter === undefined) {\n return undefined;\n }\n\n return getter.call(receiver);\n }\n });\n'),C.inherits=(0,x.default)('\n (function (subClass, superClass) {\n if (typeof superClass !== "function" && superClass !== null) {\n throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n })\n'),C.instanceof=(0,x.default)('\n (function (left, right) {\n if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {\n return right[Symbol.hasInstance](left);\n } else {\n return left instanceof right;\n }\n });\n'),C.interopRequireDefault=(0,x.default)("\n (function (obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n })\n"),C.interopRequireWildcard=(0,x.default)("\n (function (obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n }\n }\n newObj.default = obj;\n return newObj;\n }\n })\n"),C.newArrowCheck=(0,x.default)('\n (function (innerThis, boundThis) {\n if (innerThis !== boundThis) {\n throw new TypeError("Cannot instantiate an arrow function");\n }\n });\n'),C.objectDestructuringEmpty=(0,x.default)('\n (function (obj) {\n if (obj == null) throw new TypeError("Cannot destructure undefined");\n });\n'),C.objectWithoutProperties=(0,x.default)("\n (function (obj, keys) {\n var target = {};\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n return target;\n })\n"),C.possibleConstructorReturn=(0,x.default)('\n (function (self, call) {\n if (!self) {\n throw new ReferenceError("this hasn\'t been initialised - super() hasn\'t been called");\n }\n return call && (typeof call === "object" || typeof call === "function") ? call : self;\n });\n'),C.selfGlobal=(0,x.default)('\n typeof global === "undefined" ? self : global\n'),C.set=(0,x.default)('\n (function set(object, property, value, receiver) {\n var desc = Object.getOwnPropertyDescriptor(object, property);\n\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n\n if (parent !== null) {\n set(parent, property, value, receiver);\n }\n } else if ("value" in desc && desc.writable) {\n desc.value = value;\n } else {\n var setter = desc.set;\n\n if (setter !== undefined) {\n setter.call(receiver, value);\n }\n }\n\n return value;\n });\n'),C.slicedToArray=(0,x.default)('\n (function () {\n // Broken out into a separate function to avoid deoptimizations due to the try/catch for the\n // array iterator case.\n function sliceIterator(arr, i) {\n // this is an expanded form of `for...of` that properly supports abrupt completions of\n // iterators etc. variable names have been minimised to reduce the size of this massive\n // helper. sometimes spec compliancy is annoying :(\n //\n // _n = _iteratorNormalCompletion\n // _d = _didIteratorError\n // _e = _iteratorError\n // _i = _iterator\n // _s = _step\n\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i["return"]) _i["return"]();\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n\n return function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError("Invalid attempt to destructure non-iterable instance");\n }\n };\n })();\n'),C.slicedToArrayLoose=(0,x.default)('\n (function (arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (Symbol.iterator in Object(arr)) {\n var _arr = [];\n for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {\n _arr.push(_step.value);\n if (i && _arr.length === i) break;\n }\n return _arr;\n } else {\n throw new TypeError("Invalid attempt to destructure non-iterable instance");\n }\n });\n'),C.taggedTemplateLiteral=(0,x.default)("\n (function (strings, raw) {\n return Object.freeze(Object.defineProperties(strings, {\n raw: { value: Object.freeze(raw) }\n }));\n });\n"),C.taggedTemplateLiteralLoose=(0,x.default)("\n (function (strings, raw) {\n strings.raw = raw;\n return strings;\n });\n"),C.temporalRef=(0,x.default)('\n (function (val, name, undef) {\n if (val === undef) {\n throw new ReferenceError(name + " is not defined - temporal dead zone");\n } else {\n return val;\n }\n })\n'),C.temporalUndefined=(0,x.default)("\n ({})\n"),C.toArray=(0,x.default)("\n (function (arr) {\n return Array.isArray(arr) ? arr : Array.from(arr);\n });\n"),C.toConsumableArray=(0,x.default)("\n (function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n return arr2;\n } else {\n return Array.from(arr);\n }\n });\n"),o.exports=h.default},hDam:function(o,h){o.exports=function(){}},hEhG:function(o,h,E){var x=E("sKgW"),C=E("mv/X"),T=E("Sxd8"),P=E("dt0z");o.exports=function repeat(o,h,E){return h=(E?C(o,h,E):void 0===h)?1:T(h),x(P(o),h)}},hM5L:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("iCc5")),C=_interopRequireDefault(E("FYw3")),T=_interopRequireDefault(E("mRg0")),P=_interopRequireDefault(E("v1+0")),N=_interopRequireDefault(E("V4Ze")),R=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var j=function(o){function LooseClassTransformer(){(0,x.default)(this,LooseClassTransformer);var h=(0,C.default)(this,o.apply(this,arguments));return h.isLoose=!0,h}return(0,T.default)(LooseClassTransformer,o),LooseClassTransformer.prototype._processMethod=function _processMethod(o,h){if(!o.decorators){var E=this.classRef;o.static||(E=R.memberExpression(E,R.identifier("prototype")));var x=R.memberExpression(E,o.key,o.computed||R.isLiteral(o.key)),C=R.functionExpression(null,o.params,o.body,o.generator,o.async);C.returnType=o.returnType;var T=R.toComputedKey(o,o.key);R.isStringLiteral(T)&&(C=(0,P.default)({node:C,id:T,scope:h}));var N=R.expressionStatement(R.assignmentExpression("=",x,C));return R.inheritsComments(N,o),this.body.push(N),!0}},LooseClassTransformer}(N.default);h.default=j,o.exports=h.default},heNW:function(o,h){o.exports=function apply(o,h,E){switch(E.length){case 0:return o.call(h);case 1:return o.call(h,E[0]);case 2:return o.call(h,E[0],E[1]);case 3:return o.call(h,E[0],E[1],E[2])}return o.apply(h,E)}},hgQt:function(o,h,E){var x=E("Juji"),C=E("4sDh");o.exports=function hasIn(o,h){return null!=o&&C(o,h,x)}},hiD9:function(o,h,E){var x=E("4c9J"),C=E("/tHr"),T=E("dtiW").ArraySet,P=E("zWvC").MappingList;function SourceMapGenerator(o){o||(o={}),this._file=C.getArg(o,"file",null),this._sourceRoot=C.getArg(o,"sourceRoot",null),this._skipValidation=C.getArg(o,"skipValidation",!1),this._sources=new T,this._names=new T,this._mappings=new P,this._sourcesContents=null}SourceMapGenerator.prototype._version=3,SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(o){var h=o.sourceRoot,E=new SourceMapGenerator({file:o.file,sourceRoot:h});return o.eachMapping((function(o){var x={generated:{line:o.generatedLine,column:o.generatedColumn}};null!=o.source&&(x.source=o.source,null!=h&&(x.source=C.relative(h,x.source)),x.original={line:o.originalLine,column:o.originalColumn},null!=o.name&&(x.name=o.name)),E.addMapping(x)})),o.sources.forEach((function(h){var x=o.sourceContentFor(h);null!=x&&E.setSourceContent(h,x)})),E},SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(o){var h=C.getArg(o,"generated"),E=C.getArg(o,"original",null),x=C.getArg(o,"source",null),T=C.getArg(o,"name",null);this._skipValidation||this._validateMapping(h,E,x,T),null!=x&&(x=String(x),this._sources.has(x)||this._sources.add(x)),null!=T&&(T=String(T),this._names.has(T)||this._names.add(T)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:null!=E&&E.line,originalColumn:null!=E&&E.column,source:x,name:T})},SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(o,h){var E=o;null!=this._sourceRoot&&(E=C.relative(this._sourceRoot,E)),null!=h?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[C.toSetString(E)]=h):this._sourcesContents&&(delete this._sourcesContents[C.toSetString(E)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(o,h,E){var x=h;if(null==h){if(null==o.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');x=o.file}var P=this._sourceRoot;null!=P&&(x=C.relative(P,x));var N=new T,R=new T;this._mappings.unsortedForEach((function(h){if(h.source===x&&null!=h.originalLine){var T=o.originalPositionFor({line:h.originalLine,column:h.originalColumn});null!=T.source&&(h.source=T.source,null!=E&&(h.source=C.join(E,h.source)),null!=P&&(h.source=C.relative(P,h.source)),h.originalLine=T.line,h.originalColumn=T.column,null!=T.name&&(h.name=T.name))}var j=h.source;null==j||N.has(j)||N.add(j);var ee=h.name;null==ee||R.has(ee)||R.add(ee)}),this),this._sources=N,this._names=R,o.sources.forEach((function(h){var x=o.sourceContentFor(h);null!=x&&(null!=E&&(h=C.join(E,h)),null!=P&&(h=C.relative(P,h)),this.setSourceContent(h,x))}),this)},SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(o,h,E,x){if(h&&"number"!=typeof h.line&&"number"!=typeof h.column)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||E||x)&&!(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&&E))throw new Error("Invalid mapping: "+JSON.stringify({generated:o,source:E,original:h,name:x}))},SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){for(var o,h,E,T,P=0,N=1,R=0,j=0,ee=0,re=0,ne="",ie=this._mappings.toArray(),ae=0,se=ie.length;ae0){if(!C.compareByGeneratedPositionsInflated(h,ie[ae-1]))continue;o+=","}o+=x.encode(h.generatedColumn-P),P=h.generatedColumn,null!=h.source&&(T=this._sources.indexOf(h.source),o+=x.encode(T-re),re=T,o+=x.encode(h.originalLine-1-j),j=h.originalLine-1,o+=x.encode(h.originalColumn-R),R=h.originalColumn,null!=h.name&&(E=this._names.indexOf(h.name),o+=x.encode(E-ee),ee=E)),ne+=o}return ne},SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(o,h){return o.map((function(o){if(!this._sourcesContents)return null;null!=h&&(o=C.relative(h,o));var E=C.toSetString(o);return Object.prototype.hasOwnProperty.call(this._sourcesContents,E)?this._sourcesContents[E]:null}),this)},SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var o={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(o.file=this._file),null!=this._sourceRoot&&(o.sourceRoot=this._sourceRoot),this._sourcesContents&&(o.sourcesContent=this._generateSourcesContent(o.sources,o.sourceRoot)),o},SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())},h.SourceMapGenerator=SourceMapGenerator},hlvS:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.remove=function remove(){if(this._assertUnremoved(),this.resync(),this._callRemovalHooks())return void this._markRemoved();this.shareCommentsWithSiblings(),this._remove(),this._markRemoved()},h._callRemovalHooks=function _callRemovalHooks(){var o=C.hooks,h=Array.isArray(o),E=0;for(o=h?o:(0,x.default)(o);;){var T;if(h){if(E>=o.length)break;T=o[E++]}else{if((E=o.next()).done)break;T=E.value}if(T(this,this.parentPath))return!0}},h._remove=function _remove(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)},h._markRemoved=function _markRemoved(){this.shouldSkip=!0,this.removed=!0,this.node=null},h._assertUnremoved=function _assertUnremoved(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")};var C=E("cPAr")},hypo:function(o,h,E){var x=E("O0oS");o.exports=function baseAssignValue(o,h,E){"__proto__"==h&&x?x(o,h,{configurable:!0,enumerable:!0,value:E,writable:!0}):o[h]=E}},hzCD:function(o,h,E){var x=E("EA7m")(E("0Q2g"));o.exports=x},iCc5:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o,h){if(!(o instanceof h))throw new TypeError("Cannot call a class as a function")}},icBU:function(o,h){o.exports=function(o,h){for(var x=[],C=0;C-1:!!ee&&x(o,h,E)>-1}},imsj:function(o,h,E){"use strict";h.__esModule=!0,h.ArrayPattern=h.ObjectPattern=h.RestProperty=h.SpreadProperty=h.SpreadElement=void 0,h.Identifier=function Identifier(o){o.variance&&("plus"===o.variance?this.token("+"):"minus"===o.variance&&this.token("-"));this.word(o.name)},h.RestElement=RestElement,h.ObjectExpression=ObjectExpression,h.ObjectMethod=function ObjectMethod(o){this.printJoin(o.decorators,o),this._method(o)},h.ObjectProperty=function ObjectProperty(o){if(this.printJoin(o.decorators,o),o.computed)this.token("["),this.print(o.key,o),this.token("]");else{if(x.isAssignmentPattern(o.value)&&x.isIdentifier(o.key)&&o.key.name===o.value.left.name)return void this.print(o.value,o);if(this.print(o.key,o),o.shorthand&&x.isIdentifier(o.key)&&x.isIdentifier(o.value)&&o.key.name===o.value.name)return}this.token(":"),this.space(),this.print(o.value,o)},h.ArrayExpression=ArrayExpression,h.RegExpLiteral=function RegExpLiteral(o){this.word("/"+o.pattern+"/"+o.flags)},h.BooleanLiteral=function BooleanLiteral(o){this.word(o.value?"true":"false")},h.NullLiteral=function NullLiteral(){this.word("null")},h.NumericLiteral=function NumericLiteral(o){var h=this.getPossibleRaw(o),E=o.value+"";null==h?this.number(E):this.format.minified?this.number(h.length0&&this.space(),this.print(C,o),x3&&void 0!==arguments[3]?arguments[3]:{};E=Math.max(E,0);var C=x.highlightCode&&P.default.supportsColor||x.forceColor,T=P.default;x.forceColor&&(T=new P.default.constructor({enabled:!0}));var R=function maybeHighlight(o,h){return C?o(h):h},j=getDefs(T);C&&(o=highlight(j,o));var ee=x.linesAbove||2,re=x.linesBelow||3,ne=o.split(N),ie=Math.max(h-(ee+1),0),ae=Math.min(ne.length,h+re);h||E||(ie=0,ae=ne.length);var se=String(ae).length,oe=ne.slice(ie,ae).map((function(o,x){var C=ie+1+x,T=" "+(" "+C).slice(-se)+" | ";if(C===h){var P="";if(E){var N=o.slice(0,E-1).replace(/[^\t]/g," ");P=["\n ",R(j.gutter,T.replace(/\d/g," ")),N,R(j.marker,"^")].join("")}return[R(j.marker,">"),R(j.gutter,T),o,P].join("")}return" "+R(j.gutter,T)+o})).join("\n");return C?T.reset(oe):oe};var x=E("s9k3"),C=_interopRequireDefault(x),T=_interopRequireDefault(E("cqG1")),P=_interopRequireDefault(E("W2+x"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function getDefs(o){return{keyword:o.cyan,capitalized:o.yellow,jsx_tag:o.yellow,punctuator:o.yellow,number:o.magenta,string:o.green,regex:o.magenta,comment:o.grey,invalid:o.white.bgRed.bold,gutter:o.grey,marker:o.red.bold}}var N=/\r\n|[\n\r\u2028\u2029]/,R=/^[a-z][\w-]*$/i,j=/^[()\[\]{}]$/;function getTokenType(o){var h=o.slice(-2),E=h[0],C=h[1],P=(0,x.matchToToken)(o);if("name"===P.type){if(T.default.keyword.isReservedWordES6(P.value))return"keyword";if(R.test(P.value)&&("<"===C[E-1]||"=E.length)break;R=E[P++]}else{if((P=E.next()).done)break;R=P.value}var j=R,ee=N.FLIPPED_ALIAS_KEYS[j];if(ee){var re=ee,ne=Array.isArray(re),ie=0;for(re=ne?re:(0,x.default)(re);;){var ae;if(ne){if(ie>=re.length)break;ae=re[ie++]}else{if((ie=re.next()).done)break;ae=ie.value}add(ae,o[j])}}else add(j,o[j])}return h}var R=expandAliases(P),j=expandAliases(T.default.nodes),ee=expandAliases(T.default.list);function find(o,h,E,x){var C=o[h.type];return C?C(h,E,x):null}function needsWhitespace(o,h,E){if(!o)return 0;N.isExpressionStatement(o)&&(o=o.expression);var x=find(j,o,h);if(!x){var C=find(ee,o,h);if(C)for(var T=0;T1&&void 0!==arguments[1]?arguments[1]:[],E=arguments[2],x={},C=0;C=N.length)break;ne=N[re++]}else{if((re=N.next()).done)break;ne=re.value}o[ne]=x}}}verify(o),delete o.__esModule,function ensureEntranceObjects(o){for(var h in o)if(!shouldIgnoreKey(h)){var E=o[h];"function"==typeof E&&(o[h]={enter:E})}}(o),ensureCallbackArrays(o);var ie=(0,C.default)(o),ae=Array.isArray(ie),se=0;for(ie=ae?ie:(0,T.default)(ie);;){var oe;if(ae){if(se>=ie.length)break;oe=ie[se++]}else{if((se=ie.next()).done)break;oe=se.value}var ue=oe;if(!shouldIgnoreKey(ue)){var le=P[ue];if(le){var ce=o[ue];for(var pe in ce)ce[pe]=wrapCheck(le,ce[pe]);if(delete o[ue],le.types){var fe=le.types,he=Array.isArray(fe),de=0;for(fe=he?fe:(0,T.default)(fe);;){var me;if(he){if(de>=fe.length)break;me=fe[de++]}else{if((de=fe.next()).done)break;me=de.value}var ye=me;o[ye]?mergePair(o[ye],ce):o[ye]=ce}}else mergePair(o,ce)}}}for(var ge in o)if(!shouldIgnoreKey(ge)){var ve=o[ge],De=R.FLIPPED_ALIAS_KEYS[ge],Ee=R.DEPRECATED_KEYS[ge];if(Ee&&(console.trace("Visitor defined for "+ge+" but it has been renamed to "+Ee),De=[Ee]),De){delete o[ge];var xe=De,be=Array.isArray(xe),Ce=0;for(xe=be?xe:(0,T.default)(xe);;){var Ae;if(be){if(Ce>=xe.length)break;Ae=xe[Ce++]}else{if((Ce=xe.next()).done)break;Ae=Ce.value}var Se=Ae,we=o[Se];we?mergePair(we,ve):o[Se]=(0,j.default)(ve)}}}for(var ke in o)shouldIgnoreKey(ke)||ensureCallbackArrays(o[ke]);return o}function verify(o){if(!o._verified){if("function"==typeof o)throw new Error(N.get("traverseVerifyRootFunction"));for(var h in o)if("enter"!==h&&"exit"!==h||validateVisitorMethods(h,o[h]),!shouldIgnoreKey(h)){if(R.TYPES.indexOf(h)<0)throw new Error(N.get("traverseVerifyNodeType",h));var E=o[h];if("object"===(void 0===E?"undefined":(0,x.default)(E)))for(var C in E){if("enter"!==C&&"exit"!==C)throw new Error(N.get("traverseVerifyVisitorProperty",h,C));validateVisitorMethods(h+"."+C,E[C])}}o._verified=!0}}function validateVisitorMethods(o,h){var E=[].concat(h),C=Array.isArray(E),P=0;for(E=C?E:(0,T.default)(E);;){var N;if(C){if(P>=E.length)break;N=E[P++]}else{if((P=E.next()).done)break;N=P.value}var R=N;if("function"!=typeof R)throw new TypeError("Non-function found defined in "+o+" with type "+(void 0===R?"undefined":(0,x.default)(R)))}}function wrapWithStateOrWrapper(o,h,E){var x={},C=function _loop(C){var T=o[C];if(!Array.isArray(T))return"continue";T=T.map((function(o){var x=o;return h&&(x=function newFn(E){return o.call(h,E,h)}),E&&(x=E(h.key,C,x)),x})),x[C]=T};for(var T in o)C(T);return x}function ensureCallbackArrays(o){o.enter&&!Array.isArray(o.enter)&&(o.enter=[o.enter]),o.exit&&!Array.isArray(o.exit)&&(o.exit=[o.exit])}function wrapCheck(o,h){var E=function newFn(E){if(o.checkPath(E))return h.apply(this,arguments)};return E.toString=function(){return h.toString()},E}function shouldIgnoreKey(o){return"_"===o[0]||("enter"===o||"exit"===o||"shouldSkip"===o||("blacklist"===o||"noScope"===o||"skipKeys"===o))}function mergePair(o,h){for(var E in h)o[E]=[].concat(o[E]||[],h[E])}},jUM4:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o){var h=o.types;return{visitor:{ArrowFunctionExpression:function ArrowFunctionExpression(o,E){if(E.opts.spec){var x=o.node;if(x.shadow)return;x.shadow={this:!1},x.type="FunctionExpression";var C=h.thisExpression();C._forceShadow=o,o.ensureBlock(),o.get("body").unshiftContainer("body",h.expressionStatement(h.callExpression(E.addHelper("newArrowCheck"),[h.thisExpression(),C]))),o.replaceWith(h.callExpression(h.memberExpression(x,h.identifier("bind")),[h.thisExpression()]))}else o.arrowFunctionToShadowed()}}}},o.exports=h.default},jWsJ:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{manipulateOptions:function manipulateOptions(o,h){h.plugins.push("decorators")}}},o.exports=h.default},jXQH:function(o,h,E){var x=E("TO8r"),C=/^\s+/;o.exports=function baseTrim(o){return o?o.slice(0,x(o)+1).replace(C,""):o}},"jbM+":function(o,h,E){var x=E("R/W3");o.exports=function arrayIncludes(o,h){return!!(null==o?0:o.length)&&x(o,h,0)>-1}},jeLo:function(o,h,E){var x=E("juv8"),C=E("mTTR");o.exports=function toPlainObject(o){return x(o,C(o))}},"jg/H":function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o){var h=o.types;return{inherits:E("b1pJ"),visitor:{Program:{exit:function exit(o,E){var C=o.get("body").pop();if(function isValidDefine(o){if(o.isExpressionStatement()){var h=o.get("expression");if(!h.isCallExpression())return!1;if(!h.get("callee").isIdentifier({name:"define"}))return!1;var E=h.get("arguments");return!(3===E.length&&!E.shift().isStringLiteral())&&(2===E.length&&(!!E.shift().isArrayExpression()&&!!E.shift().isFunctionExpression()))}}(C)){var R=C.node.expression,j=R.arguments,ee=3===j.length?j.shift():null,re=R.arguments[0],ne=R.arguments[1],ie=E.opts.globals||{},ae=re.elements.map((function(o){return"module"===o.value||"exports"===o.value?h.identifier(o.value):h.callExpression(h.identifier("require"),[o])})),se=re.elements.map((function(o){if("module"===o.value)return h.identifier("mod");if("exports"===o.value)return h.memberExpression(h.identifier("mod"),h.identifier("exports"));var C=void 0;if(E.opts.exactGlobals){var T=ie[o.value];C=T?T.split(".").reduce((function(o,E){return h.memberExpression(o,h.identifier(E))}),h.identifier("global")):h.memberExpression(h.identifier("global"),h.identifier(h.toIdentifier(o.value)))}else{var P=(0,x.basename)(o.value,(0,x.extname)(o.value)),N=ie[P]||P;C=h.memberExpression(h.identifier("global"),h.identifier(h.toIdentifier(N)))}return C})),oe=ee?ee.value:this.file.opts.basename,ue=h.memberExpression(h.identifier("global"),h.identifier(h.toIdentifier(oe))),le=null;if(E.opts.exactGlobals){var ce=ie[oe];if(ce){le=[];var pe=ce.split(".");ue=pe.slice(1).reduce((function(o,E){return le.push(T({GLOBAL_REFERENCE:o})),h.memberExpression(o,h.identifier(E))}),h.memberExpression(h.identifier("global"),h.identifier(pe[0])))}}var fe=P({BROWSER_ARGUMENTS:se,PREREQUISITE_ASSIGNMENTS:le,GLOBAL_TO_ASSIGN:ue});C.replaceWith(N({MODULE_NAME:ee,AMD_ARGUMENTS:re,COMMON_ARGUMENTS:ae,GLOBAL_EXPORT:fe,FUNC:ne}))}}}}}};var x=E("33yf"),C=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("PTdM"));var T=(0,C.default)("\n GLOBAL_REFERENCE = GLOBAL_REFERENCE || {}\n"),P=(0,C.default)("\n var mod = { exports: {} };\n factory(BROWSER_ARGUMENTS);\n PREREQUISITE_ASSIGNMENTS\n GLOBAL_TO_ASSIGN = mod.exports;\n"),N=(0,C.default)('\n (function (global, factory) {\n if (typeof define === "function" && define.amd) {\n define(MODULE_NAME, AMD_ARGUMENTS, factory);\n } else if (typeof exports !== "undefined") {\n factory(COMMON_ARGUMENTS);\n } else {\n GLOBAL_EXPORT\n }\n })(this, FUNC);\n');o.exports=h.default},jmDH:function(o,h,E){o.exports=!E("KUxP")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},jo6Y:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o,h){var E={};for(var x in o)h.indexOf(x)>=0||Object.prototype.hasOwnProperty.call(o,x)&&(E[x]=o[x]);return E}},jqjA:function(o,h,E){!function(){"use strict";var h=E("KoBc");function isKeywordES5(o,h){return!(!h&&"yield"===o)&&isKeywordES6(o,h)}function isKeywordES6(o,h){if(h&&function isStrictModeReservedWordES6(o){switch(o){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(o))return!0;switch(o.length){case 2:return"if"===o||"in"===o||"do"===o;case 3:return"var"===o||"for"===o||"new"===o||"try"===o;case 4:return"this"===o||"else"===o||"case"===o||"void"===o||"with"===o||"enum"===o;case 5:return"while"===o||"break"===o||"catch"===o||"throw"===o||"const"===o||"yield"===o||"class"===o||"super"===o;case 6:return"return"===o||"typeof"===o||"delete"===o||"switch"===o||"export"===o||"import"===o;case 7:return"default"===o||"finally"===o||"extends"===o;case 8:return"function"===o||"continue"===o||"debugger"===o;case 10:return"instanceof"===o;default:return!1}}function isReservedWordES5(o,h){return"null"===o||"true"===o||"false"===o||isKeywordES5(o,h)}function isReservedWordES6(o,h){return"null"===o||"true"===o||"false"===o||isKeywordES6(o,h)}function isIdentifierNameES5(o){var E,x,C;if(0===o.length)return!1;if(C=o.charCodeAt(0),!h.isIdentifierStartES5(C))return!1;for(E=1,x=o.length;E=x)return!1;if(!(56320<=(T=o.charCodeAt(E))&&T<=57343))return!1;C=1024*(C-55296)+(T-56320)+65536}if(!P(C))return!1;P=h.isIdentifierPartES6}return!0}o.exports={isKeywordES5:isKeywordES5,isKeywordES6:isKeywordES6,isReservedWordES5:isReservedWordES5,isReservedWordES6:isReservedWordES6,isRestrictedWord:function isRestrictedWord(o){return"eval"===o||"arguments"===o},isIdentifierNameES5:isIdentifierNameES5,isIdentifierNameES6:isIdentifierNameES6,isIdentifierES5:function isIdentifierES5(o,h){return isIdentifierNameES5(o)&&!isReservedWordES5(o,h)},isIdentifierES6:function isIdentifierES6(o,h){return isIdentifierNameES6(o)&&!isReservedWordES6(o,h)}}}()},juv8:function(o,h,E){var x=E("MrPd"),C=E("hypo");o.exports=function copyObject(o,h,E,T){var P=!E;E||(E={});for(var N=-1,R=h.length;++N1&&void 0!==arguments[1]?arguments[1]:o.scope,E=o.node,P=C.functionExpression(null,[],E.body,E.generator,E.async),N=P,R=[];(0,x.default)(o,(function(o){return h.push({id:o})}));var j={foundThis:!1,foundArguments:!1};o.traverse(T,j),j.foundArguments&&(N=C.memberExpression(P,C.identifier("apply")),R=[],j.foundThis&&R.push(C.thisExpression()),j.foundArguments&&(j.foundThis||R.push(C.nullLiteral()),R.push(C.identifier("arguments"))));var ee=C.callExpression(N,R);return E.generator&&(ee=C.yieldExpression(ee,!0)),C.returnStatement(ee)};var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("GarX")),C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));var T={enter:function enter(o,h){o.isThisExpression()&&(h.foundThis=!0),o.isReferencedIdentifier({name:"arguments"})&&(h.foundArguments=!0)},Function:function Function(o){o.skip()}};o.exports=h.default},"k+1r":function(o,h,E){var x=E("QkVE");o.exports=function mapCacheDelete(o){var h=x(this,o).delete(o);return this.size-=h?1:0,h}},"k+83":function(o,h,E){"use strict";h.__esModule=!0,h.default=function replaceShorthandObjectMethod(o){if(!o.node||!x.isFunction(o.node))throw new Error("replaceShorthandObjectMethod can only be called on Function AST node paths.");if(!x.isObjectMethod(o.node))return o;if(!o.node.generator)return o;var h=o.node.params.map((function(o){return x.cloneDeep(o)})),E=x.functionExpression(null,h,x.cloneDeep(o.node.body),o.node.generator,o.node.async);return C.replaceWithOrRemove(o,x.objectProperty(x.cloneDeep(o.node.key),E,o.node.computed,!1)),o.get("value")};var x=_interopRequireWildcard(E("KCzW")),C=_interopRequireWildcard(E("HqoA"));function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}},k2N2:function(o,h){var E=1e3,x=6e4,C=60*x,T=24*C;function plural(o,h,E){if(!(o0)return function parse(o){if((o=String(o)).length>100)return;var h=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(o);if(!h)return;var P=parseFloat(h[1]);switch((h[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*P;case"days":case"day":case"d":return P*T;case"hours":case"hour":case"hrs":case"hr":case"h":return P*C;case"minutes":case"minute":case"mins":case"min":case"m":return P*x;case"seconds":case"second":case"secs":case"sec":case"s":return P*E;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return P;default:return}}(o);if("number"===P&&!1===isNaN(o))return h.long?function fmtLong(o){return plural(o,T,"day")||plural(o,C,"hour")||plural(o,x,"minute")||plural(o,E,"second")||o+" ms"}(o):function fmtShort(o){if(o>=T)return Math.round(o/T)+"d";if(o>=C)return Math.round(o/C)+"h";if(o>=x)return Math.round(o/x)+"m";if(o>=E)return Math.round(o/E)+"s";return o+"ms"}(o);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))}},kAMH:function(o,h,E){var x=E("a0xu");o.exports=Array.isArray||function isArray(o){return"Array"==x(o)}},kB4c:function(o,h,E){"use strict";var x=E("XJU/"),C=E("6/1s").getWeak,T=E("5K7Z"),P=E("93I4"),N=E("EXMj"),R=E("oioR"),j=E("V7Et"),ee=E("B+OT"),re=E("n3ko"),ne=j(5),ie=j(6),ae=0,uncaughtFrozenStore=function(o){return o._l||(o._l=new UncaughtFrozenStore)},UncaughtFrozenStore=function(){this.a=[]},findUncaughtFrozen=function(o,h){return ne(o.a,(function(o){return o[0]===h}))};UncaughtFrozenStore.prototype={get:function(o){var h=findUncaughtFrozen(this,o);if(h)return h[1]},has:function(o){return!!findUncaughtFrozen(this,o)},set:function(o,h){var E=findUncaughtFrozen(this,o);E?E[1]=h:this.a.push([o,h])},delete:function(o){var h=ie(this.a,(function(h){return h[0]===o}));return~h&&this.a.splice(h,1),!!~h}},o.exports={getConstructor:function(o,h,E,T){var j=o((function(o,x){N(o,j,h,"_i"),o._t=h,o._i=ae++,o._l=void 0,null!=x&&R(x,E,o[T],o)}));return x(j.prototype,{delete:function(o){if(!P(o))return!1;var E=C(o);return!0===E?uncaughtFrozenStore(re(this,h)).delete(o):E&&ee(E,this._i)&&delete E[this._i]},has:function has(o){if(!P(o))return!1;var E=C(o);return!0===E?uncaughtFrozenStore(re(this,h)).has(o):E&&ee(E,this._i)}}),j},def:function(o,h,E){var x=C(T(h),!0);return!0===x?uncaughtFrozenStore(o).set(h,E):x[o._i]=E,o},ufstore:uncaughtFrozenStore}},kGJw:function(o,h,E){var x=E("dt0z"),C=/[\\^$.*+?()[\]{}|]/g,T=RegExp(C.source);o.exports=function escapeRegExp(o){return(o=x(o))&&T.test(o)?o.replace(C,"\\$&"):o}},kTiW:function(o,h,E){o.exports=E("NegM")},"kVK+":function(o,h){h.read=function(o,h,E,x,C){var T,P,N=8*C-x-1,R=(1<>1,ee=-7,re=E?C-1:0,ne=E?-1:1,ie=o[h+re];for(re+=ne,T=ie&(1<<-ee)-1,ie>>=-ee,ee+=N;ee>0;T=256*T+o[h+re],re+=ne,ee-=8);for(P=T&(1<<-ee)-1,T>>=-ee,ee+=x;ee>0;P=256*P+o[h+re],re+=ne,ee-=8);if(0===T)T=1-j;else{if(T===R)return P?NaN:1/0*(ie?-1:1);P+=Math.pow(2,x),T-=j}return(ie?-1:1)*P*Math.pow(2,T-x)},h.write=function(o,h,E,x,C,T){var P,N,R,j=8*T-C-1,ee=(1<>1,ne=23===C?Math.pow(2,-24)-Math.pow(2,-77):0,ie=x?0:T-1,ae=x?1:-1,se=h<0||0===h&&1/h<0?1:0;for(h=Math.abs(h),isNaN(h)||h===1/0?(N=isNaN(h)?1:0,P=ee):(P=Math.floor(Math.log(h)/Math.LN2),h*(R=Math.pow(2,-P))<1&&(P--,R*=2),(h+=P+re>=1?ne/R:ne*Math.pow(2,1-re))*R>=2&&(P++,R/=2),P+re>=ee?(N=0,P=ee):P+re>=1?(N=(h*R-1)*Math.pow(2,C),P+=re):(N=h*Math.pow(2,re-1)*Math.pow(2,C),P=0));C>=8;o[E+ie]=255&N,ie+=ae,N/=256,C-=8);for(P=P<0;o[E+ie]=255&P,ie+=ae,P/=256,j-=8);o[E+ie-ae]|=128*se}},kbA8:function(o,h,E){"use strict";function balanced(o,h,E){o instanceof RegExp&&(o=maybeMatch(o,E)),h instanceof RegExp&&(h=maybeMatch(h,E));var x=range(o,h,E);return x&&{start:x[0],end:x[1],pre:E.slice(0,x[0]),body:E.slice(x[0]+o.length,x[1]),post:E.slice(x[1]+h.length)}}function maybeMatch(o,h){var E=h.match(o);return E?E[0]:null}function range(o,h,E){var x,C,T,P,N,R=E.indexOf(o),j=E.indexOf(h,R+1),ee=R;if(R>=0&&j>0){for(x=[],T=E.length;ee>=0&&!N;)ee==R?(x.push(ee),R=E.indexOf(o,ee+1)):1==x.length?N=[x.pop(),j]:((C=x.pop())=0?R:j;x.length&&(N=[T,P])}return N}o.exports=balanced,balanced.range=range},kbpV:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{manipulateOptions:function manipulateOptions(o,h){h.plugins.push("objectRestSpread")}}},o.exports=h.default},kekF:function(o,h){o.exports=function overArg(o,h){return function(E){return o(h(E))}}},ki6E:function(o,h,E){h.SourceMapGenerator=E("hiD9").SourceMapGenerator,h.SourceMapConsumer=E("2CGX").SourceMapConsumer,h.SourceNode=E("mlds").SourceNode},kuNN:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{inherits:E("B0YY"),visitor:{DoExpression:function DoExpression(o){var h=o.node.body.body;h.length?o.replaceWithMultiple(h):o.replaceWith(o.scope.buildUndefinedNode())}}}},o.exports=h.default},kwZ1:function(o,h,E){"use strict";var x=E("jmDH"),C=E("w6GO"),T=E("mqlF"),P=E("NV0k"),N=E("JB68"),R=E("M1xp"),j=Object.assign;o.exports=!j||E("KUxP")((function(){var o={},h={},E=Symbol(),x="abcdefghijklmnopqrst";return o[E]=7,x.split("").forEach((function(o){h[o]=o})),7!=j({},o)[E]||Object.keys(j({},h)).join("")!=x}))?function assign(o,h){for(var E=N(o),j=arguments.length,ee=1,re=T.f,ne=P.f;j>ee;)for(var ie,ae=R(arguments[ee++]),se=re?C(ae).concat(re(ae)):C(ae),oe=se.length,ue=0;oe>ue;)ie=se[ue++],x&&!ne.call(ae,ie)||(E[ie]=ae[ie]);return E}:j},ky5O:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o){var h=o.types,C={Function:function Function(o){o.skip()},YieldExpression:function YieldExpression(o,E){var x=o.node;if(x.delegate){var C=E.addHelper("asyncGeneratorDelegate");x.argument=h.callExpression(C,[h.callExpression(E.addHelper("asyncIterator"),[x.argument]),h.memberExpression(E.addHelper("asyncGenerator"),h.identifier("await"))])}}};return{inherits:E("lqTY"),visitor:{Function:function Function(o,E){o.node.async&&o.node.generator&&(o.traverse(C,E),(0,x.default)(o,E.file,{wrapAsync:h.memberExpression(E.addHelper("asyncGenerator"),h.identifier("wrap")),wrapAwait:h.memberExpression(E.addHelper("asyncGenerator"),h.identifier("await"))}))}}}};var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("S2LA"));o.exports=h.default},"l+Vw":function(o,h,E){"use strict";h.__esModule=!0,h.visitor=void 0;var x=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));h.visitor={Function:function Function(o){for(var h=o.get("params"),E=x.isRestElement(h[h.length-1])?1:0,C=h.length-E,T=0;T=7&&(h.name="regenerator-transform"),h}},l9OW:function(o,h,E){var x=E("SKAX"),C=E("MMmD");o.exports=function baseMap(o,h){var E=-1,T=C(o)?Array(o.length):[];return x(o,(function(o,x,C){T[++E]=h(o,x,C)})),T}},lCc8:function(o,h,E){var x=E("Y7ZC");x(x.S,"Object",{create:E("oVml")})},lQqw:function(o,h,E){var x=E("MMmD");o.exports=function createBaseEach(o,h){return function(E,C){if(null==E)return E;if(!x(E))return o(E,C);for(var T=E.length,P=h?T:-1,N=Object(E);(h?P--:++P2?h[2]:void 0;for(j&&T(h[0],h[1],j)&&(x=1);++E"));this.space(),this.print(o.returnType,o)},h.FunctionTypeParam=function FunctionTypeParam(o){this.print(o.name,o),o.optional&&this.token("?");this.token(":"),this.space(),this.print(o.typeAnnotation,o)},h.InterfaceExtends=InterfaceExtends,h._interfaceish=function _interfaceish(o){this.print(o.id,o),this.print(o.typeParameters,o),o.extends.length&&(this.space(),this.word("extends"),this.space(),this.printList(o.extends,o));o.mixins&&o.mixins.length&&(this.space(),this.word("mixins"),this.space(),this.printList(o.mixins,o));this.space(),this.print(o.body,o)},h._variance=function _variance(o){"plus"===o.variance?this.token("+"):"minus"===o.variance&&this.token("-")},h.InterfaceDeclaration=function InterfaceDeclaration(o){this.word("interface"),this.space(),this._interfaceish(o)},h.IntersectionTypeAnnotation=function IntersectionTypeAnnotation(o){this.printJoin(o.types,o,{separator:andSeparator})},h.MixedTypeAnnotation=function MixedTypeAnnotation(){this.word("mixed")},h.EmptyTypeAnnotation=function EmptyTypeAnnotation(){this.word("empty")},h.NullableTypeAnnotation=function NullableTypeAnnotation(o){this.token("?"),this.print(o.typeAnnotation,o)};var x=E("imsj");Object.defineProperty(h,"NumericLiteralTypeAnnotation",{enumerable:!0,get:function get(){return x.NumericLiteral}}),Object.defineProperty(h,"StringLiteralTypeAnnotation",{enumerable:!0,get:function get(){return x.StringLiteral}}),h.NumberTypeAnnotation=function NumberTypeAnnotation(){this.word("number")},h.StringTypeAnnotation=function StringTypeAnnotation(){this.word("string")},h.ThisTypeAnnotation=function ThisTypeAnnotation(){this.word("this")},h.TupleTypeAnnotation=function TupleTypeAnnotation(o){this.token("["),this.printList(o.types,o),this.token("]")},h.TypeofTypeAnnotation=function TypeofTypeAnnotation(o){this.word("typeof"),this.space(),this.print(o.argument,o)},h.TypeAlias=function TypeAlias(o){this.word("type"),this.space(),this.print(o.id,o),this.print(o.typeParameters,o),this.space(),this.token("="),this.space(),this.print(o.right,o),this.semicolon()},h.OpaqueType=function OpaqueType(o){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(o.id,o),this.print(o.typeParameters,o),o.supertype&&(this.token(":"),this.space(),this.print(o.supertype,o));o.impltype&&(this.space(),this.token("="),this.space(),this.print(o.impltype,o));this.semicolon()},h.TypeAnnotation=function TypeAnnotation(o){this.token(":"),this.space(),o.optional&&this.token("?");this.print(o.typeAnnotation,o)},h.TypeParameter=function TypeParameter(o){this._variance(o),this.word(o.name),o.bound&&this.print(o.bound,o);o.default&&(this.space(),this.token("="),this.space(),this.print(o.default,o))},h.TypeParameterInstantiation=TypeParameterInstantiation,h.ObjectTypeAnnotation=function ObjectTypeAnnotation(o){var h=this;o.exact?this.token("{|"):this.token("{");var E=o.properties.concat(o.callProperties,o.indexers);E.length&&(this.space(),this.printJoin(E,o,{addNewlines:function addNewlines(o){if(o&&!E[0])return 1},indent:!0,statement:!0,iterator:function iterator(){1!==E.length&&(h.format.flowCommaSeparator?h.token(","):h.semicolon(),h.space())}}),this.space());o.exact?this.token("|}"):this.token("}")},h.ObjectTypeCallProperty=function ObjectTypeCallProperty(o){o.static&&(this.word("static"),this.space());this.print(o.value,o)},h.ObjectTypeIndexer=function ObjectTypeIndexer(o){o.static&&(this.word("static"),this.space());this._variance(o),this.token("["),this.print(o.id,o),this.token(":"),this.space(),this.print(o.key,o),this.token("]"),this.token(":"),this.space(),this.print(o.value,o)},h.ObjectTypeProperty=function ObjectTypeProperty(o){o.static&&(this.word("static"),this.space());this._variance(o),this.print(o.key,o),o.optional&&this.token("?");this.token(":"),this.space(),this.print(o.value,o)},h.ObjectTypeSpreadProperty=function ObjectTypeSpreadProperty(o){this.token("..."),this.print(o.argument,o)},h.QualifiedTypeIdentifier=function QualifiedTypeIdentifier(o){this.print(o.qualification,o),this.token("."),this.print(o.id,o)},h.UnionTypeAnnotation=function UnionTypeAnnotation(o){this.printJoin(o.types,o,{separator:orSeparator})},h.TypeCastExpression=function TypeCastExpression(o){this.token("("),this.print(o.expression,o),this.print(o.typeAnnotation,o),this.token(")")},h.VoidTypeAnnotation=function VoidTypeAnnotation(){this.word("void")};var C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function FlowExportDeclaration(o){if(o.declaration){var h=o.declaration;this.print(h,o),C.isStatement(h)||this.semicolon()}else this.token("{"),o.specifiers.length&&(this.space(),this.printList(o.specifiers,o),this.space()),this.token("}"),o.source&&(this.space(),this.word("from"),this.space(),this.print(o.source,o)),this.semicolon()}function InterfaceExtends(o){this.print(o.id,o),this.print(o.typeParameters,o)}function andSeparator(){this.space(),this.token("&"),this.space()}function TypeParameterInstantiation(o){this.token("<"),this.printList(o.params,o,{}),this.token(">")}function orSeparator(){this.space(),this.token("|"),this.space()}h.ClassImplements=InterfaceExtends,h.GenericTypeAnnotation=InterfaceExtends,h.TypeParameterDeclaration=TypeParameterInstantiation},"lm/5":function(o,h,E){var x=E("fmRc"),C=E("wF/u");o.exports=function baseIsMatch(o,h,E,T){var P=E.length,N=P,R=!T;if(null==o)return!N;for(o=Object(o);P--;){var j=E[P];if(R&&j[2]?j[1]!==o[j[0]]:!(j[0]in o))return!1}for(;++P=0;h--)this.prepend(o[h]);else{if(!o[P]&&"string"!=typeof o)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+o);this.children.unshift(o)}return this},SourceNode.prototype.walk=function SourceNode_walk(o){for(var h,E=0,x=this.children.length;E0){for(h=[],E=0;E=2&&this.parentPath.isExpressionStatement()&&this._maybePopFromStatements(E),1===E.length?this.replaceWith(E[0]):this.replaceWith(h)}else{if(!h){var C=R.functionExpression(null,[],R.blockStatement(o));C.shadow=!0,this.replaceWith(R.callExpression(C,[])),this.traverse(j);var T=this.get("callee").getCompletionRecords(),P=Array.isArray(T),N=0;for(T=P?T:(0,x.default)(T);;){var ee;if(P){if(N>=T.length)break;ee=T[N++]}else{if((N=T.next()).done)break;ee=N.value}var re=ee;if(re.isExpressionStatement()){var ne=re.findParent((function(o){return o.isLoop()}));if(ne){var ie=ne.getData("expressionReplacementReturnUid");if(ie)ie=R.identifier(ie.name);else{var ae=this.get("callee");ie=ae.scope.generateDeclaredUidIdentifier("ret"),ae.get("body").pushContainer("body",R.returnStatement(ie)),ne.setData("expressionReplacementReturnUid",ie)}re.get("expression").replaceWith(R.assignmentExpression("=",ie,re.node.expression))}else re.replaceWith(R.returnStatement(re.node.expression))}}return this.node}this.replaceWith(h)}},h.replaceInline=function replaceInline(o){return this.resync(),Array.isArray(o)?Array.isArray(this.container)?(o=this._verifyNodeList(o),this._containerInsertAfter(o),this.remove()):this.replaceWithMultiple(o):this.replaceWith(o)};var C=_interopRequireDefault(E("itLL")),T=_interopRequireDefault(E("dZTf")),P=_interopRequireDefault(E("4NcM")),N=E("DNYj"),R=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var j={Function:function Function(o){o.skip()},VariableDeclaration:function VariableDeclaration(o){if("var"===o.node.kind){var h=o.getBindingIdentifiers();for(var E in h)o.scope.push({id:h[E]});var C=[],T=o.node.declarations,P=Array.isArray(T),N=0;for(T=P?T:(0,x.default)(T);;){var j;if(P){if(N>=T.length)break;j=T[N++]}else{if((N=T.next()).done)break;j=N.value}var ee=j;ee.init&&C.push(R.expressionStatement(R.assignmentExpression("=",ee.id,ee.init)))}o.replaceWithMultiple(C)}}}},nLf9:function(o,h,E){o.exports={default:E("7TPF"),__esModule:!0}},nU91:function(o,h,E){"use strict";var x=E(5),C=E("33yf"),T=E("z+VY");function Converter(o,E){(E=E||{}).isFileComment&&(o=function readFromFileMap(o,E){var T=h.mapFileCommentRegex.exec(o),P=T[1]||T[2],N=C.resolve(E,P);try{return x.readFileSync(N,"utf8")}catch(o){throw new Error("An error occurred while trying to read the map file at "+N+"\n"+o)}}(o,E.commentFileDir)),E.hasComment&&(o=function stripComment(o){return o.split(",").pop()}(o)),E.isEncoded&&(o=function decodeBase64(o){return(T.Buffer.from(o,"base64")||"").toString()}(o)),(E.isJSON||E.isEncoded)&&(o=JSON.parse(o)),this.sourcemap=o}Object.defineProperty(h,"commentRegex",{get:function getCommentRegex(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}}),Object.defineProperty(h,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}}),Converter.prototype.toJSON=function(o){return JSON.stringify(this.sourcemap,null,o)},Converter.prototype.toBase64=function(){var o=this.toJSON();return(T.Buffer.from(o,"utf8")||"").toString("base64")},Converter.prototype.toComment=function(o){var h="sourceMappingURL=data:application/json;charset=utf-8;base64,"+this.toBase64();return o&&o.multiline?"/*# "+h+" */":"//# "+h},Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())},Converter.prototype.addProperty=function(o,h){if(this.sourcemap.hasOwnProperty(o))throw new Error('property "'+o+'" already exists on the sourcemap, use set property instead');return this.setProperty(o,h)},Converter.prototype.setProperty=function(o,h){return this.sourcemap[o]=h,this},Converter.prototype.getProperty=function(o){return this.sourcemap[o]},h.fromObject=function(o){return new Converter(o)},h.fromJSON=function(o){return new Converter(o,{isJSON:!0})},h.fromBase64=function(o){return new Converter(o,{isEncoded:!0})},h.fromComment=function(o){return new Converter(o=o.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{isEncoded:!0,hasComment:!0})},h.fromMapFileComment=function(o,h){return new Converter(o,{commentFileDir:h,isFileComment:!0,isJSON:!0})},h.fromSource=function(o){var E=o.match(h.commentRegex);return E?h.fromComment(E.pop()):null},h.fromMapFileSource=function(o,E){var x=o.match(h.mapFileCommentRegex);return x?h.fromMapFileComment(x.pop(),E):null},h.removeComments=function(o){return o.replace(h.commentRegex,"")},h.removeMapFileComments=function(o){return o.replace(h.mapFileCommentRegex,"")},h.generateMapFileComment=function(o,h){var E="sourceMappingURL="+o;return h&&h.multiline?"/*# "+E+" */":"//# "+E}},nmnc:function(o,h,E){var x=E("Kz5y").Symbol;o.exports=x},nu5z:function(o,h,E){"use strict";o.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},o8NH:function(o,h,E){var x=E("Y7ZC");x(x.S+x.F,"Object",{assign:E("kwZ1")})},"oCl/":function(o,h,E){var x=E("CH3K"),C=E("LcsW"),T=E("MvSz"),P=E("0ycA"),N=Object.getOwnPropertySymbols?function(o){for(var h=[];o;)x(h,T(o)),o=C(o);return h}:P;o.exports=N},oKfQ:function(o,h,E){"use strict";var x=E("w1AT"),C=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(x);(0,C.default)("AssignmentPattern",{visitor:["left","right"],aliases:["Pattern","LVal"],fields:{left:{validate:(0,x.assertNodeType)("Identifier")},right:{validate:(0,x.assertNodeType)("Expression")},decorators:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("Decorator")))}}}),(0,C.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],aliases:["Pattern","LVal"],fields:{elements:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("Identifier","Pattern","RestElement")))},decorators:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("Decorator")))}}}),(0,C.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:{params:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("LVal")))},body:{validate:(0,x.assertNodeType)("BlockStatement","Expression")},async:{validate:(0,x.assertValueType)("boolean"),default:!1}}}),(0,C.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("ClassMethod","ClassProperty")))}}}),(0,C.default)("ClassDeclaration",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Statement","Declaration","Pureish"],fields:{id:{validate:(0,x.assertNodeType)("Identifier")},body:{validate:(0,x.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,x.assertNodeType)("Expression")},decorators:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("Decorator")))}}}),(0,C.default)("ClassExpression",{inherits:"ClassDeclaration",aliases:["Scopable","Class","Expression","Pureish"],fields:{id:{optional:!0,validate:(0,x.assertNodeType)("Identifier")},body:{validate:(0,x.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,x.assertNodeType)("Expression")},decorators:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("Decorator")))}}}),(0,C.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,x.assertNodeType)("StringLiteral")}}}),(0,C.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,x.assertNodeType)("FunctionDeclaration","ClassDeclaration","Expression")}}}),(0,C.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,x.assertNodeType)("Declaration"),optional:!0},specifiers:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("ExportSpecifier")))},source:{validate:(0,x.assertNodeType)("StringLiteral"),optional:!0}}}),(0,C.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,x.assertNodeType)("Identifier")},exported:{validate:(0,x.assertNodeType)("Identifier")}}}),(0,C.default)("ForOfStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,x.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,x.assertNodeType)("Expression")},body:{validate:(0,x.assertNodeType)("Statement")}}}),(0,C.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,x.assertNodeType)("StringLiteral")}}}),(0,C.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,x.assertNodeType)("Identifier")}}}),(0,C.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,x.assertNodeType)("Identifier")}}}),(0,C.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,x.assertNodeType)("Identifier")},imported:{validate:(0,x.assertNodeType)("Identifier")},importKind:{validate:(0,x.assertOneOf)(null,"type","typeof")}}}),(0,C.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,x.assertValueType)("string")},property:{validate:(0,x.assertValueType)("string")}}}),(0,C.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:{kind:{validate:(0,x.chain)((0,x.assertValueType)("string"),(0,x.assertOneOf)("get","set","method","constructor")),default:"method"},computed:{default:!1,validate:(0,x.assertValueType)("boolean")},static:{default:!1,validate:(0,x.assertValueType)("boolean")},key:{validate:function validate(o,h,E){var C=o.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];x.assertNodeType.apply(void 0,C)(o,h,E)}},params:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("LVal")))},body:{validate:(0,x.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,x.assertValueType)("boolean")},async:{default:!1,validate:(0,x.assertValueType)("boolean")}}}),(0,C.default)("ObjectPattern",{visitor:["properties","typeAnnotation"],aliases:["Pattern","LVal"],fields:{properties:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("RestProperty","Property")))},decorators:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("Decorator")))}}}),(0,C.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],fields:{argument:{validate:(0,x.assertNodeType)("Expression")}}}),(0,C.default)("Super",{aliases:["Expression"]}),(0,C.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,x.assertNodeType)("Expression")},quasi:{validate:(0,x.assertNodeType)("TemplateLiteral")}}}),(0,C.default)("TemplateElement",{builder:["value","tail"],fields:{value:{},tail:{validate:(0,x.assertValueType)("boolean"),default:!1}}}),(0,C.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("TemplateElement")))},expressions:{validate:(0,x.chain)((0,x.assertValueType)("array"),(0,x.assertEach)((0,x.assertNodeType)("Expression")))}}}),(0,C.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,x.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,x.assertNodeType)("Expression")}}})},oOOA:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o,h,E,C,T){var P=void 0;P=x.isIdentifier(o)&&T?o:function getObjRef(o,h,E,C){var T=void 0;if(x.isSuper(o))return o;if(x.isIdentifier(o)){if(C.hasBinding(o.name))return o;T=o}else{if(!x.isMemberExpression(o))throw new Error("We can't explode this node type "+o.type);if(T=o.object,x.isSuper(T)||x.isIdentifier(T)&&C.hasBinding(T.name))return T}var P=C.generateUidIdentifierBasedOnNode(T);return h.push(x.variableDeclaration("var",[x.variableDeclarator(P,T)])),P}(o,h,0,C);var N=void 0,R=void 0;if(x.isIdentifier(o))N=o,R=P;else{var j=function getPropRef(o,h,E,C){var T=o.property,P=x.toComputedKey(o,T);if(x.isLiteral(P)&&x.isPureish(P))return P;var N=C.generateUidIdentifierBasedOnNode(T);return h.push(x.variableDeclaration("var",[x.variableDeclarator(N,T)])),N}(o,h,0,C),ee=o.computed||x.isLiteral(j);R=N=x.memberExpression(P,j,ee)}return{uid:R,ref:N}};var x=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));o.exports=h.default},oShl:function(o,h,E){var x=E("Nsbk"),C=E("SksO"),T=E("xfeJ"),P=E("sXyB");function _wrapNativeSuper(h){var E="function"==typeof Map?new Map:void 0;return o.exports=_wrapNativeSuper=function _wrapNativeSuper(o){if(null===o||!T(o))return o;if("function"!=typeof o)throw new TypeError("Super expression must either be null or a function");if(void 0!==E){if(E.has(o))return E.get(o);E.set(o,Wrapper)}function Wrapper(){return P(o,arguments,x(this).constructor)}return Wrapper.prototype=Object.create(o.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),C(Wrapper,o)},o.exports.__esModule=!0,o.exports.default=o.exports,_wrapNativeSuper(h)}o.exports=_wrapNativeSuper,o.exports.__esModule=!0,o.exports.default=o.exports},oVml:function(o,h,E){var x=E("5K7Z"),C=E("fpC5"),T=E("FpHa"),P=E("VVlx")("IE_PROTO"),Empty=function(){},createDict=function(){var o,h=E("Hsns")("iframe"),x=T.length;for(h.style.display="none",E("MvwC").appendChild(h),h.src="javascript:",(o=h.contentWindow.document).open(),o.write("document.F=Object<\/script>"),o.close(),createDict=o.F;x--;)delete createDict.prototype[T[x]];return createDict()};o.exports=Object.create||function create(o,h){var E;return null!==o?(Empty.prototype=x(o),E=new Empty,Empty.prototype=null,E[P]=o):E=createDict(),void 0===h?E:C(E,h)}},oaIa:function(o,h,E){"use strict";(function(h){function posix(o){return"/"===o.charAt(0)}function win32(o){var h=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(o),E=h[1]||"",x=Boolean(E&&":"!==E.charAt(1));return Boolean(h[2]||x)}o.exports="win32"===h.platform?win32:posix,o.exports.posix=posix,o.exports.win32=win32}).call(this,E("8oxB"))},odna:function(o,h,E){"use strict";var x=E("vzE1");o.exports=Number.isFinite||function(o){return!("number"!=typeof o||x(o)||o===1/0||o===-1/0)}},"oh+g":function(o,h,E){var x=E("WEpk"),C=x.JSON||(x.JSON={stringify:JSON.stringify});o.exports=function stringify(o){return C.stringify.apply(C,arguments)}},oioR:function(o,h,E){var x=E("2GTP"),C=E("sNwI"),T=E("NwJ3"),P=E("5K7Z"),N=E("tEej"),R=E("fNZA"),j={},ee={};(h=o.exports=function(o,h,E,re,ne){var ie,ae,se,oe,ue=ne?function(){return o}:R(o),le=x(E,re,h?2:1),ce=0;if("function"!=typeof ue)throw TypeError(o+" is not iterable!");if(T(ue)){for(ie=N(o.length);ie>ce;ce++)if((oe=h?le(P(ae=o[ce])[0],ae[1]):le(o[ce]))===j||oe===ee)return oe}else for(se=ue.call(o);!(ae=se.next()).done;)if((oe=C(se,le,ae.value,h))===j||oe===ee)return oe}).BREAK=j,h.RETURN=ee},or5M:function(o,h,E){var x=E("1hJj"),C=E("QoRX"),T=E("xYSL");o.exports=function equalArrays(o,h,E,P,N,R){var j=1&E,ee=o.length,re=h.length;if(ee!=re&&!(j&&re>ee))return!1;var ne=R.get(o),ie=R.get(h);if(ne&&ie)return ne==h&&ie==o;var ae=-1,se=!0,oe=2&E?new x:void 0;for(R.set(o,h),R.set(h,o);++ae0?new ae.default(E):null}return Printer.prototype.generate=function generate(o){return this.print(o),this._maybeAddAuxComment(),this._buf.get()},Printer.prototype.indent=function indent(){this.format.compact||this.format.concise||this._indent++},Printer.prototype.dedent=function dedent(){this.format.compact||this.format.concise||this._indent--},Printer.prototype.semicolon=function semicolon(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._maybeAddAuxComment(),this._append(";",!o)},Printer.prototype.rightBrace=function rightBrace(){this.format.minified&&this._buf.removeLastSemicolon(),this.token("}")},Printer.prototype.space=function space(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.format.compact||(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||o)&&this._space()},Printer.prototype.word=function word(o){this._endsWithWord&&this._space(),this._maybeAddAuxComment(),this._append(o),this._endsWithWord=!0},Printer.prototype.number=function number(o){this.word(o),this._endsWithInteger=(0,ee.default)(+o)&&!le.test(o)&&!oe.test(o)&&!ue.test(o)&&"."!==o[o.length-1]},Printer.prototype.token=function token(o){("--"===o&&this.endsWith("!")||"+"===o[0]&&this.endsWith("+")||"-"===o[0]&&this.endsWith("-")||"."===o[0]&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(o)},Printer.prototype.newline=function newline(o){if(!this.format.retainLines&&!this.format.compact)if(this.format.concise)this.space();else if(!(this.endsWith("\n\n")||("number"!=typeof o&&(o=1),o=Math.min(2,o),(this.endsWith("{\n")||this.endsWith(":\n"))&&o--,o<=0)))for(var h=0;h1&&void 0!==arguments[1]&&arguments[1];this._maybeAddParen(o),this._maybeIndent(o),h?this._buf.queue(o):this._buf.append(o),this._endsWithWord=!1,this._endsWithInteger=!1},Printer.prototype._maybeIndent=function _maybeIndent(o){this._indent&&this.endsWith("\n")&&"\n"!==o[0]&&this._buf.queue(this._getIndent())},Printer.prototype._maybeAddParen=function _maybeAddParen(o){var h=this._parenPushNewlineState;if(h){this._parenPushNewlineState=null;var E=void 0;for(E=0;E2&&void 0!==arguments[2]?arguments[2]:{};if(o&&o.length){E.indent&&this.indent();for(var x={addNewlines:E.addNewlines},C=0;C1&&void 0!==arguments[1])||arguments[1];o.innerComments&&(h&&this.indent(),this._printComments(o.innerComments),h&&this.dedent())},Printer.prototype.printSequence=function printSequence(o,h){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return E.statement=!0,this.printJoin(o,h,E)},Printer.prototype.printList=function printList(o,h){var E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return null==E.separator&&(E.separator=commaSeparator),this.printJoin(o,h,E)},Printer.prototype._printNewline=function _printNewline(o,h,E,x){var C=this;if(!this.format.retainLines&&!this.format.compact)if(this.format.concise)this.space();else{var T=0;if(null!=h.start&&!h._ignoreUserWhitespace&&this._whitespace)if(o){var P=h.leadingComments,N=P&&(0,R.default)(P,(function(o){return!!o.loc&&C.format.shouldPrintComment(o.value)}));T=this._whitespace.getNewlinesBefore(N||h)}else{var ee=h.trailingComments,re=ee&&(0,j.default)(ee,(function(o){return!!o.loc&&C.format.shouldPrintComment(o.value)}));T=this._whitespace.getNewlinesAfter(re||h)}else{o||T++,x.addNewlines&&(T+=x.addNewlines(o,h)||0);var ne=ie.needsWhitespaceAfter;o&&(ne=ie.needsWhitespaceBefore),ne(h,E)&&T++,this._buf.hasContent()||(T=0)}this.newline(T)}},Printer.prototype._getComments=function _getComments(o,h){return h&&(o?h.leadingComments:h.trailingComments)||[]},Printer.prototype._printComment=function _printComment(o){var h=this;if(this.format.shouldPrintComment(o.value)&&!o.ignore&&!this._printedComments.has(o)){if(this._printedComments.add(o),null!=o.start){if(this._printedCommentStarts[o.start])return;this._printedCommentStarts[o.start]=!0}this.newline(this._whitespace?this._whitespace.getNewlinesBefore(o):0),this.endsWith("[")||this.endsWith("{")||this.space();var E="CommentLine"===o.type?"//"+o.value+"\n":"/*"+o.value+"*/";if("CommentBlock"===o.type&&this.format.indent.adjustMultilineComment){var x=o.loc&&o.loc.start.column;if(x){var C=new RegExp("\\n\\s{1,"+x+"}","g");E=E.replace(C,"\n")}var T=Math.max(this._getIndent().length,this._buf.getCurrentColumn());E=E.replace(/\n(?!$)/g,"\n"+(0,re.default)(" ",T))}this.withSource("start",o.loc,(function(){h._append(E)})),this.newline((this._whitespace?this._whitespace.getNewlinesAfter(o):0)+("CommentLine"===o.type?-1:0))}},Printer.prototype._printComments=function _printComments(o){if(o&&o.length){var h=o,E=Array.isArray(h),x=0;for(h=E?h:(0,C.default)(h);;){var T;if(E){if(x>=h.length)break;T=h[x++]}else{if((x=h.next()).done)break;T=x.value}var P=T;this._printComment(P)}}},Printer}();function commaSeparator(){this.token(","),this.space()}h.default=ce;for(var pe=[E("ErUX"),E("H7Vj"),E("OuQW"),E("A3R6"),E("RiTv"),E("0dVf"),E("imsj"),E("lltW"),E("b/f/"),E("SkRP")],fe=0;fe-1,ae=!!h&&h.indexOf("u")>-1,assign(E,processTerm(E)),x(E)}},pSRY:function(o,h,E){var x=E("QkVE");o.exports=function mapCacheHas(o){return x(this,o).has(o)}},pmQ8:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{visitor:{NumericLiteral:function NumericLiteral(o){var h=o.node;h.extra&&/^0[ob]/i.test(h.extra.raw)&&(h.extra=void 0)},StringLiteral:function StringLiteral(o){var h=o.node;h.extra&&/\\[u]/gi.test(h.extra.raw)&&(h.extra=void 0)}}}},o.exports=h.default},prLX:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("FyfS"));h.call=function call(o){var h=this.opts;if(this.debug((function(){return o})),this.node&&this._call(h[o]))return!0;if(this.node)return this._call(h[this.node.type]&&h[this.node.type][o]);return!1},h._call=function _call(o){if(!o)return!1;var h=o,E=Array.isArray(h),C=0;for(h=E?h:(0,x.default)(h);;){var T;if(E){if(C>=h.length)break;T=h[C++]}else{if((C=h.next()).done)break;T=C.value}var P=T;if(P){var N=this.node;if(!N)return!0;if(P.call(this.state,this,this.state))throw new Error("Unexpected return value from visitor method "+P);if(this.node!==N)return!0;if(this.shouldStop||this.shouldSkip||this.removed)return!0}}return!1},h.isBlacklisted=function isBlacklisted(){var o=this.opts.blacklist;return o&&o.indexOf(this.node.type)>-1},h.visit=function visit(){if(!this.node)return!1;if(this.isBlacklisted())return!1;if(this.opts.shouldSkip&&this.opts.shouldSkip(this))return!1;if(this.call("enter")||this.shouldSkip)return this.debug((function(){return"Skip..."})),this.shouldStop;return this.debug((function(){return"Recursing into..."})),C.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys),this.call("exit"),this.shouldStop},h.skip=function skip(){this.shouldSkip=!0},h.skipKey=function skipKey(o){this.skipKeys[o]=!0},h.stop=function stop(){this.shouldStop=!0,this.shouldSkip=!0},h.setScope=function setScope(){if(this.opts&&this.opts.noScope)return;var o=this.context&&this.context.scope;if(!o)for(var h=this.parentPath;h&&!o;){if(h.opts&&h.opts.noScope)return;o=h.scope,h=h.parentPath}this.scope=this.getScope(o),this.scope&&this.scope.init()},h.setContext=function setContext(o){this.shouldSkip=!1,this.shouldStop=!1,this.removed=!1,this.skipKeys={},o&&(this.context=o,this.state=o.state,this.opts=o.opts);return this.setScope(),this},h.resync=function resync(){if(this.removed)return;this._resyncParent(),this._resyncList(),this._resyncKey()},h._resyncParent=function _resyncParent(){this.parentPath&&(this.parent=this.parentPath.node)},h._resyncKey=function _resyncKey(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:this;if(o.removed)return;var h=this.contexts,E=h,C=Array.isArray(E),T=0;for(E=C?E:(0,x.default)(E);;){var P;if(C){if(T>=E.length)break;P=E[T++]}else{if((T=E.next()).done)break;P=T.value}var N=P;N.maybeQueue(o)}},h._getQueueContexts=function _getQueueContexts(){var o=this,h=this.contexts;for(;!h.length;)o=o.parentPath,h=o.contexts;return h};var C=_interopRequireDefault(E("dZTf"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}},qZTm:function(o,h,E){var x=E("fR/l"),C=E("MvSz"),T=E("7GkX");o.exports=function getAllKeys(o){return x(o,T,C)}},qbnB:function(o,h,E){var x=E("juv8"),C=E("LsHQ"),T=E("mTTR"),P=C((function(o,h){x(h,T(h),o)}));o.exports=P},rEGp:function(o,h){o.exports=function setToArray(o){var h=-1,E=Array(o.size);return o.forEach((function(o){E[++h]=o})),E}},rPqm:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.default=function(o){var h=o.types;return{inherits:E("rXl7"),visitor:{Program:function Program(o,h){var E=h.file.ast.comments,C=Array.isArray(E),T=0;for(E=C?E:(0,x.default)(E);;){var P;if(C){if(T>=E.length)break;P=E[T++]}else{if((T=E.next()).done)break;P=T.value}var N=P;N.value.indexOf("@flow")>=0&&(N.value=N.value.replace("@flow",""),N.value.replace(/\*/g,"").trim()||(N.ignore=!0))}},Flow:function Flow(o){o.remove()},ClassProperty:function ClassProperty(o){o.node.variance=null,o.node.typeAnnotation=null,o.node.value||o.remove()},Class:function Class(o){o.node.implements=null,o.get("body.body").forEach((function(o){o.isClassProperty()&&(o.node.typeAnnotation=null,o.node.value||o.remove())}))},AssignmentPattern:function AssignmentPattern(o){o.node.left.optional=!1},Function:function Function(o){for(var h=o.node,E=0;E=C.length)break;R=C[N++]}else{if((N=C.next()).done)break;R=N.value}if(o[R])return!0}return!1},TraversalContext.prototype.create=function create(o,h,E,x){return T.default.get({parentPath:this.parentPath,parent:o,container:h,key:E,listKey:x})},TraversalContext.prototype.maybeQueue=function maybeQueue(o,h){if(this.trap)throw new Error("Infinite cycle detected");this.queue&&(h?this.queue.push(o):this.priorityQueue.push(o))},TraversalContext.prototype.visitMultiple=function visitMultiple(o,h,E){if(0===o.length)return!1;for(var x=[],C=0;C=C.length)break;N=C[P++]}else{if((P=C.next()).done)break;N=P.value}var R=N;if(R.resync(),0!==R.contexts.length&&R.contexts[R.contexts.length-1]===this||R.pushContext(this),null!==R.key&&!(h.indexOf(R.node)>=0)){if(h.push(R.node),R.visit()){E=!0;break}if(this.priorityQueue.length&&(E=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=o,E))break}}var j=o,ee=Array.isArray(j),re=0;for(j=ee?j:(0,x.default)(j);;){var ne;if(ee){if(re>=j.length)break;ne=j[re++]}else{if((re=j.next()).done)break;ne=re.value}ne.popContext()}return this.queue=null,E},TraversalContext.prototype.visit=function visit(o,h){var E=o[h];return!!E&&(Array.isArray(E)?this.visitMultiple(E,o,h):this.visitSingle(o,h))},TraversalContext}();h.default=N,o.exports=h.default},rW2U:function(o,h,E){"use strict";var x=E("cDf5");Object.defineProperty(h,"__esModule",{value:!0}),h.default=function protect(o){(0,C.default)(o);var h=Date.now();return o=(0,C.loopProtect)(o,["(function (line) {","if (Date.now() > "+(h+5e3)+") {",' throw new Error("Infinite loop detected on line " + line);',"}","})"].join(""))};var C=function _interopRequireWildcard(o,h){if(!h&&o&&o.__esModule)return o;if(null===o||"object"!==x(o)&&"function"!=typeof o)return{default:o};var E=_getRequireWildcardCache(h);if(E&&E.has(o))return E.get(o);var C={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in o)if("default"!==P&&Object.prototype.hasOwnProperty.call(o,P)){var N=T?Object.getOwnPropertyDescriptor(o,P):null;N&&(N.get||N.set)?Object.defineProperty(C,P,N):C[P]=o[P]}C.default=o,E&&E.set(o,C);return C}(E("79So"));function _getRequireWildcardCache(o){if("function"!=typeof WeakMap)return null;var h=new WeakMap,E=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(o){return o?E:h})(o)}},rXl7:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{manipulateOptions:function manipulateOptions(o,h){h.plugins.push("flow")}}},o.exports=h.default},raTm:function(o,h,E){"use strict";var x=E("5T2Y"),C=E("Y7ZC"),T=E("6/1s"),P=E("KUxP"),N=E("NegM"),R=E("XJU/"),j=E("oioR"),ee=E("EXMj"),re=E("93I4"),ne=E("RfKB"),ie=E("2faE").f,ae=E("V7Et")(0),se=E("jmDH");o.exports=function(o,h,E,oe,ue,le){var ce=x[o],pe=ce,fe=ue?"set":"add",he=pe&&pe.prototype,de={};return se&&"function"==typeof pe&&(le||he.forEach&&!P((function(){(new pe).entries().next()})))?(pe=h((function(h,E){ee(h,pe,o,"_c"),h._c=new ce,null!=E&&j(E,ue,h[fe],h)})),ae("add,clear,delete,forEach,get,has,set,keys,values,entries,toJSON".split(","),(function(o){var h="add"==o||"set"==o;!(o in he)||le&&"clear"==o||N(pe.prototype,o,(function(E,x){if(ee(this,pe,o),!h&&le&&!re(E))return"get"==o&&void 0;var C=this._c[o](0===E?0:E,x);return h?this:C}))})),le||ie(pe.prototype,"size",{get:function(){return this._c.size}})):(pe=oe.getConstructor(h,o,ue,fe),R(pe.prototype,E),T.NEED=!0),ne(pe,o),de[o]=pe,C(C.G+C.W+C.F,de),le||oe.setStrong(pe,o,ue),pe}},rfXi:function(o,h,E){o.exports={default:E("0tVQ"),__esModule:!0}},rr1i:function(o,h){o.exports=function(o,h){return{enumerable:!(1&o),configurable:!(2&o),writable:!(4&o),value:h}}},s3Ml:function(o,h,E){o.exports={default:E("JbBM"),__esModule:!0}},s9k3:function(o,h){Object.defineProperty(h,"__esModule",{value:!0}),h.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyu]{1,5}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,h.matchToToken=function(o){var h={type:"invalid",value:o[0]};return o[1]?(h.type="string",h.closed=!(!o[3]&&!o[4])):o[5]?h.type="comment":o[6]?(h.type="comment",h.closed=!!o[7]):o[8]?h.type="regex":o[9]?h.type="number":o[10]?h.type="name":o[11]?h.type="punctuator":o[12]&&(h.type="whitespace"),h}},sEf8:function(o,h){o.exports=function baseUnary(o){return function(h){return o(h)}}},"sEx/":function(o,h,E){"use strict";h.__esModule=!0,h.is=void 0;var x=_interopRequireDefault(E("FyfS"));h.matchesPattern=function matchesPattern(o,h){if(!this.isMemberExpression())return!1;var E=o.split("."),x=[this.node],C=0;function matches(o){var h=E[C];return"*"===h||o===h}for(;x.length;){var P=x.shift();if(h&&C===E.length)return!0;if(T.isIdentifier(P)){if(!matches(P.name))return!1}else if(T.isLiteral(P)){if(!matches(P.value))return!1}else{if(T.isMemberExpression(P)){if(P.computed&&!T.isLiteral(P.property))return!1;x.unshift(P.property),x.unshift(P.object);continue}if(!T.isThisExpression(P))return!1;if(!matches("this"))return!1}if(++C>E.length)return!1}return C===E.length},h.has=has,h.isStatic=function isStatic(){return this.scope.isStatic(this.node)},h.isnt=function isnt(o){return!this.has(o)},h.equals=function equals(o,h){return this.node[o]===h},h.isNodeType=function isNodeType(o){return T.isType(this.type,o)},h.canHaveVariableDeclarationOrExpression=function canHaveVariableDeclarationOrExpression(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()},h.canSwapBetweenExpressionAndStatement=function canSwapBetweenExpressionAndStatement(o){if("body"!==this.key||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return T.isBlockStatement(o);if(this.isBlockStatement())return T.isExpression(o);return!1},h.isCompletionRecord=function isCompletionRecord(o){var h=this,E=!0;do{var x=h.container;if(h.isFunction()&&!E)return!!o;if(E=!1,Array.isArray(x)&&h.key!==x.length-1)return!1}while((h=h.parentPath)&&!h.isProgram());return!0},h.isStatementOrBlock=function isStatementOrBlock(){return!this.parentPath.isLabeledStatement()&&!T.isBlockStatement(this.container)&&(0,C.default)(T.STATEMENT_OR_BLOCK_KEYS,this.key)},h.referencesImport=function referencesImport(o,h){if(!this.isReferencedIdentifier())return!1;var E=this.scope.getBinding(this.node.name);if(!E||"module"!==E.kind)return!1;var x=E.path,C=x.parentPath;if(!C.isImportDeclaration())return!1;if(C.node.source.value!==o)return!1;if(!h)return!0;if(x.isImportDefaultSpecifier()&&"default"===h)return!0;if(x.isImportNamespaceSpecifier()&&"*"===h)return!0;if(x.isImportSpecifier()&&x.node.imported.name===h)return!0;return!1},h.getSource=function getSource(){var o=this.node;return o.end?this.hub.file.code.slice(o.start,o.end):""},h.willIMaybeExecuteBefore=function willIMaybeExecuteBefore(o){return"after"!==this._guessExecutionStatusRelativeTo(o)},h._guessExecutionStatusRelativeTo=function _guessExecutionStatusRelativeTo(o){var h=o.scope.getFunctionParent(),E=this.scope.getFunctionParent();if(h.node!==E.node){var x=this._guessExecutionStatusRelativeToDifferentFunctions(h);if(x)return x;o=h.path}var C=o.getAncestry();if(C.indexOf(this)>=0)return"after";var P=this.getAncestry(),N=void 0,R=void 0,j=void 0;for(j=0;j=0){N=ee;break}}if(!N)return"before";var re=C[R-1],ne=P[j-1];if(!re||!ne)return"before";if(re.listKey&&re.container===ne.container)return re.key>ne.key?"before":"after";var ie=T.VISITOR_KEYS[re.type].indexOf(re.key),ae=T.VISITOR_KEYS[ne.type].indexOf(ne.key);return ie>ae?"before":"after"},h._guessExecutionStatusRelativeToDifferentFunctions=function _guessExecutionStatusRelativeToDifferentFunctions(o){var h=o.path;if(!h.isFunctionDeclaration())return;var E=h.scope.getBinding(h.node.id.name);if(!E.references)return"before";var C=E.referencePaths,T=C,P=Array.isArray(T),N=0;for(T=P?T:(0,x.default)(T);;){var R;if(P){if(N>=T.length)break;R=T[N++]}else{if((N=T.next()).done)break;R=N.value}var j=R;if("callee"!==j.key||!j.parentPath.isCallExpression())return}var ee=void 0,re=C,ne=Array.isArray(re),ie=0;for(re=ne?re:(0,x.default)(re);;){var ae;if(ne){if(ie>=re.length)break;ae=re[ie++]}else{if((ie=re.next()).done)break;ae=ie.value}var se=ae;if(!!!se.find((function(o){return o.node===h.node}))){var oe=this._guessExecutionStatusRelativeTo(se);if(ee){if(ee!==oe)return}else ee=oe}}return ee},h.resolve=function resolve(o,h){return this._resolve(o,h)||this},h._resolve=function _resolve(o,h){if(h&&h.indexOf(this)>=0)return;if((h=h||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(o,h)}else if(this.isReferencedIdentifier()){var E=this.scope.getBinding(this.node.name);if(!E)return;if(!E.constant)return;if("module"===E.kind)return;if(E.path!==this){var C=E.path.resolve(o,h);if(this.find((function(o){return o.node===C.node})))return;return C}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(o,h);if(o&&this.isMemberExpression()){var P=this.toComputedKey();if(!T.isLiteral(P))return;var N=P.value,R=this.get("object").resolve(o,h);if(R.isObjectExpression()){var j=R.get("properties"),ee=Array.isArray(j),re=0;for(j=ee?j:(0,x.default)(j);;){var ne;if(ee){if(re>=j.length)break;ne=j[re++]}else{if((re=j.next()).done)break;ne=re.value}var ie=ne;if(ie.isProperty()){var ae=ie.get("key"),se=ie.isnt("computed")&&ae.isIdentifier({name:N});if(se=se||ae.isLiteral({value:N}))return ie.get("value").resolve(o,h)}}}else if(R.isArrayExpression()&&!isNaN(+N)){var oe=R.get("elements")[N];if(oe)return oe.resolve(o,h)}}}};var C=_interopRequireDefault(E("ijCd")),T=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function has(o){var h=this.node&&this.node[o];return h&&Array.isArray(h)?!!h.length:!!h}h.is=has},sKgW:function(o,h){var E=Math.floor;o.exports=function baseRepeat(o,h){var x="";if(!o||h<1||h>9007199254740991)return x;do{h%2&&(x+=o),(h=E(h/2))&&(o+=o)}while(h);return x}},sNwI:function(o,h,E){var x=E("5K7Z");o.exports=function(o,h,E,C){try{return C?h(x(E)[0],E[1]):h(E)}catch(h){var T=o.return;throw void 0!==T&&x(T.call(o)),h}}},sXyB:function(o,h,E){var x=E("SksO"),C=E("b48C");function _construct(h,E,T){return C()?(o.exports=_construct=Reflect.construct,o.exports.__esModule=!0,o.exports.default=o.exports):(o.exports=_construct=function _construct(o,h,E){var C=[null];C.push.apply(C,h);var T=new(Function.bind.apply(o,C));return E&&x(T,E.prototype),T},o.exports.__esModule=!0,o.exports.default=o.exports),_construct.apply(null,arguments)}o.exports=_construct,o.exports.__esModule=!0,o.exports.default=o.exports},sY9U:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{inherits:E("TDbU"),visitor:{Function:function Function(o,h){o.node.async&&!o.node.generator&&(0,x.default)(o,h.file,{wrapAsync:h.addHelper("asyncToGenerator")})}}}};var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("S2LA"));o.exports=h.default},saCS:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.default=function bindifyDecorators(o){var h=o,E=Array.isArray(h),T=0;for(h=E?h:(0,x.default)(h);;){var P;if(E){if(T>=h.length)break;P=h[T++]}else{if((T=h.next()).done)break;P=T.value}var N=P,R=N.node,j=R.expression;if(C.isMemberExpression(j)){var ee=N.scope.maybeGenerateMemoised(j.object),re=void 0,ne=[];ee?(re=ee,ne.push(C.assignmentExpression("=",ee,j.object))):re=j.object,ne.push(C.callExpression(C.memberExpression(C.memberExpression(re,j.property,j.computed),C.identifier("bind")),[re])),1===ne.length?R.expression=ne[0]:R.expression=C.sequenceExpression(ne)}}};var C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));o.exports=h.default},sd7d:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("iCc5")),C=(_interopRequireDefault(E("suRt")),function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW")));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var T={ReferencedIdentifier:function ReferencedIdentifier(o,h){var E=o.node;E.name===h.oldName&&(E.name=h.newName)},Scope:function Scope(o,h){o.scope.bindingIdentifierEquals(h.oldName,h.binding.identifier)||o.skip()},"AssignmentExpression|Declaration":function AssignmentExpressionDeclaration(o,h){var E=o.getOuterBindingIdentifiers();for(var x in E)x===h.oldName&&(E[x].name=h.newName)}},P=function(){function Renamer(o,h,E){(0,x.default)(this,Renamer),this.newName=E,this.oldName=h,this.binding=o}return Renamer.prototype.maybeConvertFromExportDeclaration=function maybeConvertFromExportDeclaration(o){var h=o.parentPath.isExportDeclaration()&&o.parentPath;if(h){var E=h.isExportDefaultDeclaration();E&&(o.isFunctionDeclaration()||o.isClassDeclaration())&&!o.node.id&&(o.node.id=o.scope.generateUidIdentifier("default"));var x=o.getOuterBindingIdentifiers(),T=[];for(var P in x){var N=P===this.oldName?this.newName:P,R=E?"default":P;T.push(C.exportSpecifier(C.identifier(N),C.identifier(R)))}if(T.length){var j=C.exportNamedDeclaration(null,T);o.isFunctionDeclaration()&&(j._blockHoist=3),h.insertAfter(j),h.replaceWith(o.node)}}},Renamer.prototype.rename=function rename(o){var h=this.binding,E=this.oldName,x=this.newName,C=h.scope,P=h.path.find((function(o){return o.isDeclaration()||o.isFunctionExpression()}));P&&this.maybeConvertFromExportDeclaration(P),C.traverse(o||C.block,T,this),o||(C.removeOwnBinding(E),C.bindings[x]=h,this.binding.identifier.name=x),h.type},Renamer}();h.default=P,o.exports=h.default},seXi:function(o,h,E){var x=E("qZTm"),C=Object.prototype.hasOwnProperty;o.exports=function equalObjects(o,h,E,T,P,N){var R=1&E,j=x(o),ee=j.length;if(ee!=x(h).length&&!R)return!1;for(var re=ee;re--;){var ne=j[re];if(!(R?ne in h:C.call(h,ne)))return!1}var ie=N.get(o),ae=N.get(h);if(ie&&ae)return ie==h&&ae==o;var se=!0;N.set(o,h),N.set(h,o);for(var oe=R;++re-1&&o%1==0&&o<=9007199254740991}},suRt:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("iCc5"));var C=function(){function Binding(o){var h=o.existing,E=o.identifier,C=o.scope,T=o.path,P=o.kind;(0,x.default)(this,Binding),this.identifier=E,this.scope=C,this.path=T,this.kind=P,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.clearValue(),h&&(this.constantViolations=[].concat(h.path,h.constantViolations,this.constantViolations))}return Binding.prototype.deoptValue=function deoptValue(){this.clearValue(),this.hasDeoptedValue=!0},Binding.prototype.setValue=function setValue(o){this.hasDeoptedValue||(this.hasValue=!0,this.value=o)},Binding.prototype.clearValue=function clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null},Binding.prototype.reassign=function reassign(o){this.constant=!1,-1===this.constantViolations.indexOf(o)&&this.constantViolations.push(o)},Binding.prototype.reference=function reference(o){-1===this.referencePaths.indexOf(o)&&(this.referenced=!0,this.references++,this.referencePaths.push(o))},Binding.prototype.dereference=function dereference(){this.references--,this.referenced=!!this.references},Binding}();h.default=C,o.exports=h.default},t2Dn:function(o,h,E){var x=E("hypo"),C=E("ljhN");o.exports=function assignMergeValue(o,h,E){(void 0!==E&&!C(o[h],E)||void 0===E&&!(h in o))&&x(o,h,E)}},tEej:function(o,h,E){var x=E("Ojgd"),C=Math.min;o.exports=function(o){return o>0?C(x(o),9007199254740991):0}},tLB3:function(o,h,E){var x=E("jXQH"),C=E("GoyQ"),T=E("/9aa"),P=/^[-+]0x[0-9a-f]+$/i,N=/^0b[01]+$/i,R=/^0o[0-7]+$/i,j=parseInt;o.exports=function toNumber(o){if("number"==typeof o)return o;if(T(o))return NaN;if(C(o)){var h="function"==typeof o.valueOf?o.valueOf():o;o=C(h)?h+"":h}if("string"!=typeof o)return 0===o?o:+o;o=x(o);var E=N.test(o);return E||R.test(o)?j(o.slice(2),E?2:8):P.test(o)?NaN:+o}},tMB7:function(o,h,E){var x=E("y1pI");o.exports=function listCacheGet(o){var h=this.__data__,E=x(h,o);return E<0?void 0:h[E][1]}},tadb:function(o,h,E){var x=E("Cwc5")(E("Kz5y"),"DataView");o.exports=x},tjlA:function(o,h,E){"use strict";(function(o){var x=E("H7XF"),C=E("kVK+"),T=E("49sm");function kMaxLength(){return Buffer.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function createBuffer(o,h){if(kMaxLength()=kMaxLength())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+kMaxLength().toString(16)+" bytes");return 0|o}function byteLength(o,h){if(Buffer.isBuffer(o))return o.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(o)||o instanceof ArrayBuffer))return o.byteLength;"string"!=typeof o&&(o=""+o);var E=o.length;if(0===E)return 0;for(var x=!1;;)switch(h){case"ascii":case"latin1":case"binary":return E;case"utf8":case"utf-8":case void 0:return utf8ToBytes(o).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*E;case"hex":return E>>>1;case"base64":return base64ToBytes(o).length;default:if(x)return utf8ToBytes(o).length;h=(""+h).toLowerCase(),x=!0}}function slowToString(o,h,E){var x=!1;if((void 0===h||h<0)&&(h=0),h>this.length)return"";if((void 0===E||E>this.length)&&(E=this.length),E<=0)return"";if((E>>>=0)<=(h>>>=0))return"";for(o||(o="utf8");;)switch(o){case"hex":return hexSlice(this,h,E);case"utf8":case"utf-8":return utf8Slice(this,h,E);case"ascii":return asciiSlice(this,h,E);case"latin1":case"binary":return latin1Slice(this,h,E);case"base64":return base64Slice(this,h,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,h,E);default:if(x)throw new TypeError("Unknown encoding: "+o);o=(o+"").toLowerCase(),x=!0}}function swap(o,h,E){var x=o[h];o[h]=o[E],o[E]=x}function bidirectionalIndexOf(o,h,E,x,C){if(0===o.length)return-1;if("string"==typeof E?(x=E,E=0):E>2147483647?E=2147483647:E<-2147483648&&(E=-2147483648),E=+E,isNaN(E)&&(E=C?0:o.length-1),E<0&&(E=o.length+E),E>=o.length){if(C)return-1;E=o.length-1}else if(E<0){if(!C)return-1;E=0}if("string"==typeof h&&(h=Buffer.from(h,x)),Buffer.isBuffer(h))return 0===h.length?-1:arrayIndexOf(o,h,E,x,C);if("number"==typeof h)return h&=255,Buffer.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?C?Uint8Array.prototype.indexOf.call(o,h,E):Uint8Array.prototype.lastIndexOf.call(o,h,E):arrayIndexOf(o,[h],E,x,C);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(o,h,E,x,C){var T,P=1,N=o.length,R=h.length;if(void 0!==x&&("ucs2"===(x=String(x).toLowerCase())||"ucs-2"===x||"utf16le"===x||"utf-16le"===x)){if(o.length<2||h.length<2)return-1;P=2,N/=2,R/=2,E/=2}function read(o,h){return 1===P?o[h]:o.readUInt16BE(h*P)}if(C){var j=-1;for(T=E;TN&&(E=N-R),T=E;T>=0;T--){for(var ee=!0,re=0;reC&&(x=C):x=C;var T=h.length;if(T%2!=0)throw new TypeError("Invalid hex string");x>T/2&&(x=T/2);for(var P=0;P>8,C=E%256,T.push(C),T.push(x);return T}(h,o.length-E),o,E,x)}function base64Slice(o,h,E){return 0===h&&E===o.length?x.fromByteArray(o):x.fromByteArray(o.slice(h,E))}function utf8Slice(o,h,E){E=Math.min(o.length,E);for(var x=[],C=h;C239?4:j>223?3:j>191?2:1;if(C+re<=E)switch(re){case 1:j<128&&(ee=j);break;case 2:128==(192&(T=o[C+1]))&&(R=(31&j)<<6|63&T)>127&&(ee=R);break;case 3:T=o[C+1],P=o[C+2],128==(192&T)&&128==(192&P)&&(R=(15&j)<<12|(63&T)<<6|63&P)>2047&&(R<55296||R>57343)&&(ee=R);break;case 4:T=o[C+1],P=o[C+2],N=o[C+3],128==(192&T)&&128==(192&P)&&128==(192&N)&&(R=(15&j)<<18|(63&T)<<12|(63&P)<<6|63&N)>65535&&R<1114112&&(ee=R)}null===ee?(ee=65533,re=1):ee>65535&&(ee-=65536,x.push(ee>>>10&1023|55296),ee=56320|1023&ee),x.push(ee),C+=re}return function decodeCodePointsArray(o){var h=o.length;if(h<=4096)return String.fromCharCode.apply(String,o);var E="",x=0;for(;x0&&(o=this.toString("hex",0,E).match(/.{2}/g).join(" "),this.length>E&&(o+=" ... ")),""},Buffer.prototype.compare=function compare(o,h,E,x,C){if(!Buffer.isBuffer(o))throw new TypeError("Argument must be a Buffer");if(void 0===h&&(h=0),void 0===E&&(E=o?o.length:0),void 0===x&&(x=0),void 0===C&&(C=this.length),h<0||E>o.length||x<0||C>this.length)throw new RangeError("out of range index");if(x>=C&&h>=E)return 0;if(x>=C)return-1;if(h>=E)return 1;if(this===o)return 0;for(var T=(C>>>=0)-(x>>>=0),P=(E>>>=0)-(h>>>=0),N=Math.min(T,P),R=this.slice(x,C),j=o.slice(h,E),ee=0;eeC)&&(E=C),o.length>0&&(E<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");x||(x="utf8");for(var T=!1;;)switch(x){case"hex":return hexWrite(this,o,h,E);case"utf8":case"utf-8":return utf8Write(this,o,h,E);case"ascii":return asciiWrite(this,o,h,E);case"latin1":case"binary":return latin1Write(this,o,h,E);case"base64":return base64Write(this,o,h,E);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,o,h,E);default:if(T)throw new TypeError("Unknown encoding: "+x);x=(""+x).toLowerCase(),T=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function asciiSlice(o,h,E){var x="";E=Math.min(o.length,E);for(var C=h;Cx)&&(E=x);for(var C="",T=h;TE)throw new RangeError("Trying to access beyond buffer length")}function checkInt(o,h,E,x,C,T){if(!Buffer.isBuffer(o))throw new TypeError('"buffer" argument must be a Buffer instance');if(h>C||ho.length)throw new RangeError("Index out of range")}function objectWriteUInt16(o,h,E,x){h<0&&(h=65535+h+1);for(var C=0,T=Math.min(o.length-E,2);C>>8*(x?C:1-C)}function objectWriteUInt32(o,h,E,x){h<0&&(h=4294967295+h+1);for(var C=0,T=Math.min(o.length-E,4);C>>8*(x?C:3-C)&255}function checkIEEE754(o,h,E,x,C,T){if(E+x>o.length)throw new RangeError("Index out of range");if(E<0)throw new RangeError("Index out of range")}function writeFloat(o,h,E,x,T){return T||checkIEEE754(o,0,E,4),C.write(o,h,E,x,23,4),E+4}function writeDouble(o,h,E,x,T){return T||checkIEEE754(o,0,E,8),C.write(o,h,E,x,52,8),E+8}Buffer.prototype.slice=function slice(o,h){var E,x=this.length;if((o=~~o)<0?(o+=x)<0&&(o=0):o>x&&(o=x),(h=void 0===h?x:~~h)<0?(h+=x)<0&&(h=0):h>x&&(h=x),h0&&(C*=256);)x+=this[o+--h]*C;return x},Buffer.prototype.readUInt8=function readUInt8(o,h){return h||checkOffset(o,1,this.length),this[o]},Buffer.prototype.readUInt16LE=function readUInt16LE(o,h){return h||checkOffset(o,2,this.length),this[o]|this[o+1]<<8},Buffer.prototype.readUInt16BE=function readUInt16BE(o,h){return h||checkOffset(o,2,this.length),this[o]<<8|this[o+1]},Buffer.prototype.readUInt32LE=function readUInt32LE(o,h){return h||checkOffset(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+16777216*this[o+3]},Buffer.prototype.readUInt32BE=function readUInt32BE(o,h){return h||checkOffset(o,4,this.length),16777216*this[o]+(this[o+1]<<16|this[o+2]<<8|this[o+3])},Buffer.prototype.readIntLE=function readIntLE(o,h,E){o|=0,h|=0,E||checkOffset(o,h,this.length);for(var x=this[o],C=1,T=0;++T=(C*=128)&&(x-=Math.pow(2,8*h)),x},Buffer.prototype.readIntBE=function readIntBE(o,h,E){o|=0,h|=0,E||checkOffset(o,h,this.length);for(var x=h,C=1,T=this[o+--x];x>0&&(C*=256);)T+=this[o+--x]*C;return T>=(C*=128)&&(T-=Math.pow(2,8*h)),T},Buffer.prototype.readInt8=function readInt8(o,h){return h||checkOffset(o,1,this.length),128&this[o]?-1*(255-this[o]+1):this[o]},Buffer.prototype.readInt16LE=function readInt16LE(o,h){h||checkOffset(o,2,this.length);var E=this[o]|this[o+1]<<8;return 32768&E?4294901760|E:E},Buffer.prototype.readInt16BE=function readInt16BE(o,h){h||checkOffset(o,2,this.length);var E=this[o+1]|this[o]<<8;return 32768&E?4294901760|E:E},Buffer.prototype.readInt32LE=function readInt32LE(o,h){return h||checkOffset(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(o,h){return h||checkOffset(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]},Buffer.prototype.readFloatLE=function readFloatLE(o,h){return h||checkOffset(o,4,this.length),C.read(this,o,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(o,h){return h||checkOffset(o,4,this.length),C.read(this,o,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(o,h){return h||checkOffset(o,8,this.length),C.read(this,o,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(o,h){return h||checkOffset(o,8,this.length),C.read(this,o,!1,52,8)},Buffer.prototype.writeUIntLE=function writeUIntLE(o,h,E,x){(o=+o,h|=0,E|=0,x)||checkInt(this,o,h,E,Math.pow(2,8*E)-1,0);var C=1,T=0;for(this[h]=255&o;++T=0&&(T*=256);)this[h+C]=o/T&255;return h+E},Buffer.prototype.writeUInt8=function writeUInt8(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,1,255,0),Buffer.TYPED_ARRAY_SUPPORT||(o=Math.floor(o)),this[h]=255&o,h+1},Buffer.prototype.writeUInt16LE=function writeUInt16LE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=255&o,this[h+1]=o>>>8):objectWriteUInt16(this,o,h,!0),h+2},Buffer.prototype.writeUInt16BE=function writeUInt16BE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,2,65535,0),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=o>>>8,this[h+1]=255&o):objectWriteUInt16(this,o,h,!1),h+2},Buffer.prototype.writeUInt32LE=function writeUInt32LE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[h+3]=o>>>24,this[h+2]=o>>>16,this[h+1]=o>>>8,this[h]=255&o):objectWriteUInt32(this,o,h,!0),h+4},Buffer.prototype.writeUInt32BE=function writeUInt32BE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,4,4294967295,0),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=o>>>24,this[h+1]=o>>>16,this[h+2]=o>>>8,this[h+3]=255&o):objectWriteUInt32(this,o,h,!1),h+4},Buffer.prototype.writeIntLE=function writeIntLE(o,h,E,x){if(o=+o,h|=0,!x){var C=Math.pow(2,8*E-1);checkInt(this,o,h,E,C-1,-C)}var T=0,P=1,N=0;for(this[h]=255&o;++T>0)-N&255;return h+E},Buffer.prototype.writeIntBE=function writeIntBE(o,h,E,x){if(o=+o,h|=0,!x){var C=Math.pow(2,8*E-1);checkInt(this,o,h,E,C-1,-C)}var T=E-1,P=1,N=0;for(this[h+T]=255&o;--T>=0&&(P*=256);)o<0&&0===N&&0!==this[h+T+1]&&(N=1),this[h+T]=(o/P>>0)-N&255;return h+E},Buffer.prototype.writeInt8=function writeInt8(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,1,127,-128),Buffer.TYPED_ARRAY_SUPPORT||(o=Math.floor(o)),o<0&&(o=255+o+1),this[h]=255&o,h+1},Buffer.prototype.writeInt16LE=function writeInt16LE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=255&o,this[h+1]=o>>>8):objectWriteUInt16(this,o,h,!0),h+2},Buffer.prototype.writeInt16BE=function writeInt16BE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,2,32767,-32768),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=o>>>8,this[h+1]=255&o):objectWriteUInt16(this,o,h,!1),h+2},Buffer.prototype.writeInt32LE=function writeInt32LE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,4,2147483647,-2147483648),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=255&o,this[h+1]=o>>>8,this[h+2]=o>>>16,this[h+3]=o>>>24):objectWriteUInt32(this,o,h,!0),h+4},Buffer.prototype.writeInt32BE=function writeInt32BE(o,h,E){return o=+o,h|=0,E||checkInt(this,o,h,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),Buffer.TYPED_ARRAY_SUPPORT?(this[h]=o>>>24,this[h+1]=o>>>16,this[h+2]=o>>>8,this[h+3]=255&o):objectWriteUInt32(this,o,h,!1),h+4},Buffer.prototype.writeFloatLE=function writeFloatLE(o,h,E){return writeFloat(this,o,h,!0,E)},Buffer.prototype.writeFloatBE=function writeFloatBE(o,h,E){return writeFloat(this,o,h,!1,E)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(o,h,E){return writeDouble(this,o,h,!0,E)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(o,h,E){return writeDouble(this,o,h,!1,E)},Buffer.prototype.copy=function copy(o,h,E,x){if(E||(E=0),x||0===x||(x=this.length),h>=o.length&&(h=o.length),h||(h=0),x>0&&x=this.length)throw new RangeError("sourceStart out of bounds");if(x<0)throw new RangeError("sourceEnd out of bounds");x>this.length&&(x=this.length),o.length-h=0;--C)o[C+h]=this[C+E];else if(T<1e3||!Buffer.TYPED_ARRAY_SUPPORT)for(C=0;C>>=0,E=void 0===E?this.length:E>>>0,o||(o=0),"number"==typeof o)for(T=h;T55295&&E<57344){if(!C){if(E>56319){(h-=3)>-1&&T.push(239,191,189);continue}if(P+1===x){(h-=3)>-1&&T.push(239,191,189);continue}C=E;continue}if(E<56320){(h-=3)>-1&&T.push(239,191,189),C=E;continue}E=65536+(C-55296<<10|E-56320)}else C&&(h-=3)>-1&&T.push(239,191,189);if(C=null,E<128){if((h-=1)<0)break;T.push(E)}else if(E<2048){if((h-=2)<0)break;T.push(E>>6|192,63&E|128)}else if(E<65536){if((h-=3)<0)break;T.push(E>>12|224,E>>6&63|128,63&E|128)}else{if(!(E<1114112))throw new Error("Invalid code point");if((h-=4)<0)break;T.push(E>>18|240,E>>12&63|128,E>>6&63|128,63&E|128)}}return T}function base64ToBytes(o){return x.toByteArray(function base64clean(o){if((o=function stringtrim(o){return o.trim?o.trim():o.replace(/^\s+|\s+$/g,"")}(o).replace(P,"")).length<2)return"";for(;o.length%4!=0;)o+="=";return o}(o))}function blitBuffer(o,h,E,x){for(var C=0;C=h.length||C>=o.length);++C)h[C+E]=o[C];return C}}).call(this,E("yLpj"))},txPh:function(o,h,E){"use strict";h.__esModule=!0;var x=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(E("FyfS"));h.default=function(){return{visitor:C.visitors.merge([{ArrowFunctionExpression:function ArrowFunctionExpression(o){var h=o.get("params"),E=Array.isArray(h),C=0;for(h=E?h:(0,x.default)(h);;){var T;if(E){if(C>=h.length)break;T=h[C++]}else{if((C=h.next()).done)break;T=C.value}var P=T;if(P.isRestElement()||P.isAssignmentPattern()){o.arrowFunctionToShadowed();break}}}},T.visitor,N.visitor,P.visitor])}};var C=E("dZTf"),T=_interopRequireWildcard(E("l+Vw")),P=_interopRequireWildcard(E("8zle")),N=_interopRequireWildcard(E("GJUE"));function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}o.exports=h.default},"u+4U":function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o){var h=o.messages,E=o.template,x=o.types,C=E("\n for (var KEY = 0; KEY < ARR.length; KEY++) BODY;\n "),T=E("\n for (var LOOP_OBJECT = OBJECT,\n IS_ARRAY = Array.isArray(LOOP_OBJECT),\n INDEX = 0,\n LOOP_OBJECT = IS_ARRAY ? LOOP_OBJECT : LOOP_OBJECT[Symbol.iterator]();;) {\n var ID;\n if (IS_ARRAY) {\n if (INDEX >= LOOP_OBJECT.length) break;\n ID = LOOP_OBJECT[INDEX++];\n } else {\n INDEX = LOOP_OBJECT.next();\n if (INDEX.done) break;\n ID = INDEX.value;\n }\n }\n "),P=E("\n var ITERATOR_COMPLETION = true;\n var ITERATOR_HAD_ERROR_KEY = false;\n var ITERATOR_ERROR_KEY = undefined;\n try {\n for (var ITERATOR_KEY = OBJECT[Symbol.iterator](), STEP_KEY; !(ITERATOR_COMPLETION = (STEP_KEY = ITERATOR_KEY.next()).done); ITERATOR_COMPLETION = true) {\n }\n } catch (err) {\n ITERATOR_HAD_ERROR_KEY = true;\n ITERATOR_ERROR_KEY = err;\n } finally {\n try {\n if (!ITERATOR_COMPLETION && ITERATOR_KEY.return) {\n ITERATOR_KEY.return();\n }\n } finally {\n if (ITERATOR_HAD_ERROR_KEY) {\n throw ITERATOR_ERROR_KEY;\n }\n }\n }\n ");function _ForOfStatementArray(o){var h=o.node,E=o.scope,T=[],P=h.right;if(!x.isIdentifier(P)||!E.hasBinding(P.name)){var N=E.generateUidIdentifier("arr");T.push(x.variableDeclaration("var",[x.variableDeclarator(N,P)])),P=N}var R=E.generateUidIdentifier("i"),j=C({BODY:h.body,KEY:R,ARR:P});x.inherits(j,h),x.ensureBlock(j);var ee=x.memberExpression(P,R,!0),re=h.left;return x.isVariableDeclaration(re)?(re.declarations[0].init=ee,j.body.body.unshift(re)):j.body.body.unshift(x.expressionStatement(x.assignmentExpression("=",re,ee))),o.parentPath.isLabeledStatement()&&(j=x.labeledStatement(o.parentPath.node.label,j)),T.push(j),T}return{visitor:{ForOfStatement:function ForOfStatement(o,h){if(o.get("right").isArrayExpression())return o.parentPath.isLabeledStatement()?o.parentPath.replaceWithMultiple(_ForOfStatementArray(o)):o.replaceWithMultiple(_ForOfStatementArray(o));var E=spec;h.opts.loose&&(E=loose);var C=o.node,T=E(o,h),P=T.declar,N=T.loop,R=N.body;o.ensureBlock(),P&&R.body.push(P),R.body=R.body.concat(C.body.body),x.inherits(N,C),x.inherits(N.body,C.body),T.replaceParent?(o.parentPath.replaceWithMultiple(T.node),o.remove()):o.replaceWithMultiple(T.node)}}};function loose(o,E){var C=o.node,P=o.scope,N=o.parent,R=C.left,j=void 0,ee=void 0;if(x.isIdentifier(R)||x.isPattern(R)||x.isMemberExpression(R))ee=R;else{if(!x.isVariableDeclaration(R))throw E.buildCodeFrameError(R,h.get("unknownForHead",R.type));ee=P.generateUidIdentifier("ref"),j=x.variableDeclaration(R.kind,[x.variableDeclarator(R.declarations[0].id,ee)])}var re=P.generateUidIdentifier("iterator"),ne=P.generateUidIdentifier("isArray"),ie=T({LOOP_OBJECT:re,IS_ARRAY:ne,OBJECT:C.right,INDEX:P.generateUidIdentifier("i"),ID:ee});j||ie.body.body.shift();var ae=x.isLabeledStatement(N),se=void 0;return ae&&(se=x.labeledStatement(N.label,ie)),{replaceParent:ae,declar:j,node:se||ie,loop:ie}}function spec(o,E){var C=o.node,T=o.scope,N=o.parent,R=C.left,j=void 0,ee=T.generateUidIdentifier("step"),re=x.memberExpression(ee,x.identifier("value"));if(x.isIdentifier(R)||x.isPattern(R)||x.isMemberExpression(R))j=x.expressionStatement(x.assignmentExpression("=",R,re));else{if(!x.isVariableDeclaration(R))throw E.buildCodeFrameError(R,h.get("unknownForHead",R.type));j=x.variableDeclaration(R.kind,[x.variableDeclarator(R.declarations[0].id,re)])}var ne=T.generateUidIdentifier("iterator"),ie=P({ITERATOR_HAD_ERROR_KEY:T.generateUidIdentifier("didIteratorError"),ITERATOR_COMPLETION:T.generateUidIdentifier("iteratorNormalCompletion"),ITERATOR_ERROR_KEY:T.generateUidIdentifier("iteratorError"),ITERATOR_KEY:ne,STEP_KEY:ee,OBJECT:C.right,BODY:null}),ae=x.isLabeledStatement(N),se=ie[3].block.body,oe=se[0];return ae&&(se[0]=x.labeledStatement(N.label,oe)),{replaceParent:ae,declar:j,loop:oe,node:ie}}},o.exports=h.default},"u/as":function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("GI/x")),C=_interopRequireDefault(E("pmQ8")),T=_interopRequireDefault(E("TdmO")),P=_interopRequireDefault(E("jUM4")),N=_interopRequireDefault(E("SS4V")),R=_interopRequireDefault(E("3OYi")),j=_interopRequireDefault(E("0Uvl")),ee=_interopRequireDefault(E("cn2g")),re=_interopRequireDefault(E("H9Bm")),ne=_interopRequireDefault(E("RWG+")),ie=_interopRequireDefault(E("u+4U")),ae=_interopRequireDefault(E("Qmkz")),se=_interopRequireDefault(E("/yMJ")),oe=_interopRequireDefault(E("ZT4x")),ue=_interopRequireDefault(E("YBDA")),le=_interopRequireDefault(E("txPh")),ce=_interopRequireDefault(E("V4LV")),pe=_interopRequireDefault(E("XYZo")),fe=_interopRequireDefault(E("a9m0")),he=_interopRequireDefault(E("0TNr")),de=_interopRequireDefault(E("V5v5")),me=_interopRequireDefault(E("b1pJ")),ye=_interopRequireDefault(E("jg/H")),ge=_interopRequireDefault(E("QNPF"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function preset(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=["commonjs","amd","umd","systemjs"],ve=!1,De="commonjs",Ee=!1;if(void 0!==h&&(void 0!==h.loose&&(ve=h.loose),void 0!==h.modules&&(De=h.modules),void 0!==h.spec&&(Ee=h.spec)),"boolean"!=typeof ve)throw new Error("Preset es2015 'loose' option must be a boolean.");if("boolean"!=typeof Ee)throw new Error("Preset es2015 'spec' option must be a boolean.");if(!1!==De&&-1===E.indexOf(De))throw new Error("Preset es2015 'modules' option must be 'false' to indicate no modules\nor a module type which be be one of: 'commonjs' (default), 'amd', 'umd', 'systemjs'");var xe={loose:ve};return{plugins:[[x.default,{loose:ve,spec:Ee}],C.default,T.default,[P.default,{spec:Ee}],N.default,[R.default,xe],j.default,ee.default,re.default,[ne.default,xe],[ie.default,xe],ae.default,se.default,oe.default,[ue.default,xe],le.default,[ce.default,xe],pe.default,fe.default,"commonjs"===De&&[he.default,xe],"systemjs"===De&&[de.default,xe],"amd"===De&&[me.default,xe],"umd"===De&&[ye.default,xe],[ge.default,{async:!1,asyncGenerators:!1}]].filter(Boolean)}}var ve=preset({});h.default=ve,Object.defineProperty(ve,"buildPreset",{configurable:!0,writable:!0,enumerable:!1,value:preset}),o.exports=h.default},u8Dt:function(o,h,E){var x=E("YESw"),C=Object.prototype.hasOwnProperty;o.exports=function hashGet(o){var h=this.__data__;if(x){var E=h[o];return"__lodash_hash_undefined__"===E?void 0:E}return C.call(h,o)?h[o]:void 0}},uM7l:function(o,h,E){var x=E("OBhP");o.exports=function clone(o){return x(o,4)}},uOPS:function(o,h){o.exports=!0},ujyr:function(o,h,E){"use strict";var x=E("odna");o.exports=function(o,h){if("string"!=typeof o)throw new TypeError("Expected `input` to be a string");if(h<0||!x(h))throw new TypeError("Expected `count` to be a positive finite number");var E="";do{1&h&&(E+=o),o+=o}while(h>>=1);return E}},"ut/Y":function(o,h,E){var x=E("ZCpW"),C=E("GDhZ"),T=E("zZ0H"),P=E("Z0cm"),N=E("+c4W");o.exports=function baseIteratee(o){return"function"==typeof o?o:null==o?T:"object"==typeof o?P(o)?C(o[0],o[1]):x(o):N(o)}},"v1+0":function(o,h,E){"use strict";h.__esModule=!0,h.default=function(o){var h=o.node,E=o.parent,C=o.scope,j=o.id;if(!h.id){if(!T.isObjectProperty(E)&&!T.isObjectMethod(E,{kind:"method"})||E.computed&&!T.isLiteral(E.key)){if(T.isVariableDeclarator(E)){if(j=E.id,T.isIdentifier(j)){var ee=C.parent.getBinding(j.name);if(ee&&ee.constant&&C.getBinding(j.name)===ee)return h.id=j,void(h.id[T.NOT_LOCAL_BINDING]=!0)}}else if(T.isAssignmentExpression(E))j=E.left;else if(!j)return}else j=E.key;var re=void 0;if(j&&T.isLiteral(j))re=j.value;else{if(!j||!T.isIdentifier(j))return;re=j.name}return re=T.toBindingIdentifierName(re),(j=T.identifier(re))[T.NOT_LOCAL_BINDING]=!0,function wrap(o,h,E,C){if(o.selfReference){if(!C.hasBinding(E.name)||C.hasGlobal(E.name)){if(!T.isFunction(h))return;var R=P;h.generator&&(R=N);var j=R({FUNCTION:h,FUNCTION_ID:E,FUNCTION_KEY:C.generateUidIdentifier(E.name)}).expression;j.callee._skipModulesRemap=!0;for(var ee=j.callee.body.body[0].params,re=0,ne=(0,x.default)(h);re=R.length)break;re=R[ee++]}else{if((ee=R.next()).done)break;re=ee.value}var ne=re;if(P.is(ne,T)){N=!0;break}}if(!N)throw new TypeError("Property "+E+" of "+o.type+" expected node to be of a type "+(0,C.default)(h)+" but instead got "+(0,C.default)(T&&T.type))}return validate.oneOfNodeTypes=h,validate},h.assertNodeOrValueType=function assertNodeOrValueType(){for(var o=arguments.length,h=Array(o),E=0;E=R.length)break;re=R[ee++]}else{if((ee=R.next()).done)break;re=ee.value}var ne=re;if(getType(T)===ne||P.is(ne,T)){N=!0;break}}if(!N)throw new TypeError("Property "+E+" of "+o.type+" expected node to be of a type "+(0,C.default)(h)+" but instead got "+(0,C.default)(T&&T.type))}return validate.oneOfNodeOrValueTypes=h,validate},h.assertValueType=assertValueType,h.chain=function chain(){for(var o=arguments.length,h=Array(o),E=0;E=o.length)break;T=o[C++]}else{if((C=o.next()).done)break;T=C.value}var P=T;P.apply(void 0,arguments)}}return validate.chainOf=h,validate},h.default=function defineType(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=h.inherits&&ne[h.inherits]||{};h.fields=h.fields||E.fields||{},h.visitor=h.visitor||E.visitor||[],h.aliases=h.aliases||E.aliases||[],h.builder=h.builder||E.builder||h.visitor||[],h.deprecatedAlias&&(re[h.deprecatedAlias]=o);var C=h.visitor.concat(h.builder),T=Array.isArray(C),P=0;for(C=T?C:(0,x.default)(C);;){var ie;if(T){if(P>=C.length)break;ie=C[P++]}else{if((P=C.next()).done)break;ie=P.value}var ae=ie;h.fields[ae]=h.fields[ae]||{}}for(var se in h.fields){var oe=h.fields[se];-1===h.builder.indexOf(se)&&(oe.optional=!0),void 0===oe.default?oe.default=null:oe.validate||(oe.validate=assertValueType(getType(oe.default)))}N[o]=h.visitor,ee[o]=h.builder,j[o]=h.fields,R[o]=h.aliases,ne[o]=h};var P=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}var N=h.VISITOR_KEYS={},R=h.ALIAS_KEYS={},j=h.NODE_FIELDS={},ee=h.BUILDER_KEYS={},re=h.DEPRECATED_KEYS={};function getType(o){return Array.isArray(o)?"array":null===o?"null":void 0===o||void 0===o?"undefined":(0,T.default)(o)}function assertValueType(o){function validate(h,E,x){if(!(getType(x)===o))throw new TypeError("Property "+E+" expected type of "+o+" but got "+getType(x))}return validate.type=o,validate}var ne={}},w2N3:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("FyfS"));h.findParent=function findParent(o){var h=this;for(;h=h.parentPath;)if(o(h))return h;return null},h.find=function find(o){var h=this;do{if(o(h))return h}while(h=h.parentPath);return null},h.getFunctionParent=function getFunctionParent(){return this.findParent((function(o){return o.isFunction()||o.isProgram()}))},h.getStatementParent=function getStatementParent(){var o=this;do{if(Array.isArray(o.container))return o}while(o=o.parentPath)},h.getEarliestCommonAncestorFrom=function getEarliestCommonAncestorFrom(o){return this.getDeepestCommonAncestorFrom(o,(function(o,h,E){var T=void 0,P=C.VISITOR_KEYS[o.type],N=E,R=Array.isArray(N),j=0;for(N=R?N:(0,x.default)(N);;){var ee;if(R){if(j>=N.length)break;ee=N[j++]}else{if((j=N.next()).done)break;ee=j.value}var re=ee[h+1];if(T)if(re.listKey&&T.listKey===re.listKey&&re.keyP.indexOf(re.parentKey)&&(T=re);else T=re}return T}))},h.getDeepestCommonAncestorFrom=function getDeepestCommonAncestorFrom(o,h){var E=this;if(!o.length)return this;if(1===o.length)return o[0];var C=1/0,T=void 0,P=void 0,N=o.map((function(o){var h=[];do{h.unshift(o)}while((o=o.parentPath)&&o!==E);return h.length=re.length)break;ae=re[ie++]}else{if((ie=re.next()).done)break;ae=ie.value}if(ae[j]!==ee)break e}T=j,P=ee}if(P)return h?h(P,T,N):P;throw new Error("Couldn't find intersection")},h.getAncestry=function getAncestry(){var o=this,h=[];do{h.push(o)}while(o=o.parentPath);return h},h.isAncestor=function isAncestor(o){return o.isDescendant(this)},h.isDescendant=function isDescendant(o){return!!this.findParent((function(h){return h===o}))},h.inType=function inType(){var o=this;for(;o;){var h=arguments,E=Array.isArray(h),C=0;for(h=E?h:(0,x.default)(h);;){var T;if(E){if(C>=h.length)break;T=h[C++]}else{if((C=h.next()).done)break;T=C.value}var P=T;if(o.node.type===P)return!0}o=o.parentPath}return!1},h.inShadow=function inShadow(o){var h=this.isFunction()?this:this.findParent((function(o){return o.isFunction()}));if(!h)return;if(h.isFunctionExpression()||h.isFunctionDeclaration()){var E=h.node.shadow;if(E&&(!o||!1!==E[o]))return h}else if(h.isArrowFunctionExpression())return h;return null};var C=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));_interopRequireDefault(E("4NcM"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}},"w2d+":function(o,h,E){"use strict";var x=E("hDam"),C=E("UO39"),T=E("SBuE"),P=E("NsO/");o.exports=E("MPFp")(Array,"Array",(function(o,h){this._t=P(o),this._i=0,this._k=h}),(function(){var o=this._t,h=this._k,E=this._i++;return!o||E>=o.length?(this._t=void 0,C(1)):C(0,"keys"==h?E:"values"==h?o[E]:[E,o[E]])}),"values"),T.Arguments=T.Array,x("keys"),x("values"),x("entries")},w6GO:function(o,h,E){var x=E("5vMV"),C=E("FpHa");o.exports=Object.keys||function keys(o){return x(o,C)}},wAXd:function(o,h,E){var x=E("JoaM"),C=E("sEf8"),T=E("mdPL"),P=T&&T.isRegExp,N=P?C(P):x;o.exports=N},"wF/u":function(o,h,E){var x=E("e5cp"),C=E("ExA7");o.exports=function baseIsEqual(o,h,E,T,P){return o===h||(null==o||null==h||!C(o)&&!C(h)?o!=o&&h!=h:x(o,h,E,T,baseIsEqual,P))}},wJg7:function(o,h){var E=/^(?:0|[1-9]\d*)$/;o.exports=function isIndex(o,h){var x=typeof o;return!!(h=null==h?9007199254740991:h)&&("number"==x||"symbol"!=x&&E.test(o))&&o>-1&&o%1==0&&o1&&void 0!==arguments[1]?arguments[1]:{};return h.code=!1,h.mode="lint",this.transform(o,h)},Pipeline.prototype.pretransform=function pretransform(o,h){var E=new P.default(h,this);return E.wrap(o,(function(){return E.addCode(o),E.parseCode(o),E}))},Pipeline.prototype.transform=function transform(o,h){var E=new P.default(h,this);return E.wrap(o,(function(){return E.addCode(o),E.parseCode(o),E.transform()}))},Pipeline.prototype.analyse=function analyse(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=arguments[2];return h.code=!1,E&&(h.plugins=h.plugins||[],h.plugins.push(new T.default({visitor:E}))),this.transform(o,h).metadata},Pipeline.prototype.transformFromAst=function transformFromAst(o,h,E){o=(0,C.default)(o);var x=new P.default(E,this);return x.wrap(h,(function(){return x.addCode(h),x.addAst(o),x.transform()}))},Pipeline}();h.default=N,o.exports=h.default},wrZu:function(o,h,E){var x=E("+K+b"),C=E("XYm9"),T=E("b2z7"),P=E("otv/"),N=E("yP5f");o.exports=function initCloneByTag(o,h,E){var R=o.constructor;switch(h){case"[object ArrayBuffer]":return x(o);case"[object Boolean]":case"[object Date]":return new R(+o);case"[object DataView]":return C(o,E);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return N(o,E);case"[object Map]":return new R;case"[object Number]":case"[object String]":return new R(o);case"[object RegExp]":return T(o);case"[object Set]":return new R;case"[object Symbol]":return P(o)}}},"x/nt":function(o,h,E){E("wgeU"),E("bBy9"),E("FTpB"),E("WnmU"),E("eCwc"),o.exports=E("WEpk").WeakSet},x1Qx:function(o,h,E){"use strict";h.__esModule=!0;var x=_interopRequireDefault(E("FyfS")),C=_interopRequireDefault(E("+JPL"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}h.default=function(o){var h=o.types,P=(0,C.default)();return{inherits:E("2M8j"),visitor:{Class:function Class(o){if(!o.node[P]){o.node[P]=!0;var E=function findConstructorCall(o){var h=o.get("body.body"),E=Array.isArray(h),C=0;for(h=E?h:(0,x.default)(h);;){var T;if(E){if(C>=h.length)break;T=h[C++]}else{if((C=h.next()).done)break;T=C.value}var P=T;if("constructorCall"===P.node.kind)return P}return null}(o);E&&function handleClassWithCall(o,E){var x=E.node,C=x.id||E.scope.generateUidIdentifier("class");E.parentPath.isExportDefaultDeclaration()&&(E=E.parentPath).insertAfter(h.exportDefaultDeclaration(C)),E.replaceWithMultiple(T({CLASS_REF:E.scope.generateUidIdentifier(C.name),CALL_REF:E.scope.generateUidIdentifier(C.name+"Call"),CALL:h.functionExpression(null,o.node.params,o.node.body),CLASS:h.toExpression(x),WRAPPER_REF:C})),o.remove()}(E,o)}}}}};var T=(0,_interopRequireDefault(E("PTdM")).default)("\n let CLASS_REF = CLASS;\n var CALL_REF = CALL;\n var WRAPPER_REF = function (...args) {\n if (this instanceof WRAPPER_REF) {\n return Reflect.construct(CLASS_REF, args);\n } else {\n return CALL_REF.apply(this, args);\n }\n };\n WRAPPER_REF.__proto__ = CLASS_REF;\n WRAPPER_REF;\n");o.exports=h.default},xYSL:function(o,h){o.exports=function cacheHas(o,h){return o.has(h)}},xfeJ:function(o,h){o.exports=function _isNativeFunction(o){return-1!==Function.toString.call(o).indexOf("[native code]")},o.exports.__esModule=!0,o.exports.default=o.exports},xr1r:function(o,h,E){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.defaultOptions=h.TokenType=h.Token=h.TokContext=h.SourceLocation=h.Position=h.Parser=h.Node=void 0,h.getLineInfo=getLineInfo,h.isIdentifierChar=isIdentifierChar,h.isIdentifierStart=isIdentifierStart,h.isNewLine=isNewLine,h.nonASCIIwhitespace=h.lineBreakG=h.lineBreak=h.keywordTypes=void 0,h.parse=function parse(o,h){return Ee.parse(o,h)},h.parseExpressionAt=function parseExpressionAt(o,h,E){return Ee.parseExpressionAt(o,h,E)},h.tokTypes=h.tokContexts=void 0,h.tokenizer=function tokenizer(o,h){return Ee.tokenizer(o,h)},h.version=void 0;var x={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},C="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",T={5:C,"5module":C+" export import",6:C+" const class extends export import super"},P=/^in(stanceof)?$/,N="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-Ᶎꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭧꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",R="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",j=new RegExp("["+N+"]"),ee=new RegExp("["+N+R+"]");N=R=null;var re=[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,157,310,10,21,11,7,153,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,477,28,11,0,9,21,155,22,13,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,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,0,33,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,0,161,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,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,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,754,9486,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42710,42,4148,12,221,3,5761,15,7472,3104,541],ne=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,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,232,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,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,19723,1,5319,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,262,6,10,9,419,13,1495,6,110,6,6,9,792487,239];function isInAstralSet(o,h){for(var E=65536,x=0;xo)return!1;if((E+=h[x+1])>=o)return!0}}function isIdentifierStart(o,h){return o<65?36===o:o<91||(o<97?95===o:o<123||(o<=65535?o>=170&&j.test(String.fromCharCode(o)):!1!==h&&isInAstralSet(o,re)))}function isIdentifierChar(o,h){return o<48?36===o:o<58||!(o<65)&&(o<91||(o<97?95===o:o<123||(o<=65535?o>=170&&ee.test(String.fromCharCode(o)):!1!==h&&(isInAstralSet(o,re)||isInAstralSet(o,ne)))))}var ie=function TokenType(o,h){void 0===h&&(h={}),this.label=o,this.keyword=h.keyword,this.beforeExpr=!!h.beforeExpr,this.startsExpr=!!h.startsExpr,this.isLoop=!!h.isLoop,this.isAssign=!!h.isAssign,this.prefix=!!h.prefix,this.postfix=!!h.postfix,this.binop=h.binop||null,this.updateContext=null};function binop(o,h){return new ie(o,{beforeExpr:!0,binop:h})}h.TokenType=ie;var ae={beforeExpr:!0},se={startsExpr:!0},oe={};function kw(o,h){return void 0===h&&(h={}),h.keyword=o,oe[o]=new ie(o,h)}h.keywordTypes=oe;var ue={num:new ie("num",se),regexp:new ie("regexp",se),string:new ie("string",se),name:new ie("name",se),eof:new ie("eof"),bracketL:new ie("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ie("]"),braceL:new ie("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ie("}"),parenL:new ie("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ie(")"),comma:new ie(",",ae),semi:new ie(";",ae),colon:new ie(":",ae),dot:new ie("."),question:new ie("?",ae),arrow:new ie("=>",ae),template:new ie("template"),invalidTemplate:new ie("invalidTemplate"),ellipsis:new ie("...",ae),backQuote:new ie("`",se),dollarBraceL:new ie("${",{beforeExpr:!0,startsExpr:!0}),eq:new ie("=",{beforeExpr:!0,isAssign:!0}),assign:new ie("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ie("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ie("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new ie("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new ie("**",{beforeExpr:!0}),_break:kw("break"),_case:kw("case",ae),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",ae),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",ae),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",se),_if:kw("if"),_return:kw("return",ae),_switch:kw("switch"),_throw:kw("throw",ae),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",se),_super:kw("super",se),_class:kw("class",se),_extends:kw("extends",ae),_export:kw("export"),_import:kw("import",se),_null:kw("null",se),_true:kw("true",se),_false:kw("false",se),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})};h.tokTypes=ue;var le=/\r\n?|\n|\u2028|\u2029/;h.lineBreak=le;var ce=new RegExp(le.source,"g");function isNewLine(o,h){return 10===o||13===o||!h&&(8232===o||8233===o)}h.lineBreakG=ce;var pe=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;h.nonASCIIwhitespace=pe;var fe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,he=Object.prototype,de=he.hasOwnProperty,me=he.toString;function has(o,h){return de.call(o,h)}var ye=Array.isArray||function(o){return"[object Array]"===me.call(o)};function wordsRegexp(o){return new RegExp("^(?:"+o.replace(/ /g,"|")+")$")}var ge=function Position(o,h){this.line=o,this.column=h};h.Position=ge,ge.prototype.offset=function offset(o){return new ge(this.line,this.column+o)};var ve=function SourceLocation(o,h,E){this.start=h,this.end=E,null!==o.sourceFile&&(this.source=o.sourceFile)};function getLineInfo(o,h){for(var E=1,x=0;;){ce.lastIndex=x;var C=ce.exec(o);if(!(C&&C.index=2015&&(h.ecmaVersion-=2009),null==h.allowReserved&&(h.allowReserved=h.ecmaVersion<5),ye(h.onToken)){var x=h.onToken;h.onToken=function(o){return x.push(o)}}return ye(h.onComment)&&(h.onComment=function pushComment(o,h){return function(E,x,C,T,P,N){var R={type:E?"Block":"Line",value:x,start:C,end:T};o.locations&&(R.loc=new ve(this,P,N)),o.ranges&&(R.range=[C,T]),h.push(R)}}(h,h.onComment)),h}h.defaultOptions=De;function functionFlags(o,h){return 2|(o?4:0)|(h?8:0)}var Ee=function Parser(o,h,E){this.options=o=getOptions(o),this.sourceFile=o.sourceFile,this.keywords=wordsRegexp(T[o.ecmaVersion>=6?6:"module"===o.sourceType?"5module":5]);var C="";if(!0!==o.allowReserved){for(var P=o.ecmaVersion;!(C=x[P]);P--);"module"===o.sourceType&&(C+=" await")}this.reservedWords=wordsRegexp(C);var N=(C?C+" ":"")+x.strict;this.reservedWordsStrict=wordsRegexp(N),this.reservedWordsStrictBind=wordsRegexp(N+" "+x.strictBind),this.input=String(h),this.containsEsc=!1,E?(this.pos=E,this.lineStart=this.input.lastIndexOf("\n",E-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(le).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=ue.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===o.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&o.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null};h.Parser=Ee;var xe={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};Ee.prototype.parse=function parse(){var o=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(o)},xe.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},xe.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},xe.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},xe.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},xe.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},xe.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Ee.prototype.inNonArrowFunction=function inNonArrowFunction(){return(2&this.currentThisScope().flags)>0},Ee.extend=function extend(){for(var o=[],h=arguments.length;h--;)o[h]=arguments[h];for(var E=this,x=0;x-1&&this.raiseRecoverable(o.trailingComma,"Comma is not permitted after the rest element");var E=h?o.parenthesizedAssign:o.parenthesizedBind;E>-1&&this.raiseRecoverable(E,"Parenthesized pattern")}},be.checkExpressionErrors=function(o,h){if(!o)return!1;var E=o.shorthandAssign,x=o.doubleProto;if(!h)return E>=0||x>=0;E>=0&&this.raise(E,"Shorthand property assignments are valid only in destructuring patterns"),x>=0&&this.raiseRecoverable(x,"Redefinition of __proto__ property")},be.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(T,!1,!o);case ue._class:return o&&this.unexpected(),this.parseClass(T,!0);case ue._if:return this.parseIfStatement(T);case ue._return:return this.parseReturnStatement(T);case ue._switch:return this.parseSwitchStatement(T);case ue._throw:return this.parseThrowStatement(T);case ue._try:return this.parseTryStatement(T);case ue._const:case ue._var:return x=x||this.value,o&&"var"!==x&&this.unexpected(),this.parseVarStatement(T,x);case ue._while:return this.parseWhileStatement(T);case ue._with:return this.parseWithStatement(T);case ue.braceL:return this.parseBlock(!0,T);case ue.semi:return this.parseEmptyStatement(T);case ue._export:case ue._import:if(this.options.ecmaVersion>10&&C===ue._import){fe.lastIndex=this.pos;var P=fe.exec(this.input),N=this.pos+P[0].length;if(40===this.input.charCodeAt(N))return this.parseExpressionStatement(T,this.parseExpression())}return this.options.allowImportExportEverywhere||(h||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),C===ue._import?this.parseImport(T):this.parseExport(T,E);default:if(this.isAsyncFunction())return o&&this.unexpected(),this.next(),this.parseFunctionStatement(T,!0,!o);var R=this.value,j=this.parseExpression();return C===ue.name&&"Identifier"===j.type&&this.eat(ue.colon)?this.parseLabeledStatement(T,R,j,o):this.parseExpressionStatement(T,j)}},Ae.parseBreakContinueStatement=function(o,h){var E="break"===h;this.next(),this.eat(ue.semi)||this.insertSemicolon()?o.label=null:this.type!==ue.name?this.unexpected():(o.label=this.parseIdent(),this.semicolon());for(var x=0;x=6?this.eat(ue.semi):this.semicolon(),this.finishNode(o,"DoWhileStatement")},Ae.parseForStatement=function(o){this.next();var h=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Se),this.enterScope(0),this.expect(ue.parenL),this.type===ue.semi)return h>-1&&this.unexpected(h),this.parseFor(o,null);var E=this.isLet();if(this.type===ue._var||this.type===ue._const||E){var x=this.startNode(),C=E?"let":this.value;return this.next(),this.parseVar(x,!0,C),this.finishNode(x,"VariableDeclaration"),(this.type===ue._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===x.declarations.length?(this.options.ecmaVersion>=9&&(this.type===ue._in?h>-1&&this.unexpected(h):o.await=h>-1),this.parseForIn(o,x)):(h>-1&&this.unexpected(h),this.parseFor(o,x))}var T=new DestructuringErrors,P=this.parseExpression(!0,T);return this.type===ue._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===ue._in?h>-1&&this.unexpected(h):o.await=h>-1),this.toAssignable(P,!1,T),this.checkLVal(P),this.parseForIn(o,P)):(this.checkExpressionErrors(T,!0),h>-1&&this.unexpected(h),this.parseFor(o,P))},Ae.parseFunctionStatement=function(o,h,E){return this.next(),this.parseFunction(o,Te|(E?0:_e),!1,h)},Ae.parseIfStatement=function(o){return this.next(),o.test=this.parseParenExpression(),o.consequent=this.parseStatement("if"),o.alternate=this.eat(ue._else)?this.parseStatement("if"):null,this.finishNode(o,"IfStatement")},Ae.parseReturnStatement=function(o){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(ue.semi)||this.insertSemicolon()?o.argument=null:(o.argument=this.parseExpression(),this.semicolon()),this.finishNode(o,"ReturnStatement")},Ae.parseSwitchStatement=function(o){var h;this.next(),o.discriminant=this.parseParenExpression(),o.cases=[],this.expect(ue.braceL),this.labels.push(we),this.enterScope(0);for(var E=!1;this.type!==ue.braceR;)if(this.type===ue._case||this.type===ue._default){var x=this.type===ue._case;h&&this.finishNode(h,"SwitchCase"),o.cases.push(h=this.startNode()),h.consequent=[],this.next(),x?h.test=this.parseExpression():(E&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),E=!0,h.test=null),this.expect(ue.colon)}else h||this.unexpected(),h.consequent.push(this.parseStatement(null));return this.exitScope(),h&&this.finishNode(h,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(o,"SwitchStatement")},Ae.parseThrowStatement=function(o){return this.next(),le.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),o.argument=this.parseExpression(),this.semicolon(),this.finishNode(o,"ThrowStatement")};var ke=[];Ae.parseTryStatement=function(o){if(this.next(),o.block=this.parseBlock(),o.handler=null,this.type===ue._catch){var h=this.startNode();if(this.next(),this.eat(ue.parenL)){h.param=this.parseBindingAtom();var E="Identifier"===h.param.type;this.enterScope(E?32:0),this.checkLVal(h.param,E?4:2),this.expect(ue.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),h.param=null,this.enterScope(0);h.body=this.parseBlock(!1),this.exitScope(),o.handler=this.finishNode(h,"CatchClause")}return o.finalizer=this.eat(ue._finally)?this.parseBlock():null,o.handler||o.finalizer||this.raise(o.start,"Missing catch or finally clause"),this.finishNode(o,"TryStatement")},Ae.parseVarStatement=function(o,h){return this.next(),this.parseVar(o,!1,h),this.semicolon(),this.finishNode(o,"VariableDeclaration")},Ae.parseWhileStatement=function(o){return this.next(),o.test=this.parseParenExpression(),this.labels.push(Se),o.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(o,"WhileStatement")},Ae.parseWithStatement=function(o){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),o.object=this.parseParenExpression(),o.body=this.parseStatement("with"),this.finishNode(o,"WithStatement")},Ae.parseEmptyStatement=function(o){return this.next(),this.finishNode(o,"EmptyStatement")},Ae.parseLabeledStatement=function(o,h,E,x){for(var C=0,T=this.labels;C=0;N--){var R=this.labels[N];if(R.statementStart!==o.start)break;R.statementStart=this.start,R.kind=P}return this.labels.push({name:h,kind:P,statementStart:this.start}),o.body=this.parseStatement(x?-1===x.indexOf("label")?x+"label":x:"label"),this.labels.pop(),o.label=E,this.finishNode(o,"LabeledStatement")},Ae.parseExpressionStatement=function(o,h){return o.expression=h,this.semicolon(),this.finishNode(o,"ExpressionStatement")},Ae.parseBlock=function(o,h){for(void 0===o&&(o=!0),void 0===h&&(h=this.startNode()),h.body=[],this.expect(ue.braceL),o&&this.enterScope(0);!this.eat(ue.braceR);){var E=this.parseStatement(null);h.body.push(E)}return o&&this.exitScope(),this.finishNode(h,"BlockStatement")},Ae.parseFor=function(o,h){return o.init=h,this.expect(ue.semi),o.test=this.type===ue.semi?null:this.parseExpression(),this.expect(ue.semi),o.update=this.type===ue.parenR?null:this.parseExpression(),this.expect(ue.parenR),o.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(o,"ForStatement")},Ae.parseForIn=function(o,h){var E=this.type===ue._in;return this.next(),"VariableDeclaration"===h.type&&null!=h.declarations[0].init&&(!E||this.options.ecmaVersion<8||this.strict||"var"!==h.kind||"Identifier"!==h.declarations[0].id.type)?this.raise(h.start,(E?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===h.type&&this.raise(h.start,"Invalid left-hand side in for-loop"),o.left=h,o.right=E?this.parseExpression():this.parseMaybeAssign(),this.expect(ue.parenR),o.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(o,E?"ForInStatement":"ForOfStatement")},Ae.parseVar=function(o,h,E){for(o.declarations=[],o.kind=E;;){var x=this.startNode();if(this.parseVarId(x,E),this.eat(ue.eq)?x.init=this.parseMaybeAssign(h):"const"!==E||this.type===ue._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===x.id.type||h&&(this.type===ue._in||this.isContextual("of"))?x.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),o.declarations.push(this.finishNode(x,"VariableDeclarator")),!this.eat(ue.comma))break}return o},Ae.parseVarId=function(o,h){o.id=this.parseBindingAtom(),this.checkLVal(o.id,"var"===h?1:2,!1)};var Te=1,_e=2;Ae.parseFunction=function(o,h,E,x){this.initFunction(o),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!x)&&(this.type===ue.star&&h&_e&&this.unexpected(),o.generator=this.eat(ue.star)),this.options.ecmaVersion>=8&&(o.async=!!x),h&Te&&(o.id=4&h&&this.type!==ue.name?null:this.parseIdent(),!o.id||h&_e||this.checkLVal(o.id,this.strict||o.generator||o.async?this.treatFunctionsAsVar?1:2:3));var C=this.yieldPos,T=this.awaitPos,P=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(o.async,o.generator)),h&Te||(o.id=this.type===ue.name?this.parseIdent():null),this.parseFunctionParams(o),this.parseFunctionBody(o,E,!1),this.yieldPos=C,this.awaitPos=T,this.awaitIdentPos=P,this.finishNode(o,h&Te?"FunctionDeclaration":"FunctionExpression")},Ae.parseFunctionParams=function(o){this.expect(ue.parenL),o.params=this.parseBindingList(ue.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Ae.parseClass=function(o,h){this.next();var E=this.strict;this.strict=!0,this.parseClassId(o,h),this.parseClassSuper(o);var x=this.startNode(),C=!1;for(x.body=[],this.expect(ue.braceL);!this.eat(ue.braceR);){var T=this.parseClassElement(null!==o.superClass);T&&(x.body.push(T),"MethodDefinition"===T.type&&"constructor"===T.kind&&(C&&this.raise(T.start,"Duplicate constructor in the same class"),C=!0))}return o.body=this.finishNode(x,"ClassBody"),this.strict=E,this.finishNode(o,h?"ClassDeclaration":"ClassExpression")},Ae.parseClassElement=function(o){var h=this;if(this.eat(ue.semi))return null;var E=this.startNode(),x=function tryContextual(o,x){void 0===x&&(x=!1);var C=h.start,T=h.startLoc;return!!h.eatContextual(o)&&(!(h.type===ue.parenL||x&&h.canInsertSemicolon())||(E.key&&h.unexpected(),E.computed=!1,E.key=h.startNodeAt(C,T),E.key.name=o,h.finishNode(E.key,"Identifier"),!1))};E.kind="method",E.static=x("static");var C=this.eat(ue.star),T=!1;C||(this.options.ecmaVersion>=8&&x("async",!0)?(T=!0,C=this.options.ecmaVersion>=9&&this.eat(ue.star)):x("get")?E.kind="get":x("set")&&(E.kind="set")),E.key||this.parsePropertyName(E);var P=E.key,N=!1;return E.computed||E.static||!("Identifier"===P.type&&"constructor"===P.name||"Literal"===P.type&&"constructor"===P.value)?E.static&&"Identifier"===P.type&&"prototype"===P.name&&this.raise(P.start,"Classes may not have a static property named prototype"):("method"!==E.kind&&this.raise(P.start,"Constructor can't have get/set modifier"),C&&this.raise(P.start,"Constructor can't be a generator"),T&&this.raise(P.start,"Constructor can't be an async method"),E.kind="constructor",N=o),this.parseClassMethod(E,C,T,N),"get"===E.kind&&0!==E.value.params.length&&this.raiseRecoverable(E.value.start,"getter should have no params"),"set"===E.kind&&1!==E.value.params.length&&this.raiseRecoverable(E.value.start,"setter should have exactly one param"),"set"===E.kind&&"RestElement"===E.value.params[0].type&&this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params"),E},Ae.parseClassMethod=function(o,h,E,x){return o.value=this.parseMethod(h,E,x),this.finishNode(o,"MethodDefinition")},Ae.parseClassId=function(o,h){this.type===ue.name?(o.id=this.parseIdent(),h&&this.checkLVal(o.id,2,!1)):(!0===h&&this.unexpected(),o.id=null)},Ae.parseClassSuper=function(o){o.superClass=this.eat(ue._extends)?this.parseExprSubscripts():null},Ae.parseExport=function(o,h){if(this.next(),this.eat(ue.star))return this.expectContextual("from"),this.type!==ue.string&&this.unexpected(),o.source=this.parseExprAtom(),this.semicolon(),this.finishNode(o,"ExportAllDeclaration");if(this.eat(ue._default)){var E;if(this.checkExport(h,"default",this.lastTokStart),this.type===ue._function||(E=this.isAsyncFunction())){var x=this.startNode();this.next(),E&&this.next(),o.declaration=this.parseFunction(x,4|Te,!1,E)}else if(this.type===ue._class){var C=this.startNode();o.declaration=this.parseClass(C,"nullableID")}else o.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(o,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())o.declaration=this.parseStatement(null),"VariableDeclaration"===o.declaration.type?this.checkVariableExport(h,o.declaration.declarations):this.checkExport(h,o.declaration.id.name,o.declaration.id.start),o.specifiers=[],o.source=null;else{if(o.declaration=null,o.specifiers=this.parseExportSpecifiers(h),this.eatContextual("from"))this.type!==ue.string&&this.unexpected(),o.source=this.parseExprAtom();else{for(var T=0,P=o.specifiers;T=6&&o)switch(o.type){case"Identifier":this.inAsync&&"await"===o.name&&this.raise(o.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":o.type="ObjectPattern",E&&this.checkPatternErrors(E,!0);for(var x=0,C=o.properties;x=8&&!T&&"async"===P.name&&!this.canInsertSemicolon()&&this.eat(ue._function))return this.parseFunction(this.startNodeAt(x,C),0,!1,!0);if(E&&!this.canInsertSemicolon()){if(this.eat(ue.arrow))return this.parseArrowExpression(this.startNodeAt(x,C),[P],!1);if(this.options.ecmaVersion>=8&&"async"===P.name&&this.type===ue.name&&!T)return P=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(ue.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(x,C),[P],!0)}return P;case ue.regexp:var N=this.value;return(h=this.parseLiteral(N.value)).regex={pattern:N.pattern,flags:N.flags},h;case ue.num:case ue.string:return this.parseLiteral(this.value);case ue._null:case ue._true:case ue._false:return(h=this.startNode()).value=this.type===ue._null?null:this.type===ue._true,h.raw=this.type.keyword,this.next(),this.finishNode(h,"Literal");case ue.parenL:var R=this.start,j=this.parseParenAndDistinguishExpression(E);return o&&(o.parenthesizedAssign<0&&!this.isSimpleAssignTarget(j)&&(o.parenthesizedAssign=R),o.parenthesizedBind<0&&(o.parenthesizedBind=R)),j;case ue.bracketL:return h=this.startNode(),this.next(),h.elements=this.parseExprList(ue.bracketR,!0,!0,o),this.finishNode(h,"ArrayExpression");case ue.braceL:return this.parseObj(!1,o);case ue._function:return h=this.startNode(),this.next(),this.parseFunction(h,0);case ue._class:return this.parseClass(this.startNode(),!1);case ue._new:return this.parseNew();case ue.backQuote:return this.parseTemplate();case ue._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Pe.parseExprImport=function(){var o=this.startNode();switch(this.next(),this.type){case ue.parenL:return this.parseDynamicImport(o);default:this.unexpected()}},Pe.parseDynamicImport=function(o){if(this.next(),o.source=this.parseMaybeAssign(),!this.eat(ue.parenR)){var h=this.start;this.eat(ue.comma)&&this.eat(ue.parenR)?this.raiseRecoverable(h,"Trailing comma is not allowed in import()"):this.unexpected(h)}return this.finishNode(o,"ImportExpression")},Pe.parseLiteral=function(o){var h=this.startNode();return h.value=o,h.raw=this.input.slice(this.start,this.end),110===h.raw.charCodeAt(h.raw.length-1)&&(h.bigint=h.raw.slice(0,-1)),this.next(),this.finishNode(h,"Literal")},Pe.parseParenExpression=function(){this.expect(ue.parenL);var o=this.parseExpression();return this.expect(ue.parenR),o},Pe.parseParenAndDistinguishExpression=function(o){var h,E=this.start,x=this.startLoc,C=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var T,P=this.start,N=this.startLoc,R=[],j=!0,ee=!1,re=new DestructuringErrors,ne=this.yieldPos,ie=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==ue.parenR;){if(j?j=!1:this.expect(ue.comma),C&&this.afterTrailingComma(ue.parenR,!0)){ee=!0;break}if(this.type===ue.ellipsis){T=this.start,R.push(this.parseParenItem(this.parseRestBinding())),this.type===ue.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}R.push(this.parseMaybeAssign(!1,re,this.parseParenItem))}var ae=this.start,se=this.startLoc;if(this.expect(ue.parenR),o&&!this.canInsertSemicolon()&&this.eat(ue.arrow))return this.checkPatternErrors(re,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=ne,this.awaitPos=ie,this.parseParenArrowList(E,x,R);R.length&&!ee||this.unexpected(this.lastTokStart),T&&this.unexpected(T),this.checkExpressionErrors(re,!0),this.yieldPos=ne||this.yieldPos,this.awaitPos=ie||this.awaitPos,R.length>1?((h=this.startNodeAt(P,N)).expressions=R,this.finishNodeAt(h,"SequenceExpression",ae,se)):h=R[0]}else h=this.parseParenExpression();if(this.options.preserveParens){var oe=this.startNodeAt(E,x);return oe.expression=h,this.finishNode(oe,"ParenthesizedExpression")}return h},Pe.parseParenItem=function(o){return o},Pe.parseParenArrowList=function(o,h,E){return this.parseArrowExpression(this.startNodeAt(o,h),E)};var Be=[];Pe.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var o=this.startNode(),h=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(ue.dot)){o.meta=h;var E=this.containsEsc;return o.property=this.parseIdent(!0),("target"!==o.property.name||E)&&this.raiseRecoverable(o.property.start,"The only valid meta property for new is new.target"),this.inNonArrowFunction()||this.raiseRecoverable(o.start,"new.target can only be used in functions"),this.finishNode(o,"MetaProperty")}var x=this.start,C=this.startLoc,T=this.type===ue._import;return o.callee=this.parseSubscripts(this.parseExprAtom(),x,C,!0),T&&"ImportExpression"===o.callee.type&&this.raise(x,"Cannot use new with import()"),this.eat(ue.parenL)?o.arguments=this.parseExprList(ue.parenR,this.options.ecmaVersion>=8,!1):o.arguments=Be,this.finishNode(o,"NewExpression")},Pe.parseTemplateElement=function(o){var h=o.isTagged,E=this.startNode();return this.type===ue.invalidTemplate?(h||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),E.value={raw:this.value,cooked:null}):E.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),E.tail=this.type===ue.backQuote,this.finishNode(E,"TemplateElement")},Pe.parseTemplate=function(o){void 0===o&&(o={});var h=o.isTagged;void 0===h&&(h=!1);var E=this.startNode();this.next(),E.expressions=[];var x=this.parseTemplateElement({isTagged:h});for(E.quasis=[x];!x.tail;)this.type===ue.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(ue.dollarBraceL),E.expressions.push(this.parseExpression()),this.expect(ue.braceR),E.quasis.push(x=this.parseTemplateElement({isTagged:h}));return this.next(),this.finishNode(E,"TemplateLiteral")},Pe.isAsyncProp=function(o){return!o.computed&&"Identifier"===o.key.type&&"async"===o.key.name&&(this.type===ue.name||this.type===ue.num||this.type===ue.string||this.type===ue.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===ue.star)&&!le.test(this.input.slice(this.lastTokEnd,this.start))},Pe.parseObj=function(o,h){var E=this.startNode(),x=!0,C={};for(E.properties=[],this.next();!this.eat(ue.braceR);){if(x)x=!1;else if(this.expect(ue.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(ue.braceR))break;var T=this.parseProperty(o,h);o||this.checkPropClash(T,C,h),E.properties.push(T)}return this.finishNode(E,o?"ObjectPattern":"ObjectExpression")},Pe.parseProperty=function(o,h){var E,x,C,T,P=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(ue.ellipsis))return o?(P.argument=this.parseIdent(!1),this.type===ue.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(P,"RestElement")):(this.type===ue.parenL&&h&&(h.parenthesizedAssign<0&&(h.parenthesizedAssign=this.start),h.parenthesizedBind<0&&(h.parenthesizedBind=this.start)),P.argument=this.parseMaybeAssign(!1,h),this.type===ue.comma&&h&&h.trailingComma<0&&(h.trailingComma=this.start),this.finishNode(P,"SpreadElement"));this.options.ecmaVersion>=6&&(P.method=!1,P.shorthand=!1,(o||h)&&(C=this.start,T=this.startLoc),o||(E=this.eat(ue.star)));var N=this.containsEsc;return this.parsePropertyName(P),!o&&!N&&this.options.ecmaVersion>=8&&!E&&this.isAsyncProp(P)?(x=!0,E=this.options.ecmaVersion>=9&&this.eat(ue.star),this.parsePropertyName(P,h)):x=!1,this.parsePropertyValue(P,o,E,x,C,T,h,N),this.finishNode(P,"Property")},Pe.parsePropertyValue=function(o,h,E,x,C,T,P,N){if((E||x)&&this.type===ue.colon&&this.unexpected(),this.eat(ue.colon))o.value=h?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,P),o.kind="init";else if(this.options.ecmaVersion>=6&&this.type===ue.parenL)h&&this.unexpected(),o.kind="init",o.method=!0,o.value=this.parseMethod(E,x);else if(h||N||!(this.options.ecmaVersion>=5)||o.computed||"Identifier"!==o.key.type||"get"!==o.key.name&&"set"!==o.key.name||this.type===ue.comma||this.type===ue.braceR)this.options.ecmaVersion>=6&&!o.computed&&"Identifier"===o.key.type?((E||x)&&this.unexpected(),this.checkUnreserved(o.key),"await"!==o.key.name||this.awaitIdentPos||(this.awaitIdentPos=C),o.kind="init",h?o.value=this.parseMaybeDefault(C,T,o.key):this.type===ue.eq&&P?(P.shorthandAssign<0&&(P.shorthandAssign=this.start),o.value=this.parseMaybeDefault(C,T,o.key)):o.value=o.key,o.shorthand=!0):this.unexpected();else{(E||x)&&this.unexpected(),o.kind=o.key.name,this.parsePropertyName(o),o.value=this.parseMethod(!1);var R="get"===o.kind?0:1;if(o.value.params.length!==R){var j=o.value.start;"get"===o.kind?this.raiseRecoverable(j,"getter should have no params"):this.raiseRecoverable(j,"setter should have exactly one param")}else"set"===o.kind&&"RestElement"===o.value.params[0].type&&this.raiseRecoverable(o.value.params[0].start,"Setter cannot use rest params")}},Pe.parsePropertyName=function(o){if(this.options.ecmaVersion>=6){if(this.eat(ue.bracketL))return o.computed=!0,o.key=this.parseMaybeAssign(),this.expect(ue.bracketR),o.key;o.computed=!1}return o.key=this.type===ue.num||this.type===ue.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Pe.initFunction=function(o){o.id=null,this.options.ecmaVersion>=6&&(o.generator=o.expression=!1),this.options.ecmaVersion>=8&&(o.async=!1)},Pe.parseMethod=function(o,h,E){var x=this.startNode(),C=this.yieldPos,T=this.awaitPos,P=this.awaitIdentPos;return this.initFunction(x),this.options.ecmaVersion>=6&&(x.generator=o),this.options.ecmaVersion>=8&&(x.async=!!h),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|functionFlags(h,x.generator)|(E?128:0)),this.expect(ue.parenL),x.params=this.parseBindingList(ue.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(x,!1,!0),this.yieldPos=C,this.awaitPos=T,this.awaitIdentPos=P,this.finishNode(x,"FunctionExpression")},Pe.parseArrowExpression=function(o,h,E){var x=this.yieldPos,C=this.awaitPos,T=this.awaitIdentPos;return this.enterScope(16|functionFlags(E,!1)),this.initFunction(o),this.options.ecmaVersion>=8&&(o.async=!!E),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,o.params=this.toAssignableList(h,!0),this.parseFunctionBody(o,!0,!1),this.yieldPos=x,this.awaitPos=C,this.awaitIdentPos=T,this.finishNode(o,"ArrowFunctionExpression")},Pe.parseFunctionBody=function(o,h,E){var x=h&&this.type!==ue.braceL,C=this.strict,T=!1;if(x)o.body=this.parseMaybeAssign(),o.expression=!0,this.checkParams(o,!1);else{var P=this.options.ecmaVersion>=7&&!this.isSimpleParamList(o.params);C&&!P||(T=this.strictDirective(this.end))&&P&&this.raiseRecoverable(o.start,"Illegal 'use strict' directive in function with non-simple parameter list");var N=this.labels;this.labels=[],T&&(this.strict=!0),this.checkParams(o,!C&&!T&&!h&&!E&&this.isSimpleParamList(o.params)),o.body=this.parseBlock(!1),o.expression=!1,this.adaptDirectivePrologue(o.body.body),this.labels=N}this.exitScope(),this.strict&&o.id&&this.checkLVal(o.id,5),this.strict=C},Pe.isSimpleParamList=function(o){for(var h=0,E=o;h-1||C.functions.indexOf(o)>-1||C.var.indexOf(o)>-1,C.lexical.push(o),this.inModule&&1&C.flags&&delete this.undefinedExports[o]}else if(4===h){this.currentScope().lexical.push(o)}else if(3===h){var T=this.currentScope();x=this.treatFunctionsAsVar?T.lexical.indexOf(o)>-1:T.lexical.indexOf(o)>-1||T.var.indexOf(o)>-1,T.functions.push(o)}else for(var P=this.scopeStack.length-1;P>=0;--P){var N=this.scopeStack[P];if(N.lexical.indexOf(o)>-1&&!(32&N.flags&&N.lexical[0]===o)||!this.treatFunctionsAsVarInScope(N)&&N.functions.indexOf(o)>-1){x=!0;break}if(N.var.push(o),this.inModule&&1&N.flags&&delete this.undefinedExports[o],3&N.flags)break}x&&this.raiseRecoverable(E,"Identifier '"+o+"' has already been declared")},Ie.checkLocalExport=function(o){-1===this.scopeStack[0].lexical.indexOf(o.name)&&-1===this.scopeStack[0].var.indexOf(o.name)&&(this.undefinedExports[o.name]=o)},Ie.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ie.currentVarScope=function(){for(var o=this.scopeStack.length-1;;o--){var h=this.scopeStack[o];if(3&h.flags)return h}},Ie.currentThisScope=function(){for(var o=this.scopeStack.length-1;;o--){var h=this.scopeStack[o];if(3&h.flags&&!(16&h.flags))return h}};var Re=function Node(o,h,E){this.type="",this.start=h,this.end=0,o.options.locations&&(this.loc=new ve(o,E)),o.options.directSourceFile&&(this.sourceFile=o.options.directSourceFile),o.options.ranges&&(this.range=[h,0])};h.Node=Re;var Me=Ee.prototype;function finishNodeAt(o,h,E,x){return o.type=h,o.end=E,this.options.locations&&(o.loc.end=x),this.options.ranges&&(o.range[1]=E),o}Me.startNode=function(){return new Re(this,this.start,this.startLoc)},Me.startNodeAt=function(o,h){return new Re(this,o,h)},Me.finishNode=function(o,h){return finishNodeAt.call(this,o,h,this.lastTokEnd,this.lastTokEndLoc)},Me.finishNodeAt=function(o,h,E,x){return finishNodeAt.call(this,o,h,E,x)};var Le=function TokContext(o,h,E,x,C){this.token=o,this.isExpr=!!h,this.preserveSpace=!!E,this.override=x,this.generator=!!C};h.TokContext=Le;var je={b_stat:new Le("{",!1),b_expr:new Le("{",!0),b_tmpl:new Le("${",!1),p_stat:new Le("(",!1),p_expr:new Le("(",!0),q_tmpl:new Le("`",!0,!0,(function(o){return o.tryReadTemplateToken()})),f_stat:new Le("function",!1),f_expr:new Le("function",!0),f_expr_gen:new Le("function",!0,!1,null,!0),f_gen:new Le("function",!1,!1,null,!0)};h.tokContexts=je;var qe=Ee.prototype;qe.initialContext=function(){return[je.b_stat]},qe.braceIsBlock=function(o){var h=this.curContext();return h===je.f_expr||h===je.f_stat||(o!==ue.colon||h!==je.b_stat&&h!==je.b_expr?o===ue._return||o===ue.name&&this.exprAllowed?le.test(this.input.slice(this.lastTokEnd,this.start)):o===ue._else||o===ue.semi||o===ue.eof||o===ue.parenR||o===ue.arrow||(o===ue.braceL?h===je.b_stat:o!==ue._var&&o!==ue._const&&o!==ue.name&&!this.exprAllowed):!h.isExpr)},qe.inGeneratorContext=function(){for(var o=this.context.length-1;o>=1;o--){var h=this.context[o];if("function"===h.token)return h.generator}return!1},qe.updateContext=function(o){var h,E=this.type;E.keyword&&o===ue.dot?this.exprAllowed=!1:(h=E.updateContext)?h.call(this,o):this.exprAllowed=E.beforeExpr},ue.parenR.updateContext=ue.braceR.updateContext=function(){if(1!==this.context.length){var o=this.context.pop();o===je.b_stat&&"function"===this.curContext().token&&(o=this.context.pop()),this.exprAllowed=!o.isExpr}else this.exprAllowed=!0},ue.braceL.updateContext=function(o){this.context.push(this.braceIsBlock(o)?je.b_stat:je.b_expr),this.exprAllowed=!0},ue.dollarBraceL.updateContext=function(){this.context.push(je.b_tmpl),this.exprAllowed=!0},ue.parenL.updateContext=function(o){var h=o===ue._if||o===ue._for||o===ue._with||o===ue._while;this.context.push(h?je.p_stat:je.p_expr),this.exprAllowed=!0},ue.incDec.updateContext=function(){},ue._function.updateContext=ue._class.updateContext=function(o){!o.beforeExpr||o===ue.semi||o===ue._else||o===ue._return&&le.test(this.input.slice(this.lastTokEnd,this.start))||(o===ue.colon||o===ue.braceL)&&this.curContext()===je.b_stat?this.context.push(je.f_stat):this.context.push(je.f_expr),this.exprAllowed=!1},ue.backQuote.updateContext=function(){this.curContext()===je.q_tmpl?this.context.pop():this.context.push(je.q_tmpl),this.exprAllowed=!1},ue.star.updateContext=function(o){if(o===ue._function){var h=this.context.length-1;this.context[h]===je.f_expr?this.context[h]=je.f_expr_gen:this.context[h]=je.f_gen}this.exprAllowed=!0},ue.name.updateContext=function(o){var h=!1;this.options.ecmaVersion>=6&&o!==ue.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(h=!0),this.exprAllowed=h};var Ve="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Ue=Ve+" Extended_Pictographic",We={9:Ve,10:Ue,11:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic"},Ge="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",He="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",ze=He+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ke={9:He,10:ze,11:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},Ye={};function buildUnicodeData(o){var h=Ye[o]={binary:wordsRegexp(We[o]+" "+Ge),nonBinary:{General_Category:wordsRegexp(Ge),Script:wordsRegexp(Ke[o])}};h.nonBinary.Script_Extensions=h.nonBinary.Script,h.nonBinary.gc=h.nonBinary.General_Category,h.nonBinary.sc=h.nonBinary.Script,h.nonBinary.scx=h.nonBinary.Script_Extensions}buildUnicodeData(9),buildUnicodeData(10),buildUnicodeData(11);var $e=Ee.prototype,Je=function RegExpValidationState(o){this.parser=o,this.validFlags="gim"+(o.options.ecmaVersion>=6?"uy":"")+(o.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Ye[o.options.ecmaVersion>=11?11:o.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString(o){return o<=65535?String.fromCharCode(o):(o-=65536,String.fromCharCode(55296+(o>>10),56320+(1023&o)))}function isSyntaxCharacter(o){return 36===o||o>=40&&o<=43||46===o||63===o||o>=91&&o<=94||o>=123&&o<=125}function isControlLetter(o){return o>=65&&o<=90||o>=97&&o<=122}function isUnicodePropertyNameCharacter(o){return isControlLetter(o)||95===o}function isUnicodePropertyValueCharacter(o){return isUnicodePropertyNameCharacter(o)||isDecimalDigit(o)}function isDecimalDigit(o){return o>=48&&o<=57}function isHexDigit(o){return o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102}function hexToInt(o){return o>=65&&o<=70?o-65+10:o>=97&&o<=102?o-97+10:o-48}function isOctalDigit(o){return o>=48&&o<=55}Je.prototype.reset=function reset(o,h,E){var x=-1!==E.indexOf("u");this.start=0|o,this.source=h+"",this.flags=E,this.switchU=x&&this.parser.options.ecmaVersion>=6,this.switchN=x&&this.parser.options.ecmaVersion>=9},Je.prototype.raise=function raise(o){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+o)},Je.prototype.at=function at(o){var h=this.source,E=h.length;if(o>=E)return-1;var x=h.charCodeAt(o);if(!this.switchU||x<=55295||x>=57344||o+1>=E)return x;var C=h.charCodeAt(o+1);return C>=56320&&C<=57343?(x<<10)+C-56613888:x},Je.prototype.nextIndex=function nextIndex(o){var h=this.source,E=h.length;if(o>=E)return E;var x,C=h.charCodeAt(o);return!this.switchU||C<=55295||C>=57344||o+1>=E||(x=h.charCodeAt(o+1))<56320||x>57343?o+1:o+2},Je.prototype.current=function current(){return this.at(this.pos)},Je.prototype.lookahead=function lookahead(){return this.at(this.nextIndex(this.pos))},Je.prototype.advance=function advance(){this.pos=this.nextIndex(this.pos)},Je.prototype.eat=function eat(o){return this.current()===o&&(this.advance(),!0)},$e.validateRegExpFlags=function(o){for(var h=o.validFlags,E=o.flags,x=0;x-1&&this.raise(o.start,"Duplicate regular expression flag")}},$e.validateRegExpPattern=function(o){this.regexp_pattern(o),!o.switchN&&this.options.ecmaVersion>=9&&o.groupNames.length>0&&(o.switchN=!0,this.regexp_pattern(o))},$e.regexp_pattern=function(o){o.pos=0,o.lastIntValue=0,o.lastStringValue="",o.lastAssertionIsQuantifiable=!1,o.numCapturingParens=0,o.maxBackReference=0,o.groupNames.length=0,o.backReferenceNames.length=0,this.regexp_disjunction(o),o.pos!==o.source.length&&(o.eat(41)&&o.raise("Unmatched ')'"),(o.eat(93)||o.eat(125))&&o.raise("Lone quantifier brackets")),o.maxBackReference>o.numCapturingParens&&o.raise("Invalid escape");for(var h=0,E=o.backReferenceNames;h=9&&(E=o.eat(60)),o.eat(61)||o.eat(33))return this.regexp_disjunction(o),o.eat(41)||o.raise("Unterminated group"),o.lastAssertionIsQuantifiable=!E,!0}return o.pos=h,!1},$e.regexp_eatQuantifier=function(o,h){return void 0===h&&(h=!1),!!this.regexp_eatQuantifierPrefix(o,h)&&(o.eat(63),!0)},$e.regexp_eatQuantifierPrefix=function(o,h){return o.eat(42)||o.eat(43)||o.eat(63)||this.regexp_eatBracedQuantifier(o,h)},$e.regexp_eatBracedQuantifier=function(o,h){var E=o.pos;if(o.eat(123)){var x=0,C=-1;if(this.regexp_eatDecimalDigits(o)&&(x=o.lastIntValue,o.eat(44)&&this.regexp_eatDecimalDigits(o)&&(C=o.lastIntValue),o.eat(125)))return-1!==C&&C=9?this.regexp_groupSpecifier(o):63===o.current()&&o.raise("Invalid group"),this.regexp_disjunction(o),o.eat(41))return o.numCapturingParens+=1,!0;o.raise("Unterminated group")}return!1},$e.regexp_eatExtendedAtom=function(o){return o.eat(46)||this.regexp_eatReverseSolidusAtomEscape(o)||this.regexp_eatCharacterClass(o)||this.regexp_eatUncapturingGroup(o)||this.regexp_eatCapturingGroup(o)||this.regexp_eatInvalidBracedQuantifier(o)||this.regexp_eatExtendedPatternCharacter(o)},$e.regexp_eatInvalidBracedQuantifier=function(o){return this.regexp_eatBracedQuantifier(o,!0)&&o.raise("Nothing to repeat"),!1},$e.regexp_eatSyntaxCharacter=function(o){var h=o.current();return!!isSyntaxCharacter(h)&&(o.lastIntValue=h,o.advance(),!0)},$e.regexp_eatPatternCharacters=function(o){for(var h=o.pos,E=0;-1!==(E=o.current())&&!isSyntaxCharacter(E);)o.advance();return o.pos!==h},$e.regexp_eatExtendedPatternCharacter=function(o){var h=o.current();return!(-1===h||36===h||h>=40&&h<=43||46===h||63===h||91===h||94===h||124===h)&&(o.advance(),!0)},$e.regexp_groupSpecifier=function(o){if(o.eat(63)){if(this.regexp_eatGroupName(o))return-1!==o.groupNames.indexOf(o.lastStringValue)&&o.raise("Duplicate capture group name"),void o.groupNames.push(o.lastStringValue);o.raise("Invalid group")}},$e.regexp_eatGroupName=function(o){if(o.lastStringValue="",o.eat(60)){if(this.regexp_eatRegExpIdentifierName(o)&&o.eat(62))return!0;o.raise("Invalid capture group name")}return!1},$e.regexp_eatRegExpIdentifierName=function(o){if(o.lastStringValue="",this.regexp_eatRegExpIdentifierStart(o)){for(o.lastStringValue+=codePointToString(o.lastIntValue);this.regexp_eatRegExpIdentifierPart(o);)o.lastStringValue+=codePointToString(o.lastIntValue);return!0}return!1},$e.regexp_eatRegExpIdentifierStart=function(o){var h=o.pos,E=o.current();return o.advance(),92===E&&this.regexp_eatRegExpUnicodeEscapeSequence(o)&&(E=o.lastIntValue),function isRegExpIdentifierStart(o){return isIdentifierStart(o,!0)||36===o||95===o}(E)?(o.lastIntValue=E,!0):(o.pos=h,!1)},$e.regexp_eatRegExpIdentifierPart=function(o){var h=o.pos,E=o.current();return o.advance(),92===E&&this.regexp_eatRegExpUnicodeEscapeSequence(o)&&(E=o.lastIntValue),function isRegExpIdentifierPart(o){return isIdentifierChar(o,!0)||36===o||95===o||8204===o||8205===o}(E)?(o.lastIntValue=E,!0):(o.pos=h,!1)},$e.regexp_eatAtomEscape=function(o){return!!(this.regexp_eatBackReference(o)||this.regexp_eatCharacterClassEscape(o)||this.regexp_eatCharacterEscape(o)||o.switchN&&this.regexp_eatKGroupName(o))||(o.switchU&&(99===o.current()&&o.raise("Invalid unicode escape"),o.raise("Invalid escape")),!1)},$e.regexp_eatBackReference=function(o){var h=o.pos;if(this.regexp_eatDecimalEscape(o)){var E=o.lastIntValue;if(o.switchU)return E>o.maxBackReference&&(o.maxBackReference=E),!0;if(E<=o.numCapturingParens)return!0;o.pos=h}return!1},$e.regexp_eatKGroupName=function(o){if(o.eat(107)){if(this.regexp_eatGroupName(o))return o.backReferenceNames.push(o.lastStringValue),!0;o.raise("Invalid named reference")}return!1},$e.regexp_eatCharacterEscape=function(o){return this.regexp_eatControlEscape(o)||this.regexp_eatCControlLetter(o)||this.regexp_eatZero(o)||this.regexp_eatHexEscapeSequence(o)||this.regexp_eatRegExpUnicodeEscapeSequence(o)||!o.switchU&&this.regexp_eatLegacyOctalEscapeSequence(o)||this.regexp_eatIdentityEscape(o)},$e.regexp_eatCControlLetter=function(o){var h=o.pos;if(o.eat(99)){if(this.regexp_eatControlLetter(o))return!0;o.pos=h}return!1},$e.regexp_eatZero=function(o){return 48===o.current()&&!isDecimalDigit(o.lookahead())&&(o.lastIntValue=0,o.advance(),!0)},$e.regexp_eatControlEscape=function(o){var h=o.current();return 116===h?(o.lastIntValue=9,o.advance(),!0):110===h?(o.lastIntValue=10,o.advance(),!0):118===h?(o.lastIntValue=11,o.advance(),!0):102===h?(o.lastIntValue=12,o.advance(),!0):114===h&&(o.lastIntValue=13,o.advance(),!0)},$e.regexp_eatControlLetter=function(o){var h=o.current();return!!isControlLetter(h)&&(o.lastIntValue=h%32,o.advance(),!0)},$e.regexp_eatRegExpUnicodeEscapeSequence=function(o){var h=o.pos;if(o.eat(117)){if(this.regexp_eatFixedHexDigits(o,4)){var E=o.lastIntValue;if(o.switchU&&E>=55296&&E<=56319){var x=o.pos;if(o.eat(92)&&o.eat(117)&&this.regexp_eatFixedHexDigits(o,4)){var C=o.lastIntValue;if(C>=56320&&C<=57343)return o.lastIntValue=1024*(E-55296)+(C-56320)+65536,!0}o.pos=x,o.lastIntValue=E}return!0}if(o.switchU&&o.eat(123)&&this.regexp_eatHexDigits(o)&&o.eat(125)&&function isValidUnicode(o){return o>=0&&o<=1114111}(o.lastIntValue))return!0;o.switchU&&o.raise("Invalid unicode escape"),o.pos=h}return!1},$e.regexp_eatIdentityEscape=function(o){if(o.switchU)return!!this.regexp_eatSyntaxCharacter(o)||!!o.eat(47)&&(o.lastIntValue=47,!0);var h=o.current();return!(99===h||o.switchN&&107===h)&&(o.lastIntValue=h,o.advance(),!0)},$e.regexp_eatDecimalEscape=function(o){o.lastIntValue=0;var h=o.current();if(h>=49&&h<=57){do{o.lastIntValue=10*o.lastIntValue+(h-48),o.advance()}while((h=o.current())>=48&&h<=57);return!0}return!1},$e.regexp_eatCharacterClassEscape=function(o){var h=o.current();if(function isCharacterClassEscape(o){return 100===o||68===o||115===o||83===o||119===o||87===o}(h))return o.lastIntValue=-1,o.advance(),!0;if(o.switchU&&this.options.ecmaVersion>=9&&(80===h||112===h)){if(o.lastIntValue=-1,o.advance(),o.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(o)&&o.eat(125))return!0;o.raise("Invalid property name")}return!1},$e.regexp_eatUnicodePropertyValueExpression=function(o){var h=o.pos;if(this.regexp_eatUnicodePropertyName(o)&&o.eat(61)){var E=o.lastStringValue;if(this.regexp_eatUnicodePropertyValue(o)){var x=o.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(o,E,x),!0}}if(o.pos=h,this.regexp_eatLoneUnicodePropertyNameOrValue(o)){var C=o.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(o,C),!0}return!1},$e.regexp_validateUnicodePropertyNameAndValue=function(o,h,E){has(o.unicodeProperties.nonBinary,h)||o.raise("Invalid property name"),o.unicodeProperties.nonBinary[h].test(E)||o.raise("Invalid property value")},$e.regexp_validateUnicodePropertyNameOrValue=function(o,h){o.unicodeProperties.binary.test(h)||o.raise("Invalid property name")},$e.regexp_eatUnicodePropertyName=function(o){var h=0;for(o.lastStringValue="";isUnicodePropertyNameCharacter(h=o.current());)o.lastStringValue+=codePointToString(h),o.advance();return""!==o.lastStringValue},$e.regexp_eatUnicodePropertyValue=function(o){var h=0;for(o.lastStringValue="";isUnicodePropertyValueCharacter(h=o.current());)o.lastStringValue+=codePointToString(h),o.advance();return""!==o.lastStringValue},$e.regexp_eatLoneUnicodePropertyNameOrValue=function(o){return this.regexp_eatUnicodePropertyValue(o)},$e.regexp_eatCharacterClass=function(o){if(o.eat(91)){if(o.eat(94),this.regexp_classRanges(o),o.eat(93))return!0;o.raise("Unterminated character class")}return!1},$e.regexp_classRanges=function(o){for(;this.regexp_eatClassAtom(o);){var h=o.lastIntValue;if(o.eat(45)&&this.regexp_eatClassAtom(o)){var E=o.lastIntValue;!o.switchU||-1!==h&&-1!==E||o.raise("Invalid character class"),-1!==h&&-1!==E&&h>E&&o.raise("Range out of order in character class")}}},$e.regexp_eatClassAtom=function(o){var h=o.pos;if(o.eat(92)){if(this.regexp_eatClassEscape(o))return!0;if(o.switchU){var E=o.current();(99===E||isOctalDigit(E))&&o.raise("Invalid class escape"),o.raise("Invalid escape")}o.pos=h}var x=o.current();return 93!==x&&(o.lastIntValue=x,o.advance(),!0)},$e.regexp_eatClassEscape=function(o){var h=o.pos;if(o.eat(98))return o.lastIntValue=8,!0;if(o.switchU&&o.eat(45))return o.lastIntValue=45,!0;if(!o.switchU&&o.eat(99)){if(this.regexp_eatClassControlLetter(o))return!0;o.pos=h}return this.regexp_eatCharacterClassEscape(o)||this.regexp_eatCharacterEscape(o)},$e.regexp_eatClassControlLetter=function(o){var h=o.current();return!(!isDecimalDigit(h)&&95!==h)&&(o.lastIntValue=h%32,o.advance(),!0)},$e.regexp_eatHexEscapeSequence=function(o){var h=o.pos;if(o.eat(120)){if(this.regexp_eatFixedHexDigits(o,2))return!0;o.switchU&&o.raise("Invalid escape"),o.pos=h}return!1},$e.regexp_eatDecimalDigits=function(o){var h=o.pos,E=0;for(o.lastIntValue=0;isDecimalDigit(E=o.current());)o.lastIntValue=10*o.lastIntValue+(E-48),o.advance();return o.pos!==h},$e.regexp_eatHexDigits=function(o){var h=o.pos,E=0;for(o.lastIntValue=0;isHexDigit(E=o.current());)o.lastIntValue=16*o.lastIntValue+hexToInt(E),o.advance();return o.pos!==h},$e.regexp_eatLegacyOctalEscapeSequence=function(o){if(this.regexp_eatOctalDigit(o)){var h=o.lastIntValue;if(this.regexp_eatOctalDigit(o)){var E=o.lastIntValue;h<=3&&this.regexp_eatOctalDigit(o)?o.lastIntValue=64*h+8*E+o.lastIntValue:o.lastIntValue=8*h+E}else o.lastIntValue=h;return!0}return!1},$e.regexp_eatOctalDigit=function(o){var h=o.current();return isOctalDigit(h)?(o.lastIntValue=h-48,o.advance(),!0):(o.lastIntValue=0,!1)},$e.regexp_eatFixedHexDigits=function(o,h){var E=o.pos;o.lastIntValue=0;for(var x=0;x>10),56320+(1023&o)))}Qe.next=function(o){!o&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Xe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Qe.getToken=function(){return this.next(),new Xe(this)},"undefined"!=typeof Symbol&&(Qe[Symbol.iterator]=function(){var o=this;return{next:function next(){var h=o.getToken();return{done:h.type===ue.eof,value:h}}}}),Qe.curContext=function(){return this.context[this.context.length-1]},Qe.nextToken=function(){var o=this.curContext();return o&&o.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(ue.eof):o.override?o.override(this):void this.readToken(this.fullCharCodeAtPos())},Qe.readToken=function(o){return isIdentifierStart(o,this.options.ecmaVersion>=6)||92===o?this.readWord():this.getTokenFromCode(o)},Qe.fullCharCodeAtPos=function(){var o=this.input.charCodeAt(this.pos);return o<=55295||o>=57344?o:(o<<10)+this.input.charCodeAt(this.pos+1)-56613888},Qe.skipBlockComment=function(){var o,h=this.options.onComment&&this.curPosition(),E=this.pos,x=this.input.indexOf("*/",this.pos+=2);if(-1===x&&this.raise(this.pos-2,"Unterminated comment"),this.pos=x+2,this.options.locations)for(ce.lastIndex=E;(o=ce.exec(this.input))&&o.index8&&o<14||o>=5760&&pe.test(String.fromCharCode(o))))break e;++this.pos}}},Qe.finishToken=function(o,h){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var E=this.type;this.type=o,this.value=h,this.updateContext(E)},Qe.readToken_dot=function(){var o=this.input.charCodeAt(this.pos+1);if(o>=48&&o<=57)return this.readNumber(!0);var h=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===o&&46===h?(this.pos+=3,this.finishToken(ue.ellipsis)):(++this.pos,this.finishToken(ue.dot))},Qe.readToken_slash=function(){var o=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===o?this.finishOp(ue.assign,2):this.finishOp(ue.slash,1)},Qe.readToken_mult_modulo_exp=function(o){var h=this.input.charCodeAt(this.pos+1),E=1,x=42===o?ue.star:ue.modulo;return this.options.ecmaVersion>=7&&42===o&&42===h&&(++E,x=ue.starstar,h=this.input.charCodeAt(this.pos+2)),61===h?this.finishOp(ue.assign,E+1):this.finishOp(x,E)},Qe.readToken_pipe_amp=function(o){var h=this.input.charCodeAt(this.pos+1);return h===o?this.finishOp(124===o?ue.logicalOR:ue.logicalAND,2):61===h?this.finishOp(ue.assign,2):this.finishOp(124===o?ue.bitwiseOR:ue.bitwiseAND,1)},Qe.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(ue.assign,2):this.finishOp(ue.bitwiseXOR,1)},Qe.readToken_plus_min=function(o){var h=this.input.charCodeAt(this.pos+1);return h===o?45!==h||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!le.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(ue.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===h?this.finishOp(ue.assign,2):this.finishOp(ue.plusMin,1)},Qe.readToken_lt_gt=function(o){var h=this.input.charCodeAt(this.pos+1),E=1;return h===o?(E=62===o&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+E)?this.finishOp(ue.assign,E+1):this.finishOp(ue.bitShift,E)):33!==h||60!==o||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===h&&(E=2),this.finishOp(ue.relational,E)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Qe.readToken_eq_excl=function(o){var h=this.input.charCodeAt(this.pos+1);return 61===h?this.finishOp(ue.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===o&&62===h&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(ue.arrow)):this.finishOp(61===o?ue.eq:ue.prefix,1)},Qe.getTokenFromCode=function(o){switch(o){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(ue.parenL);case 41:return++this.pos,this.finishToken(ue.parenR);case 59:return++this.pos,this.finishToken(ue.semi);case 44:return++this.pos,this.finishToken(ue.comma);case 91:return++this.pos,this.finishToken(ue.bracketL);case 93:return++this.pos,this.finishToken(ue.bracketR);case 123:return++this.pos,this.finishToken(ue.braceL);case 125:return++this.pos,this.finishToken(ue.braceR);case 58:return++this.pos,this.finishToken(ue.colon);case 63:return++this.pos,this.finishToken(ue.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(ue.backQuote);case 48:var h=this.input.charCodeAt(this.pos+1);if(120===h||88===h)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===h||79===h)return this.readRadixNumber(8);if(98===h||66===h)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(o);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(o);case 124:case 38:return this.readToken_pipe_amp(o);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(o);case 60:case 62:return this.readToken_lt_gt(o);case 61:case 33:return this.readToken_eq_excl(o);case 126:return this.finishOp(ue.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(o)+"'")},Qe.finishOp=function(o,h){var E=this.input.slice(this.pos,this.pos+h);return this.pos+=h,this.finishToken(o,E)},Qe.readRegexp=function(){for(var o,h,E=this.pos;;){this.pos>=this.input.length&&this.raise(E,"Unterminated regular expression");var x=this.input.charAt(this.pos);if(le.test(x)&&this.raise(E,"Unterminated regular expression"),o)o=!1;else{if("["===x)h=!0;else if("]"===x&&h)h=!1;else if("/"===x&&!h)break;o="\\"===x}++this.pos}var C=this.input.slice(E,this.pos);++this.pos;var T=this.pos,P=this.readWord1();this.containsEsc&&this.unexpected(T);var N=this.regexpState||(this.regexpState=new Je(this));N.reset(E,C,P),this.validateRegExpFlags(N),this.validateRegExpPattern(N);var R=null;try{R=new RegExp(C,P)}catch(o){}return this.finishToken(ue.regexp,{pattern:C,flags:P,value:R})},Qe.readInt=function(o,h){for(var E=this.pos,x=0,C=0,T=null==h?1/0:h;C=97?P-97+10:P>=65?P-65+10:P>=48&&P<=57?P-48:1/0)>=o)break;++this.pos,x=x*o+N}return this.pos===E||null!=h&&this.pos-E!==h?null:x},Qe.readRadixNumber=function(o){var h=this.pos;this.pos+=2;var E=this.readInt(o);return null==E&&this.raise(this.start+2,"Expected number in radix "+o),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(E="undefined"!=typeof BigInt?BigInt(this.input.slice(h,this.pos)):null,++this.pos):isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(ue.num,E)},Qe.readNumber=function(o){var h=this.pos;o||null!==this.readInt(10)||this.raise(h,"Invalid number");var E=this.pos-h>=2&&48===this.input.charCodeAt(h);E&&this.strict&&this.raise(h,"Invalid number");var x=this.input.charCodeAt(this.pos);if(!E&&!o&&this.options.ecmaVersion>=11&&110===x){var C=this.input.slice(h,this.pos),T="undefined"!=typeof BigInt?BigInt(C):null;return++this.pos,isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(ue.num,T)}E&&/[89]/.test(this.input.slice(h,this.pos))&&(E=!1),46!==x||E||(++this.pos,this.readInt(10),x=this.input.charCodeAt(this.pos)),69!==x&&101!==x||E||(43!==(x=this.input.charCodeAt(++this.pos))&&45!==x||++this.pos,null===this.readInt(10)&&this.raise(h,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var P=this.input.slice(h,this.pos),N=E?parseInt(P,8):parseFloat(P);return this.finishToken(ue.num,N)},Qe.readCodePoint=function(){var o;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var h=++this.pos;o=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,o>1114111&&this.invalidStringToken(h,"Code point out of bounds")}else o=this.readHexChar(4);return o},Qe.readString=function(o){for(var h="",E=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var x=this.input.charCodeAt(this.pos);if(x===o)break;92===x?(h+=this.input.slice(E,this.pos),h+=this.readEscapedChar(!1),E=this.pos):(isNewLine(x,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return h+=this.input.slice(E,this.pos++),this.finishToken(ue.string,h)};var Ze={};Qe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(o){if(o!==Ze)throw o;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Qe.invalidStringToken=function(o,h){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ze;this.raise(o,h)},Qe.readTmplToken=function(){for(var o="",h=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var E=this.input.charCodeAt(this.pos);if(96===E||36===E&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==ue.template&&this.type!==ue.invalidTemplate?(o+=this.input.slice(h,this.pos),this.finishToken(ue.template,o)):36===E?(this.pos+=2,this.finishToken(ue.dollarBraceL)):(++this.pos,this.finishToken(ue.backQuote));if(92===E)o+=this.input.slice(h,this.pos),o+=this.readEscapedChar(!0),h=this.pos;else if(isNewLine(E)){switch(o+=this.input.slice(h,this.pos),++this.pos,E){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:o+="\n";break;default:o+=String.fromCharCode(E)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),h=this.pos}else++this.pos}},Qe.readInvalidTemplateToken=function(){for(;this.pos=48&&h<=55){var x=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],C=parseInt(x,8);return C>255&&(x=x.slice(0,-1),C=parseInt(x,8)),this.pos+=x.length-1,h=this.input.charCodeAt(this.pos),"0"===x&&56!==h&&57!==h||!this.strict&&!o||this.invalidStringToken(this.pos-1-x.length,o?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(C)}return isNewLine(h)?"":String.fromCharCode(h)}},Qe.readHexChar=function(o){var h=this.pos,E=this.readInt(16,o);return null===E&&this.invalidStringToken(h,"Bad character escape sequence"),E},Qe.readWord1=function(){this.containsEsc=!1;for(var o="",h=!0,E=this.pos,x=this.options.ecmaVersion>=6;this.pos1&&P(o,h[0],h[1])?h=[]:E>2&&P(h[0],h[1],h[2])&&(h=[h[0]]),C(o,x(h,1),[])}));o.exports=N},y1pI:function(o,h,E){var x=E("ljhN");o.exports=function assocIndexOf(o,h){for(var E=o.length;E--;)if(x(o[E][0],h))return E;return-1}},yGk4:function(o,h,E){var x=E("Cwc5")(E("Kz5y"),"Set");o.exports=x},yHx3:function(o,h){var E=Object.prototype.hasOwnProperty;o.exports=function initCloneArray(o){var h=o.length,x=new o.constructor(h);return h&&"string"==typeof o[0]&&E.call(o,"index")&&(x.index=o.index,x.input=o.input),x}},yOFO:function(o,h,E){"use strict";h.__esModule=!0,h.default=function getPossiblePluginNames(o){return["babel-plugin-"+o,o]},o.exports=h.default},yP5f:function(o,h,E){var x=E("+K+b");o.exports=function cloneTypedArray(o,h){var E=h?x(o.buffer):o.buffer;return new o.constructor(E,o.byteOffset,o.length)}},yn9v:function(o,h,E){"use strict";h.__esModule=!0,h.AwaitExpression=h.FunctionTypeAnnotation=void 0,h.NullableTypeAnnotation=NullableTypeAnnotation,h.UpdateExpression=function UpdateExpression(o,h){return x.isMemberExpression(h)&&h.object===o},h.ObjectExpression=function ObjectExpression(o,h,E){return isFirstInStatement(E,{considerArrow:!0})},h.DoExpression=function DoExpression(o,h,E){return isFirstInStatement(E)},h.Binary=function Binary(o,h){if((x.isCallExpression(h)||x.isNewExpression(h))&&h.callee===o||x.isUnaryLike(h)||x.isMemberExpression(h)&&h.object===o||x.isAwaitExpression(h))return!0;if(x.isBinary(h)){var E=h.operator,T=C[E],P=o.operator,N=C[P];if(T===N&&h.right===o&&!x.isLogicalExpression(h)||T>N)return!0}return!1},h.BinaryExpression=function BinaryExpression(o,h){return"in"===o.operator&&(x.isVariableDeclarator(h)||x.isFor(h))},h.SequenceExpression=function SequenceExpression(o,h){if(x.isForStatement(h)||x.isThrowStatement(h)||x.isReturnStatement(h)||x.isIfStatement(h)&&h.test===o||x.isWhileStatement(h)&&h.test===o||x.isForInStatement(h)&&h.right===o||x.isSwitchStatement(h)&&h.discriminant===o||x.isExpressionStatement(h)&&h.expression===o)return!1;return!0},h.YieldExpression=YieldExpression,h.ClassExpression=function ClassExpression(o,h,E){return isFirstInStatement(E,{considerDefaultExports:!0})},h.UnaryLike=UnaryLike,h.FunctionExpression=function FunctionExpression(o,h,E){return isFirstInStatement(E,{considerDefaultExports:!0})},h.ArrowFunctionExpression=function ArrowFunctionExpression(o,h){if(x.isExportDeclaration(h)||x.isBinaryExpression(h)||x.isLogicalExpression(h)||x.isUnaryExpression(h)||x.isTaggedTemplateExpression(h))return!0;return UnaryLike(o,h)},h.ConditionalExpression=ConditionalExpression,h.AssignmentExpression=function AssignmentExpression(o){return!!x.isObjectPattern(o.left)||ConditionalExpression.apply(void 0,arguments)};var x=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW"));var C={"||":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10};function NullableTypeAnnotation(o,h){return x.isArrayTypeAnnotation(h)}function YieldExpression(o,h){return x.isBinary(h)||x.isUnaryLike(h)||x.isCallExpression(h)||x.isMemberExpression(h)||x.isNewExpression(h)||x.isConditionalExpression(h)&&o===h.test}function UnaryLike(o,h){return x.isMemberExpression(h,{object:o})||x.isCallExpression(h,{callee:o})||x.isNewExpression(h,{callee:o})}function ConditionalExpression(o,h){return!!(x.isUnaryLike(h)||x.isBinary(h)||x.isConditionalExpression(h,{test:o})||x.isAwaitExpression(h))||UnaryLike(o,h)}function isFirstInStatement(o){for(var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},E=h.considerArrow,C=void 0!==E&&E,T=h.considerDefaultExports,P=void 0!==T&&T,N=o.length-1,R=o[N],j=o[--N];N>0;){if(x.isExpressionStatement(j,{expression:R})||x.isTaggedTemplateExpression(j)||P&&x.isExportDefaultDeclaration(j,{declaration:R})||C&&x.isArrowFunctionExpression(j,{body:R}))return!0;if(!(x.isCallExpression(j,{callee:R})||x.isSequenceExpression(j)&&j.expressions[0]===R||x.isMemberExpression(j,{object:R})||x.isConditional(j,{test:R})||x.isBinary(j,{left:R})||x.isAssignmentExpression(j,{left:R})))return!1;R=j,j=o[--N]}return!1}h.FunctionTypeAnnotation=NullableTypeAnnotation,h.AwaitExpression=YieldExpression},yue5:function(o,h,E){var x=E("/9aa");o.exports=function compareAscending(o,h){if(o!==h){var E=void 0!==o,C=null===o,T=o==o,P=x(o),N=void 0!==h,R=null===h,j=h==h,ee=x(h);if(!R&&!ee&&!P&&o>h||P&&N&&j&&!R&&!ee||C&&N&&j||!E&&j||!T)return 1;if(!C&&!P&&!ee&&o1&&void 0!==arguments[1]?arguments[1]:"global",E=N.identifier("babelHelpers"),x=function builder(h){return buildHelpers(h,E,o)},P=void 0,R={global:buildGlobal,umd:buildUmd,var:buildVar}[h];if(!R)throw new Error(T.get("unsupportedOutputType",h));return P=R(E,x),(0,C.default)(P).code};var x=_interopRequireWildcard(E("2Jfo")),C=_interopRequireDefault(E("Z+Wv")),T=_interopRequireWildcard(E("UPZs")),P=_interopRequireDefault(E("PTdM")),N=_interopRequireWildcard(E("KCzW"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}var R=(0,P.default)('\n (function (root, factory) {\n if (typeof define === "function" && define.amd) {\n define(AMD_ARGUMENTS, factory);\n } else if (typeof exports === "object") {\n factory(COMMON_ARGUMENTS);\n } else {\n factory(BROWSER_ARGUMENTS);\n }\n })(UMD_ROOT, function (FACTORY_PARAMETERS) {\n FACTORY_BODY\n });\n');function buildGlobal(o,h){var E=[],C=N.functionExpression(null,[N.identifier("global")],N.blockStatement(E)),T=N.program([N.expressionStatement(N.callExpression(C,[x.get("selfGlobal")]))]);return E.push(N.variableDeclaration("var",[N.variableDeclarator(o,N.assignmentExpression("=",N.memberExpression(N.identifier("global"),o),N.objectExpression([])))])),h(E),T}function buildUmd(o,h){var E=[];return E.push(N.variableDeclaration("var",[N.variableDeclarator(o,N.identifier("global"))])),h(E),N.program([R({FACTORY_PARAMETERS:N.identifier("global"),BROWSER_ARGUMENTS:N.assignmentExpression("=",N.memberExpression(N.identifier("root"),o),N.objectExpression([])),COMMON_ARGUMENTS:N.identifier("exports"),AMD_ARGUMENTS:N.arrayExpression([N.stringLiteral("exports")]),FACTORY_BODY:E,UMD_ROOT:N.identifier("this")})])}function buildVar(o,h){var E=[];return E.push(N.variableDeclaration("var",[N.variableDeclarator(o,N.objectExpression([]))])),h(E),E.push(N.expressionStatement(o)),N.program(E)}function buildHelpers(o,h,E){x.list.forEach((function(C){if(!(E&&E.indexOf(C)<0)){var T=N.identifier(C);o.push(N.expressionStatement(N.assignmentExpression("=",N.memberExpression(h,T),x.get(C))))}}))}o.exports=h.default},"z+VY":function(o,h,E){var x=E("tjlA"),C=x.Buffer;function copyProps(o,h){for(var E in o)h[E]=o[E]}function SafeBuffer(o,h,E){return C(o,h,E)}C.from&&C.alloc&&C.allocUnsafe&&C.allocUnsafeSlow?o.exports=x:(copyProps(x,h),h.Buffer=SafeBuffer),copyProps(C,SafeBuffer),SafeBuffer.from=function(o,h,E){if("number"==typeof o)throw new TypeError("Argument must not be a number");return C(o,h,E)},SafeBuffer.alloc=function(o,h,E){if("number"!=typeof o)throw new TypeError("Argument must be a number");var x=C(o);return void 0!==h?"string"==typeof E?x.fill(h,E):x.fill(h):x.fill(0),x},SafeBuffer.allocUnsafe=function(o){if("number"!=typeof o)throw new TypeError("Argument must be a number");return C(o)},SafeBuffer.allocUnsafeSlow=function(o){if("number"!=typeof o)throw new TypeError("Argument must be a number");return x.SlowBuffer(o)}},"z/5e":function(o,h,E){o.exports={default:E("Nxk6"),__esModule:!0}},zEVN:function(o,h,E){var x=E("Gi0A"),C=E("sEf8"),T=E("mdPL"),P=T&&T.isMap,N=P?C(P):x;o.exports=N},"zF/y":function(o,h,E){"use strict";var x=function _interopRequireWildcard(o){if(o&&o.__esModule)return o;var h={};if(null!=o)for(var E in o)Object.prototype.hasOwnProperty.call(o,E)&&(h[E]=o[E]);return h.default=o,h}(E("KCzW")),C=E("aHIm"),T=E("w1AT"),P=function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}(T);(0,P.default)("ArrayExpression",{fields:{elements:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,P.default)("AssignmentExpression",{fields:{operator:{validate:(0,T.assertValueType)("string")},left:{validate:(0,T.assertNodeType)("LVal")},right:{validate:(0,T.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),(0,P.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:T.assertOneOf.apply(void 0,C.BINARY_OPERATORS)},left:{validate:(0,T.assertNodeType)("Expression")},right:{validate:(0,T.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),(0,P.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,T.assertNodeType)("DirectiveLiteral")}}}),(0,P.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,T.assertValueType)("string")}}}),(0,P.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Directive"))),default:[]},body:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),(0,P.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,T.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,P.default)("CallExpression",{visitor:["callee","arguments"],fields:{callee:{validate:(0,T.assertNodeType)("Expression")},arguments:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Expression","SpreadElement")))}},aliases:["Expression"]}),(0,P.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,T.assertNodeType)("Identifier")},body:{validate:(0,T.assertNodeType)("BlockStatement")}},aliases:["Scopable"]}),(0,P.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,T.assertNodeType)("Expression")},consequent:{validate:(0,T.assertNodeType)("Expression")},alternate:{validate:(0,T.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),(0,P.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,T.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,P.default)("DebuggerStatement",{aliases:["Statement"]}),(0,P.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,T.assertNodeType)("Expression")},body:{validate:(0,T.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),(0,P.default)("EmptyStatement",{aliases:["Statement"]}),(0,P.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,T.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),(0,P.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,T.assertNodeType)("Program")}}}),(0,P.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,T.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,T.assertNodeType)("Expression")},body:{validate:(0,T.assertNodeType)("Statement")}}}),(0,P.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,T.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,T.assertNodeType)("Expression"),optional:!0},update:{validate:(0,T.assertNodeType)("Expression"),optional:!0},body:{validate:(0,T.assertNodeType)("Statement")}}}),(0,P.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:{id:{validate:(0,T.assertNodeType)("Identifier")},params:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("LVal")))},body:{validate:(0,T.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,T.assertValueType)("boolean")},async:{default:!1,validate:(0,T.assertValueType)("boolean")}},aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"]}),(0,P.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:{id:{validate:(0,T.assertNodeType)("Identifier"),optional:!0},params:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("LVal")))},body:{validate:(0,T.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,T.assertValueType)("boolean")},async:{default:!1,validate:(0,T.assertValueType)("boolean")}}}),(0,P.default)("Identifier",{builder:["name"],visitor:["typeAnnotation"],aliases:["Expression","LVal"],fields:{name:{validate:function validate(o,h,E){x.isValidIdentifier(E)}},decorators:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Decorator")))}}}),(0,P.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,T.assertNodeType)("Expression")},consequent:{validate:(0,T.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,T.assertNodeType)("Statement")}}}),(0,P.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,T.assertNodeType)("Identifier")},body:{validate:(0,T.assertNodeType)("Statement")}}}),(0,P.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,T.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,P.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,T.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,P.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),(0,P.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,T.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,P.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Literal"],fields:{pattern:{validate:(0,T.assertValueType)("string")},flags:{validate:(0,T.assertValueType)("string"),default:""}}}),(0,P.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:T.assertOneOf.apply(void 0,C.LOGICAL_OPERATORS)},left:{validate:(0,T.assertNodeType)("Expression")},right:{validate:(0,T.assertNodeType)("Expression")}}}),(0,P.default)("MemberExpression",{builder:["object","property","computed"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:(0,T.assertNodeType)("Expression")},property:{validate:function validate(o,h,E){var x=o.computed?"Expression":"Identifier";(0,T.assertNodeType)(x)(o,h,E)}},computed:{default:!1}}}),(0,P.default)("NewExpression",{visitor:["callee","arguments"],aliases:["Expression"],fields:{callee:{validate:(0,T.assertNodeType)("Expression")},arguments:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Expression","SpreadElement")))}}}),(0,P.default)("Program",{visitor:["directives","body"],builder:["body","directives"],fields:{directives:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Directive"))),default:[]},body:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","FunctionParent"]}),(0,P.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("ObjectMethod","ObjectProperty","SpreadProperty")))}}}),(0,P.default)("ObjectMethod",{builder:["kind","key","params","body","computed"],fields:{kind:{validate:(0,T.chain)((0,T.assertValueType)("string"),(0,T.assertOneOf)("method","get","set")),default:"method"},computed:{validate:(0,T.assertValueType)("boolean"),default:!1},key:{validate:function validate(o,h,E){var x=o.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];T.assertNodeType.apply(void 0,x)(o,h,E)}},decorators:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Decorator")))},body:{validate:(0,T.assertNodeType)("BlockStatement")},generator:{default:!1,validate:(0,T.assertValueType)("boolean")},async:{default:!1,validate:(0,T.assertValueType)("boolean")}},visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),(0,P.default)("ObjectProperty",{builder:["key","value","computed","shorthand","decorators"],fields:{computed:{validate:(0,T.assertValueType)("boolean"),default:!1},key:{validate:function validate(o,h,E){var x=o.computed?["Expression"]:["Identifier","StringLiteral","NumericLiteral"];T.assertNodeType.apply(void 0,x)(o,h,E)}},value:{validate:(0,T.assertNodeType)("Expression","Pattern","RestElement")},shorthand:{validate:(0,T.assertValueType)("boolean"),default:!1},decorators:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"]}),(0,P.default)("RestElement",{visitor:["argument","typeAnnotation"],aliases:["LVal"],fields:{argument:{validate:(0,T.assertNodeType)("LVal")},decorators:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Decorator")))}}}),(0,P.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,T.assertNodeType)("Expression"),optional:!0}}}),(0,P.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Expression")))}},aliases:["Expression"]}),(0,P.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,T.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("Statement")))}}}),(0,P.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,T.assertNodeType)("Expression")},cases:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("SwitchCase")))}}}),(0,P.default)("ThisExpression",{aliases:["Expression"]}),(0,P.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,T.assertNodeType)("Expression")}}}),(0,P.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{body:{validate:(0,T.assertNodeType)("BlockStatement")},handler:{optional:!0,handler:(0,T.assertNodeType)("BlockStatement")},finalizer:{optional:!0,validate:(0,T.assertNodeType)("BlockStatement")}}}),(0,P.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,T.assertNodeType)("Expression")},operator:{validate:T.assertOneOf.apply(void 0,C.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),(0,P.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:(0,T.assertNodeType)("Expression")},operator:{validate:T.assertOneOf.apply(void 0,C.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),(0,P.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{kind:{validate:(0,T.chain)((0,T.assertValueType)("string"),(0,T.assertOneOf)("var","let","const"))},declarations:{validate:(0,T.chain)((0,T.assertValueType)("array"),(0,T.assertEach)((0,T.assertNodeType)("VariableDeclarator")))}}}),(0,P.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:(0,T.assertNodeType)("LVal")},init:{optional:!0,validate:(0,T.assertNodeType)("Expression")}}}),(0,P.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,T.assertNodeType)("Expression")},body:{validate:(0,T.assertNodeType)("BlockStatement","Statement")}}}),(0,P.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{object:(0,T.assertNodeType)("Expression")},body:{validate:(0,T.assertNodeType)("BlockStatement","Statement")}}})},zJNz:function(o,h,E){"use strict";(function(x){h.__esModule=!0,h.default=function resolvePlugin(o){var h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.cwd();return(0,C.default)((0,T.default)(o),h)};var C=_interopRequireDefault(E("Vbzx")),T=_interopRequireDefault(E("yOFO"));function _interopRequireDefault(o){return o&&o.__esModule?o:{default:o}}o.exports=h.default}).call(this,E("8oxB"))},zLkG:function(o,h,E){h.f=E("UWiX")},zWvC:function(o,h,E){var x=E("/tHr");function MappingList(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(o,h){this._array.forEach(o,h)},MappingList.prototype.add=function MappingList_add(o){!function generatedPositionAfter(o,h){var E=o.generatedLine,C=h.generatedLine,T=o.generatedColumn,P=h.generatedColumn;return C>E||C==E&&P>=T||x.compareByGeneratedPositionsInflated(o,h)<=0}(this._last,o)?(this._sorted=!1,this._array.push(o)):(this._last=o,this._array.push(o))},MappingList.prototype.toArray=function MappingList_toArray(){return this._sorted||(this._array.sort(x.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},h.MappingList=MappingList},zZ0H:function(o,h){o.exports=function identity(o){return o}},zdiy:function(o,h,E){o.exports=E("qbnB")},zfKU:function(o,h,E){o.exports=E("YSYp")},zfnH:function(o,h,E){"use strict";h.__esModule=!0,h.default=function(){return{manipulateOptions:function manipulateOptions(o,h){h.plugins.push("dynamicImport")}}},o.exports=h.default},zn7N:function(o,h,E){var x=E("Y7ZC"),C=E("WEpk"),T=E("KUxP");o.exports=function(o,h){var E=(C.Object||{})[o]||Object[o],P={};P[o]=h(E),x(x.S+x.F*T((function(){E(1)})),"Object",P)}},zoYe:function(o,h,E){var x=E("nmnc"),C=E("eUgh"),T=E("Z0cm"),P=E("/9aa"),N=x?x.prototype:void 0,R=N?N.toString:void 0;o.exports=function baseToString(o){if("string"==typeof o)return o;if(T(o))return C(o,baseToString)+"";if(P(o))return R?R.call(o):"";var h=o+"";return"0"==h&&1/o==-1/0?"-0":h}}}]); } @@ -168,7 +2068,8 @@ for(c=0;cc;c++){var d=b[c].src;if(d&&0==d.indexOf(bd(!0)+"/analyt var lis = document.querySelector("#Toolbar > div:nth-child(2) > ul").children var dels = [] for (var i = 0; i < lis.length; i++) { - if (lis[i].children[0].value != 'prettier'){ + if (lis[i].children[0].value != 'babelv7' + &&lis[i].children[0].value != 'prettier'){ dels.push(lis[i]) } }