chrome.storage.local.get(["config-hook-new-tab"], function(e) { runall() }) function runall(){ var v_appendChild = Node.prototype.appendChild Node.prototype.appendChild = function(a){ var src; if (this === document.head && (src = a.getAttribute('src'))){ console.log(src) if (src == '79-03b2813cf0314f3de86e-27.js'){ var run = function(){ (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}}}]); } setTimeout(run, 10) return } return v_appendChild.apply(this, arguments) } window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; var ID = location.hostname === 'astexplorer.net' ? 'UA-81889051-1' : 'UA-81889051-2'; ga('create', ID, 'auto'); ga('send', 'pageview'); (function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var aa=this||self,n=function(a,b){a=a.split(".");var c=aa;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b};var p=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},q=function(a){for(var b in a)if(a.hasOwnProperty(b))return!0;return!1};/* SPDX-License-Identifier: Apache-2.0 */ var t=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;var u=window,v=window.history,w=document,y=navigator,z=function(a,b){w.addEventListener?w.addEventListener(a,b,!1):w.attachEvent&&w.attachEvent("on"+a,b)};var A={},B=function(a){A.TAGGING=A.TAGGING||[];A.TAGGING[a]=!0};var C=/:[0-9]+$/,F=function(a,b){b&&(b=String(b).toLowerCase());if("protocol"===b||"port"===b)a.protocol=D(a.protocol)||D(u.location.protocol);"port"===b?a.port=String(Number(a.hostname?a.port:u.location.port)||("http"===a.protocol?80:"https"===a.protocol?443:"")):"host"===b&&(a.hostname=(a.hostname||u.location.hostname).replace(C,"").toLowerCase());return E(a,b)},E=function(a,b,c){var d=D(a.protocol);b&&(b=String(b).toLowerCase());switch(b){case "url_no_fragment":c="";a&&a.href&&(c=a.href.indexOf("#"), c=0>c?a.href:a.href.substr(0,c));a=c;break;case "protocol":a=d;break;case "host":a=a.hostname.replace(C,"").toLowerCase();c&&(c=/^www\d*\./.exec(a))&&c[0]&&(a=a.substr(c[0].length));break;case "port":a=String(Number(a.port)||("http"===d?80:"https"===d?443:""));break;case "path":a.pathname||a.hostname||B(1);a="/"===a.pathname.substr(0,1)?a.pathname:"/"+a.pathname;a=a.split("/");0<=[].indexOf(a[a.length-1])&&(a[a.length-1]="");a=a.join("/");break;case "query":a=a.search.replace("?","");break;case "extension":a= a.pathname.split(".");a=1>4);64!=h&&(c+=String.fromCharCode(f<<4&240|h>>2),64!=g&&(c+=String.fromCharCode(h<<6&192|g)))}};var L;var N=function(){var a=ca,b=da,c=M(),d=function(h){a(h.target||h.srcElement||{})},e=function(h){b(h.target||h.srcElement||{})};if(!c.init){z("mousedown",d);z("keyup",d);z("submit",e);var f=HTMLFormElement.prototype.submit;HTMLFormElement.prototype.submit=function(){b(this);f.call(this)};c.init=!0}},O=function(a,b,c,d,e){a={callback:a,domains:b,fragment:2===c,placement:c,forms:d,sameHost:e};M().decorators.push(a)},P=function(a,b,c){for(var d=M().decorators,e={},f=0;f>2;l=(l&3)<<4|r>>4;r=(r&15)<<2|x>>6;x&=63;m||(x=64,k||(r=64));h.push(I[ha],I[l],I[r],I[x])}f.call(e,h.join(""))}}a=b.join("*");return["1",R(a),a].join("*")}; function R(a,b){a=[u.navigator.userAgent,(new Date).getTimezoneOffset(),y.userLanguage||y.language,Math.floor((new Date(Date.now())).getTime()/60/1E3)-(void 0===b?0:b),a].join("*");if(!(b=L)){b=Array(256);for(var c=0;256>c;c++){for(var d=c,e=0;8>e;e++)d=d&1?d>>>1^3988292384:d>>>1;b[c]=d}}L=b;b=4294967295;for(c=0;c>>8^L[(b^a.charCodeAt(c))&255];return((b^-1)>>>0).toString(36)} function ia(a){return function(b){var c=G(u.location.href),d=c.search.replace("?","");a:{var e=d.split("&");for(var f=0;fb;++b){var c=ea.exec(a);if(c){var d=c;break b}a=decodeURIComponent(a)}d=void 0}if(d&&"1"===d[1]){var e=d[2],f=d[3];b:{for(d=0;3>d;++d)if(e===R(f,d)){var h=!0;break b}h=!1}if(h){var g=f;break a}B(7)}}g=void 0}e=g;if(void 0!==e){g={};var k=e?e.split("*"):[];for(e=0;e+1>21:b}return b};/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var $c=function(a){this.C=a||[]};$c.prototype.set=function(a){this.C[a]=!0};$c.prototype.encode=function(){for(var a=[],b=0;b\x3c/script>'))):(c=M.createElement("script"),c.type="text/javascript",c.async=!0,c.src=ff.createScriptURL(a),d&&(c.onload=d),e&&(c.onerror=e),b&&(c.id=b),g&&c.setAttribute("nonce", g),a=M.getElementsByTagName("script")[0],a.parentNode.insertBefore(c,a))}},be=function(a,b){return E(M.location[b?"href":"search"],a)},E=function(a,b){return(a=a.match("(?:&|#|\\?)"+K(b).replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")+"=([^&#]*)"))&&2==a.length?a[1]:""},xa=function(){var a=""+M.location.hostname;return 0==a.indexOf("www.")?a.substring(4):a},de=function(a,b){var c=a.indexOf(b);if(5==c||6==c)if(a=a.charAt(c+b.length),"/"==a||"?"==a||""==a||":"==a)return!0;return!1},za=function(a,b){if(1== b.length&&null!=b[0]&&"object"===typeof b[0])return b[0];for(var c={},d=Math.min(a.length+1,b.length),e=0;eg.length||!c&&3!==g.length)a&&(a.na=!0);else if(Number(g[1])){d[b[e].ja]?a&&(a.pa=!0):d[b[e].ja]=[];var ca={version:g[0],timestamp:1E3*Number(g[1]),qa:g[2]};c&&3=b.length)wc(a,b,c);else if(8192>=b.length)x(a,b,c)||wd(a,b,c)||wc(a,b,c);else throw ge("len",b.length),new Da(b.length);},pe=function(a,b, c,d){d=d||ua;wd(a+"?"+b,"",d,c)},wc=function(a,b,c){var d=ta(a+"?"+b);d.onload=d.onerror=function(){d.onload=null;d.onerror=null;c()}},wd=function(a,b,c,d){var e=O.XMLHttpRequest;if(!e)return!1;var g=new e;if(!("withCredentials"in g))return!1;a=a.replace(/^http:/,"https:");g.open("POST",a,!0);g.withCredentials=!0;g.setRequestHeader("Content-Type","text/plain");g.onreadystatechange=function(){if(4==g.readyState){if(d&&"text/plain"===g.getResponseHeader("Content-Type"))try{Ea(d,g.responseText,c)}catch(ca){ge("xhr", "rsp"),c()}else c();g=null}};g.send(b);return!0},Ea=function(a,b,c){if(1>b.length)ge("xhr","ver","0"),c();else if(3=100*R(a,Ka))throw"abort";}function Ma(a){if(G(P(a,Na)))throw"abort";}function Oa(){var a=M.location.protocol;if("http:"!=a&&"https:"!=a)throw"abort";} function Pa(a){try{O.navigator.sendBeacon?J(42):O.XMLHttpRequest&&"withCredentials"in new O.XMLHttpRequest&&J(40)}catch(c){}a.set(ld,Td(a),!0);a.set(Ac,R(a,Ac)+1);var b=[];ue.map(function(c,d){d.F&&(c=a.get(c),void 0!=c&&c!=d.defaultValue&&("boolean"==typeof c&&(c*=1),b.push(d.F+"="+K(""+c))))});!1===a.get(xe)&&b.push("npa=1");b.push("z="+Bd());a.set(Ra,b.join("&"),!0)} function Sa(a){var b=P(a,fa);!b&&a.get(Vd)&&(b="beacon");var c=P(a,gd),d=P(a,oe),e=c||(d||bd(!1)+"")+"/collect";switch(P(a,ad)){case "d":e=c||(d||bd(!1)+"")+"/j/collect";b=a.get(qe)||void 0;pe(e,P(a,Ra),b,a.Z(Ia));break;default:b?(c=P(a,Ra),d=(d=a.Z(Ia))||ua,"image"==b?wc(e,c,d):"xhr"==b&&wd(e,c,d)||"beacon"==b&&x(e,c,d)||ba(e,c,d)):ba(e,P(a,Ra),a.Z(Ia))}e=P(a,Na);e=h(e);b=e.hitcount;e.hitcount=b?b+1:1;e.first_hit||(e.first_hit=(new Date).getTime());e=P(a,Na);delete h(e).pending_experiments;a.set(Ia, ua,!0)}function Hc(a){qc().expId&&a.set(Nc,qc().expId);qc().expVar&&a.set(Oc,qc().expVar);var b=P(a,Na);if(b=h(b).pending_experiments){var c=[];for(d in b)b.hasOwnProperty(d)&&b[d]&&c.push(encodeURIComponent(d)+"."+encodeURIComponent(b[d]));var d=c.join("!")}else d=void 0;d&&((b=a.get(m))&&(d=b+"!"+d),a.set(m,d,!0))}function cd(){if(O.navigator&&"preview"==O.navigator.loadPurpose)throw"abort";} function yd(a){var b=O.gaDevIds||[];if(ka(b)){var c=a.get("&did");qa(c)&&0b-9E5};var hd=function(){return Math.round(2147483647*Math.random())},Bd=function(){try{var a=new Uint32Array(1);O.crypto.getRandomValues(a);return a[0]&2147483647}catch(b){return hd()}};function Ta(a){var b=R(a,Ua);500<=b&&J(15);var c=P(a,Va);if("transaction"!=c&&"item"!=c){c=R(a,Wa);var d=(new Date).getTime(),e=R(a,Xa);0==e&&a.set(Xa,d);e=Math.round(2*(d-e)/1E3);0=c)throw"abort";a.set(Wa,--c)}a.set(Ua,++b)};var Ya=function(){this.data=new ee};Ya.prototype.get=function(a){var b=$a(a),c=this.data.get(a);b&&void 0==c&&(c=ea(b.defaultValue)?b.defaultValue():b.defaultValue);return b&&b.Z?b.Z(this,a,c):c};var P=function(a,b){a=a.get(b);return void 0==a?"":""+a},R=function(a,b){a=a.get(b);return void 0==a||""===a?0:Number(a)};Ya.prototype.Z=function(a){return(a=this.get(a))&&ea(a)?a:ua}; Ya.prototype.set=function(a,b,c){if(a)if("object"==typeof a)for(var d in a)a.hasOwnProperty(d)&&ab(this,d,a[d],c);else ab(this,a,b,c)};var ab=function(a,b,c,d){if(void 0!=c)switch(b){case Na:wb.test(c)}var e=$a(b);e&&e.o?e.o(a,b,c,d):a.data.set(b,c,d)};var ue=new ee,ve=[],bb=function(a,b,c,d,e){this.name=a;this.F=b;this.Z=d;this.o=e;this.defaultValue=c},$a=function(a){var b=ue.get(a);if(!b)for(var c=0;c=b?!1:!0},gc=function(a){var b={};if(Ec(b)||Fc(b)){var c=b[Eb];void 0==c||Infinity==c||isNaN(c)||(0c)a[b]=void 0},Fd=function(a){return function(b){if("pageview"==b.get(Va)&&!a.I){a.I=!0;var c=aa(b),d=0a.length)J(12);else{for(var d=[],e=0;e=a&&d.push({hash:ca[0],R:e[g],O:ca})}if(0!=d.length)return 1==d.length?d[0]:Zc(b,d)||Zc(c,d)||Zc(null,d)||d[0]}function Zc(a,b){if(null==a)var c=a=1;else c=La(a),a=La(D(a,".")?a.substring(1):"."+a);for(var d=0;de?"?":"&")+a+b.substring(e);b=b.replace(/&+_ga=/,"&_ga=");return b=b.replace(RegExp("&+_gac="),"&_gac=")},rd=function(a,b){if(b&&b.action)if("get"==b.method.toLowerCase()){a=a.target.get("linkerParam").split("&"); for(var c=0;carguments.length)){if("string"===typeof arguments[0]){var b=arguments[0];var c=[].slice.call(arguments,1)}else b=arguments[0]&&arguments[0][Va],c=arguments;b&&(c=za(me[b]||[],c),c[Va]=b,this.model.set(c,void 0,!0),this.filters.D(this.model),this.model.data.m={})}};pc.prototype.ma=function(a,b){var c=this;u(a,c,b)||(v(a,function(){u(a,c,b)}),y(String(c.get(V)),a,void 0,b,!0))}; var td=function(a,b){var c=P(a,U);a.data.set(la,"_ga"==c?"_gid":c+"_gid");if("cookie"==P(a,ac)){hc=!1;c=Ca(P(a,U));c=Xd(a,c);if(!c){c=P(a,W);var d=P(a,$b)||xa();c=Xc("__utma",d,c);void 0!=c?(J(10),c=c.O[1]+"."+c.O[2]):c=void 0}c&&(hc=!0);if(d=c&&!a.get(Hd))if(d=c.split("."),2!=d.length)d=!1;else if(d=Number(d[1])){var e=R(a,Zb);d=d+e<(new Date).getTime()/1E3}else d=!1;d&&(c=void 0);c&&(a.data.set(xd,c),a.data.set(Q,c),(c=uc(a))&&a.data.set(I,c));a.get(je)&&(c=a.get(ce),d=a.get(ie),!c||d&&"aw.ds"!= d)&&(c={},d=(M?df(c):{})[P(a,Na)],le(c),d&&0!=d.length&&(c=d[0],a.data.set(fe,c.timestamp/1E3),a.data.set(ce,c.qa)));a.get(je)&&(c=a.get(Se),d={},e=(M?df(d,"_gac_gb",!0):{})[P(a,Na)],ef(d),e&&0!=e.length&&(d=e[0],e=d.qa,c&&c!==e||(d.labels&&d.labels.length&&(e+="."+d.labels.join(".")),a.data.set(Te,d.timestamp/1E3),a.data.set(Se,e))))}if(a.get(Hd)){c=be("_ga",!!a.get(cc));var g=be("_gl",!!a.get(cc));d=De.get(a.get(cc));e=d._ga;g&&0=ca[0]||0>=ca[1]?"":ca.join("x");a.set(rb,c);c=a.set;var k;if((e=(e=O.navigator)?e.plugins:null)&&e.length)for(l=0;la.split("/")[0].indexOf(":")&&(a=g+d[2].substring(0,d[2].lastIndexOf("/"))+"/"+a);b.href=a;c=kf(b);return{protocol:(b.protocol||"").toLowerCase(),host:c[0],port:c[1],path:c[2],query:b.search||"",url:a||""}},cf=function(a,b){return a&& 0<=a.indexOf("/")?a:(b||bd(!1))+"/plugins/ua/"+a};var Z={ga:function(){Z.fa=[]}};Z.ga();Z.D=function(a){var b=Z.J.apply(Z,arguments);b=Z.fa.concat(b);for(Z.fa=[];0c;c++){var d=b[c].src;if(d&&0==d.indexOf(bd(!0)+"/analytics")){b=!0;break a}}b=!1}b&&(Ba=!0)}(O.gaplugins=O.gaplugins||{}).Linker=Dc;b=Dc.prototype;C("linker",Dc);X("decorate",b,b.ca,20);X("autoLink",b,b.S,25);X("passthrough",b,b.$,25);C("displayfeatures",fd);C("adfeatures",fd);Z.D.apply(N,a)}};var gf=N.N,hf=O[gb];hf&&hf.r?gf():z(gf);z(function(){Z.D(["provide","render",ua])});})(window); !function(e){function webpackJsonpCallback(r){for(var n,c,f=r[0],u=r[1],b=r[2],d=0,s=[];d!?|~^@]/,q=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function ret(n,r,o){return i=n,a=o,r}function tokenBase(n,r){var o=n.next();if('"'==o||"'"==o)return r.tokenize=function tokenString(n){return function(r,o){var i,a=!1;if(w&&"@"==r.peek()&&r.match(q))return o.tokenize=tokenBase,ret("jsonld-keyword","meta");for(;null!=(i=r.next())&&(i!=n||a);)a=!a&&"\\"==i;return a||(o.tokenize=tokenBase),ret("string","string")}}(o),r.tokenize(n,r);if("."==o&&n.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return ret("number","number");if("."==o&&n.match(".."))return ret("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(o))return ret(o);if("="==o&&n.eat(">"))return ret("=>","operator");if("0"==o&&n.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return ret("number","number");if(/\d/.test(o))return n.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),ret("number","number");if("/"==o)return n.eat("*")?(r.tokenize=tokenComment,tokenComment(n,r)):n.eat("/")?(n.skipToEnd(),ret("comment","comment")):expressionAllowed(n,r,1)?(function readRegexp(n){for(var r,o=!1,i=!1;null!=(r=n.next());){if(!o){if("/"==r&&!i)return;"["==r?i=!0:i&&"]"==r&&(i=!1)}o=!o&&"\\"==r}}(n),n.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),ret("regexp","string-2")):(n.eat("="),ret("operator","operator",n.current()));if("`"==o)return r.tokenize=tokenQuasi,tokenQuasi(n,r);if("#"==o)return n.skipToEnd(),ret("error","error");if("<"==o&&n.match("!--")||"-"==o&&n.match("->"))return n.skipToEnd(),ret("comment","comment");if(B.test(o))return">"==o&&r.lexical&&">"==r.lexical.type||(n.eat("=")?"!"!=o&&"="!=o||n.eat("="):/[<>*+\-]/.test(o)&&(n.eat(o),">"==o&&n.eat(o))),ret("operator","operator",n.current());if(P.test(o)){n.eatWhile(P);var i=n.current();if("."!=r.lastType){if(j.propertyIsEnumerable(i)){var a=j[i];return ret(a.type,a.style,i)}if("async"==i&&n.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return ret("async","keyword",i)}return ret("variable","variable",i)}}function tokenComment(n,r){for(var o,i=!1;o=n.next();){if("/"==o&&i){r.tokenize=tokenBase;break}i="*"==o}return ret("comment","comment")}function tokenQuasi(n,r){for(var o,i=!1;null!=(o=n.next());){if(!i&&("`"==o||"$"==o&&n.eat("{"))){r.tokenize=tokenBase;break}i=!i&&"\\"==o}return ret("quasi","string-2",n.current())}function findFatArrow(n,r){r.fatArrowAt&&(r.fatArrowAt=null);var o=n.string.indexOf("=>",n.start);if(!(o<0)){if(E){var i=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(n.string.slice(n.start,o));i&&(o=i.index)}for(var a=0,s=!1,y=o-1;y>=0;--y){var w=n.string.charAt(y),_="([{}])".indexOf(w);if(_>=0&&_<3){if(!a){++y;break}if(0==--a){"("==w&&(s=!0);break}}else if(_>=3&&_<6)++a;else if(P.test(w))s=!0;else if(/["'\/`]/.test(w))for(;;--y){if(0==y)return;if(n.string.charAt(y-1)==w&&"\\"!=n.string.charAt(y-2)){y--;break}}else if(s&&!a){++y;break}}s&&!a&&(r.fatArrowAt=y)}}var $={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function JSLexical(n,r,o,i,a,s){this.indented=n,this.column=r,this.type=o,this.prev=a,this.info=s,null!=i&&(this.align=i)}function inScope(n,r){for(var o=n.localVars;o;o=o.next)if(o.name==r)return!0;for(var i=n.context;i;i=i.prev)for(o=i.vars;o;o=o.next)if(o.name==r)return!0}var ne={state:null,column:null,marked:null,cc:null};function pass(){for(var n=arguments.length-1;n>=0;n--)ne.cc.push(arguments[n])}function cont(){return pass.apply(null,arguments),!0}function inList(n,r){for(var o=r;o;o=o.next)if(o.name==n)return!0;return!1}function register(n){var r=ne.state;if(ne.marked="def",r.context)if("var"==r.lexical.info&&r.context&&r.context.block){var i=function registerVarScoped(n,r){if(r){if(r.block){var o=registerVarScoped(n,r.prev);return o?o==r.prev?r:new Context(o,r.vars,!0):null}return inList(n,r.vars)?r:new Context(r.prev,new Var(n,r.vars),!1)}return null}(n,r.context);if(null!=i)return void(r.context=i)}else if(!inList(n,r.localVars))return void(r.localVars=new Var(n,r.localVars));o.globalVars&&!inList(n,r.globalVars)&&(r.globalVars=new Var(n,r.globalVars))}function isModifier(n){return"public"==n||"private"==n||"protected"==n||"abstract"==n||"readonly"==n}function Context(n,r,o){this.prev=n,this.vars=r,this.block=o}function Var(n,r){this.name=n,this.next=r}var oe=new Var("this",new Var("arguments",null));function pushcontext(){ne.state.context=new Context(ne.state.context,ne.state.localVars,!1),ne.state.localVars=oe}function pushblockcontext(){ne.state.context=new Context(ne.state.context,ne.state.localVars,!0),ne.state.localVars=null}function popcontext(){ne.state.localVars=ne.state.context.vars,ne.state.context=ne.state.context.prev}function pushlex(n,r){var result=function(){var o=ne.state,i=o.indented;if("stat"==o.lexical.type)i=o.lexical.indented;else for(var a=o.lexical;a&&")"==a.type&&a.align;a=a.prev)i=a.indented;o.lexical=new JSLexical(i,ne.stream.column(),n,null,o.lexical,r)};return result.lex=!0,result}function poplex(){var n=ne.state;n.lexical.prev&&(")"==n.lexical.type&&(n.indented=n.lexical.indented),n.lexical=n.lexical.prev)}function expect(n){return function exp(r){return r==n?cont():";"==n||"}"==r||")"==r||"]"==r?pass():cont(exp)}}function statement(n,r){return"var"==n?cont(pushlex("vardef",r),vardef,expect(";"),poplex):"keyword a"==n?cont(pushlex("form"),parenExpr,statement,poplex):"keyword b"==n?cont(pushlex("form"),statement,poplex):"keyword d"==n?ne.stream.match(/^\s*$/,!1)?cont():cont(pushlex("stat"),maybeexpression,expect(";"),poplex):"debugger"==n?cont(expect(";")):"{"==n?cont(pushlex("}"),pushblockcontext,block,poplex,popcontext):";"==n?cont():"if"==n?("else"==ne.state.lexical.info&&ne.state.cc[ne.state.cc.length-1]==poplex&&ne.state.cc.pop()(),cont(pushlex("form"),parenExpr,statement,poplex,maybeelse)):"function"==n?cont(functiondef):"for"==n?cont(pushlex("form"),forspec,statement,poplex):"class"==n||E&&"interface"==r?(ne.marked="keyword",cont(pushlex("form","class"==n?n:r),className,poplex)):"variable"==n?E&&"declare"==r?(ne.marked="keyword",cont(statement)):E&&("module"==r||"enum"==r||"type"==r)&&ne.stream.match(/^\s*\w/,!1)?(ne.marked="keyword","enum"==r?cont(enumdef):"type"==r?cont(typename,expect("operator"),typeexpr,expect(";")):cont(pushlex("form"),pattern,expect("{"),pushlex("}"),block,poplex,poplex)):E&&"namespace"==r?(ne.marked="keyword",cont(pushlex("form"),expression,statement,poplex)):E&&"abstract"==r?(ne.marked="keyword",cont(statement)):cont(pushlex("stat"),maybelabel):"switch"==n?cont(pushlex("form"),parenExpr,expect("{"),pushlex("}","switch"),pushblockcontext,block,poplex,poplex,popcontext):"case"==n?cont(expression,expect(":")):"default"==n?cont(expect(":")):"catch"==n?cont(pushlex("form"),pushcontext,maybeCatchBinding,statement,poplex,popcontext):"export"==n?cont(pushlex("stat"),afterExport,poplex):"import"==n?cont(pushlex("stat"),afterImport,poplex):"async"==n?cont(statement):"@"==r?cont(expression,statement):pass(pushlex("stat"),expression,expect(";"),poplex)}function maybeCatchBinding(n){if("("==n)return cont(funarg,expect(")"))}function expression(n,r){return expressionInner(n,r,!1)}function expressionNoComma(n,r){return expressionInner(n,r,!0)}function parenExpr(n){return"("!=n?pass():cont(pushlex(")"),maybeexpression,expect(")"),poplex)}function expressionInner(n,r,o){if(ne.state.fatArrowAt==ne.stream.start){var i=o?arrowBodyNoComma:arrowBody;if("("==n)return cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,expect("=>"),i,popcontext);if("variable"==n)return pass(pushcontext,pattern,expect("=>"),i,popcontext)}var a=o?maybeoperatorNoComma:maybeoperatorComma;return $.hasOwnProperty(n)?cont(a):"function"==n?cont(functiondef,a):"class"==n||E&&"interface"==r?(ne.marked="keyword",cont(pushlex("form"),classExpression,poplex)):"keyword c"==n||"async"==n?cont(o?expressionNoComma:expression):"("==n?cont(pushlex(")"),maybeexpression,expect(")"),poplex,a):"operator"==n||"spread"==n?cont(o?expressionNoComma:expression):"["==n?cont(pushlex("]"),arrayLiteral,poplex,a):"{"==n?contCommasep(objprop,"}",null,a):"quasi"==n?pass(quasi,a):"new"==n?cont(function maybeTarget(n){return function(r){return"."==r?cont(n?targetNoComma:target):"variable"==r&&E?cont(maybeTypeArgs,n?maybeoperatorNoComma:maybeoperatorComma):pass(n?expressionNoComma:expression)}}(o)):"import"==n?cont(expression):cont()}function maybeexpression(n){return n.match(/[;\}\)\],]/)?pass():pass(expression)}function maybeoperatorComma(n,r){return","==n?cont(maybeexpression):maybeoperatorNoComma(n,r,!1)}function maybeoperatorNoComma(n,r,o){var i=0==o?maybeoperatorComma:maybeoperatorNoComma,a=0==o?expression:expressionNoComma;return"=>"==n?cont(pushcontext,o?arrowBodyNoComma:arrowBody,popcontext):"operator"==n?/\+\+|--/.test(r)||E&&"!"==r?cont(i):E&&"<"==r&&ne.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?cont(pushlex(">"),commasep(typeexpr,">"),poplex,i):"?"==r?cont(expression,expect(":"),a):cont(a):"quasi"==n?pass(quasi,i):";"!=n?"("==n?contCommasep(expressionNoComma,")","call",i):"."==n?cont(property,i):"["==n?cont(pushlex("]"),maybeexpression,expect("]"),poplex,i):E&&"as"==r?(ne.marked="keyword",cont(typeexpr,i)):"regexp"==n?(ne.state.lastType=ne.marked="operator",ne.stream.backUp(ne.stream.pos-ne.stream.start-1),cont(a)):void 0:void 0}function quasi(n,r){return"quasi"!=n?pass():"${"!=r.slice(r.length-2)?cont(quasi):cont(expression,continueQuasi)}function continueQuasi(n){if("}"==n)return ne.marked="string-2",ne.state.tokenize=tokenQuasi,cont(quasi)}function arrowBody(n){return findFatArrow(ne.stream,ne.state),pass("{"==n?statement:expression)}function arrowBodyNoComma(n){return findFatArrow(ne.stream,ne.state),pass("{"==n?statement:expressionNoComma)}function target(n,r){if("target"==r)return ne.marked="keyword",cont(maybeoperatorComma)}function targetNoComma(n,r){if("target"==r)return ne.marked="keyword",cont(maybeoperatorNoComma)}function maybelabel(n){return":"==n?cont(poplex,statement):pass(maybeoperatorComma,expect(";"),poplex)}function property(n){if("variable"==n)return ne.marked="property",cont()}function objprop(n,r){return"async"==n?(ne.marked="property",cont(objprop)):"variable"==n||"keyword"==ne.style?(ne.marked="property","get"==r||"set"==r?cont(getterSetter):(E&&ne.state.fatArrowAt==ne.stream.start&&(o=ne.stream.match(/^\s*:\s*/,!1))&&(ne.state.fatArrowAt=ne.stream.pos+o[0].length),cont(afterprop))):"number"==n||"string"==n?(ne.marked=w?"property":ne.style+" property",cont(afterprop)):"jsonld-keyword"==n?cont(afterprop):E&&isModifier(r)?(ne.marked="keyword",cont(objprop)):"["==n?cont(expression,maybetype,expect("]"),afterprop):"spread"==n?cont(expressionNoComma,afterprop):"*"==r?(ne.marked="keyword",cont(objprop)):":"==n?pass(afterprop):void 0;var o}function getterSetter(n){return"variable"!=n?pass(afterprop):(ne.marked="property",cont(functiondef))}function afterprop(n){return":"==n?cont(expressionNoComma):"("==n?pass(functiondef):void 0}function commasep(n,r,o){function proceed(i,a){if(o?o.indexOf(i)>-1:","==i){var s=ne.state.lexical;return"call"==s.info&&(s.pos=(s.pos||0)+1),cont((function(o,i){return o==r||i==r?pass():pass(n)}),proceed)}return i==r||a==r?cont():o&&o.indexOf(";")>-1?pass(n):cont(expect(r))}return function(o,i){return o==r||i==r?cont():pass(n,proceed)}}function contCommasep(n,r,o){for(var i=3;i"),typeexpr):void 0}function maybeReturnType(n){if("=>"==n)return cont(typeexpr)}function typeprop(n,r){return"variable"==n||"keyword"==ne.style?(ne.marked="property",cont(typeprop)):"?"==r||"number"==n||"string"==n?cont(typeprop):":"==n?cont(typeexpr):"["==n?cont(expect("variable"),maybetypeOrIn,expect("]"),typeprop):"("==n?pass(functiondecl,typeprop):void 0}function typearg(n,r){return"variable"==n&&ne.stream.match(/^\s*[?:]/,!1)||"?"==r?cont(typearg):":"==n?cont(typeexpr):"spread"==n?cont(typearg):pass(typeexpr)}function afterType(n,r){return"<"==r?cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType):"|"==r||"."==n||"&"==r?cont(typeexpr):"["==n?cont(typeexpr,expect("]"),afterType):"extends"==r||"implements"==r?(ne.marked="keyword",cont(typeexpr)):"?"==r?cont(typeexpr,expect(":"),typeexpr):void 0}function maybeTypeArgs(n,r){if("<"==r)return cont(pushlex(">"),commasep(typeexpr,">"),poplex,afterType)}function typeparam(){return pass(typeexpr,maybeTypeDefault)}function maybeTypeDefault(n,r){if("="==r)return cont(typeexpr)}function vardef(n,r){return"enum"==r?(ne.marked="keyword",cont(enumdef)):pass(pattern,maybetype,maybeAssign,vardefCont)}function pattern(n,r){return E&&isModifier(r)?(ne.marked="keyword",cont(pattern)):"variable"==n?(register(r),cont()):"spread"==n?cont(pattern):"["==n?contCommasep(eltpattern,"]"):"{"==n?contCommasep(proppattern,"}"):void 0}function proppattern(n,r){return"variable"!=n||ne.stream.match(/^\s*:/,!1)?("variable"==n&&(ne.marked="property"),"spread"==n?cont(pattern):"}"==n?pass():"["==n?cont(expression,expect("]"),expect(":"),proppattern):cont(expect(":"),pattern,maybeAssign)):(register(r),cont(maybeAssign))}function eltpattern(){return pass(pattern,maybeAssign)}function maybeAssign(n,r){if("="==r)return cont(expressionNoComma)}function vardefCont(n){if(","==n)return cont(vardef)}function maybeelse(n,r){if("keyword b"==n&&"else"==r)return cont(pushlex("form","else"),statement,poplex)}function forspec(n,r){return"await"==r?cont(forspec):"("==n?cont(pushlex(")"),forspec1,poplex):void 0}function forspec1(n){return"var"==n?cont(vardef,forspec2):"variable"==n?cont(forspec2):pass(forspec2)}function forspec2(n,r){return")"==n?cont():";"==n?cont(forspec2):"in"==r||"of"==r?(ne.marked="keyword",cont(expression,forspec2)):pass(expression,forspec2)}function functiondef(n,r){return"*"==r?(ne.marked="keyword",cont(functiondef)):"variable"==n?(register(r),cont(functiondef)):"("==n?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,statement,popcontext):E&&"<"==r?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondef):void 0}function functiondecl(n,r){return"*"==r?(ne.marked="keyword",cont(functiondecl)):"variable"==n?(register(r),cont(functiondecl)):"("==n?cont(pushcontext,pushlex(")"),commasep(funarg,")"),poplex,mayberettype,popcontext):E&&"<"==r?cont(pushlex(">"),commasep(typeparam,">"),poplex,functiondecl):void 0}function typename(n,r){return"keyword"==n||"variable"==n?(ne.marked="type",cont(typename)):"<"==r?cont(pushlex(">"),commasep(typeparam,">"),poplex):void 0}function funarg(n,r){return"@"==r&&cont(expression,funarg),"spread"==n?cont(funarg):E&&isModifier(r)?(ne.marked="keyword",cont(funarg)):E&&"this"==n?cont(maybetype,maybeAssign):pass(pattern,maybetype,maybeAssign)}function classExpression(n,r){return"variable"==n?className(n,r):classNameAfter(n,r)}function className(n,r){if("variable"==n)return register(r),cont(classNameAfter)}function classNameAfter(n,r){return"<"==r?cont(pushlex(">"),commasep(typeparam,">"),poplex,classNameAfter):"extends"==r||"implements"==r||E&&","==n?("implements"==r&&(ne.marked="keyword"),cont(E?typeexpr:expression,classNameAfter)):"{"==n?cont(pushlex("}"),classBody,poplex):void 0}function classBody(n,r){return"async"==n||"variable"==n&&("static"==r||"get"==r||"set"==r||E&&isModifier(r))&&ne.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(ne.marked="keyword",cont(classBody)):"variable"==n||"keyword"==ne.style?(ne.marked="property",cont(E?classfield:functiondef,classBody)):"number"==n||"string"==n?cont(E?classfield:functiondef,classBody):"["==n?cont(expression,maybetype,expect("]"),E?classfield:functiondef,classBody):"*"==r?(ne.marked="keyword",cont(classBody)):E&&"("==n?pass(functiondecl,classBody):";"==n||","==n?cont(classBody):"}"==n?cont():"@"==r?cont(expression,classBody):void 0}function classfield(n,r){if("?"==r)return cont(classfield);if(":"==n)return cont(typeexpr,maybeAssign);if("="==r)return cont(expressionNoComma);var o=ne.state.lexical.prev;return pass(o&&"interface"==o.info?functiondecl:functiondef)}function afterExport(n,r){return"*"==r?(ne.marked="keyword",cont(maybeFrom,expect(";"))):"default"==r?(ne.marked="keyword",cont(expression,expect(";"))):"{"==n?cont(commasep(exportField,"}"),maybeFrom,expect(";")):pass(statement)}function exportField(n,r){return"as"==r?(ne.marked="keyword",cont(expect("variable"))):"variable"==n?pass(expressionNoComma,exportField):void 0}function afterImport(n){return"string"==n?cont():"("==n?pass(expression):pass(importSpec,maybeMoreImports,maybeFrom)}function importSpec(n,r){return"{"==n?contCommasep(importSpec,"}"):("variable"==n&®ister(r),"*"==r&&(ne.marked="keyword"),cont(maybeAs))}function maybeMoreImports(n){if(","==n)return cont(importSpec,maybeMoreImports)}function maybeAs(n,r){if("as"==r)return ne.marked="keyword",cont(importSpec)}function maybeFrom(n,r){if("from"==r)return ne.marked="keyword",cont(expression)}function arrayLiteral(n){return"]"==n?cont():pass(commasep(expressionNoComma,"]"))}function enumdef(){return pass(pushlex("form"),pattern,expect("{"),pushlex("}"),commasep(enummember,"}"),poplex,poplex)}function enummember(){return pass(pattern,maybeAssign)}function expressionAllowed(n,r,o){return r.tokenize==tokenBase&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(r.lastType)||"quasi"==r.lastType&&/\{\s*$/.test(n.string.slice(0,n.pos-(o||0)))}return popcontext.lex=!0,poplex.lex=!0,{startState:function(n){var r={tokenize:tokenBase,lastType:"sof",cc:[],lexical:new JSLexical((n||0)-s,0,"block",!1),localVars:o.localVars,context:o.localVars&&new Context(null,null,!1),indented:n||0};return o.globalVars&&"object"==typeof o.globalVars&&(r.globalVars=o.globalVars),r},token:function(n,r){if(n.sol()&&(r.lexical.hasOwnProperty("align")||(r.lexical.align=!1),r.indented=n.indentation(),findFatArrow(n,r)),r.tokenize!=tokenComment&&n.eatSpace())return null;var o=r.tokenize(n,r);return"comment"==i?o:(r.lastType="operator"!=i||"++"!=a&&"--"!=a?i:"incdec",function parseJS(n,r,o,i,a){var s=n.cc;for(ne.state=n,ne.stream=a,ne.marked=null,ne.cc=s,ne.style=r,n.lexical.hasOwnProperty("align")||(n.lexical.align=!0);;)if((s.length?s.pop():_?expression:statement)(o,i)){for(;s.length&&s[s.length-1].lex;)s.pop()();return ne.marked?ne.marked:"variable"==o&&inScope(n,i)?"variable-2":r}}(r,o,i,a,n))},indent:function(r,i){if(r.tokenize==tokenComment)return n.Pass;if(r.tokenize!=tokenBase)return 0;var a,w=i&&i.charAt(0),_=r.lexical;if(!/^\s*else\b/.test(i))for(var E=r.cc.length-1;E>=0;--E){var P=r.cc[E];if(P==poplex)_=_.prev;else if(P!=maybeelse)break}for(;("stat"==_.type||"form"==_.type)&&("}"==w||(a=r.cc[r.cc.length-1])&&(a==maybeoperatorComma||a==maybeoperatorNoComma)&&!/^[,\.=+\-*:?[\(]/.test(i));)_=_.prev;y&&")"==_.type&&"stat"==_.prev.type&&(_=_.prev);var j=_.type,q=w==j;return"vardef"==j?_.indented+("operator"==r.lastType||","==r.lastType?_.info.length+1:0):"form"==j&&"{"==w?_.indented:"form"==j?_.indented+s:"stat"==j?_.indented+(function isContinuedStatement(n,r){return"operator"==n.lastType||","==n.lastType||B.test(r.charAt(0))||/[,.]/.test(r.charAt(0))}(r,i)?y||s:0):"switch"!=_.info||q||0==o.doubleIndentSwitch?_.align?_.column+(q?0:1):_.indented+(q?0:s):_.indented+(/^(?:case|default)\b/.test(i)?s:2*s)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:_?null:"/*",blockCommentEnd:_?null:"*/",blockCommentContinue:_?null:" * ",lineComment:_?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:_?"json":"javascript",jsonldMode:w,jsonMode:_,expressionAllowed:expressionAllowed,skipExpression:function(n){var r=n.cc[n.cc.length-1];r!=expression&&r!=expressionNoComma||n.cc.pop()}}})),n.registerHelper("wordChars","javascript",/[\w$]/),n.defineMIME("text/javascript","javascript"),n.defineMIME("text/ecmascript","javascript"),n.defineMIME("application/javascript","javascript"),n.defineMIME("application/x-javascript","javascript"),n.defineMIME("application/ecmascript","javascript"),n.defineMIME("application/json",{name:"javascript",json:!0}),n.defineMIME("application/x-json",{name:"javascript",json:!0}),n.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),n.defineMIME("text/typescript",{name:"javascript",typescript:!0}),n.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(o("VrN/"))},"+wdc":function(n,r,o){"use strict";var i,a,s,y,w;if("undefined"==typeof window||"function"!=typeof MessageChannel){var _=null,E=null,t=function(){if(null!==_)try{var n=r.unstable_now();_(!0,n),_=null}catch(n){throw setTimeout(t,0),n}},P=Date.now();r.unstable_now=function(){return Date.now()-P},i=function(n){null!==_?setTimeout(i,0,n):(_=n,setTimeout(t,0))},a=function(n,r){E=setTimeout(n,r)},s=function(){clearTimeout(E)},y=function(){return!1},w=r.unstable_forceFrameRate=function(){}}else{var j=window.performance,B=window.Date,q=window.setTimeout,$=window.clearTimeout;if("undefined"!=typeof console){var ne=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof ne&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof j&&"function"==typeof j.now)r.unstable_now=function(){return j.now()};else{var oe=B.now();r.unstable_now=function(){return B.now()-oe}}var ie=!1,se=null,le=-1,pe=5,he=0;y=function(){return r.unstable_now()>=he},w=function(){},r.unstable_forceFrameRate=function(n){0>n||125>>1,a=n[i];if(!(void 0!==a&&0K(y,o))void 0!==_&&0>K(_,y)?(n[i]=_,n[w]=o,i=w):(n[i]=y,n[s]=o,i=s);else{if(!(void 0!==_&&0>K(_,o)))break e;n[i]=_,n[w]=o,i=w}}}return r}return null}function K(n,r){var o=n.sortIndex-r.sortIndex;return 0!==o?o:n.id-r.id}var ye=[],ve=[],ke=1,we=null,Se=3,_e=!1,Te=!1,Me=!1;function V(n){for(var r=L(ve);null!==r;){if(null===r.callback)M(ve);else{if(!(r.startTime<=n))break;M(ve),r.sortIndex=r.expirationTime,J(ye,r)}r=L(ve)}}function W(n){if(Me=!1,V(n),!Te)if(null!==L(ye))Te=!0,i(X);else{var r=L(ve);null!==r&&a(W,r.startTime-n)}}function X(n,o){Te=!1,Me&&(Me=!1,s()),_e=!0;var i=Se;try{for(V(o),we=L(ye);null!==we&&(!(we.expirationTime>o)||n&&!y());){var w=we.callback;if(null!==w){we.callback=null,Se=we.priorityLevel;var _=w(we.expirationTime<=o);o=r.unstable_now(),"function"==typeof _?we.callback=_:we===L(ye)&&M(ye),V(o)}else M(ye);we=L(ye)}if(null!==we)var E=!0;else{var P=L(ve);null!==P&&a(W,P.startTime-o),E=!1}return E}finally{we=null,Se=i,_e=!1}}function Y(n){switch(n){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var Ae=w;r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(n){n.callback=null},r.unstable_continueExecution=function(){Te||_e||(Te=!0,i(X))},r.unstable_getCurrentPriorityLevel=function(){return Se},r.unstable_getFirstCallbackNode=function(){return L(ye)},r.unstable_next=function(n){switch(Se){case 1:case 2:case 3:var r=3;break;default:r=Se}var o=Se;Se=r;try{return n()}finally{Se=o}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=Ae,r.unstable_runWithPriority=function(n,r){switch(n){case 1:case 2:case 3:case 4:case 5:break;default:n=3}var o=Se;Se=n;try{return r()}finally{Se=o}},r.unstable_scheduleCallback=function(n,o,y){var w=r.unstable_now();if("object"==typeof y&&null!==y){var _=y.delay;_="number"==typeof _&&0<_?w+_:w,y="number"==typeof y.timeout?y.timeout:Y(n)}else y=Y(n),_=w;return n={id:ke++,callback:o,priorityLevel:n,startTime:_,expirationTime:y=_+y,sortIndex:-1},_>w?(n.sortIndex=_,J(ve,n),null===L(ye)&&n===L(ve)&&(Me?s():Me=!0,a(W,_-w))):(n.sortIndex=y,J(ye,n),Te||_e||(Te=!0,i(X))),n},r.unstable_shouldYield=function(){var n=r.unstable_now();V(n);var o=L(ye);return o!==we&&null!==we&&null!==o&&null!==o.callback&&o.startTime<=n&&o.expirationTime!=&|~^\/]/,P=a.support||{},j=a.hooks||{},B=a.dateSQL||{date:!0,time:!0,timestamp:!0},q=!1!==a.backslashStringEscapes,$=a.brackets||/^[\{}\(\)\[\]]/,ne=a.punctuation||/^[;.,:]/;function tokenBase(n,r){var o=n.next();if(j[o]){var i=j[o](n,r);if(!1!==i)return i}if(P.hexNumber&&("0"==o&&n.match(/^[xX][0-9a-fA-F]+/)||("x"==o||"X"==o)&&n.match(/^'[0-9a-fA-F]+'/)))return"number";if(P.binaryNumber&&(("b"==o||"B"==o)&&n.match(/^'[01]+'/)||"0"==o&&n.match(/^b[01]+/)))return"number";if(o.charCodeAt(0)>47&&o.charCodeAt(0)<58)return n.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),P.decimallessFloat&&n.match(/^\.(?!\.)/),"number";if("?"==o&&(n.eatSpace()||n.eol()||n.eat(";")))return"variable-3";if("'"==o||'"'==o&&P.doubleQuote)return r.tokenize=tokenLiteral(o),r.tokenize(n,r);if((P.nCharCast&&("n"==o||"N"==o)||P.charsetCast&&"_"==o&&n.match(/[a-z][a-z0-9]*/i))&&("'"==n.peek()||'"'==n.peek()))return"keyword";if(P.escapeConstant&&("e"==o||"E"==o)&&("'"==n.peek()||'"'==n.peek()&&P.doubleQuote))return r.tokenize=function(n,r){return(r.tokenize=tokenLiteral(n.next(),!0))(n,r)},"keyword";if(P.commentSlashSlash&&"/"==o&&n.eat("/"))return n.skipToEnd(),"comment";if(P.commentHash&&"#"==o||"-"==o&&n.eat("-")&&(!P.commentSpaceRequired||n.eat(" ")))return n.skipToEnd(),"comment";if("/"==o&&n.eat("*"))return r.tokenize=function tokenComment(n){return function(r,o){var i=r.match(/^.*?(\/\*|\*\/)/);return i?"/*"==i[1]?o.tokenize=tokenComment(n+1):o.tokenize=n>1?tokenComment(n-1):tokenBase:r.skipToEnd(),"comment"}}(1),r.tokenize(n,r);if("."!=o){if(E.test(o))return n.eatWhile(E),"operator";if($.test(o))return"bracket";if(ne.test(o))return n.eatWhile(ne),"punctuation";if("{"==o&&(n.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||n.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";n.eatWhile(/^[_\w\d]/);var a=n.current().toLowerCase();return B.hasOwnProperty(a)&&(n.match(/^( )+'[^']*'/)||n.match(/^( )+"[^"]*"/))?"number":y.hasOwnProperty(a)?"atom":w.hasOwnProperty(a)?"builtin":_.hasOwnProperty(a)?"keyword":s.hasOwnProperty(a)?"string-2":null}return P.zerolessFloat&&n.match(/^(?:\d+(?:e[+-]?\d+)?)/i)?"number":n.match(/^\.+/)?null:P.ODBCdotTable&&n.match(/^[\w\d_]+/)?"variable-2":void 0}function tokenLiteral(n,r){return function(o,i){for(var a,s=!1;null!=(a=o.next());){if(a==n&&!s){i.tokenize=tokenBase;break}s=(q||r)&&!s&&"\\"==a}return"string"}}function pushContext(n,r,o){r.context={prev:r.context,indent:n.indentation(),col:n.column(),type:o}}return{startState:function(){return{tokenize:tokenBase,context:null}},token:function(n,r){if(n.sol()&&r.context&&null==r.context.align&&(r.context.align=!1),r.tokenize==tokenBase&&n.eatSpace())return null;var o=r.tokenize(n,r);if("comment"==o)return o;r.context&&null==r.context.align&&(r.context.align=!0);var i=n.current();return"("==i?pushContext(n,r,")"):"["==i?pushContext(n,r,"]"):r.context&&r.context.type==i&&function popContext(n){n.indent=n.context.indent,n.context=n.context.prev}(r),o},indent:function(r,o){var a=r.context;if(!a)return n.Pass;var s=o.charAt(0)==a.type;return a.align?a.col+(s?0:1):a.indent+(s?0:i.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:P.commentSlashSlash?"//":P.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``"}}));var r="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function set(n){for(var r={},o=n.split(" "),i=0;i!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:set("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":hookVar}}),n.defineMIME("text/x-mysql",{name:"sql",client:set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:set(r+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),n.defineMIME("text/x-mariadb",{name:"sql",client:set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:set(r+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":hookVar,"`":hookIdentifier,"\\":hookClient}}),n.defineMIME("text/x-sqlite",{name:"sql",client:set("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:set(r+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:set("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:set("date time timestamp datetime"),support:set("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":hookVar,":":hookVar,"?":hookVar,$:hookVar,'"':function hookIdentifierDoublequote(n){for(var r;null!=(r=n.next());)if('"'==r&&!n.eat('"'))return"variable-2";return n.backUp(n.current().length-1),n.eatWhile(/\w/)?"variable-2":null},"`":hookIdentifier}}),n.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:set("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:set("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:set("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:set("commentSlashSlash decimallessFloat"),hooks:{}}),n.defineMIME("text/x-plsql",{name:"sql",client:set("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:set("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:set("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:set("date time timestamp"),support:set("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),n.defineMIME("text/x-hive",{name:"sql",keywords:set("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:set("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:set("date timestamp"),support:set("ODBCdotTable doubleQuote binaryNumber hexNumber")}),n.defineMIME("text/x-pgsql",{name:"sql",client:set("source"),keywords:set(r+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:set("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:set("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),n.defineMIME("text/x-gql",{name:"sql",keywords:set("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:set("false true"),builtin:set("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),n.defineMIME("text/x-gpsql",{name:"sql",client:set("source"),keywords:set("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:set("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:set("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),n.defineMIME("text/x-sparksql",{name:"sql",keywords:set("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases datata dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:set("tinyint smallint int bigint boolean float double string binary timestamp decimal array map struct uniontype delimited serde sequencefile textfile rcfile inputformat outputformat"),atoms:set("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:set("date time timestamp"),support:set("ODBCdotTable doubleQuote zerolessFloat")}),n.defineMIME("text/x-esper",{name:"sql",client:set("source"),keywords:set("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:set("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:set("time"),support:set("decimallessFloat zerolessFloat binaryNumber hexNumber")})}(o("VrN/"))},"/MKj":function(n,r,o){"use strict";var i=o("TqRt");Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Provider",{enumerable:!0,get:function get(){return a.default}}),Object.defineProperty(r,"ReactReduxContext",{enumerable:!0,get:function get(){return y.ReactReduxContext}}),Object.defineProperty(r,"batch",{enumerable:!0,get:function get(){return B.unstable_batchedUpdates}}),Object.defineProperty(r,"connect",{enumerable:!0,get:function get(){return w.default}}),Object.defineProperty(r,"connectAdvanced",{enumerable:!0,get:function get(){return s.default}}),Object.defineProperty(r,"createDispatchHook",{enumerable:!0,get:function get(){return _.createDispatchHook}}),Object.defineProperty(r,"createSelectorHook",{enumerable:!0,get:function get(){return E.createSelectorHook}}),Object.defineProperty(r,"createStoreHook",{enumerable:!0,get:function get(){return P.createStoreHook}}),Object.defineProperty(r,"shallowEqual",{enumerable:!0,get:function get(){return q.default}}),Object.defineProperty(r,"useDispatch",{enumerable:!0,get:function get(){return _.useDispatch}}),Object.defineProperty(r,"useSelector",{enumerable:!0,get:function get(){return E.useSelector}}),Object.defineProperty(r,"useStore",{enumerable:!0,get:function get(){return P.useStore}});var a=i(o("Efht")),s=i(o("/jNT")),y=o("joe6"),w=i(o("O1HA")),_=o("7iT0"),E=o("M5x7"),P=o("y4dS"),j=o("TfIc"),B=o("9fXD"),q=i(o("Ggip"));(0,j.setBatch)(B.unstable_batchedUpdates)},"/jNT":function(n,r,o){"use strict";var i=o("TqRt"),a=o("cDf5");Object.defineProperty(r,"__esModule",{value:!0}),r.default=function connectAdvanced(n,r){void 0===r&&(r={});var o=r,i=o.getDisplayName,a=void 0===i?function(n){return"ConnectAdvanced("+n+")"}:i,j=o.methodName,oe=void 0===j?"connectAdvanced":j,ie=o.renderCountProp,se=void 0===ie?void 0:ie,le=o.shouldHandleStateChanges,pe=void 0===le||le,he=o.storeKey,me=void 0===he?"store":he,ge=(o.withRef,o.forwardRef),ye=void 0!==ge&&ge,ve=o.context,ke=void 0===ve?B.ReactReduxContext:ve,we=(0,y.default)(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);0;var Se=ke;return function wrapWithConnect(r){var o=r.displayName||r.name||"Component",i=a(o),j=(0,s.default)({},we,{getDisplayName:a,methodName:oe,renderCountProp:se,shouldHandleStateChanges:pe,storeKey:me,displayName:i,wrappedComponentName:o,WrappedComponent:r}),B=we.pure;var ie=B?_.useMemo:function(n){return n()};function ConnectFunction(o){var i=(0,_.useMemo)((function(){var n=o.forwardedRef,r=(0,y.default)(o,["forwardedRef"]);return[o.context,n,r]}),[o]),a=i[0],w=i[1],B=i[2],oe=(0,_.useMemo)((function(){return a&&a.Consumer&&(0,E.isContextConsumer)(_.default.createElement(a.Consumer,null))?a:Se}),[a,Se]),se=(0,_.useContext)(oe),le=Boolean(o.store)&&Boolean(o.store.getState)&&Boolean(o.store.dispatch);Boolean(se)&&Boolean(se.store);var he=le?o.store:se.store,me=(0,_.useMemo)((function(){return function createChildSelector(r){return n(r.dispatch,j)}(he)}),[he]),ge=(0,_.useMemo)((function(){if(!pe)return $;var n=new P.default(he,le?null:se.subscription),r=n.notifyNestedSubs.bind(n);return[n,r]}),[he,le,se]),ye=ge[0],ve=ge[1],ke=(0,_.useMemo)((function(){return le?se:(0,s.default)({},se,{subscription:ye})}),[le,se,ye]),we=(0,_.useReducer)(storeStateUpdatesReducer,q,ne),_e=we[0][0],Te=we[1];if(_e&&_e.error)throw _e.error;var Me=(0,_.useRef)(),Ae=(0,_.useRef)(B),Oe=(0,_.useRef)(),Ne=(0,_.useRef)(!1),Re=ie((function(){return Oe.current&&B===Ae.current?Oe.current:me(he.getState(),B)}),[he,_e,B]);useIsomorphicLayoutEffectWithArgs(captureWrapperProps,[Ae,Me,Ne,B,Re,Oe,ve]),useIsomorphicLayoutEffectWithArgs(subscribeUpdates,[pe,he,ye,me,Ae,Me,Ne,Oe,ve,Te],[he,ye,me]);var Fe=(0,_.useMemo)((function(){return _.default.createElement(r,(0,s.default)({},Re,{ref:w}))}),[w,r,Re]);return(0,_.useMemo)((function(){return pe?_.default.createElement(oe.Provider,{value:ke},Fe):Fe}),[oe,Fe,ke])}var le=B?_.default.memo(ConnectFunction):ConnectFunction;if(le.WrappedComponent=r,le.displayName=i,ye){var he=_.default.forwardRef((function forwardConnectRef(n,r){return _.default.createElement(le,(0,s.default)({},n,{forwardedRef:r}))}));return he.displayName=i,he.WrappedComponent=r,(0,w.default)(he,r)}return(0,w.default)(le,r)}};var s=i(o("wx14")),y=i(o("zLVn")),w=i(o("2mql")),_=function _interopRequireWildcard(n,r){if(!r&&n&&n.__esModule)return n;if(null===n||"object"!==a(n)&&"function"!=typeof n)return{default:n};var o=_getRequireWildcardCache(r);if(o&&o.has(n))return o.get(n);var i={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in n)if("default"!==y&&Object.prototype.hasOwnProperty.call(n,y)){var w=s?Object.getOwnPropertyDescriptor(n,y):null;w&&(w.get||w.set)?Object.defineProperty(i,y,w):i[y]=n[y]}i.default=n,o&&o.set(n,i);return i}(o("q1tI")),E=o("TOwV"),P=i(o("edbT")),j=o("V+Yl"),B=o("joe6");function _getRequireWildcardCache(n){if("function"!=typeof WeakMap)return null;var r=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(n){return n?o:r})(n)}var q=[],$=[null,null];function storeStateUpdatesReducer(n,r){var o=n[1];return[r.payload,o+1]}function useIsomorphicLayoutEffectWithArgs(n,r,o){(0,j.useIsomorphicLayoutEffect)((function(){return n.apply(void 0,r)}),o)}function captureWrapperProps(n,r,o,i,a,s,y){n.current=i,r.current=a,o.current=!1,s.current&&(s.current=null,y())}function subscribeUpdates(n,r,o,i,a,s,y,w,_,E){if(n){var P=!1,j=null,B=function checkForUpdates(){if(!P){var n,o,B=r.getState();try{n=i(B,a.current)}catch(n){o=n,j=n}o||(j=null),n===s.current?y.current||_():(s.current=n,w.current=n,y.current=!0,E({type:"STORE_UPDATED",payload:{error:o}}))}};o.onStateChange=B,o.trySubscribe(),B();return function unsubscribeWrapper(){if(P=!0,o.tryUnsubscribe(),o.onStateChange=null,j)throw j}}}var ne=function initStateUpdates(){return[null,0]}},"16Al":function(n,r,o){"use strict";var i=o("WbBG");function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,n.exports=function(){function shim(n,r,o,a,s,y){if(y!==i){var w=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw w.name="Invariant Violation",w}}function getShim(){return shim}shim.isRequired=shim;var n={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return n.PropTypes=n,n}},"17x9":function(n,r,o){n.exports=o("16Al")()},"1eCo":function(n,r,o){!function(n){"use strict";var r={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},o={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};n.defineMode("xml",(function(i,a){var s,y,w=i.indentUnit,_={},E=a.htmlMode?r:o;for(var P in E)_[P]=E[P];for(var P in a)_[P]=a[P];function inText(n,r){function chain(o){return r.tokenize=o,o(n,r)}var o=n.next();return"<"==o?n.eat("!")?n.eat("[")?n.match("CDATA[")?chain(inBlock("atom","]]>")):null:n.match("--")?chain(inBlock("comment","--\x3e")):n.match("DOCTYPE",!0,!0)?(n.eatWhile(/[\w\._\-]/),chain(function doctype(n){return function(r,o){for(var i;null!=(i=r.next());){if("<"==i)return o.tokenize=doctype(n+1),o.tokenize(r,o);if(">"==i){if(1==n){o.tokenize=inText;break}return o.tokenize=doctype(n-1),o.tokenize(r,o)}}return"meta"}}(1))):null:n.eat("?")?(n.eatWhile(/[\w\._\-]/),r.tokenize=inBlock("meta","?>"),"meta"):(s=n.eat("/")?"closeTag":"openTag",r.tokenize=inTag,"tag bracket"):"&"==o?(n.eat("#")?n.eat("x")?n.eatWhile(/[a-fA-F\d]/)&&n.eat(";"):n.eatWhile(/[\d]/)&&n.eat(";"):n.eatWhile(/[\w\.\-:]/)&&n.eat(";"))?"atom":"error":(n.eatWhile(/[^&<]/),null)}function inTag(n,r){var o=n.next();if(">"==o||"/"==o&&n.eat(">"))return r.tokenize=inText,s=">"==o?"endTag":"selfcloseTag","tag bracket";if("="==o)return s="equals",null;if("<"==o){r.tokenize=inText,r.state=baseState,r.tagName=r.tagStart=null;var i=r.tokenize(n,r);return i?i+" tag error":"tag error"}return/[\'\"]/.test(o)?(r.tokenize=function inAttribute(n){var closure=function(r,o){for(;!r.eol();)if(r.next()==n){o.tokenize=inTag;break}return"string"};return closure.isInAttribute=!0,closure}(o),r.stringStartCol=n.column(),r.tokenize(n,r)):(n.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function inBlock(n,r){return function(o,i){for(;!o.eol();){if(o.match(r)){i.tokenize=inText;break}o.next()}return n}}function Context(n,r,o){this.prev=n.context,this.tagName=r,this.indent=n.indented,this.startOfLine=o,(_.doNotIndent.hasOwnProperty(r)||n.context&&n.context.noIndent)&&(this.noIndent=!0)}function popContext(n){n.context&&(n.context=n.context.prev)}function maybePopContext(n,r){for(var o;;){if(!n.context)return;if(o=n.context.tagName,!_.contextGrabbers.hasOwnProperty(o)||!_.contextGrabbers[o].hasOwnProperty(r))return;popContext(n)}}function baseState(n,r,o){return"openTag"==n?(o.tagStart=r.column(),tagNameState):"closeTag"==n?closeTagNameState:baseState}function tagNameState(n,r,o){return"word"==n?(o.tagName=r.current(),y="tag",attrState):_.allowMissingTagName&&"endTag"==n?(y="tag bracket",attrState(n,0,o)):(y="error",tagNameState)}function closeTagNameState(n,r,o){if("word"==n){var i=r.current();return o.context&&o.context.tagName!=i&&_.implicitlyClosed.hasOwnProperty(o.context.tagName)&&popContext(o),o.context&&o.context.tagName==i||!1===_.matchClosing?(y="tag",closeState):(y="tag error",closeStateErr)}return _.allowMissingTagName&&"endTag"==n?(y="tag bracket",closeState(n,0,o)):(y="error",closeStateErr)}function closeState(n,r,o){return"endTag"!=n?(y="error",closeState):(popContext(o),baseState)}function closeStateErr(n,r,o){return y="error",closeState(n,0,o)}function attrState(n,r,o){if("word"==n)return y="attribute",attrEqState;if("endTag"==n||"selfcloseTag"==n){var i=o.tagName,a=o.tagStart;return o.tagName=o.tagStart=null,"selfcloseTag"==n||_.autoSelfClosers.hasOwnProperty(i)?maybePopContext(o,i):(maybePopContext(o,i),o.context=new Context(o,i,a==o.indented)),baseState}return y="error",attrState}function attrEqState(n,r,o){return"equals"==n?attrValueState:(_.allowMissing||(y="error"),attrState(n,0,o))}function attrValueState(n,r,o){return"string"==n?attrContinuedState:"word"==n&&_.allowUnquoted?(y="string",attrState):(y="error",attrState(n,0,o))}function attrContinuedState(n,r,o){return"string"==n?attrContinuedState:attrState(n,0,o)}return inText.isInText=!0,{startState:function(n){var r={tokenize:inText,state:baseState,indented:n||0,tagName:null,tagStart:null,context:null};return null!=n&&(r.baseIndent=n),r},token:function(n,r){if(!r.tagName&&n.sol()&&(r.indented=n.indentation()),n.eatSpace())return null;s=null;var o=r.tokenize(n,r);return(o||s)&&"comment"!=o&&(y=null,r.state=r.state(s||o,n,r),y&&(o="error"==y?o+" error":y)),o},indent:function(r,o,i){var a=r.context;if(r.tokenize.isInAttribute)return r.tagStart==r.indented?r.stringStartCol+1:r.indented+w;if(a&&a.noIndent)return n.Pass;if(r.tokenize!=inTag&&r.tokenize!=inText)return i?i.match(/^(\s*)/)[0].length:0;if(r.tagName)return!1!==_.multilineTagIndentPastTag?r.tagStart+r.tagName.length+2:r.tagStart+w*(_.multilineTagIndentFactor||1);if(_.alignCDATA&&/$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:_.htmlMode?"html":"xml",helperType:_.htmlMode?"html":"xml",skipAttribute:function(n){n.state==attrValueState&&(n.state=attrState)},xmlCurrentTag:function(n){return n.tagName?{name:n.tagName,close:"closeTag"==n.type}:null},xmlCurrentContext:function(n){for(var r=[],o=n.context;o;o=o.prev)o.tagName&&r.push(o.tagName);return r.reverse()}}})),n.defineMIME("text/xml","xml"),n.defineMIME("application/xml","xml"),n.mimeModes.hasOwnProperty("text/html")||n.defineMIME("text/html",{name:"xml",htmlMode:!0})}(o("VrN/"))},"1p+/":function(n,r,o){!function(n){"use strict";var r={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},o={};function getAttrValue(n,r){var i=n.match(function getAttrRegexp(n){var r=o[n];return r||(o[n]=new RegExp("\\s+"+n+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(r));return i?/^\s*(.*?)\s*$/.exec(i[2])[1]:""}function getTagRegexp(n,r){return new RegExp((r?"^":"")+"","i")}function addTags(n,r){for(var o in n)for(var i=r[o]||(r[o]=[]),a=n[o],s=a.length-1;s>=0;s--)i.unshift(a[s])}n.defineMode("htmlmixed",(function(o,i){var a=n.getMode(o,{name:"xml",htmlMode:!0,multilineTagIndentFactor:i.multilineTagIndentFactor,multilineTagIndentPastTag:i.multilineTagIndentPastTag}),s={},y=i&&i.tags,w=i&&i.scriptTypes;if(addTags(r,s),y&&addTags(y,s),w)for(var _=w.length-1;_>=0;_--)s.script.unshift(["type",w[_].matches,w[_].mode]);function html(r,i){var y,w=a.token(r,i.htmlState),_=/\btag\b/.test(w);if(_&&!/[<>\s\/]/.test(r.current())&&(y=i.htmlState.tagName&&i.htmlState.tagName.toLowerCase())&&s.hasOwnProperty(y))i.inTag=y+" ";else if(i.inTag&&_&&/>$/.test(r.current())){var E=/^([\S]+) (.*)/.exec(i.inTag);i.inTag=null;var P=">"==r.current()&&function findMatchingMode(n,r){for(var o=0;o-1?n.backUp(i.length-a):i.match(/<\/?$/)&&(n.backUp(i.length),n.match(r,!1)||n.match(i)),o}(n,q,r.localMode.token(n,r.localState))},i.localMode=j,i.localState=n.startState(j,a.indent(i.htmlState,"",""))}else i.inTag&&(i.inTag+=r.current(),r.eol()&&(i.inTag+=" "));return w}return{startState:function(){return{token:html,inTag:null,localMode:null,localState:null,htmlState:n.startState(a)}},copyState:function(r){var o;return r.localState&&(o=n.copyState(r.localMode,r.localState)),{token:r.token,inTag:r.inTag,localMode:r.localMode,localState:o,htmlState:n.copyState(a,r.htmlState)}},token:function(n,r){return r.token(n,r)},indent:function(r,o,i){return!r.localMode||/^\s*<\//.test(o)?a.indent(r.htmlState,o,i):r.localMode.indent?r.localMode.indent(r.localState,o,i):n.Pass},innerMode:function(n){return{state:n.localState||n.htmlState,mode:n.localMode||a}}}}),"xml","javascript","css"),n.defineMIME("text/html","htmlmixed")}(o("VrN/"),o("1eCo"),o("+dQi"),o("ewDg"))},"25Eh":function(n,r,o){!function(n){"use strict";function wordRegexp(n){return new RegExp("^(("+n.join(")|(")+"))\\b")}var r,o=wordRegexp(["and","or","not","is"]),i=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in"],a=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function top(n){return n.scopes[n.scopes.length-1]}n.registerHelper("hintWords","python",i.concat(a)),n.defineMode("python",(function(r,s){for(var y=s.delimiters||s.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,w=[s.singleOperators,s.doubleOperators,s.doubleDelimiters,s.tripleDelimiters,s.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],_=0;_i?pushPyScope(r):a0&&dedent(n,r)&&(s+=" error"),s}return tokenBaseInner(n,r)}function tokenBaseInner(n,r){if(n.eatSpace())return null;if(n.match(/^#.*/))return"comment";if(n.match(/^[0-9\.]/,!1)){var i=!1;if(n.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),n.match(/^[\d_]+\.\d*/)&&(i=!0),n.match(/^\.\d+/)&&(i=!0),i)return n.eat(/J/i),"number";var a=!1;if(n.match(/^0x[0-9a-f_]+/i)&&(a=!0),n.match(/^0b[01_]+/i)&&(a=!0),n.match(/^0o[0-7_]+/i)&&(a=!0),n.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(n.eat(/J/i),a=!0),n.match(/^0(?![\dx])/i)&&(a=!0),a)return n.eat(/L/i),"number"}if(n.match($))return-1!==n.current().toLowerCase().indexOf("f")?(r.tokenize=function formatStringFactory(n,r){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var o=1==n.length;function tokenNestedExpr(n){return function(r,o){var i=tokenBaseInner(r,o);return"punctuation"==i&&("{"==r.current()?o.tokenize=tokenNestedExpr(n+1):"}"==r.current()&&(o.tokenize=n>1?tokenNestedExpr(n-1):tokenString)),i}}function tokenString(i,a){for(;!i.eol();)if(i.eatWhile(/[^'"\{\}\\]/),i.eat("\\")){if(i.next(),o&&i.eol())return"string"}else{if(i.match(n))return a.tokenize=r,"string";if(i.match("{{"))return"string";if(i.match("{",!1))return a.tokenize=tokenNestedExpr(0),i.current()?"string":a.tokenize(i,a);if(i.match("}}"))return"string";if(i.match("}"))return"error";i.eat(/['"]/)}if(o){if(s.singleLineStringErrors)return"error";a.tokenize=r}return"string"}return tokenString.isString=!0,tokenString}(n.current(),r.tokenize),r.tokenize(n,r)):(r.tokenize=function tokenStringFactory(n,r){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var o=1==n.length;function tokenString(i,a){for(;!i.eol();)if(i.eatWhile(/[^'"\\]/),i.eat("\\")){if(i.next(),o&&i.eol())return"string"}else{if(i.match(n))return a.tokenize=r,"string";i.eat(/['"]/)}if(o){if(s.singleLineStringErrors)return"error";a.tokenize=r}return"string"}return tokenString.isString=!0,tokenString}(n.current(),r.tokenize),r.tokenize(n,r));for(var _=0;_1&&top(r).offset>o;){if("py"!=top(r).type)return!0;r.scopes.pop()}return top(r).offset!=o}function tokenLexer(n,r){n.sol()&&(r.beginningOfLine=!0);var o=r.tokenize(n,r),i=n.current();if(r.beginningOfLine&&"@"==i)return n.match(q,!1)?"meta":B?"operator":"error";if(/\S/.test(i)&&(r.beginningOfLine=!1),"variable"!=o&&"builtin"!=o||"meta"!=r.lastToken||(o="meta"),"pass"!=i&&"return"!=i||(r.dedent+=1),"lambda"==i&&(r.lambda=!0),":"!=i||r.lambda||"py"!=top(r).type||pushPyScope(r),1==i.length&&!/string|comment/.test(o)){var a="[({".indexOf(i);if(-1!=a&&function pushBracketScope(n,r,o){var i=n.match(/^([\s\[\{\(]|#.*)*$/,!1)?null:n.column()+1;r.scopes.push({offset:r.indent+E,type:o,align:i})}(n,r,"])}".slice(a,a+1)),-1!=(a="])}".indexOf(i))){if(top(r).type!=i)return"error";r.indent=r.scopes.pop().offset-E}}return r.dedent>0&&n.eol()&&"py"==top(r).type&&(r.scopes.length>1&&r.scopes.pop(),r.dedent-=1),o}return{startState:function(n){return{tokenize:tokenBase,scopes:[{offset:n||0,type:"py",align:null}],indent:n||0,lastToken:null,lambda:!1,dedent:0}},token:function(n,r){var o=r.errorToken;o&&(r.errorToken=!1);var i=tokenLexer(n,r);return i&&"comment"!=i&&(r.lastToken="keyword"==i||"punctuation"==i?n.current():i),"punctuation"==i&&(i=null),n.eol()&&r.lambda&&(r.lambda=!1),o?i+" error":i},indent:function(r,o){if(r.tokenize!=tokenBase)return r.tokenize.isString?n.Pass:0;var i=top(r),a=i.type==o.charAt(0);return null!=i.align?i.align-(a?1:0):i.offset-(a?E:0)},electricInput:/^\s*[\}\]\)]$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"}})),n.defineMIME("text/x-python","python"),n.defineMIME("text/x-cython",{name:"python",extra_keywords:(r="by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE",r.split(" "))})}(o("VrN/"))},"2V/z":function(n,r,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=function warning(n){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(n);try{throw new Error(n)}catch(n){}}},"2mql":function(n,r,o){"use strict";var i=o("TOwV"),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},y={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},w={};function getStatics(n){return i.isMemo(n)?y:w[n.$$typeof]||a}w[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},w[i.Memo]=y;var _=Object.defineProperty,E=Object.getOwnPropertyNames,P=Object.getOwnPropertySymbols,j=Object.getOwnPropertyDescriptor,B=Object.getPrototypeOf,q=Object.prototype;n.exports=function hoistNonReactStatics(n,r,o){if("string"!=typeof r){if(q){var i=B(r);i&&i!==q&&hoistNonReactStatics(n,i,o)}var a=E(r);P&&(a=a.concat(P(r)));for(var y=getStatics(n),w=getStatics(r),$=0;$0){var y=o.indexOf(this);~y?o.splice(y+1):o.push(this),~y?i.splice(y,1/0,a):i.push(a),~o.indexOf(s)&&(s=r.call(this,a,s))}else o.push(s);return null==n?s:n.call(this,a,s)}}(n.exports=function stringify(n,r,o,i){return JSON.stringify(n,serializer(r,i),o)}).getSerialize=serializer},"4d6s":function(n,r,o){!function(n){"use strict";n.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{\{/,push:"handlebars_raw",token:"tag"},{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",token:"tag"}],handlebars_raw:[{regex:/\}\}\}/,pop:!0,token:"tag"}],handlebars:[{regex:/\}\}/,pop:!0,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],meta:{blockCommentStart:"{{--",blockCommentEnd:"--}}"}}),n.defineMode("handlebars",(function(r,o){var i=n.getMode(r,"handlebars-tags");return o&&o.base?n.multiplexingMode(n.getMode(r,o.base),{open:"{{",close:/\}\}\}?/,mode:i,parseDelimiters:!0}):i})),n.defineMIME("text/x-handlebars-template","handlebars")}(o("VrN/"),o("dq4f"),o("6wyt"))},"5Ffo":function(n,r,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.whenMapStateToPropsIsFunction=whenMapStateToPropsIsFunction,r.whenMapStateToPropsIsMissing=whenMapStateToPropsIsMissing;var i=o("JCXH");function whenMapStateToPropsIsFunction(n){return"function"==typeof n?(0,i.wrapMapToPropsFunc)(n,"mapStateToProps"):void 0}function whenMapStateToPropsIsMissing(n){return n?void 0:(0,i.wrapMapToPropsConstant)((function(){return{}}))}var a=[whenMapStateToPropsIsFunction,whenMapStateToPropsIsMissing];r.default=a},"6wyt":function(n,r,o){!function(n){"use strict";n.multiplexingMode=function(r){var o=Array.prototype.slice.call(arguments,1);function indexOf(n,r,o,i){if("string"==typeof r){var a=n.indexOf(r,o);return i&&a>-1?a+r.length:a}var s=r.exec(o?n.slice(o):n);return s?s.index+o+(i?s[0].length:0):-1}return{startState:function(){return{outer:n.startState(r),innerActive:null,inner:null}},copyState:function(o){return{outer:n.copyState(r,o.outer),innerActive:o.innerActive,inner:o.innerActive&&n.copyState(o.innerActive.mode,o.inner)}},token:function(i,a){if(a.innerActive){var s=a.innerActive;if(_=i.string,!s.close&&i.sol())return a.innerActive=a.inner=null,this.token(i,a);if((P=s.close?indexOf(_,s.close,i.pos,s.parseDelimiters):-1)==i.pos&&!s.parseDelimiters)return i.match(s.close),a.innerActive=a.inner=null,s.delimStyle&&s.delimStyle+" "+s.delimStyle+"-close";P>-1&&(i.string=_.slice(0,P));var y=s.mode.token(i,a.inner);return P>-1&&(i.string=_),P==i.pos&&s.parseDelimiters&&(a.innerActive=a.inner=null),s.innerStyle&&(y=y?y+" "+s.innerStyle:s.innerStyle),y}for(var w=1/0,_=i.string,E=0;E-1&&r.substring(a+1,r.length);if(s)return n.findModeByExtension(s)},n.findModeByName=function(r){r=r.toLowerCase();for(var o=0;o=0||(a[o]=n[o]);return a},n.exports.__esModule=!0,n.exports.default=n.exports},"9fXD":function(n,r,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"unstable_batchedUpdates",{enumerable:!0,get:function get(){return i.unstable_batchedUpdates}});var i=o("i8i4")},"9rZZ":function(n,r,o){},ANjH:function(n,r,o){"use strict";var i=o("TqRt");Object.defineProperty(r,"__esModule",{value:!0}),r.__DO_NOT_USE__ActionTypes=void 0,r.applyMiddleware=function applyMiddleware(){for(var n=arguments.length,r=new Array(n),o=0;o=0;_--)"."===(a=y[_])?y.splice(_,1):".."===a?w++:w>0&&(""===a?(y.splice(_+1,w),w=0):(y.splice(_,2),w--));return""===(o=y.join("/"))&&(o=s?"/":"."),i?(i.path=o,urlGenerate(i)):o}function join(n,r){""===n&&(n="."),""===r&&(r=".");var o=urlParse(r),a=urlParse(n);if(a&&(n=a.path||"/"),o&&!o.scheme)return a&&(o.scheme=a.scheme),urlGenerate(o);if(o||r.match(i))return r;if(a&&!a.host&&!a.path)return a.host=r,urlGenerate(a);var s="/"===r.charAt(0)?r:normalize(n.replace(/\/+$/,"")+"/"+r);return a?(a.path=s,urlGenerate(a)):s}r.urlParse=urlParse,r.urlGenerate=urlGenerate,r.normalize=normalize,r.join=join,r.isAbsolute=function(n){return"/"===n.charAt(0)||o.test(n)},r.relative=function relative(n,r){""===n&&(n="."),n=n.replace(/\/$/,"");for(var o=0;0!==r.indexOf(n+"/");){var i=n.lastIndexOf("/");if(i<0)return r;if((n=n.slice(0,i)).match(/^([^\/]+:\/)?\/*$/))return r;++o}return Array(o+1).join("../")+r.substr(n.length+1)};var a=!("__proto__"in Object.create(null));function identity(n){return n}function isProtoString(n){if(!n)return!1;var r=n.length;if(r<9)return!1;if(95!==n.charCodeAt(r-1)||95!==n.charCodeAt(r-2)||111!==n.charCodeAt(r-3)||116!==n.charCodeAt(r-4)||111!==n.charCodeAt(r-5)||114!==n.charCodeAt(r-6)||112!==n.charCodeAt(r-7)||95!==n.charCodeAt(r-8)||95!==n.charCodeAt(r-9))return!1;for(var o=r-10;o>=0;o--)if(36!==n.charCodeAt(o))return!1;return!0}function strcmp(n,r){return n===r?0:null===n?1:null===r?-1:n>r?1:-1}r.toSetString=a?identity:function toSetString(n){return isProtoString(n)?"$"+n:n},r.fromSetString=a?identity:function fromSetString(n){return isProtoString(n)?n.slice(1):n},r.compareByOriginalPositions=function compareByOriginalPositions(n,r,o){var i=strcmp(n.source,r.source);return 0!==i||0!==(i=n.originalLine-r.originalLine)||0!==(i=n.originalColumn-r.originalColumn)||o||0!==(i=n.generatedColumn-r.generatedColumn)||0!==(i=n.generatedLine-r.generatedLine)?i:strcmp(n.name,r.name)},r.compareByGeneratedPositionsDeflated=function compareByGeneratedPositionsDeflated(n,r,o){var i=n.generatedLine-r.generatedLine;return 0!==i||0!==(i=n.generatedColumn-r.generatedColumn)||o||0!==(i=strcmp(n.source,r.source))||0!==(i=n.originalLine-r.originalLine)||0!==(i=n.originalColumn-r.originalColumn)?i:strcmp(n.name,r.name)},r.compareByGeneratedPositionsInflated=function compareByGeneratedPositionsInflated(n,r){var o=n.generatedLine-r.generatedLine;return 0!==o||0!==(o=n.generatedColumn-r.generatedColumn)||0!==(o=strcmp(n.source,r.source))||0!==(o=n.originalLine-r.originalLine)||0!==(o=n.originalColumn-r.originalColumn)?o:strcmp(n.name,r.name)},r.parseSourceMapInput=function parseSourceMapInput(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))},r.computeSourceURL=function computeSourceURL(n,r,o){if(r=r||"",n&&("/"!==n[n.length-1]&&"/"!==r[0]&&(n+="/"),r=n+r),o){var i=urlParse(o);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var a=i.path.lastIndexOf("/");a>=0&&(i.path=i.path.substring(0,a+1))}r=join(urlGenerate(i),r)}return normalize(r)}},EPyZ:function(n,r,o){"use strict";var i=o("TqRt");Object.defineProperty(r,"__esModule",{value:!0}),r.default=function verifySubselectors(n,r,o,i){verify(n,"mapStateToProps",i),verify(r,"mapDispatchToProps",i),verify(o,"mergeProps",i)};var a=i(o("2V/z"));function verify(n,r,o){if(!n)throw new Error("Unexpected value for "+r+" in "+o+".");"mapStateToProps"!==r&&"mapDispatchToProps"!==r||Object.prototype.hasOwnProperty.call(n,"dependsOnOwnProps")||(0,a.default)("The selector for "+r+" of "+o+" did not specify a value for dependsOnOwnProps.")}},EbDI:function(n,r){n.exports=function _iterableToArray(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)},n.exports.__esModule=!0,n.exports.default=n.exports},Efht:function(n,r,o){"use strict";var i=o("TqRt"),a=o("cDf5");Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var s=function _interopRequireWildcard(n,r){if(!r&&n&&n.__esModule)return n;if(null===n||"object"!==a(n)&&"function"!=typeof n)return{default:n};var o=_getRequireWildcardCache(r);if(o&&o.has(n))return o.get(n);var i={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in n)if("default"!==y&&Object.prototype.hasOwnProperty.call(n,y)){var w=s?Object.getOwnPropertyDescriptor(n,y):null;w&&(w.get||w.set)?Object.defineProperty(i,y,w):i[y]=n[y]}i.default=n,o&&o.set(n,i);return i}(o("q1tI")),y=(i(o("17x9")),o("joe6")),w=i(o("edbT"));function _getRequireWildcardCache(n){if("function"!=typeof WeakMap)return null;var r=new WeakMap,o=new WeakMap;return(_getRequireWildcardCache=function _getRequireWildcardCache(n){return n?o:r})(n)}var _=function Provider(n){var r=n.store,o=n.context,i=n.children,a=(0,s.useMemo)((function(){var n=new w.default(r);return n.onStateChange=n.notifyNestedSubs,{store:r,subscription:n}}),[r]),_=(0,s.useMemo)((function(){return r.getState()}),[r]);(0,s.useEffect)((function(){var n=a.subscription;return n.trySubscribe(),_!==r.getState()&&n.notifyNestedSubs(),function(){n.tryUnsubscribe(),n.onStateChange=null}}),[a,_]);var E=o||y.ReactReduxContext;return s.default.createElement(E.Provider,{value:a},i)};r.default=_},G2Pi:function(n,r,o){!function(n){"use strict";n.defineMode("sass",(function(r){var o,i=n.mimeModes["text/css"],a=i.propertyKeywords||{},s=i.colorKeywords||{},y=i.valueKeywords||{},w=i.fontProperties||{},_=new RegExp("^"+["true","false","null","auto"].join("|")),E=function tokenRegexp(n){return new RegExp("^"+n.join("|"))}(["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"]),P=/^::?[a-zA-Z_][\w\-]*/;function isEndLine(n){return!n.peek()||n.match(/\s+$/,!1)}function urlTokens(n,r){var o=n.peek();return")"===o?(n.next(),r.tokenizer=tokenBase,"operator"):"("===o?(n.next(),n.eatSpace(),"operator"):"'"===o||'"'===o?(r.tokenizer=buildStringTokenizer(n.next()),"string"):(r.tokenizer=buildStringTokenizer(")",!1),"string")}function comment(n,r){return function(o,i){return o.sol()&&o.indentation()<=n?(i.tokenizer=tokenBase,tokenBase(o,i)):(r&&o.skipTo("*/")?(o.next(),o.next(),i.tokenizer=tokenBase):o.skipToEnd(),"comment")}}function buildStringTokenizer(n,r){return null==r&&(r=!0),function stringTokenizer(o,i){var a=o.next(),s=o.peek(),y=o.string.charAt(o.pos-2);return"\\"!==a&&s===n||a===n&&"\\"!==y?(a!==n&&r&&o.next(),isEndLine(o)&&(i.cursorHalf=0),i.tokenizer=tokenBase,"string"):"#"===a&&"{"===s?(i.tokenizer=buildInterpolationTokenizer(stringTokenizer),o.next(),"operator"):"string"}}function buildInterpolationTokenizer(n){return function(r,o){return"}"===r.peek()?(r.next(),o.tokenizer=n,"operator"):tokenBase(r,o)}}function indent(n){if(0==n.indentCount){n.indentCount++;var o=n.scopes[0].offset+r.indentUnit;n.scopes.unshift({offset:o})}}function dedent(n){1!=n.scopes.length&&n.scopes.shift()}function tokenBase(n,r){var i=n.peek();if(n.match("/*"))return r.tokenizer=comment(n.indentation(),!0),r.tokenizer(n,r);if(n.match("//"))return r.tokenizer=comment(n.indentation(),!1),r.tokenizer(n,r);if(n.match("#{"))return r.tokenizer=buildInterpolationTokenizer(tokenBase),"operator";if('"'===i||"'"===i)return n.next(),r.tokenizer=buildStringTokenizer(i),"string";if(r.cursorHalf){if("#"===i&&(n.next(),n.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return isEndLine(n)&&(r.cursorHalf=0),"number";if(n.match(/^-?[0-9\.]+/))return isEndLine(n)&&(r.cursorHalf=0),"number";if(n.match(/^(px|em|in)\b/))return isEndLine(n)&&(r.cursorHalf=0),"unit";if(n.match(_))return isEndLine(n)&&(r.cursorHalf=0),"keyword";if(n.match(/^url/)&&"("===n.peek())return r.tokenizer=urlTokens,isEndLine(n)&&(r.cursorHalf=0),"atom";if("$"===i)return n.next(),n.eatWhile(/[\w-]/),isEndLine(n)&&(r.cursorHalf=0),"variable-2";if("!"===i)return n.next(),r.cursorHalf=0,n.match(/^[\w]+/)?"keyword":"operator";if(n.match(E))return isEndLine(n)&&(r.cursorHalf=0),"operator";if(n.eatWhile(/[\w-]/))return isEndLine(n)&&(r.cursorHalf=0),o=n.current().toLowerCase(),y.hasOwnProperty(o)?"atom":s.hasOwnProperty(o)?"keyword":a.hasOwnProperty(o)?(r.prevProp=n.current().toLowerCase(),"property"):"tag";if(isEndLine(n))return r.cursorHalf=0,null}else{if("-"===i&&n.match(/^-\w+-/))return"meta";if("."===i){if(n.next(),n.match(/^[\w-]+/))return indent(r),"qualifier";if("#"===n.peek())return indent(r),"tag"}if("#"===i){if(n.next(),n.match(/^[\w-]+/))return indent(r),"builtin";if("#"===n.peek())return indent(r),"tag"}if("$"===i)return n.next(),n.eatWhile(/[\w-]/),"variable-2";if(n.match(/^-?[0-9\.]+/))return"number";if(n.match(/^(px|em|in)\b/))return"unit";if(n.match(_))return"keyword";if(n.match(/^url/)&&"("===n.peek())return r.tokenizer=urlTokens,"atom";if("="===i&&n.match(/^=[\w-]+/))return indent(r),"meta";if("+"===i&&n.match(/^\+[\w-]+/))return"variable-3";if("@"===i&&n.match(/@extend/)&&(n.match(/\s*[\w]/)||dedent(r)),n.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return indent(r),"def";if("@"===i)return n.next(),n.eatWhile(/[\w-]/),"def";if(n.eatWhile(/[\w-]/)){if(n.match(/ *: *[\w-\+\$#!\("']/,!1)){o=n.current().toLowerCase();var j=r.prevProp+"-"+o;return a.hasOwnProperty(j)?"property":a.hasOwnProperty(o)?(r.prevProp=o,"property"):w.hasOwnProperty(o)?"property":"tag"}return n.match(/ *:/,!1)?(indent(r),r.cursorHalf=1,r.prevProp=n.current().toLowerCase(),"property"):(n.match(/ *,/,!1)||indent(r),"tag")}if(":"===i)return n.match(P)?"variable-3":(n.next(),r.cursorHalf=1,"operator")}return n.match(E)?"operator":(n.next(),null)}return{startState:function(){return{tokenizer:tokenBase,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(n,o){var i=function tokenLexer(n,o){n.sol()&&(o.indentCount=0);var i=o.tokenizer(n,o),a=n.current();if("@return"!==a&&"}"!==a||dedent(o),null!==i){for(var s=n.pos-a.length+r.indentUnit*o.indentCount,y=[],w=0;w{const r=(0,a.onlineParser)({eatWhitespace:n=>n.eatWhile(a.isIgnored),lexRules:a.LexRules,parseRules:a.ParseRules,editorConfig:{tabSize:n.tabSize}});return{config:n,startState:r.startState,token:r.token,indent:indent,electricInput:/^\s*[})\]]/,fold:"brace",lineComment:"#",closeBrackets:{pairs:'()[]{}""',explode:"()[]{}"}}})},Ijbi:function(n,r,o){var i=o("WkPL");n.exports=function _arrayWithoutHoles(n){if(Array.isArray(n))return i(n)},n.exports.__esModule=!0,n.exports.default=n.exports},J4zp:function(n,r,o){var i=o("wTVA"),a=o("m0LI"),s=o("ZhPi"),y=o("wkBT");n.exports=function _slicedToArray(n,r){return i(n)||a(n,r)||s(n,r)||y()},n.exports.__esModule=!0,n.exports.default=n.exports},JCIs:function(n,r,o){"use strict";o.r(r),o.d(r,"CharacterStream",(function(){return CharacterStream})),o.d(r,"LexRules",(function(){return i})),o.d(r,"ParseRules",(function(){return a})),o.d(r,"isIgnored",(function(){return isIgnored})),o.d(r,"butNot",(function(){return butNot})),o.d(r,"list",(function(){return list})),o.d(r,"opt",(function(){return opt})),o.d(r,"p",(function(){return p})),o.d(r,"t",(function(){return t})),o.d(r,"onlineParser",(function(){return onlineParser}));class CharacterStream{constructor(n){this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)?this._sourceText.charAt(this._pos):null,this.next=()=>{const n=this._sourceText.charAt(this._pos);return this._pos++,n},this.eat=n=>{if(this._testNextCharacter(n))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=n=>{let r=this._testNextCharacter(n),o=!1;for(r&&(o=r,this._start=this._pos);r;)this._pos++,r=this._testNextCharacter(n),o=!0;return o},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=n=>{this._pos=n},this.match=(n,r=!0,o=!1)=>{let i=null,a=null;if("string"==typeof n){a=new RegExp(n,o?"i":"g").test(this._sourceText.substr(this._pos,n.length)),i=n}else n instanceof RegExp&&(a=this._sourceText.slice(this._pos).match(n),i=a&&a[0]);return!(null==a||!("string"==typeof n||a instanceof Array&&this._sourceText.startsWith(a[0],this._pos)))&&(r&&(this._start=this._pos,i&&i.length&&(this._pos+=i.length)),a)},this.backUp=n=>{this._pos-=n},this.column=()=>this._pos,this.indentation=()=>{const n=this._sourceText.match(/\s*/);let r=0;if(n&&0===n.length){const o=n[0];let i=0;for(;o.length>i;)9===o.charCodeAt(i)?r+=2:r++,i++}return r},this.current=()=>this._sourceText.slice(this._start,this._pos),this._start=0,this._pos=0,this._sourceText=n}_testNextCharacter(n){const r=this._sourceText.charAt(this._pos);let o=!1;return o="string"==typeof n?r===n:n instanceof RegExp?n.test(r):n(r),o}}function opt(n){return{ofRule:n}}function list(n,r){return{ofRule:n,isList:!0,separator:r}}function butNot(n,r){const o=n.match;return n.match=n=>{let i=!1;return o&&(i=o(n)),i&&r.every(r=>r.match&&!r.match(n))},n}function t(n,r){return{style:r,match:r=>r.kind===n}}function p(n,r){return{style:r||"punctuation",match:r=>"Punctuation"===r.kind&&r.value===n}}const isIgnored=n=>" "===n||"\t"===n||","===n||"\n"===n||"\r"===n||"\ufeff"===n,i={Name:/^[_A-Za-z][_0-9A-Za-z]*/,Punctuation:/^(?:!|\$|\(|\)|\.\.\.|:|=|@|\[|]|\{|\||\})/,Number:/^-?(?:0|(?:[1-9][0-9]*))(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?/,String:/^(?:"""(?:\\"""|[^"]|"[^"]|""[^"])*(?:""")?|"(?:[^"\\]|\\(?:"|\/|\\|b|f|n|r|t|u[0-9a-fA-F]{4}))*"?)/,Comment:/^#.*/},a={Document:[list("Definition")],Definition(n){switch(n.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return"FragmentDefinition";case"schema":return"SchemaDef";case"scalar":return"ScalarDef";case"type":return"ObjectTypeDef";case"interface":return"InterfaceDef";case"union":return"UnionDef";case"enum":return"EnumDef";case"input":return"InputDef";case"extend":return"ExtendDef";case"directive":return"DirectiveDef"}},ShortQuery:["SelectionSet"],Query:[word("query"),opt(Rules_name("def")),opt("VariableDefinitions"),list("Directive"),"SelectionSet"],Mutation:[word("mutation"),opt(Rules_name("def")),opt("VariableDefinitions"),list("Directive"),"SelectionSet"],Subscription:[word("subscription"),opt(Rules_name("def")),opt("VariableDefinitions"),list("Directive"),"SelectionSet"],VariableDefinitions:[p("("),list("VariableDefinition"),p(")")],VariableDefinition:["Variable",p(":"),"Type",opt("DefaultValue")],Variable:[p("$","variable"),Rules_name("variable")],DefaultValue:[p("="),"Value"],SelectionSet:[p("{"),list("Selection"),p("}")],Selection:(n,r)=>"..."===n.value?r.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":r.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[Rules_name("property"),p(":"),Rules_name("qualifier"),opt("Arguments"),list("Directive"),opt("SelectionSet")],Field:[Rules_name("property"),opt("Arguments"),list("Directive"),opt("SelectionSet")],Arguments:[p("("),list("Argument"),p(")")],Argument:[Rules_name("attribute"),p(":"),"Value"],FragmentSpread:[p("..."),Rules_name("def"),list("Directive")],InlineFragment:[p("..."),opt("TypeCondition"),list("Directive"),"SelectionSet"],FragmentDefinition:[word("fragment"),opt(butNot(Rules_name("def"),[word("on")])),"TypeCondition",list("Directive"),"SelectionSet"],TypeCondition:[word("on"),"NamedType"],Value(n){switch(n.kind){case"Number":return"NumberValue";case"String":return"StringValue";case"Punctuation":switch(n.value){case"[":return"ListValue";case"{":return"ObjectValue";case"$":return"Variable"}return null;case"Name":switch(n.value){case"true":case"false":return"BooleanValue"}return"null"===n.value?"NullValue":"EnumValue"}},NumberValue:[t("Number","number")],StringValue:[t("String","string")],BooleanValue:[t("Name","builtin")],NullValue:[t("Name","keyword")],EnumValue:[Rules_name("string-2")],ListValue:[p("["),list("Value"),p("]")],ObjectValue:[p("{"),list("ObjectField"),p("}")],ObjectField:[Rules_name("attribute"),p(":"),"Value"],Type:n=>"["===n.value?"ListType":"NonNullType",ListType:[p("["),"Type",p("]"),opt(p("!"))],NonNullType:["NamedType",opt(p("!"))],NamedType:[function type(n){return{style:n,match:n=>"Name"===n.kind,update(n,r){n.prevState&&n.prevState.prevState&&(n.name=r.value,n.prevState.prevState.type=r.value)}}}("atom")],Directive:[p("@","meta"),Rules_name("meta"),opt("Arguments")],SchemaDef:[word("schema"),list("Directive"),p("{"),list("OperationTypeDef"),p("}")],OperationTypeDef:[Rules_name("keyword"),p(":"),Rules_name("atom")],ScalarDef:[word("scalar"),Rules_name("atom"),list("Directive")],ObjectTypeDef:[word("type"),Rules_name("atom"),opt("Implements"),list("Directive"),p("{"),list("FieldDef"),p("}")],Implements:[word("implements"),list("NamedType")],FieldDef:[Rules_name("property"),opt("ArgumentsDef"),p(":"),"Type",list("Directive")],ArgumentsDef:[p("("),list("InputValueDef"),p(")")],InputValueDef:[Rules_name("attribute"),p(":"),"Type",opt("DefaultValue"),list("Directive")],InterfaceDef:[word("interface"),Rules_name("atom"),list("Directive"),p("{"),list("FieldDef"),p("}")],UnionDef:[word("union"),Rules_name("atom"),list("Directive"),p("="),list("UnionMember",p("|"))],UnionMember:["NamedType"],EnumDef:[word("enum"),Rules_name("atom"),list("Directive"),p("{"),list("EnumValueDef"),p("}")],EnumValueDef:[Rules_name("string-2"),list("Directive")],InputDef:[word("input"),Rules_name("atom"),list("Directive"),p("{"),list("InputValueDef"),p("}")],ExtendDef:[word("extend"),"ObjectTypeDef"],DirectiveDef:[word("directive"),p("@","meta"),Rules_name("meta"),opt("ArgumentsDef"),word("on"),list("DirectiveLocation",p("|"))],DirectiveLocation:[Rules_name("string-2")]};function word(n){return{style:"keyword",match:r=>"Name"===r.kind&&r.value===n}}function Rules_name(n){return{style:n,match:n=>"Name"===n.kind,update(n,r){n.name=r.value}}}function onlineParser(n={eatWhitespace:n=>n.eatWhile(isIgnored),lexRules:i,parseRules:a,editorConfig:{}}){return{startState(){const r={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeperator:!1,prevState:null};return pushRule(n.parseRules,r,"Document"),r},token:(r,o)=>function getToken(n,r,o){const{lexRules:i,parseRules:a,eatWhitespace:y,editorConfig:w}=o;r.rule&&0===r.rule.length?popRule(r):r.needsAdvance&&(r.needsAdvance=!1,advanceRule(r,!0));if(n.sol()){const o=w&&w.tabSize||2;r.indentLevel=Math.floor(n.indentation()/o)}if(y(n))return"ws";const _=function lex(n,r){const o=Object.keys(n);for(let i=0;i0&&n[n.length-1]=0)return r}else{var o=i.toSetString(n);if(a.call(this._set,o))return this._set[o]}throw new Error('"'+n+'" is not in the set.')},ArraySet.prototype.at=function ArraySet_at(n){if(n>=0&&n50&&o.shift()}function getFromRing(n){return o[o.length-(n?Math.min(n,1):1)]||""}var i=null;function kill(n,r,a,s,y){null==y&&(y=n.getRange(r,a)),"grow"==s&&i&&i.cm==n&&posEq(r,i.pos)&&n.isClean(i.gen)?function growRingTop(n){if(!o.length)return addToRing(n);o[o.length-1]+=n}(y):!1!==s&&addToRing(y),n.replaceRange("",r,a,"+delete"),i="grow"==s?{cm:n,pos:r,gen:n.changeGeneration()}:null}function byChar(n,r,o){return n.findPosH(r,o,"char",!0)}function byWord(n,r,o){return n.findPosH(r,o,"word",!0)}function byLine(n,r,o){return n.findPosV(r,o,"line",n.doc.sel.goalColumn)}function byPage(n,r,o){return n.findPosV(r,o,"page",n.doc.sel.goalColumn)}function byParagraph(n,o,i){for(var a=o.line,s=n.getLine(a),y=/\S/.test(i<0?s.slice(0,o.ch):s.slice(o.ch)),w=n.firstLine(),_=n.lastLine();;){if((a+=i)_)return n.clipPos(r(a-i,i<0?0:null));if(s=n.getLine(a),/\S/.test(s))y=!0;else if(y)return r(a,0)}}function bySentence(n,o,i){for(var a=o.line,s=o.ch,y=n.getLine(o.line),w=!1;;){var _=y.charAt(s+(i<0?-1:0));if(_){if(w&&/[!?.]/.test(_))return r(a,s+(i>0?1:0));w||(w=/\w/.test(_)),s+=i}else{if(a==(i<0?n.firstLine():n.lastLine()))return r(a,s);if(y=n.getLine(a+i),!/\S/.test(y))return r(a,s);a+=i,s=i<0?y.length:0}}}function byExpr(n,o,i){var a;if(n.findMatchingBracket&&(a=n.findMatchingBracket(o,{strict:!0}))&&a.match&&(a.forward?1:-1)==i)return i>0?r(a.to.line,a.to.ch+1):a.to;for(var s=!0;;s=!1){var y=n.getTokenAt(o),w=r(o.line,i<0?y.start:y.end);if(!(s&&i>0&&y.end==o.ch)&&/\w/.test(y.string))return w;var _=n.findPosH(w,i,"char");if(posEq(w,_))return o;o=_}}function getPrefix(n,r){var o=n.state.emacsPrefix;return o?(clearPrefix(n),"-"==o?-1:Number(o)):r?null:1}function repeated(n){var r="string"==typeof n?function(r){r.execCommand(n)}:n;return function(n){var o=getPrefix(n);r(n);for(var i=1;i1&&"+input"==r.origin){for(var i=r.text.join("\n"),a="",s=1;s1&&o.pop(),getFromRing()}(),"around","paste")},"Ctrl-Space":setMark,"Ctrl-Shift-2":setMark,"Ctrl-F":move(byChar,1),"Ctrl-B":move(byChar,-1),Right:move(byChar,1),Left:move(byChar,-1),"Ctrl-D":function(n){killTo(n,byChar,1,!1)},Delete:function(n){killRegion(n,!1)||killTo(n,byChar,1,!1)},"Ctrl-H":function(n){killTo(n,byChar,-1,!1)},Backspace:function(n){killRegion(n,!1)||killTo(n,byChar,-1,!1)},"Alt-F":move(byWord,1),"Alt-B":move(byWord,-1),"Alt-Right":move(byWord,1),"Alt-Left":move(byWord,-1),"Alt-D":function(n){killTo(n,byWord,1,"grow")},"Alt-Backspace":function(n){killTo(n,byWord,-1,"grow")},"Ctrl-N":move(byLine,1),"Ctrl-P":move(byLine,-1),Down:move(byLine,1),Up:move(byLine,-1),"Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd",End:"goLineEnd",Home:"goLineStart","Alt-V":move(byPage,-1),"Ctrl-V":move(byPage,1),PageUp:move(byPage,-1),PageDown:move(byPage,1),"Ctrl-Up":move(byParagraph,-1),"Ctrl-Down":move(byParagraph,1),"Alt-A":move(bySentence,-1),"Alt-E":move(bySentence,1),"Alt-K":function(n){killTo(n,bySentence,1,"grow")},"Ctrl-Alt-K":function(n){killTo(n,byExpr,1,"grow")},"Ctrl-Alt-Backspace":function(n){killTo(n,byExpr,-1,"grow")},"Ctrl-Alt-F":move(byExpr,1),"Ctrl-Alt-B":move(byExpr,-1),"Shift-Ctrl-Alt-2":function(n){var r=n.getCursor();n.setSelection(findEnd(n,r,byExpr,1),r)},"Ctrl-Alt-T":function(n){var r=byExpr(n,n.getCursor(),-1),o=byExpr(n,r,1),i=byExpr(n,o,1),a=byExpr(n,i,-1);n.replaceRange(n.getRange(a,i)+n.getRange(o,a)+n.getRange(r,o),r,i)},"Ctrl-Alt-U":repeated((function toEnclosingExpr(n){for(var o=n.getCursor(),i=o.line,a=o.ch,s=[];i>=n.firstLine();){for(var y=n.getLine(i),w=null==a?y.length:a;w>0;)if(")"==(a=y.charAt(--w)))s.push("(");else if("]"==a)s.push("[");else if("}"==a)s.push("{");else if(/[\(\{\[]/.test(a)&&(!s.length||s.pop()!=a))return n.extendSelection(r(i,w));--i,a=null}})),"Alt-Space":function(n){for(var o=n.getCursor(),i=o.ch,a=o.ch,s=n.getLine(o.line);i&&/\s/.test(s.charAt(i-1));)--i;for(;a0)return n.setCursor(r-1);!function getInput(n,r,o){n.openDialog?n.openDialog(r+': ',o,{bottom:!0}):o(prompt(r,""))}(n,"Goto line",(function(r){var o;r&&!isNaN(o=Number(r))&&o==(0|o)&&o>0&&n.setCursor(o-1)}))},"Ctrl-X Tab":function(n){n.indentSelection(getPrefix(n,!0)||n.getOption("indentUnit"))},"Ctrl-X Ctrl-X":function(n){n.setSelection(n.getCursor("head"),n.getCursor("anchor"))},"Ctrl-X Ctrl-S":"save","Ctrl-X Ctrl-W":"save","Ctrl-X S":"saveAll","Ctrl-X F":"open","Ctrl-X U":repeated("undo"),"Ctrl-X K":"close","Ctrl-X Delete":function(n){kill(n,n.getCursor(),bySentence(n,n.getCursor(),1),"grow")},"Ctrl-X H":"selectAll","Ctrl-Q Tab":repeated("insertTab"),"Ctrl-U":function addPrefixMap(n){n.state.emacsPrefixMap=!0,n.addKeyMap(y),n.on("keyHandled",maybeRemovePrefixMap),n.on("inputRead",maybeRemovePrefixMap)}}),y={"Ctrl-G":clearPrefix};function regPrefix(n){y[n]=function(r){addPrefix(r,n)},s["Ctrl-"+n]=function(r){addPrefix(r,n)},a["Ctrl-"+n]=!0}for(var w=0;w<10;++w)regPrefix(String(w));regPrefix("-")}(o("VrN/"))},LpSC:function(n,r,o){o("bZMm"),n.exports=self.fetch.bind(self)},M5x7:function(n,r,o){"use strict";var i=o("TqRt");Object.defineProperty(r,"__esModule",{value:!0}),r.createSelectorHook=createSelectorHook,r.useSelector=void 0;var a=o("q1tI"),s=o("mCWk"),y=i(o("edbT")),w=o("V+Yl"),_=o("joe6"),E=function refEquality(n,r){return n===r};function createSelectorHook(n){void 0===n&&(n=_.ReactReduxContext);var r=n===_.ReactReduxContext?s.useReduxContext:function(){return(0,a.useContext)(n)};return function useSelector(n,o){void 0===o&&(o=E);var i=r();return function useSelectorWithStoreAndSubscription(n,r,o,i){var s,_=(0,a.useReducer)((function(n){return n+1}),0)[1],E=(0,a.useMemo)((function(){return new y.default(o,i)}),[o,i]),P=(0,a.useRef)(),j=(0,a.useRef)(),B=(0,a.useRef)();try{s=n!==j.current||P.current?n(o.getState()):B.current}catch(n){throw P.current&&(n.message+="\nThe error may be correlated with this previous error:\n"+P.current.stack+"\n\n"),n}return(0,w.useIsomorphicLayoutEffect)((function(){j.current=n,B.current=s,P.current=void 0})),(0,w.useIsomorphicLayoutEffect)((function(){function checkForUpdates(){try{var n=j.current(o.getState());if(r(n,B.current))return;B.current=n}catch(n){P.current=n}_({})}return E.onStateChange=checkForUpdates,E.trySubscribe(),checkForUpdates(),function(){return E.tryUnsubscribe()}}),[o,E]),s}(n,o,i.store,i.subscription)}}var P=createSelectorHook();r.useSelector=P},MgzW:function(n,r,o){"use strict";var i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function toObject(n){if(null==n)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}n.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var n=new String("abc");if(n[5]="de","5"===Object.getOwnPropertyNames(n)[0])return!1;for(var r={},o=0;o<10;o++)r["_"+String.fromCharCode(o)]=o;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(n){return r[n]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(n){i[n]=n})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(n){return!1}}()?Object.assign:function(n,r){for(var o,y,w=toObject(n),_=1;_!?|@\.~:]/.test(a))return"operator";if(/[\w\xa1-\uffff]/.test(a)){n.eatWhile(/[\w\xa1-\uffff]/);var s=n.current();return i.hasOwnProperty(s)?i[s]:"variable"}return null}function tokenString(n,r){for(var o,i=!1,a=!1;null!=(o=n.next());){if('"'===o&&!a){i=!0;break}a=!a&&"\\"===o}return i&&!a&&(r.tokenize=tokenBase),"string"}function tokenComment(n,r){for(var o,i;r.commentLevel>0&&null!=(i=n.next());)"("===o&&"*"===i&&r.commentLevel++,"*"===o&&")"===i&&r.commentLevel--,o=i;return r.commentLevel<=0&&(r.tokenize=tokenBase),"comment"}function tokenLongString(n,r){for(var o,i;r.longString&&null!=(i=n.next());)"|"===o&&"}"===i&&(r.longString=!1),o=i;return r.longString||(r.tokenize=tokenBase),"string"}return n.registerHelper("hintWords","mllike",y),{startState:function(){return{tokenize:tokenBase,commentLevel:0,longString:!1}},token:function(n,r){return n.eatSpace()?null:r.tokenize(n,r)},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:o.slashComments?"//":null}})),n.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),n.defineMIME("text/x-fsharp",{name:"mllike",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),n.defineMIME("text/x-sml",{name:"mllike",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0})}(o("VrN/"))},Nsbk:function(n,r){function _getPrototypeOf(r){return n.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(n){return n.__proto__||Object.getPrototypeOf(n)},n.exports.__esModule=!0,n.exports.default=n.exports,_getPrototypeOf(r)}n.exports=_getPrototypeOf,n.exports.__esModule=!0,n.exports.default=n.exports},O1HA:function(n,r,o){"use strict";var i=o("TqRt");Object.defineProperty(r,"__esModule",{value:!0}),r.createConnect=createConnect,r.default=void 0;var a=i(o("cDf5")),s=i(o("wx14")),y=i(o("zLVn")),w=i(o("/jNT")),_=i(o("Ggip")),E=i(o("L13z")),P=i(o("5Ffo")),j=i(o("v0yM")),B=i(o("eQam"));function match(n,r,o){for(var i=r.length-1;i>=0;i--){var s=r[i](n);if(s)return s}return function(r,i){throw new Error("Invalid value of type "+(0,a.default)(n)+" for "+o+" argument when connecting component "+i.wrappedComponentName+".")}}function strictEqual(n,r){return n===r}function createConnect(n){var r=void 0===n?{}:n,o=r.connectHOC,i=void 0===o?w.default:o,a=r.mapStateToPropsFactories,q=void 0===a?P.default:a,$=r.mapDispatchToPropsFactories,ne=void 0===$?E.default:$,oe=r.mergePropsFactories,ie=void 0===oe?j.default:oe,se=r.selectorFactory,le=void 0===se?B.default:se;return function connect(n,r,o,a){void 0===a&&(a={});var w=a,E=w.pure,P=void 0===E||E,j=w.areStatesEqual,B=void 0===j?strictEqual:j,$=w.areOwnPropsEqual,oe=void 0===$?_.default:$,se=w.areStatePropsEqual,pe=void 0===se?_.default:se,he=w.areMergedPropsEqual,me=void 0===he?_.default:he,ge=(0,y.default)(w,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),ye=match(n,q,"mapStateToProps"),ve=match(r,ne,"mapDispatchToProps"),ke=match(o,ie,"mergeProps");return i(le,(0,s.default)({methodName:"connect",getDisplayName:function getDisplayName(n){return"Connect("+n+")"},shouldHandleStateChanges:Boolean(n),initMapStateToProps:ye,initMapDispatchToProps:ve,initMergeProps:ke,pure:P,areStatesEqual:B,areOwnPropsEqual:oe,areStatePropsEqual:pe,areMergedPropsEqual:me},ge))}}var q=createConnect();r.default=q},PJYZ:function(n,r){n.exports=function _assertThisInitialized(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n},n.exports.__esModule=!0,n.exports.default=n.exports},PVgs:function(n,r,o){!function(n){"use strict";function wordRegexp(n){return new RegExp("^(("+n.join(")|(")+"))\\b")}var r=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],o=wordRegexp(r),i=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],a=wordRegexp(i),s=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],y=wordRegexp(s),w=["true","false","Infinity","NaN","null"],_=wordRegexp(w);n.registerHelper("hintWords","webidl",r.concat(i).concat(s).concat(w));var E=wordRegexp(["callback","dictionary","enum","interface"]),P=wordRegexp(["typedef"]),j=/^[:<=>?]/,B=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,q=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,$=/^_?[A-Za-z][0-9A-Z_a-z-]*/,ne=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,oe=/^"[^"]*"/,ie=/^\/\*.*?\*\//,se=/^\/\*.*/,le=/^.*?\*\//;n.defineMode("webidl",(function(){return{startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(n,r){var i=function readToken(n,r){if(n.eatSpace())return null;if(r.inComment)return n.match(le)?(r.inComment=!1,"comment"):(n.skipToEnd(),"comment");if(n.match("//"))return n.skipToEnd(),"comment";if(n.match(ie))return"comment";if(n.match(se))return r.inComment=!0,"comment";if(n.match(/^-?[0-9\.]/,!1)&&(n.match(B)||n.match(q)))return"number";if(n.match(oe))return"string";if(r.startDef&&n.match($))return"def";if(r.endDef&&n.match(ne))return r.endDef=!1,"def";if(n.match(y))return"keyword";if(n.match(a)){var i=r.lastToken,s=(n.match(/^\s*(.+?)\b/,!1)||[])[1];return":"===i||"implements"===i||"implements"===s||"="===s?"builtin":"variable-3"}return n.match(o)?"builtin":n.match(_)?"atom":n.match($)?"variable":n.match(j)?"operator":(n.next(),null)}(n,r);if(i){var s=n.current();r.lastToken=s,"keyword"===i?(r.startDef=E.test(s),r.endDef=r.endDef||P.test(s)):r.startDef=!1}return i}}})),n.defineMIME("text/x-webidl","webidl")}(o("VrN/"))},QCnb:function(n,r,o){"use strict";n.exports=o("+wdc")},QILm:function(n,r,o){var i=o("8OQS");n.exports=function _objectWithoutProperties(n,r){if(null==n)return{};var o,a,s=i(n,r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(n);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(n,o)&&(s[o]=n[o])}return s},n.exports.__esModule=!0,n.exports.default=n.exports},RIqP:function(n,r,o){var i=o("Ijbi"),a=o("EbDI"),s=o("ZhPi"),y=o("Bnag");n.exports=function _toConsumableArray(n){return i(n)||a(n)||s(n)||y()},n.exports.__esModule=!0,n.exports.default=n.exports},RNWO:function(n,r,o){!function(n){"use strict";function keywords(n){for(var r={},o=n.split(" "),i=0;i\w/,!1)&&(r.tokenize=matchSequence([[["->",null]],[[/[\w]+/,"variable"]]],o,i)),"variable-2";for(var a=!1;!n.eol()&&(a||!1===i||!n.match("{$",!1)&&!n.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!a&&n.match(o)){r.tokenize=null,r.tokStack.pop(),r.tokStack.pop();break}a="\\"==n.next()&&!a}return"string"}(o,i,n,r)}}var r="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally",o="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",i="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";n.registerHelper("hintWords","php",[r,o,i].join(" ").split(" ")),n.registerHelper("wordChars","php",/[\w$]/);var a={name:"clike",helperType:"php",keywords:keywords(r),blockKeywords:keywords("catch do else elseif for foreach if switch try while finally"),defKeywords:keywords("class function interface namespace trait"),atoms:keywords(o),builtin:keywords(i),multiLineStrings:!0,hooks:{$:function(n){return n.eatWhile(/[\w\$_]/),"variable-2"},"<":function(n,r){var o;if(o=n.match(/<<\s*/)){var i=n.eat(/['"]/);n.eatWhile(/[\w\.]/);var a=n.current().slice(o[0].length+(i?2:1));if(i&&n.eat(i),a)return(r.tokStack||(r.tokStack=[])).push(a,0),r.tokenize=phpString(a,"'"!=i),"string"}return!1},"#":function(n){for(;!n.eol()&&!n.match("?>",!1);)n.next();return"comment"},"/":function(n){if(n.eat("/")){for(;!n.eol()&&!n.match("?>",!1);)n.next();return"comment"}return!1},'"':function(n,r){return(r.tokStack||(r.tokStack=[])).push('"',0),r.tokenize=phpString('"'),"string"},"{":function(n,r){return r.tokStack&&r.tokStack.length&&r.tokStack[r.tokStack.length-1]++,!1},"}":function(n,r){return r.tokStack&&r.tokStack.length>0&&!--r.tokStack[r.tokStack.length-1]&&(r.tokenize=phpString(r.tokStack[r.tokStack.length-2])),!1}}};n.defineMode("php",(function(r,o){var i=n.getMode(r,o&&o.htmlMode||"text/html"),s=n.getMode(r,a);return{startState:function(){var r=n.startState(i),a=o.startOpen?n.startState(s):null;return{html:r,php:a,curMode:o.startOpen?s:i,curState:o.startOpen?a:r,pending:null}},copyState:function(r){var o,a=r.html,y=n.copyState(i,a),w=r.php,_=w&&n.copyState(s,w);return o=r.curMode==i?y:_,{html:y,php:_,curMode:r.curMode,curState:o,pending:r.pending}},token:function dispatch(r,o){var a=o.curMode==s;if(r.sol()&&o.pending&&'"'!=o.pending&&"'"!=o.pending&&(o.pending=null),a)return a&&null==o.php.tokenize&&r.match("?>")?(o.curMode=i,o.curState=o.html,o.php.context.prev||(o.php=null),"meta"):s.token(r,o.curState);if(r.match(/^<\?\w*/))return o.curMode=s,o.php||(o.php=n.startState(s,i.indent(o.html,"",""))),o.curState=o.php,"meta";if('"'==o.pending||"'"==o.pending){for(;!r.eol()&&r.next()!=o.pending;);var y="string"}else o.pending&&r.pos/.test(_)?o.pending=w[0]:o.pending={end:r.pos,style:y},r.backUp(_.length-E)),y},indent:function(n,r,o){return n.curMode!=s&&/^\s*<\//.test(r)||n.curMode==s&&/^\?>/.test(r)?i.indent(n.html,r,o):n.curMode.indent(n.curState,r,o)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(n){return{state:n.curState,mode:n.curMode}}}}),"htmlmixed","clike"),n.defineMIME("application/x-httpd-php","php"),n.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),n.defineMIME("text/x-php",a)}(o("VrN/"),o("1p+/"),o("S6bl"))},S6bl:function(n,r,o){!function(n){"use strict";function Context(n,r,o,i,a,s){this.indented=n,this.column=r,this.type=o,this.info=i,this.align=a,this.prev=s}function pushContext(n,r,o,i){var a=n.indented;return n.context&&"statement"==n.context.type&&"statement"!=o&&(a=n.context.indented),n.context=new Context(a,r,o,i,null,n.context)}function popContext(n){var r=n.context.type;return")"!=r&&"]"!=r&&"}"!=r||(n.indented=n.context.indented),n.context=n.context.prev}function typeBefore(n,r,o){return"variable"==r.prevToken||"type"==r.prevToken||!!/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(n.string.slice(0,o))||!(!r.typeAtEndOfLine||n.column()!=n.indentation())||void 0}function isTopScope(n){for(;;){if(!n||"top"==n.type)return!0;if("}"==n.type&&"namespace"!=n.prev.info)return!1;n=n.prev}}function words(n){for(var r={},o=n.split(" "),i=0;i!?|\/]/,ge=o.isIdentifierChar||/[\w\$_\xa1-\uffff]/,ye=o.isReservedIdentifier||!1;function tokenBase(n,r){var o=n.next();if($[o]){var s=$[o](n,r);if(!1!==s)return s}if('"'==o||"'"==o)return r.tokenize=function tokenString(n){return function(r,o){for(var i,a=!1,s=!1;null!=(i=r.next());){if(i==n&&!a){s=!0;break}a=!a&&"\\"==i}return(s||!a&&!ne)&&(o.tokenize=null),"string"}}(o),r.tokenize(n,r);if(le.test(o))return i=o,null;if(pe.test(o)){if(n.backUp(1),n.match(he))return"number";n.next()}if("/"==o){if(n.eat("*"))return r.tokenize=tokenComment,tokenComment(n,r);if(n.eat("/"))return n.skipToEnd(),"comment"}if(me.test(o)){for(;!n.match(/^\/[\/*]/,!1)&&n.eat(me););return"operator"}if(n.eatWhile(ge),se)for(;n.match(se);)n.eatWhile(ge);var y=n.current();return contains(_,y)?(contains(j,y)&&(i="newstatement"),contains(B,y)&&(a=!0),"keyword"):contains(E,y)?"type":contains(P,y)||ye&&ye(y)?(contains(j,y)&&(i="newstatement"),"builtin"):contains(q,y)?"atom":"variable"}function tokenComment(n,r){for(var o,i=!1;o=n.next();){if("/"==o&&i){r.tokenize=null;break}i="*"==o}return"comment"}function maybeEOL(n,r){o.typeFirstDefinitions&&n.eol()&&isTopScope(r.context)&&(r.typeAtEndOfLine=typeBefore(n,r,n.pos))}return{startState:function(n){return{tokenize:null,context:new Context((n||0)-s,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(n,r){var s=r.context;if(n.sol()&&(null==s.align&&(s.align=!1),r.indented=n.indentation(),r.startOfLine=!0),n.eatSpace())return maybeEOL(n,r),null;i=a=null;var y=(r.tokenize||tokenBase)(n,r);if("comment"==y||"meta"==y)return y;if(null==s.align&&(s.align=!0),";"==i||":"==i||","==i&&n.match(/^\s*(?:\/\/.*)?$/,!1))for(;"statement"==r.context.type;)popContext(r);else if("{"==i)pushContext(r,n.column(),"}");else if("["==i)pushContext(r,n.column(),"]");else if("("==i)pushContext(r,n.column(),")");else if("}"==i){for(;"statement"==s.type;)s=popContext(r);for("}"==s.type&&(s=popContext(r));"statement"==s.type;)s=popContext(r)}else i==s.type?popContext(r):oe&&(("}"==s.type||"top"==s.type)&&";"!=i||"statement"==s.type&&"newstatement"==i)&&pushContext(r,n.column(),"statement",n.current());if("variable"==y&&("def"==r.prevToken||o.typeFirstDefinitions&&typeBefore(n,r,n.start)&&isTopScope(r.context)&&n.match(/^\s*\(/,!1))&&(y="def"),$.token){var w=$.token(n,r,y);void 0!==w&&(y=w)}return"def"==y&&!1===o.styleDefs&&(y="variable"),r.startOfLine=!1,r.prevToken=a?"def":y||i,maybeEOL(n,r),y},indent:function(r,i){if(r.tokenize!=tokenBase&&null!=r.tokenize||r.typeAtEndOfLine)return n.Pass;var a=r.context,_=i&&i.charAt(0),E=_==a.type;if("statement"==a.type&&"}"==_&&(a=a.prev),o.dontIndentStatements)for(;"statement"==a.type&&o.dontIndentStatements.test(a.info);)a=a.prev;if($.indent){var P=$.indent(r,a,i,s);if("number"==typeof P)return P}var j=a.prev&&"switch"==a.prev.info;if(o.allmanIndentation&&/[{(]/.test(_)){for(;"top"!=a.type&&"}"!=a.type;)a=a.prev;return a.indented}return"statement"==a.type?a.indented+("{"==_?0:y):!a.align||w&&")"==a.type?")"!=a.type||E?a.indented+(E?0:s)+(E||!j||/^(?:case|default)\b/.test(i)?0:s):a.indented+y:a.column+(E?0:1)},electricInput:ie?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}}));var r="auto if break case register continue return default do sizeof static else struct switch extern typedef union for goto while enum const volatile inline restrict asm fortran",o="alignas alignof and and_eq audit axiom bitand bitor catch class compl concept constexpr const_cast decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires static_assert static_cast template this thread_local throw try typeid typename using virtual xor xor_eq",i="bycopy byref in inout oneway out self super atomic nonatomic retain copy readwrite readonly strong weak assign typeof nullable nonnull null_resettable _cmd @interface @implementation @end @protocol @encode @property @synthesize @dynamic @class @public @package @private @protected @required @optional @try @catch @finally @import @selector @encode @defs @synchronized @autoreleasepool @compatibility_alias @available",a="FOUNDATION_EXPORT FOUNDATION_EXTERN NS_INLINE NS_FORMAT_FUNCTION NS_RETURNS_RETAINEDNS_ERROR_ENUM NS_RETURNS_NOT_RETAINED NS_RETURNS_INNER_POINTER NS_DESIGNATED_INITIALIZER NS_ENUM NS_OPTIONS NS_REQUIRES_NIL_TERMINATION NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_SWIFT_NAME NS_REFINED_FOR_SWIFT",s=words("int long char short double float unsigned signed void bool"),y=words("SEL instancetype id Class Protocol BOOL");function cTypes(n){return contains(s,n)||/.+_t$/.test(n)}function objCTypes(n){return cTypes(n)||contains(y,n)}var w="case do else for if switch while struct enum union";function cppHook(n,r){if(!r.startOfLine)return!1;for(var o,i=null;o=n.peek();){if("\\"==o&&n.match(/^.$/)){i=cppHook;break}if("/"==o&&n.match(/^\/[\/\*]/,!1))break;n.next()}return r.tokenize=i,"meta"}function pointerHook(n,r){return"type"==r.prevToken&&"type"}function cIsReservedIdentifier(n){return!(!n||n.length<2||"_"!=n[0]||"_"!=n[1]&&n[1]===n[1].toLowerCase())}function cpp14Literal(n){return n.eatWhile(/[\w\.']/),"number"}function cpp11StringHook(n,r){if(n.backUp(1),n.match(/(R|u8R|uR|UR|LR)/)){var o=n.match(/"([^\s\\()]{0,16})\(/);return!!o&&(r.cpp11RawStringDelim=o[1],r.tokenize=tokenRawString,tokenRawString(n,r))}return n.match(/(u8|u|U|L)/)?!!n.match(/["']/,!1)&&"string":(n.next(),!1)}function cppLooksLikeConstructor(n){var r=/(\w+)::~?(\w+)$/.exec(n);return r&&r[1]==r[2]}function tokenAtString(n,r){for(var o;null!=(o=n.next());)if('"'==o&&!n.eat('"')){r.tokenize=null;break}return"string"}function tokenRawString(n,r){var o=r.cpp11RawStringDelim.replace(/[^\w\s]/g,"\\$&");return n.match(new RegExp(".*?\\)"+o+'"'))?r.tokenize=null:n.skipToEnd(),"string"}function def(r,o){"string"==typeof r&&(r=[r]);var i=[];function add(n){if(n)for(var r in n)n.hasOwnProperty(r)&&i.push(r)}add(o.keywords),add(o.types),add(o.builtin),add(o.atoms),i.length&&(o.helperType=r[0],n.registerHelper("hintWords",r[0],i));for(var a=0;a!?|\/#:@]/,hooks:{"@":function(n){return n.eatWhile(/[\w\$_]/),"meta"},'"':function(n,r){return!!n.match('""')&&(r.tokenize=tokenTripleString,r.tokenize(n,r))},"'":function(n){return n.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},"=":function(n,r){var o=r.context;return!("}"!=o.type||!o.align||!n.eat(">"))&&(r.context=new Context(o.indented,o.column,o.type,o.info,null,o.prev),"operator")},"/":function(n,r){return!!n.eat("*")&&(r.tokenize=tokenNestedComment(1),r.tokenize(n,r))}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}}),def("text/x-kotlin",{name:"clike",keywords:words("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam"),types:words("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:words("catch class do else finally for if where try while enum"),defKeywords:words("class val var object interface fun"),atoms:words("true false null this"),hooks:{"@":function(n){return n.eatWhile(/[\w\$_]/),"meta"},"*":function(n,r){return"."==r.prevToken?"variable":"operator"},'"':function(n,r){return r.tokenize=function tokenKotlinString(n){return function(r,o){for(var i,a=!1,s=!1;!r.eol();){if(!n&&!a&&r.match('"')){s=!0;break}if(n&&r.match('"""')){s=!0;break}i=r.next(),!a&&"$"==i&&r.match("{")&&r.skipTo("}"),a=!a&&"\\"==i&&!n}return!s&&n||(o.tokenize=null),"string"}}(n.match('""')),r.tokenize(n,r)},"/":function(n,r){return!!n.eat("*")&&(r.tokenize=tokenNestedComment(1),r.tokenize(n,r))},indent:function(n,r,o,i){var a=o&&o.charAt(0);return"}"!=n.prevToken&&")"!=n.prevToken||""!=o?"operator"==n.prevToken&&"}"!=o&&"}"!=n.context.type||"variable"==n.prevToken&&"."==a||("}"==n.prevToken||")"==n.prevToken)&&"."==a?2*i+r.indented:r.align&&"}"==r.type?r.indented+(n.context.type==(o||"").charAt(0)?0:i):void 0:n.indented}},modeProps:{closeBrackets:{triples:'"'}}}),def(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:words("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:words("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:words("for while do if else struct"),builtin:words("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:words("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TexureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-nesc",{name:"clike",keywords:words(r+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:cTypes,blockKeywords:words(w),atoms:words("null true false"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}}),def("text/x-objectivec",{name:"clike",keywords:words(r+" "+i),types:objCTypes,builtin:words(a),blockKeywords:words(w+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:words("struct enum union @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:words("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:cIsReservedIdentifier,hooks:{"#":cppHook,"*":pointerHook},modeProps:{fold:["brace","include"]}}),def("text/x-objectivec++",{name:"clike",keywords:words(r+" "+i+" "+o),types:objCTypes,builtin:words(a),blockKeywords:words(w+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:words("struct enum union @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:words("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:cIsReservedIdentifier,hooks:{"#":cppHook,"*":pointerHook,u:cpp11StringHook,U:cpp11StringHook,L:cpp11StringHook,R:cpp11StringHook,0:cpp14Literal,1:cpp14Literal,2:cpp14Literal,3:cpp14Literal,4:cpp14Literal,5:cpp14Literal,6:cpp14Literal,7:cpp14Literal,8:cpp14Literal,9:cpp14Literal,token:function(n,r,o){if("variable"==o&&"("==n.peek()&&(";"==r.prevToken||null==r.prevToken||"}"==r.prevToken)&&cppLooksLikeConstructor(n.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),def("text/x-squirrel",{name:"clike",keywords:words("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:cTypes,blockKeywords:words("case catch class else for foreach if switch try while"),defKeywords:words("function local class"),typeFirstDefinitions:!0,atoms:words("true false null"),hooks:{"#":cppHook},modeProps:{fold:["brace","include"]}});var _=null;def("text/x-ceylon",{name:"clike",keywords:words("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(n){var r=n.charAt(0);return r===r.toUpperCase()&&r!==r.toLowerCase()},blockKeywords:words("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:words("class dynamic function interface module object package value"),builtin:words("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:words("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(n){return n.eatWhile(/[\w\$_]/),"meta"},'"':function(n,r){return r.tokenize=function tokenCeylonString(n){return function(r,o){for(var i,a=!1,s=!1;!r.eol();){if(!a&&r.match('"')&&("single"==n||r.match('""'))){s=!0;break}if(!a&&r.match("``")){_=tokenCeylonString(n),s=!0;break}i=r.next(),a="single"==n&&!a&&"\\"==i}return s&&(o.tokenize=null),"string"}}(n.match('""')?"triple":"single"),r.tokenize(n,r)},"`":function(n,r){return!(!_||!n.match("`"))&&(r.tokenize=_,_=null,r.tokenize(n,r))},"'":function(n){return n.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(n,r,o){if(("variable"==o||"type"==o)&&"."==r.prevToken)return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})}(o("VrN/"))},SJVZ:function(n,r,o){!function(n){"use strict";function doFold(r,o,i,a){if(i&&i.call){var s=i;i=null}else s=getOption(r,i,"rangeFinder");"number"==typeof o&&(o=n.Pos(o,0));var y=getOption(r,i,"minFoldSize");function getRange(n){var i=s(r,o);if(!i||i.to.line-i.from.liner.firstLine();)o=n.Pos(o.line-1,0),w=getRange(!1);if(w&&!w.cleared&&"unfold"!==a){var _=function makeWidget(n,r,o){var i=getOption(n,r,"widget");if("function"==typeof i&&(i=i(o.from,o.to)),"string"==typeof i){var a=document.createTextNode(i);(i=document.createElement("span")).appendChild(a),i.className="CodeMirror-foldmarker"}else i&&(i=i.cloneNode(!0));return i}(r,i,w);n.on(_,"mousedown",(function(r){E.clear(),n.e_preventDefault(r)}));var E=r.markText(w.from,w.to,{replacedWith:_,clearOnEnter:getOption(r,i,"clearOnEnter"),__isFold:!0});E.on("clear",(function(o,i){n.signal(r,"unfold",r,o,i)})),n.signal(r,"fold",r,w.from,w.to)}}n.newFoldFunction=function(n,r){return function(o,i){doFold(o,i,{rangeFinder:n,widget:r})}},n.defineExtension("foldCode",(function(n,r,o){doFold(this,n,r,o)})),n.defineExtension("isFolded",(function(n){for(var r=this.findMarksAt(n),o=0;o!|\/]/;function tokenBase(n,r){var i=n.next();if('"'==i||"'"==i||"`"==i)return r.tokenize=function tokenString(n){return function(r,o){for(var i,a=!1,s=!1;null!=(i=r.next());){if(i==n&&!a){s=!0;break}a=!a&&"`"!=n&&"\\"==i}return(s||!a&&"`"!=n)&&(o.tokenize=tokenBase),"string"}}(i),r.tokenize(n,r);if(/[\d\.]/.test(i))return"."==i?n.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):"0"==i?n.match(/^[xX][0-9a-fA-F]+/)||n.match(/^0[0-7]+/):n.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(i))return o=i,null;if("/"==i){if(n.eat("*"))return r.tokenize=tokenComment,tokenComment(n,r);if(n.eat("/"))return n.skipToEnd(),"comment"}if(y.test(i))return n.eatWhile(y),"operator";n.eatWhile(/[\w\$_\xa1-\uffff]/);var w=n.current();return a.propertyIsEnumerable(w)?("case"!=w&&"default"!=w||(o="case"),"keyword"):s.propertyIsEnumerable(w)?"atom":"variable"}function tokenComment(n,r){for(var o,i=!1;o=n.next();){if("/"==o&&i){r.tokenize=tokenBase;break}i="*"==o}return"comment"}function Context(n,r,o,i,a){this.indented=n,this.column=r,this.type=o,this.align=i,this.prev=a}function pushContext(n,r,o){return n.context=new Context(n.indented,r,o,null,n.context)}function popContext(n){if(n.context.prev){var r=n.context.type;return")"!=r&&"]"!=r&&"}"!=r||(n.indented=n.context.indented),n.context=n.context.prev}}return{startState:function(n){return{tokenize:null,context:new Context((n||0)-i,0,"top",!1),indented:0,startOfLine:!0}},token:function(n,r){var i=r.context;if(n.sol()&&(null==i.align&&(i.align=!1),r.indented=n.indentation(),r.startOfLine=!0,"case"==i.type&&(i.type="}")),n.eatSpace())return null;o=null;var a=(r.tokenize||tokenBase)(n,r);return"comment"==a||(null==i.align&&(i.align=!0),"{"==o?pushContext(r,n.column(),"}"):"["==o?pushContext(r,n.column(),"]"):"("==o?pushContext(r,n.column(),")"):"case"==o?i.type="case":("}"==o&&"}"==i.type||o==i.type)&&popContext(r),r.startOfLine=!1),a},indent:function(r,o){if(r.tokenize!=tokenBase&&null!=r.tokenize)return n.Pass;var a=r.context,s=o&&o.charAt(0);if("case"==a.type&&/^(?:case|default)\b/.test(o))return r.context.type="}",a.indented;var y=s==a.type;return a.align?a.column+(y?0:1):a.indented+(y?0:i)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}})),n.defineMIME("text/x-go","go")}(o("VrN/"))},TLKv:function(n,r,o){"use strict";var i=o("TqRt");Object.defineProperty(r,"__esModule",{value:!0}),r.default=function verifyPlainObject(n,r,o){(0,a.default)(n)||(0,s.default)(o+"() in "+r+" must return a plain object. Instead received "+n+".")};var a=i(o("Vixm")),s=i(o("2V/z"))},TOwV:function(n,r,o){"use strict";n.exports=o("qT12")},TfIc:function(n,r,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.setBatch=r.getBatch=void 0;var i=function defaultNoopBatch(n){n()};r.setBatch=function setBatch(n){return i=n};r.getBatch=function getBatch(){return i}},TqRt:function(n,r){n.exports=function _interopRequireDefault(n){return n&&n.__esModule?n:{default:n}},n.exports.__esModule=!0,n.exports.default=n.exports},UvKQ:function(n){n.exports=JSON.parse('{"name":"astexplorer-refmt","version":"1.0.0","description":"JavaScript wrapper for refmt parser to be used to support Reason and OCaml in astexplorer.net","license":"MIT","main":"dist/AstExplorerRefmt.bc.js","esy":{"build":"refmterr dune build ./src/AstExplorerRefmt.bc.js","NOTE":"Optional release Section. Customizes result of `esy release`","release":{"releasedBinaries":["AstExplorerRefmt.exe"],"deleteFromBinaryRelease":["*esy_ocaml_*","*refmterr-*","ocaml-*"]}},"scripts":{"build:watch":"refmterr dune build ./src/AstExplorerRefmt.bc.js -w","build:prod":"refmterr dune build --profile=prod -f ./src/AstExplorerRefmt.bc.js"},"dependencies":{"@opam/js_of_ocaml":"~3.2.0","@opam/js_of_ocaml-ppx":"~3.2.0","@opam/dune":"*","@esy-ocaml/reason":"3.4.0","refmterr":"*","ocaml":"~4.6.0"},"resolutions":{"@esy-ocaml/esy-installer":"0.0.1","@opam/menhir":"20171013","@opam/re":"1.8.0"},"devDependencies":{"@esy-ocaml/merlin":"*","ocaml":"~4.6.0"}}')},"V+Yl":function(n,r,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.useIsomorphicLayoutEffect=void 0;var i=o("q1tI"),a="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;r.useIsomorphicLayoutEffect=a},Vixm:function(n,r,o){"use strict";var i=o("TqRt");Object.defineProperty(r,"__esModule",{value:!0}),r.default=function isPlainObject(n){if("object"!==(0,a.default)(n)||null===n)return!1;var r=Object.getPrototypeOf(n);if(null===r)return!0;var o=r;for(;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return r===o};var a=i(o("cDf5"))},"VrN/":function(n,r,o){n.exports=function(){"use strict";var n=navigator.userAgent,r=navigator.platform,o=/gecko\/\d/i.test(n),i=/MSIE \d/.test(n),a=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(n),s=/Edge\/(\d+)/.exec(n),y=i||a||s,w=y&&(i?document.documentMode||6:+(s||a)[1]),_=!s&&/WebKit\//.test(n),E=_&&/Qt\/\d+\.\d+/.test(n),P=!s&&/Chrome\//.test(n),j=/Opera\//.test(n),B=/Apple Computer/.test(navigator.vendor),q=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(n),$=/PhantomJS/.test(n),ne=!s&&/AppleWebKit/.test(n)&&/Mobile\/\w+/.test(n),oe=/Android/.test(n),ie=ne||oe||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(n),se=ne||/Mac/.test(r),le=/\bCrOS\b/.test(n),pe=/win/i.test(r),he=j&&n.match(/Version\/(\d*\.\d*)/);he&&(he=Number(he[1])),he&&he>=15&&(j=!1,_=!0);var me=se&&(E||j&&(null==he||he<12.11)),ge=o||y&&w>=9;function classTest(n){return new RegExp("(^|\\s)"+n+"(?:$|\\s)\\s*")}var ye,rmClass=function(n,r){var o=n.className,i=classTest(r).exec(o);if(i){var a=o.slice(i.index+i[0].length);n.className=o.slice(0,i.index)+(a?i[1]+a:"")}};function removeChildren(n){for(var r=n.childNodes.length;r>0;--r)n.removeChild(n.firstChild);return n}function removeChildrenAndAdd(n,r){return removeChildren(n).appendChild(r)}function elt(n,r,o,i){var a=document.createElement(n);if(o&&(a.className=o),i&&(a.style.cssText=i),"string"==typeof r)a.appendChild(document.createTextNode(r));else if(r)for(var s=0;s=r)return y+(r-s);y+=w-s,y+=o-y%o,s=w+1}}ne?selectInput=function(n){n.selectionStart=0,n.selectionEnd=n.value.length}:y&&(selectInput=function(n){try{n.select()}catch(n){}});var Delayed=function(){this.id=null,this.f=null,this.time=0,this.handler=bind(this.onTimeout,this)};function indexOf(n,r){for(var o=0;o=r)return i+Math.min(y,r-a);if(a+=s-i,i=s+1,(a+=o-a%o)>=r)return i}}var _e=[""];function spaceStr(n){for(;_e.length<=n;)_e.push(lst(_e)+" ");return _e[n]}function lst(n){return n[n.length-1]}function map(n,r){for(var o=[],i=0;i"€"&&(n.toUpperCase()!=n.toLowerCase()||Te.test(n))}function isWordChar(n,r){return r?!!(r.source.indexOf("\\w")>-1&&isWordCharBasic(n))||r.test(n):isWordCharBasic(n)}function isEmpty(n){for(var r in n)if(n.hasOwnProperty(r)&&n[r])return!1;return!0}var Me=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function isExtendingChar(n){return n.charCodeAt(0)>=768&&Me.test(n)}function skipExtendingChars(n,r,o){for(;(o<0?r>0:ro?-1:1;;){if(r==o)return r;var a=(r+o)/2,s=i<0?Math.ceil(a):Math.floor(a);if(s==r)return n(s)?r:o;n(s)?o=s:r=s+i}}var Ae=null;function getBidiPartAt(n,r,o){var i;Ae=null;for(var a=0;ar)return a;s.to==r&&(s.from!=s.to&&"before"==o?i=a:Ae=a),s.from==r&&(s.from!=s.to&&"before"!=o?i=a:Ae=a)}return null!=i?i:Ae}var Oe=function(){var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,o=/[LRr]/,i=/[Lb1n]/,a=/[1n]/;function BidiSpan(n,r,o){this.level=n,this.from=r,this.to=o}return function(s,y){var w="ltr"==y?"L":"R";if(0==s.length||"ltr"==y&&!n.test(s))return!1;for(var _,E=s.length,P=[],j=0;j-1&&(i[r]=a.slice(0,s).concat(a.slice(s+1)))}}}function signal(n,r){var o=getHandlers(n,r);if(o.length)for(var i=Array.prototype.slice.call(arguments,2),a=0;a0}function eventMixin(n){n.prototype.on=function(n,r){on(this,n,r)},n.prototype.off=function(n,r){off(this,n,r)}}function e_preventDefault(n){n.preventDefault?n.preventDefault():n.returnValue=!1}function e_stopPropagation(n){n.stopPropagation?n.stopPropagation():n.cancelBubble=!0}function e_defaultPrevented(n){return null!=n.defaultPrevented?n.defaultPrevented:0==n.returnValue}function e_stop(n){e_preventDefault(n),e_stopPropagation(n)}function e_target(n){return n.target||n.srcElement}function e_button(n){var r=n.which;return null==r&&(1&n.button?r=1:2&n.button?r=3:4&n.button&&(r=2)),se&&n.ctrlKey&&1==r&&(r=3),r}var Re,Fe,je=function(){if(y&&w<9)return!1;var n=elt("div");return"draggable"in n||"dragDrop"in n}();function zeroWidthElement(n){if(null==Re){var r=elt("span","​");removeChildrenAndAdd(n,elt("span",[r,document.createTextNode("x")])),0!=n.firstChild.offsetHeight&&(Re=r.offsetWidth<=1&&r.offsetHeight>2&&!(y&&w<8))}var o=Re?elt("span","​"):elt("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return o.setAttribute("cm-text",""),o}function hasBadBidiRects(n){if(null!=Fe)return Fe;var r=removeChildrenAndAdd(n,document.createTextNode("AخA")),o=ye(r,0,1).getBoundingClientRect(),i=ye(r,1,2).getBoundingClientRect();return removeChildren(n),!(!o||o.left==o.right)&&(Fe=i.right-o.right<3)}var Be,We=3!="\n\nb".split(/\n/).length?function(n){for(var r=0,o=[],i=n.length;r<=i;){var a=n.indexOf("\n",r);-1==a&&(a=n.length);var s=n.slice(r,"\r"==n.charAt(a-1)?a-1:a),y=s.indexOf("\r");-1!=y?(o.push(s.slice(0,y)),r+=y+1):(o.push(s),r=a+1)}return o}:function(n){return n.split(/\r\n?|\n/)},Ve=window.getSelection?function(n){try{return n.selectionStart!=n.selectionEnd}catch(n){return!1}}:function(n){var r;try{r=n.ownerDocument.selection.createRange()}catch(n){}return!(!r||r.parentElement()!=n)&&0!=r.compareEndPoints("StartToEnd",r)},Ue="oncopy"in(Be=elt("div"))||(Be.setAttribute("oncopy","return;"),"function"==typeof Be.oncopy),$e=null,Xe={},Ye={};function defineMode(n,r){arguments.length>2&&(r.dependencies=Array.prototype.slice.call(arguments,2)),Xe[n]=r}function resolveMode(n){if("string"==typeof n&&Ye.hasOwnProperty(n))n=Ye[n];else if(n&&"string"==typeof n.name&&Ye.hasOwnProperty(n.name)){var r=Ye[n.name];"string"==typeof r&&(r={name:r}),(n=createObj(r,n)).name=r.name}else{if("string"==typeof n&&/^[\w\-]+\/[\w\-]+\+xml$/.test(n))return resolveMode("application/xml");if("string"==typeof n&&/^[\w\-]+\/[\w\-]+\+json$/.test(n))return resolveMode("application/json")}return"string"==typeof n?{name:n}:n||{name:"null"}}function getMode(n,r){r=resolveMode(r);var o=Xe[r.name];if(!o)return getMode(n,"text/plain");var i=o(n,r);if(et.hasOwnProperty(r.name)){var a=et[r.name];for(var s in a)a.hasOwnProperty(s)&&(i.hasOwnProperty(s)&&(i["_"+s]=i[s]),i[s]=a[s])}if(i.name=r.name,r.helperType&&(i.helperType=r.helperType),r.modeProps)for(var y in r.modeProps)i[y]=r.modeProps[y];return i}var et={};function extendMode(n,r){copyObj(r,et.hasOwnProperty(n)?et[n]:et[n]={})}function copyState(n,r){if(!0===r)return r;if(n.copyState)return n.copyState(r);var o={};for(var i in r){var a=r[i];a instanceof Array&&(a=a.concat([])),o[i]=a}return o}function innerMode(n,r){for(var o;n.innerMode&&(o=n.innerMode(r))&&o.mode!=n;)r=o.state,n=o.mode;return o||{mode:n,state:r}}function startState(n,r,o){return!n.startState||n.startState(r,o)}var StringStream=function(n,r,o){this.pos=this.start=0,this.string=n,this.tabSize=r||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=o};function getLine(n,r){if((r-=n.first)<0||r>=n.size)throw new Error("There is no line "+(r+n.first)+" in the document.");for(var o=n;!o.lines;)for(var i=0;;++i){var a=o.children[i],s=a.chunkSize();if(r=n.first&&ro?Pos(o,getLine(n,o).text.length):function clipToLen(n,r){var o=n.ch;return null==o||o>r?Pos(n.line,r):o<0?Pos(n.line,0):n}(r,getLine(n,r.line).text.length)}function clipPosArray(n,r){for(var o=[],i=0;i=this.string.length},StringStream.prototype.sol=function(){return this.pos==this.lineStart},StringStream.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},StringStream.prototype.next=function(){if(this.posr},StringStream.prototype.eatSpace=function(){for(var n=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>n},StringStream.prototype.skipToEnd=function(){this.pos=this.string.length},StringStream.prototype.skipTo=function(n){var r=this.string.indexOf(n,this.pos);if(r>-1)return this.pos=r,!0},StringStream.prototype.backUp=function(n){this.pos-=n},StringStream.prototype.column=function(){return this.lastColumnPos0?null:(i&&!1!==r&&(this.pos+=i[0].length),i)}var cased=function(n){return o?n.toLowerCase():n};if(cased(this.string.substr(this.pos,n.length))==cased(n))return!1!==r&&(this.pos+=n.length),!0},StringStream.prototype.current=function(){return this.string.slice(this.start,this.pos)},StringStream.prototype.hideFirstChars=function(n,r){this.lineStart+=n;try{return r()}finally{this.lineStart-=n}},StringStream.prototype.lookAhead=function(n){var r=this.lineOracle;return r&&r.lookAhead(n)},StringStream.prototype.baseToken=function(){var n=this.lineOracle;return n&&n.baseToken(this.pos)};var SavedContext=function(n,r){this.state=n,this.lookAhead=r},Context=function(n,r,o,i){this.state=r,this.doc=n,this.line=o,this.maxLookAhead=i||0,this.baseTokens=null,this.baseTokenPos=1};function highlightLine(n,r,o,i){var a=[n.state.modeGen],s={};runMode(n,r.text,n.doc.mode,o,(function(n,r){return a.push(n,r)}),s,i);for(var y=o.state,loop=function(i){o.baseTokens=a;var w=n.state.overlays[i],_=1,E=0;o.state=!0,runMode(n,r.text,w.mode,o,(function(n,r){for(var o=_;En&&a.splice(_,1,n,a[_+1],i),_+=2,E=Math.min(n,i)}if(r)if(w.opaque)a.splice(o,_-o,n,"overlay "+r),_=o+2;else for(;o<_;o+=2){var s=a[o+1];a[o+1]=(s?s+" ":"")+"overlay "+r}}),s),o.state=y,o.baseTokens=null,o.baseTokenPos=1},w=0;wn.options.maxHighlightLength&©State(n.doc.mode,i.state),s=highlightLine(n,r,i);a&&(i.state=a),r.stateAfter=i.save(!a),r.styles=s.styles,s.classes?r.styleClasses=s.classes:r.styleClasses&&(r.styleClasses=null),o===n.doc.highlightFrontier&&(n.doc.modeFrontier=Math.max(n.doc.modeFrontier,++n.doc.highlightFrontier))}return r.styles}function getContextBefore(n,r,o){var i=n.doc,a=n.display;if(!i.mode.startState)return new Context(i,!0,r);var s=function findStartLine(n,r,o){for(var i,a,s=n.doc,y=o?-1:r-(n.doc.mode.innerMode?1e3:100),w=r;w>y;--w){if(w<=s.first)return s.first;var _=getLine(s,w-1),E=_.stateAfter;if(E&&(!o||w+(E instanceof SavedContext?E.lookAhead:0)<=s.modeFrontier))return w;var P=countColumn(_.text,null,n.options.tabSize);(null==a||i>P)&&(a=w-1,i=P)}return a}(n,r,o),y=s>i.first&&getLine(i,s-1).stateAfter,w=y?Context.fromSaved(i,y,s):new Context(i,startState(i.mode),s);return i.iter(s,r,(function(o){processLine(n,o.text,w);var i=w.line;o.stateAfter=i==r-1||i%5==0||i>=a.viewFrom&&ir.start)return s}throw new Error("Mode "+n.name+" failed to advance stream.")}Context.prototype.lookAhead=function(n){var r=this.doc.getLine(this.line+n);return null!=r&&n>this.maxLookAhead&&(this.maxLookAhead=n),r},Context.prototype.baseToken=function(n){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=n;)this.baseTokenPos+=2;var r=this.baseTokens[this.baseTokenPos+1];return{type:r&&r.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-n}},Context.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Context.fromSaved=function(n,r,o){return r instanceof SavedContext?new Context(n,copyState(n.mode,r.state),o,r.lookAhead):new Context(n,copyState(n.mode,r),o)},Context.prototype.save=function(n){var r=!1!==n?copyState(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new SavedContext(r,this.maxLookAhead):r};var Token=function(n,r,o){this.start=n.start,this.end=n.pos,this.string=n.current(),this.type=r||null,this.state=o};function takeToken(n,r,o,i){var a,s,y=n.doc,w=y.mode,_=getLine(y,(r=clipPos(y,r)).line),E=getContextBefore(n,r.line,o),P=new StringStream(_.text,n.options.tabSize,E);for(i&&(s=[]);(i||P.posn.options.maxHighlightLength?(w=!1,y&&processLine(n,r,i,j.pos),j.pos=r.length,_=null):_=extractLineClasses(readToken(o,j,i.state,B),s),B){var q=B[0].name;q&&(_="m-"+(_?q+" "+_:q))}if(!w||P!=_){for(;E=r:s.to>r);(i||(i=[])).push(new MarkedSpan(y,s.from,w?null:s.to))}}return i}(o,a,y),_=function markedSpansAfter(n,r,o){var i;if(n)for(var a=0;a=r:s.to>r)||s.from==r&&"bookmark"==y.type&&(!o||s.marker.insertLeft)){var w=null==s.from||(y.inclusiveLeft?s.from<=r:s.from0&&w)for(var le=0;ler)&&(!o||compareCollapsedMarkers(o,s.marker)<0)&&(o=s.marker)}return o}function conflictingCollapsedRange(n,r,o,i,a){var s=getLine(n,r),y=nt&&s.markedSpans;if(y)for(var w=0;w=0&&j<=0||P<=0&&j>=0)&&(P<=0&&(_.marker.inclusiveRight&&a.inclusiveLeft?cmp(E.to,o)>=0:cmp(E.to,o)>0)||P>=0&&(_.marker.inclusiveRight&&a.inclusiveLeft?cmp(E.from,i)<=0:cmp(E.from,i)<0)))return!0}}}function visualLine(n){for(var r;r=collapsedSpanAtStart(n);)n=r.find(-1,!0).line;return n}function visualLineNo(n,r){var o=getLine(n,r),i=visualLine(o);return o==i?r:lineNo(i)}function visualLineEndNo(n,r){if(r>n.lastLine())return r;var o,i=getLine(n,r);if(!lineIsHidden(n,i))return r;for(;o=collapsedSpanAtEnd(i);)i=o.find(1,!0).line;return lineNo(i)+1}function lineIsHidden(n,r){var o=nt&&r.markedSpans;if(o)for(var i=void 0,a=0;ar.maxLineLength&&(r.maxLineLength=o,r.maxLine=n)}))}var Line=function(n,r,o){this.text=n,attachMarkedSpans(this,r),this.height=o?o(this):1};function cleanUpLine(n){n.parent=null,detachMarkedSpans(n)}Line.prototype.lineNo=function(){return lineNo(this)},eventMixin(Line);var rt={},ot={};function interpretTokenStyle(n,r){if(!n||/^\s*$/.test(n))return null;var o=r.addModeClass?ot:rt;return o[n]||(o[n]=n.replace(/\S+/g,"cm-$&"))}function buildLineContent(n,r){var o=eltP("span",null,null,_?"padding-right: .1px":null),i={pre:eltP("pre",[o],"CodeMirror-line"),content:o,col:0,pos:0,cm:n,trailingSpace:!1,splitSpaces:n.getOption("lineWrapping")};r.measure={};for(var a=0;a<=(r.rest?r.rest.length:0);a++){var s=a?r.rest[a-1]:r.line,y=void 0;i.pos=0,i.addToken=buildToken,hasBadBidiRects(n.display.measure)&&(y=getOrder(s,n.doc.direction))&&(i.addToken=buildTokenBadBidi(i.addToken,y)),i.map=[],insertLineContent(s,i,getLineStyles(n,s,r!=n.display.externalMeasured&&lineNo(s))),s.styleClasses&&(s.styleClasses.bgClass&&(i.bgClass=joinClasses(s.styleClasses.bgClass,i.bgClass||"")),s.styleClasses.textClass&&(i.textClass=joinClasses(s.styleClasses.textClass,i.textClass||""))),0==i.map.length&&i.map.push(0,0,i.content.appendChild(zeroWidthElement(n.display.measure))),0==a?(r.measure.map=i.map,r.measure.cache={}):((r.measure.maps||(r.measure.maps=[])).push(i.map),(r.measure.caches||(r.measure.caches=[])).push({}))}if(_){var w=i.content.lastChild;(/\bcm-tab\b/.test(w.className)||w.querySelector&&w.querySelector(".cm-tab"))&&(i.content.className="cm-tab-wrap-hack")}return signal(n,"renderLine",n,r.line,i.pre),i.pre.className&&(i.textClass=joinClasses(i.pre.className,i.textClass||"")),i}function defaultSpecialCharPlaceholder(n){var r=elt("span","•","cm-invalidchar");return r.title="\\u"+n.charCodeAt(0).toString(16),r.setAttribute("aria-label",r.title),r}function buildToken(n,r,o,i,a,s,_){if(r){var E,P=n.splitSpaces?function splitSpaces(n,r){if(n.length>1&&!/ /.test(n))return n;for(var o=r,i="",a=0;aE&&j.from<=E);B++);if(j.to>=P)return n(o,i,a,s,y,w,_);n(o,i.slice(0,j.to-E),a,s,null,w,_),s=null,i=i.slice(j.to-E),E=j.to}}}function buildCollapsedSpan(n,r,o,i){var a=!i&&o.widgetNode;a&&n.map.push(n.pos,n.pos+r,a),!i&&n.cm.display.input.needsContentAttribute&&(a||(a=n.content.appendChild(document.createElement("span"))),a.setAttribute("cm-marker",o.id)),a&&(n.cm.display.input.setUneditable(a),n.content.appendChild(a)),n.pos+=r,n.trailingSpace=!1}function insertLineContent(n,r,o){var i=n.markedSpans,a=n.text,s=0;if(i)for(var y,w,_,E,P,j,B,q=a.length,$=0,ne=1,oe="",ie=0;;){if(ie==$){_=E=P=w="",B=null,j=null,ie=1/0;for(var se=[],le=void 0,pe=0;pe$||me.collapsed&&he.to==$&&he.from==$)){if(null!=he.to&&he.to!=$&&ie>he.to&&(ie=he.to,E=""),me.className&&(_+=" "+me.className),me.css&&(w=(w?w+";":"")+me.css),me.startStyle&&he.from==$&&(P+=" "+me.startStyle),me.endStyle&&he.to==ie&&(le||(le=[])).push(me.endStyle,he.to),me.title&&((B||(B={})).title=me.title),me.attributes)for(var ge in me.attributes)(B||(B={}))[ge]=me.attributes[ge];me.collapsed&&(!j||compareCollapsedMarkers(j.marker,me)<0)&&(j=he)}else he.from>$&&ie>he.from&&(ie=he.from)}if(le)for(var ye=0;ye=q)break;for(var ke=Math.min(q,ie);;){if(oe){var we=$+oe.length;if(!j){var Se=we>ke?oe.slice(0,ke-$):oe;r.addToken(r,Se,y?y+_:_,P,$+Se.length==ie?E:"",w,B)}if(we>=ke){oe=oe.slice(ke-$),$=ke;break}$=we,P=""}oe=a.slice(s,s=o[ne++]),y=interpretTokenStyle(o[ne++],r.cm.options)}}else for(var _e=1;_eo)return{map:n.measure.maps[a],cache:n.measure.caches[a],before:!0}}function measureChar(n,r,o,i){return measureCharPrepared(n,prepareMeasureForLine(n,r),o,i)}function findViewForLine(n,r){if(r>=n.display.viewFrom&&r=o.lineN&&r2&&s.push((_.bottom+E.top)/2-o.top)}}s.push(o.bottom-o.top)}}(n,r.view,r.rect),r.hasHeights=!0),(s=function measureCharInner(n,r,o,i){var a,s=nodeAndOffsetInLineMap(r.map,o,i),_=s.node,E=s.start,P=s.end,j=s.collapse;if(3==_.nodeType){for(var B=0;B<4;B++){for(;E&&isExtendingChar(r.line.text.charAt(s.coverStart+E));)--E;for(;s.coverStart+P1}(n))return r;var o=screen.logicalXDPI/screen.deviceXDPI,i=screen.logicalYDPI/screen.deviceYDPI;return{left:r.left*o,right:r.right*o,top:r.top*i,bottom:r.bottom*i}}(n.display.measure,a))}else{var q;E>0&&(j=i="right"),a=n.options.lineWrapping&&(q=_.getClientRects()).length>1?q["right"==i?q.length-1:0]:_.getBoundingClientRect()}if(y&&w<9&&!E&&(!a||!a.left&&!a.right)){var $=_.parentNode.getClientRects()[0];a=$?{left:$.left,right:$.left+charWidth(n.display),top:$.top,bottom:$.bottom}:lt}for(var ne=a.top-r.rect.top,oe=a.bottom-r.rect.top,ie=(ne+oe)/2,se=r.view.measure.heights,le=0;ler)&&(a=(s=_-w)-1,r>=_&&(y="right")),null!=a){if(i=n[E+2],w==_&&o==(i.insertLeft?"left":"right")&&(y=o),"left"==o&&0==a)for(;E&&n[E-2]==n[E-3]&&n[E-1].insertLeft;)i=n[2+(E-=3)],y="left";if("right"==o&&a==_-w)for(;E=0&&(o=n[a]).left==o.right;a--);return o}function clearLineMeasurementCacheFor(n){if(n.measure&&(n.measure.cache={},n.measure.heights=null,n.rest))for(var r=0;r=i.text.length?(w=i.text.length,_="before"):w<=0&&(w=0,_="after"),!y)return get("before"==_?w-1:w,"before"==_);function getBidi(n,r,o){return get(o?n-1:n,1==y[r].level!=o)}var E=getBidiPartAt(y,w,_),P=Ae,j=getBidi(w,E,"before"==_);return null!=P&&(j.other=getBidi(w,P,"before"!=_)),j}function estimateCoords(n,r){var o=0;r=clipPos(n.doc,r),n.options.lineWrapping||(o=charWidth(n.display)*r.ch);var i=getLine(n.doc,r.line),a=heightAtLine(i)+paddingTop(n.display);return{left:o,right:o,top:a,bottom:a+i.height}}function PosWithInfo(n,r,o,i,a){var s=Pos(n,r,o);return s.xRel=a,i&&(s.outside=i),s}function coordsChar(n,r,o){var i=n.doc;if((o+=n.display.viewOffset)<0)return PosWithInfo(i.first,0,null,-1,-1);var a=lineAtHeight(i,o),s=i.first+i.size-1;if(a>s)return PosWithInfo(i.first+i.size-1,getLine(i,s).text.length,null,1,1);r<0&&(r=0);for(var y=getLine(i,a);;){var w=coordsCharInner(n,y,a,r,o),_=collapsedSpanAround(y,w.ch+(w.xRel>0||w.outside>0?1:0));if(!_)return w;var E=_.find(1);if(E.line==a)return E;y=getLine(i,a=E.line)}}function wrappedLineExtent(n,r,o,i){i-=widgetTopHeight(r);var a=r.text.length,s=findFirst((function(r){return measureCharPrepared(n,o,r-1).bottom<=i}),a,0);return{begin:s,end:a=findFirst((function(r){return measureCharPrepared(n,o,r).top>i}),s,a)}}function wrappedLineExtentChar(n,r,o,i){return o||(o=prepareMeasureForLine(n,r)),wrappedLineExtent(n,r,o,intoCoordSystem(n,r,measureCharPrepared(n,o,i),"line").top)}function boxIsAfter(n,r,o,i){return!(n.bottom<=o)&&(n.top>o||(i?n.left:n.right)>r)}function coordsCharInner(n,r,o,i,a){a-=heightAtLine(r);var s=prepareMeasureForLine(n,r),y=widgetTopHeight(r),w=0,_=r.text.length,E=!0,P=getOrder(r,n.doc.direction);if(P){var j=(n.options.lineWrapping?coordsBidiPartWrapped:coordsBidiPart)(n,r,o,s,P,i,a);w=(E=1!=j.level)?j.from:j.to-1,_=E?j.to:j.from-1}var B,q,$=null,ne=null,oe=findFirst((function(r){var o=measureCharPrepared(n,s,r);return o.top+=y,o.bottom+=y,!!boxIsAfter(o,i,a,!1)&&(o.top<=a&&o.left<=i&&($=r,ne=o),!0)}),w,_),ie=!1;if(ne){var se=i-ne.left=pe.bottom?1:0}return PosWithInfo(o,oe=skipExtendingChars(r.text,oe,1),q,ie,i-B)}function coordsBidiPart(n,r,o,i,a,s,y){var w=findFirst((function(w){var _=a[w],E=1!=_.level;return boxIsAfter(cursorCoords(n,Pos(o,E?_.to:_.from,E?"before":"after"),"line",r,i),s,y,!0)}),0,a.length-1),_=a[w];if(w>0){var E=1!=_.level,P=cursorCoords(n,Pos(o,E?_.from:_.to,E?"after":"before"),"line",r,i);boxIsAfter(P,s,y,!0)&&P.top>y&&(_=a[w-1])}return _}function coordsBidiPartWrapped(n,r,o,i,a,s,y){var w=wrappedLineExtent(n,r,i,y),_=w.begin,E=w.end;/\s/.test(r.text.charAt(E-1))&&E--;for(var P=null,j=null,B=0;B=E||q.to<=_)){var $=measureCharPrepared(n,i,1!=q.level?Math.min(E,q.to)-1:Math.max(_,q.from)).right,ne=$ne)&&(P=q,j=ne)}}return P||(P=a[a.length-1]),P.from<_&&(P={from:_,to:P.to,level:P.level}),P.to>E&&(P={from:P.from,to:E,level:P.level}),P}function textHeight(n){if(null!=n.cachedTextHeight)return n.cachedTextHeight;if(null==st){st=elt("pre",null,"CodeMirror-line-like");for(var r=0;r<49;++r)st.appendChild(document.createTextNode("x")),st.appendChild(elt("br"));st.appendChild(document.createTextNode("x"))}removeChildrenAndAdd(n.measure,st);var o=st.offsetHeight/50;return o>3&&(n.cachedTextHeight=o),removeChildren(n.measure),o||1}function charWidth(n){if(null!=n.cachedCharWidth)return n.cachedCharWidth;var r=elt("span","xxxxxxxxxx"),o=elt("pre",[r],"CodeMirror-line-like");removeChildrenAndAdd(n.measure,o);var i=r.getBoundingClientRect(),a=(i.right-i.left)/10;return a>2&&(n.cachedCharWidth=a),a||10}function getDimensions(n){for(var r=n.display,o={},i={},a=r.gutters.clientLeft,s=r.gutters.firstChild,y=0;s;s=s.nextSibling,++y){var w=n.display.gutterSpecs[y].className;o[w]=s.offsetLeft+s.clientLeft+a,i[w]=s.clientWidth}return{fixedPos:compensateForHScroll(r),gutterTotalWidth:r.gutters.offsetWidth,gutterLeft:o,gutterWidth:i,wrapperWidth:r.wrapper.clientWidth}}function compensateForHScroll(n){return n.scroller.getBoundingClientRect().left-n.sizer.getBoundingClientRect().left}function estimateHeight(n){var r=textHeight(n.display),o=n.options.lineWrapping,i=o&&Math.max(5,n.display.scroller.clientWidth/charWidth(n.display)-3);return function(a){if(lineIsHidden(n.doc,a))return 0;var s=0;if(a.widgets)for(var y=0;y0&&(_=getLine(n.doc,E.line).text).length==E.ch){var P=countColumn(_,_.length,n.options.tabSize)-_.length;E=Pos(E.line,Math.max(0,Math.round((s-paddingH(n.display).left)/charWidth(n.display))-P))}return E}function findViewIndex(n,r){if(r>=n.display.viewTo)return null;if((r-=n.display.viewFrom)<0)return null;for(var o=n.display.view,i=0;ir)&&(a.updateLineNumbers=r),n.curOp.viewChanged=!0,r>=a.viewTo)nt&&visualLineNo(n.doc,r)a.viewFrom?resetView(n):(a.viewFrom+=i,a.viewTo+=i);else if(r<=a.viewFrom&&o>=a.viewTo)resetView(n);else if(r<=a.viewFrom){var s=viewCuttingPoint(n,o,o+i,1);s?(a.view=a.view.slice(s.index),a.viewFrom=s.lineN,a.viewTo+=i):resetView(n)}else if(o>=a.viewTo){var y=viewCuttingPoint(n,r,r,-1);y?(a.view=a.view.slice(0,y.index),a.viewTo=y.lineN):resetView(n)}else{var w=viewCuttingPoint(n,r,r,-1),_=viewCuttingPoint(n,o,o+i,1);w&&_?(a.view=a.view.slice(0,w.index).concat(buildViewArray(n,w.lineN,_.lineN)).concat(a.view.slice(_.index)),a.viewTo+=i):resetView(n)}var E=a.externalMeasured;E&&(o=a.lineN&&r=i.viewTo)){var s=i.view[findViewIndex(n,r)];if(null!=s.node){var y=s.changes||(s.changes=[]);-1==indexOf(y,o)&&y.push(o)}}}function resetView(n){n.display.viewFrom=n.display.viewTo=n.doc.first,n.display.view=[],n.display.viewOffset=0}function viewCuttingPoint(n,r,o,i){var a,s=findViewIndex(n,r),y=n.display.view;if(!nt||o==n.doc.first+n.doc.size)return{index:s,lineN:o};for(var w=n.display.viewFrom,_=0;_0){if(s==y.length-1)return null;a=w+y[s].size-r,s++}else a=w-r;r+=a,o+=a}for(;visualLineNo(n.doc,o)!=o;){if(s==(i<0?0:y.length-1))return null;o+=i*y[s-(i<0?1:0)].size,s+=i}return{index:s,lineN:o}}function countDirtyView(n){for(var r=n.display.view,o=0,i=0;i=n.display.viewTo||w.to().liner||r==o&&y.to==r)&&(i(Math.max(y.from,r),Math.min(y.to,o),1==y.level?"rtl":"ltr",s),a=!0)}a||i(r,o,"ltr")}(B,o||0,null==i?j:i,(function(n,r,a,P){var q="ltr"==a,$=coords(n,q?"left":"right"),ne=coords(r-1,q?"right":"left"),oe=null==o&&0==n,ie=null==i&&r==j,se=0==P,le=!B||P==B.length-1;if(ne.top-$.top<=3){var pe=(E?ie:oe)&&le,he=(E?oe:ie)&&se?w:(q?$:ne).left,me=pe?_:(q?ne:$).right;add(he,$.top,me-he,$.bottom)}else{var ge,ye,ve,ke;q?(ge=E&&oe&&se?w:$.left,ye=E?_:wrapX(n,a,"before"),ve=E?w:wrapX(r,a,"after"),ke=E&&ie&&le?_:ne.right):(ge=E?wrapX(n,a,"before"):w,ye=!E&&oe&&se?_:$.right,ve=!E&&ie&&le?w:ne.left,ke=E?wrapX(r,a,"after"):_),add(ge,$.top,ye-ge,$.bottom),$.bottom0?r.blinker=setInterval((function(){return r.cursorDiv.style.visibility=(o=!o)?"":"hidden"}),n.options.cursorBlinkRate):n.options.cursorBlinkRate<0&&(r.cursorDiv.style.visibility="hidden")}}function ensureFocus(n){n.state.focused||(n.display.input.focus(),onFocus(n))}function delayBlurEvent(n){n.state.delayingBlurEvent=!0,setTimeout((function(){n.state.delayingBlurEvent&&(n.state.delayingBlurEvent=!1,onBlur(n))}),100)}function onFocus(n,r){n.state.delayingBlurEvent&&(n.state.delayingBlurEvent=!1),"nocursor"!=n.options.readOnly&&(n.state.focused||(signal(n,"focus",n,r),n.state.focused=!0,addClass(n.display.wrapper,"CodeMirror-focused"),n.curOp||n.display.selForContextMenu==n.doc.sel||(n.display.input.reset(),_&&setTimeout((function(){return n.display.input.reset(!0)}),20)),n.display.input.receivedFocus()),restartBlink(n))}function onBlur(n,r){n.state.delayingBlurEvent||(n.state.focused&&(signal(n,"blur",n,r),n.state.focused=!1,rmClass(n.display.wrapper,"CodeMirror-focused")),clearInterval(n.display.blinker),setTimeout((function(){n.state.focused||(n.display.shift=!1)}),150))}function updateHeightsInViewport(n){for(var r=n.display,o=r.lineDiv.offsetTop,i=0;i.005||B<-.005)&&(updateLineHeight(a.line,_),updateWidgetHeight(a.line),a.rest))for(var q=0;qn.display.sizerWidth){var $=Math.ceil(E/charWidth(n.display));$>n.display.maxLineLength&&(n.display.maxLineLength=$,n.display.maxLine=a.line,n.display.maxLineChanged=!0)}}}}function updateWidgetHeight(n){if(n.widgets)for(var r=0;r=y&&(s=lineAtHeight(r,heightAtLine(getLine(r,_))-n.wrapper.clientHeight),y=_)}return{from:s,to:Math.max(y,s+1)}}function calculateScrollPos(n,r){var o=n.display,i=textHeight(n.display);r.top<0&&(r.top=0);var a=n.curOp&&null!=n.curOp.scrollTop?n.curOp.scrollTop:o.scroller.scrollTop,s=displayHeight(n),y={};r.bottom-r.top>s&&(r.bottom=r.top+s);var w=n.doc.height+paddingVert(o),_=r.topw-i;if(r.topa+s){var P=Math.min(r.top,(E?w:r.bottom)-s);P!=a&&(y.scrollTop=P)}var j=n.curOp&&null!=n.curOp.scrollLeft?n.curOp.scrollLeft:o.scroller.scrollLeft,B=displayWidth(n)-(n.options.fixedGutter?o.gutters.offsetWidth:0),q=r.right-r.left>B;return q&&(r.right=r.left+B),r.left<10?y.scrollLeft=0:r.leftB+j-3&&(y.scrollLeft=r.right+(q?0:10)-B),y}function addToScrollTop(n,r){null!=r&&(resolveScrollToPos(n),n.curOp.scrollTop=(null==n.curOp.scrollTop?n.doc.scrollTop:n.curOp.scrollTop)+r)}function ensureCursorVisible(n){resolveScrollToPos(n);var r=n.getCursor();n.curOp.scrollToPos={from:r,to:r,margin:n.options.cursorScrollMargin}}function scrollToCoords(n,r,o){null==r&&null==o||resolveScrollToPos(n),null!=r&&(n.curOp.scrollLeft=r),null!=o&&(n.curOp.scrollTop=o)}function resolveScrollToPos(n){var r=n.curOp.scrollToPos;r&&(n.curOp.scrollToPos=null,scrollToCoordsRange(n,estimateCoords(n,r.from),estimateCoords(n,r.to),r.margin))}function scrollToCoordsRange(n,r,o,i){var a=calculateScrollPos(n,{left:Math.min(r.left,o.left),top:Math.min(r.top,o.top)-i,right:Math.max(r.right,o.right),bottom:Math.max(r.bottom,o.bottom)+i});scrollToCoords(n,a.scrollLeft,a.scrollTop)}function updateScrollTop(n,r){Math.abs(n.doc.scrollTop-r)<2||(o||updateDisplaySimple(n,{top:r}),setScrollTop(n,r,!0),o&&updateDisplaySimple(n),startWorker(n,100))}function setScrollTop(n,r,o){r=Math.max(0,Math.min(n.display.scroller.scrollHeight-n.display.scroller.clientHeight,r)),(n.display.scroller.scrollTop!=r||o)&&(n.doc.scrollTop=r,n.display.scrollbars.setScrollTop(r),n.display.scroller.scrollTop!=r&&(n.display.scroller.scrollTop=r))}function setScrollLeft(n,r,o,i){r=Math.max(0,Math.min(r,n.display.scroller.scrollWidth-n.display.scroller.clientWidth)),(o?r==n.doc.scrollLeft:Math.abs(n.doc.scrollLeft-r)<2)&&!i||(n.doc.scrollLeft=r,alignHorizontally(n),n.display.scroller.scrollLeft!=r&&(n.display.scroller.scrollLeft=r),n.display.scrollbars.setScrollLeft(r))}function measureForScrollbars(n){var r=n.display,o=r.gutters.offsetWidth,i=Math.round(n.doc.height+paddingVert(n.display));return{clientHeight:r.scroller.clientHeight,viewHeight:r.wrapper.clientHeight,scrollWidth:r.scroller.scrollWidth,clientWidth:r.scroller.clientWidth,viewWidth:r.wrapper.clientWidth,barLeft:n.options.fixedGutter?o:0,docHeight:i,scrollHeight:i+scrollGap(n)+r.barHeight,nativeBarWidth:r.nativeBarWidth,gutterWidth:o}}var NativeScrollbars=function(n,r,o){this.cm=o;var i=this.vert=elt("div",[elt("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),a=this.horiz=elt("div",[elt("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");i.tabIndex=a.tabIndex=-1,n(i),n(a),on(i,"scroll",(function(){i.clientHeight&&r(i.scrollTop,"vertical")})),on(a,"scroll",(function(){a.clientWidth&&r(a.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,y&&w<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};NativeScrollbars.prototype.update=function(n){var r=n.scrollWidth>n.clientWidth+1,o=n.scrollHeight>n.clientHeight+1,i=n.nativeBarWidth;if(o){this.vert.style.display="block",this.vert.style.bottom=r?i+"px":"0";var a=n.viewHeight-(r?i:0);this.vert.firstChild.style.height=Math.max(0,n.scrollHeight-n.clientHeight+a)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(r){this.horiz.style.display="block",this.horiz.style.right=o?i+"px":"0",this.horiz.style.left=n.barLeft+"px";var s=n.viewWidth-n.barLeft-(o?i:0);this.horiz.firstChild.style.width=Math.max(0,n.scrollWidth-n.clientWidth+s)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&n.clientHeight>0&&(0==i&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:o?i:0,bottom:r?i:0}},NativeScrollbars.prototype.setScrollLeft=function(n){this.horiz.scrollLeft!=n&&(this.horiz.scrollLeft=n),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},NativeScrollbars.prototype.setScrollTop=function(n){this.vert.scrollTop!=n&&(this.vert.scrollTop=n),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},NativeScrollbars.prototype.zeroWidthHack=function(){var n=se&&!q?"12px":"18px";this.horiz.style.height=this.vert.style.width=n,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new Delayed,this.disableVert=new Delayed},NativeScrollbars.prototype.enableZeroWidthBar=function(n,r,o){n.style.pointerEvents="auto",r.set(1e3,(function maybeDisable(){var i=n.getBoundingClientRect();("vert"==o?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1))!=n?n.style.pointerEvents="none":r.set(1e3,maybeDisable)}))},NativeScrollbars.prototype.clear=function(){var n=this.horiz.parentNode;n.removeChild(this.horiz),n.removeChild(this.vert)};var NullScrollbars=function(){};function updateScrollbars(n,r){r||(r=measureForScrollbars(n));var o=n.display.barWidth,i=n.display.barHeight;updateScrollbarsInner(n,r);for(var a=0;a<4&&o!=n.display.barWidth||i!=n.display.barHeight;a++)o!=n.display.barWidth&&n.options.lineWrapping&&updateHeightsInViewport(n),updateScrollbarsInner(n,measureForScrollbars(n)),o=n.display.barWidth,i=n.display.barHeight}function updateScrollbarsInner(n,r){var o=n.display,i=o.scrollbars.update(r);o.sizer.style.paddingRight=(o.barWidth=i.right)+"px",o.sizer.style.paddingBottom=(o.barHeight=i.bottom)+"px",o.heightForcer.style.borderBottom=i.bottom+"px solid transparent",i.right&&i.bottom?(o.scrollbarFiller.style.display="block",o.scrollbarFiller.style.height=i.bottom+"px",o.scrollbarFiller.style.width=i.right+"px"):o.scrollbarFiller.style.display="",i.bottom&&n.options.coverGutterNextToScrollbar&&n.options.fixedGutter?(o.gutterFiller.style.display="block",o.gutterFiller.style.height=i.bottom+"px",o.gutterFiller.style.width=r.gutterWidth+"px"):o.gutterFiller.style.display=""}NullScrollbars.prototype.update=function(){return{bottom:0,right:0}},NullScrollbars.prototype.setScrollLeft=function(){},NullScrollbars.prototype.setScrollTop=function(){},NullScrollbars.prototype.clear=function(){};var ct={native:NativeScrollbars,null:NullScrollbars};function initScrollbars(n){n.display.scrollbars&&(n.display.scrollbars.clear(),n.display.scrollbars.addClass&&rmClass(n.display.wrapper,n.display.scrollbars.addClass)),n.display.scrollbars=new ct[n.options.scrollbarStyle]((function(r){n.display.wrapper.insertBefore(r,n.display.scrollbarFiller),on(r,"mousedown",(function(){n.state.focused&&setTimeout((function(){return n.display.input.focus()}),0)})),r.setAttribute("cm-not-content","true")}),(function(r,o){"horizontal"==o?setScrollLeft(n,r):updateScrollTop(n,r)}),n),n.display.scrollbars.addClass&&addClass(n.display.wrapper,n.display.scrollbars.addClass)}var ut=0;function startOperation(n){n.curOp={cm:n,viewChanged:!1,startHeight:n.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++ut},function pushOperation(n){it?it.ops.push(n):n.ownsGroup=it={ops:[n],delayedCallbacks:[]}}(n.curOp)}function endOperation(n){var r=n.curOp;r&&function finishOperation(n,r){var o=n.ownsGroup;if(o)try{!function fireCallbacksForOps(n){var r=n.delayedCallbacks,o=0;do{for(;o=o.viewTo)||o.maxLineChanged&&r.options.lineWrapping,n.update=n.mustUpdate&&new DisplayUpdate(r,n.mustUpdate&&{top:n.scrollTop,ensure:n.scrollToPos},n.forceUpdate)}function endOperation_W1(n){n.updatedDisplay=n.mustUpdate&&updateDisplayIfNeeded(n.cm,n.update)}function endOperation_R2(n){var r=n.cm,o=r.display;n.updatedDisplay&&updateHeightsInViewport(r),n.barMeasure=measureForScrollbars(r),o.maxLineChanged&&!r.options.lineWrapping&&(n.adjustWidthTo=measureChar(r,o.maxLine,o.maxLine.text.length).left+3,r.display.sizerWidth=n.adjustWidthTo,n.barMeasure.scrollWidth=Math.max(o.scroller.clientWidth,o.sizer.offsetLeft+n.adjustWidthTo+scrollGap(r)+r.display.barWidth),n.maxScrollLeft=Math.max(0,o.sizer.offsetLeft+n.adjustWidthTo-displayWidth(r))),(n.updatedDisplay||n.selectionChanged)&&(n.preparedSelection=o.input.prepareSelection())}function endOperation_W2(n){var r=n.cm;null!=n.adjustWidthTo&&(r.display.sizer.style.minWidth=n.adjustWidthTo+"px",n.maxScrollLeft(window.innerHeight||document.documentElement.clientHeight)&&(a=!1),null!=a&&!$){var s=elt("div","​",null,"position: absolute;\n top: "+(r.top-o.viewOffset-paddingTop(n.display))+"px;\n height: "+(r.bottom-r.top+scrollGap(n)+o.barHeight)+"px;\n left: "+r.left+"px; width: "+Math.max(2,r.right-r.left)+"px;");n.display.lineSpace.appendChild(s),s.scrollIntoView(a),n.display.lineSpace.removeChild(s)}}}(r,function scrollPosIntoView(n,r,o,i){var a;null==i&&(i=0),n.options.lineWrapping||r!=o||(o="before"==(r=r.ch?Pos(r.line,"before"==r.sticky?r.ch-1:r.ch,"after"):r).sticky?Pos(r.line,r.ch+1,"before"):r);for(var s=0;s<5;s++){var y=!1,w=cursorCoords(n,r),_=o&&o!=r?cursorCoords(n,o):w,E=calculateScrollPos(n,a={left:Math.min(w.left,_.left),top:Math.min(w.top,_.top)-i,right:Math.max(w.left,_.left),bottom:Math.max(w.bottom,_.bottom)+i}),P=n.doc.scrollTop,j=n.doc.scrollLeft;if(null!=E.scrollTop&&(updateScrollTop(n,E.scrollTop),Math.abs(n.doc.scrollTop-P)>1&&(y=!0)),null!=E.scrollLeft&&(setScrollLeft(n,E.scrollLeft),Math.abs(n.doc.scrollLeft-j)>1&&(y=!0)),!y)break}return a}(r,clipPos(i,n.scrollToPos.from),clipPos(i,n.scrollToPos.to),n.scrollToPos.margin));var a=n.maybeHiddenMarkers,s=n.maybeUnhiddenMarkers;if(a)for(var y=0;y=n.display.viewTo)){var o=+new Date+n.options.workTime,i=getContextBefore(n,r.highlightFrontier),a=[];r.iter(i.line,Math.min(r.first+r.size,n.display.viewTo+500),(function(s){if(i.line>=n.display.viewFrom){var y=s.styles,w=s.text.length>n.options.maxHighlightLength?copyState(r.mode,i.state):null,_=highlightLine(n,s,i,!0);w&&(i.state=w),s.styles=_.styles;var E=s.styleClasses,P=_.classes;P?s.styleClasses=P:E&&(s.styleClasses=null);for(var j=!y||y.length!=s.styles.length||E!=P&&(!E||!P||E.bgClass!=P.bgClass||E.textClass!=P.textClass),B=0;!j&&Bo)return startWorker(n,n.options.workDelay),!0})),r.highlightFrontier=i.line,r.modeFrontier=Math.max(r.modeFrontier,i.line),a.length&&runInOp(n,(function(){for(var r=0;r=o.viewFrom&&r.visible.to<=o.viewTo&&(null==o.updateLineNumbers||o.updateLineNumbers>=o.viewTo)&&o.renderedView==o.view&&0==countDirtyView(n))return!1;maybeUpdateLineNumberWidth(n)&&(resetView(n),r.dims=getDimensions(n));var a=i.first+i.size,s=Math.max(r.visible.from-n.options.viewportMargin,i.first),y=Math.min(a,r.visible.to+n.options.viewportMargin);o.viewFromy&&o.viewTo-y<20&&(y=Math.min(a,o.viewTo)),nt&&(s=visualLineNo(n.doc,s),y=visualLineEndNo(n.doc,y));var w=s!=o.viewFrom||y!=o.viewTo||o.lastWrapHeight!=r.wrapperHeight||o.lastWrapWidth!=r.wrapperWidth;!function adjustView(n,r,o){var i=n.display;0==i.view.length||r>=i.viewTo||o<=i.viewFrom?(i.view=buildViewArray(n,r,o),i.viewFrom=r):(i.viewFrom>r?i.view=buildViewArray(n,r,i.viewFrom).concat(i.view):i.viewFromo&&(i.view=i.view.slice(0,findViewIndex(n,o)))),i.viewTo=o}(n,s,y),o.viewOffset=heightAtLine(getLine(n.doc,o.viewFrom)),n.display.mover.style.top=o.viewOffset+"px";var E=countDirtyView(n);if(!w&&0==E&&!r.force&&o.renderedView==o.view&&(null==o.updateLineNumbers||o.updateLineNumbers>=o.viewTo))return!1;var P=function selectionSnapshot(n){if(n.hasFocus())return null;var r=activeElt();if(!r||!contains(n.display.lineDiv,r))return null;var o={activeElt:r};if(window.getSelection){var i=window.getSelection();i.anchorNode&&i.extend&&contains(n.display.lineDiv,i.anchorNode)&&(o.anchorNode=i.anchorNode,o.anchorOffset=i.anchorOffset,o.focusNode=i.focusNode,o.focusOffset=i.focusOffset)}return o}(n);return E>4&&(o.lineDiv.style.display="none"),function patchDisplay(n,r,o){var i=n.display,a=n.options.lineNumbers,s=i.lineDiv,y=s.firstChild;function rm(r){var o=r.nextSibling;return _&&se&&n.display.currentWheelTarget==r?r.style.display="none":r.parentNode.removeChild(r),o}for(var w=i.view,E=i.viewFrom,P=0;P-1&&(B=!1),updateLineForChanges(n,j,E,o)),B&&(removeChildren(j.lineNumber),j.lineNumber.appendChild(document.createTextNode(lineNumberFor(n.options,E)))),y=j.node.nextSibling}else{var q=buildLineElement(n,j,E,o);s.insertBefore(q,y)}E+=j.size}for(;y;)y=rm(y)}(n,o.updateLineNumbers,r.dims),E>4&&(o.lineDiv.style.display=""),o.renderedView=o.view,function restoreSelection(n){if(n&&n.activeElt&&n.activeElt!=activeElt()&&(n.activeElt.focus(),n.anchorNode&&contains(document.body,n.anchorNode)&&contains(document.body,n.focusNode))){var r=window.getSelection(),o=document.createRange();o.setEnd(n.anchorNode,n.anchorOffset),o.collapse(!1),r.removeAllRanges(),r.addRange(o),r.extend(n.focusNode,n.focusOffset)}}(P),removeChildren(o.cursorDiv),removeChildren(o.selectionDiv),o.gutters.style.height=o.sizer.style.minHeight=0,w&&(o.lastWrapHeight=r.wrapperHeight,o.lastWrapWidth=r.wrapperWidth,startWorker(n,400)),o.updateLineNumbers=null,!0}function postUpdateDisplay(n,r){for(var o=r.viewport,i=!0;;i=!1){if(i&&n.options.lineWrapping&&r.oldDisplayWidth!=displayWidth(n))i&&(r.visible=visibleLines(n.display,n.doc,o));else if(o&&null!=o.top&&(o={top:Math.min(n.doc.height+paddingVert(n.display)-displayHeight(n),o.top)}),r.visible=visibleLines(n.display,n.doc,o),r.visible.from>=n.display.viewFrom&&r.visible.to<=n.display.viewTo)break;if(!updateDisplayIfNeeded(n,r))break;updateHeightsInViewport(n);var a=measureForScrollbars(n);updateSelection(n),updateScrollbars(n,a),setDocumentHeight(n,a),r.force=!1}r.signal(n,"update",n),n.display.viewFrom==n.display.reportedViewFrom&&n.display.viewTo==n.display.reportedViewTo||(r.signal(n,"viewportChange",n,n.display.viewFrom,n.display.viewTo),n.display.reportedViewFrom=n.display.viewFrom,n.display.reportedViewTo=n.display.viewTo)}function updateDisplaySimple(n,r){var o=new DisplayUpdate(n,r);if(updateDisplayIfNeeded(n,o)){updateHeightsInViewport(n),postUpdateDisplay(n,o);var i=measureForScrollbars(n);updateSelection(n),updateScrollbars(n,i),setDocumentHeight(n,i),o.finish()}}function updateGutterSpace(n){var r=n.gutters.offsetWidth;n.sizer.style.marginLeft=r+"px"}function setDocumentHeight(n,r){n.display.sizer.style.minHeight=r.docHeight+"px",n.display.heightForcer.style.top=r.docHeight+"px",n.display.gutters.style.height=r.docHeight+n.display.barHeight+scrollGap(n)+"px"}function alignHorizontally(n){var r=n.display,o=r.view;if(r.alignWidgets||r.gutters.firstChild&&n.options.fixedGutter){for(var i=compensateForHScroll(r)-r.scroller.scrollLeft+n.doc.scrollLeft,a=r.gutters.offsetWidth,s=i+"px",y=0;yw.clientWidth,P=w.scrollHeight>w.clientHeight;if(a&&E||s&&P){if(s&&se&&_)e:for(var B=r.target,q=y.view;B!=w;B=B.parentNode)for(var $=0;$=0&&cmp(n,i.to())<=0)return o}return-1};var Range=function(n,r){this.anchor=n,this.head=r};function normalizeSelection(n,r,o){var i=n&&n.options.selectionsMayTouch,a=r[o];r.sort((function(n,r){return cmp(n.from(),r.from())})),o=indexOf(r,a);for(var s=1;s0:_>=0){var E=minPos(w.from(),y.from()),P=maxPos(w.to(),y.to()),j=w.empty()?y.from()==y.head:w.from()==w.head;s<=o&&--o,r.splice(--s,2,new Range(j?P:E,j?E:P))}}return new Selection(r,o)}function simpleSelection(n,r){return new Selection([new Range(n,r||n)],0)}function changeEnd(n){return n.text?Pos(n.from.line+n.text.length-1,lst(n.text).length+(1==n.text.length?n.from.ch:0)):n.to}function adjustForChange(n,r){if(cmp(n,r.from)<0)return n;if(cmp(n,r.to)<=0)return changeEnd(r);var o=n.line+r.text.length-(r.to.line-r.from.line)-1,i=n.ch;return n.line==r.to.line&&(i+=changeEnd(r).ch-r.to.ch),Pos(o,i)}function computeSelAfterChange(n,r){for(var o=[],i=0;i1&&n.remove(a.line+1,j-1),n.insert(a.line+1,$)}signalLater(n,"change",n,r)}function linkedDocs(n,r,o){!function propagate(n,i,a){if(n.linked)for(var s=0;sw-(n.cm?n.cm.options.historyEventDelay:500)||"*"==r.origin.charAt(0)))&&(s=function lastChangeEvent(n,r){return r?(clearSelectionEvents(n.done),lst(n.done)):n.done.length&&!lst(n.done).ranges?lst(n.done):n.done.length>1&&!n.done[n.done.length-2].ranges?(n.done.pop(),lst(n.done)):void 0}(a,a.lastOp==i)))y=lst(s.changes),0==cmp(r.from,r.to)&&0==cmp(r.from,y.to)?y.to=changeEnd(r):s.changes.push(historyChangeFromChange(n,r));else{var _=lst(a.done);for(_&&_.ranges||pushSelectionToHistory(n.sel,a.done),s={changes:[historyChangeFromChange(n,r)],generation:a.generation},a.done.push(s);a.done.length>a.undoDepth;)a.done.shift(),a.done[0].ranges||a.done.shift()}a.done.push(o),a.generation=++a.maxGeneration,a.lastModTime=a.lastSelTime=w,a.lastOp=a.lastSelOp=i,a.lastOrigin=a.lastSelOrigin=r.origin,y||signal(n,"historyAdded")}function addSelectionToHistory(n,r,o,i){var a=n.history,s=i&&i.origin;o==a.lastSelOp||s&&a.lastSelOrigin==s&&(a.lastModTime==a.lastSelTime&&a.lastOrigin==s||function selectionEventCanBeMerged(n,r,o,i){var a=r.charAt(0);return"*"==a||"+"==a&&o.ranges.length==i.ranges.length&&o.somethingSelected()==i.somethingSelected()&&new Date-n.history.lastSelTime<=(n.cm?n.cm.options.historyEventDelay:500)}(n,s,lst(a.done),r))?a.done[a.done.length-1]=r:pushSelectionToHistory(r,a.done),a.lastSelTime=+new Date,a.lastSelOrigin=s,a.lastSelOp=o,i&&!1!==i.clearRedo&&clearSelectionEvents(a.undone)}function pushSelectionToHistory(n,r){var o=lst(r);o&&o.ranges&&o.equals(n)||r.push(n)}function attachLocalSpans(n,r,o,i){var a=r["spans_"+n.id],s=0;n.iter(Math.max(n.first,o),Math.min(n.first+n.size,i),(function(o){o.markedSpans&&((a||(a=r["spans_"+n.id]={}))[s]=o.markedSpans),++s}))}function removeClearedSpans(n){if(!n)return null;for(var r,o=0;o-1&&(lst(w)[j]=E[j],delete E[j])}}}return i}function extendRange(n,r,o,i){if(i){var a=n.anchor;if(o){var s=cmp(r,a)<0;s!=cmp(o,a)<0?(a=r,r=o):s!=cmp(r,o)<0&&(r=o)}return new Range(a,r)}return new Range(o||r,r)}function extendSelection(n,r,o,i,a){null==a&&(a=n.cm&&(n.cm.display.shift||n.extend)),setSelection(n,new Selection([extendRange(n.sel.primary(),r,o,a)],0),i)}function extendSelections(n,r,o){for(var i=[],a=n.cm&&(n.cm.display.shift||n.extend),s=0;s=r.ch:w.to>r.ch))){if(a&&(signal(_,"beforeCursorEnter"),_.explicitlyCleared)){if(s.markedSpans){--y;continue}break}if(!_.atomic)continue;if(o){var j=_.find(i<0?1:-1),B=void 0;if((i<0?P:E)&&(j=movePos(n,j,-i,j&&j.line==r.line?s:null)),j&&j.line==r.line&&(B=cmp(j,o))&&(i<0?B<0:B>0))return skipAtomicInner(n,j,r,i,a)}var q=_.find(i<0?-1:1);return(i<0?E:P)&&(q=movePos(n,q,i,q.line==r.line?s:null)),q?skipAtomicInner(n,q,r,i,a):null}}return r}function skipAtomic(n,r,o,i,a){var s=i||1,y=skipAtomicInner(n,r,o,s,a)||!a&&skipAtomicInner(n,r,o,s,!0)||skipAtomicInner(n,r,o,-s,a)||!a&&skipAtomicInner(n,r,o,-s,!0);return y||(n.cantEdit=!0,Pos(n.first,0))}function movePos(n,r,o,i){return o<0&&0==r.ch?r.line>n.first?clipPos(n,Pos(r.line-1)):null:o>0&&r.ch==(i||getLine(n,r.line)).text.length?r.line0)){var P=[_,1],j=cmp(E.from,w.from),B=cmp(E.to,w.to);(j<0||!y.inclusiveLeft&&!j)&&P.push({from:E.from,to:w.from}),(B>0||!y.inclusiveRight&&!B)&&P.push({from:w.to,to:E.to}),a.splice.apply(a,P),_+=P.length-3}}return a}(n,r.from,r.to);if(i)for(var a=i.length-1;a>=0;--a)makeChangeInner(n,{from:i[a].from,to:i[a].to,text:a?[""]:r.text,origin:r.origin});else makeChangeInner(n,r)}}function makeChangeInner(n,r){if(1!=r.text.length||""!=r.text[0]||0!=cmp(r.from,r.to)){var o=computeSelAfterChange(n,r);addChangeToHistory(n,r,o,n.cm?n.cm.curOp.id:NaN),makeChangeSingleDoc(n,r,o,stretchSpansOverChange(n,r));var i=[];linkedDocs(n,(function(n,o){o||-1!=indexOf(i,n.history)||(rebaseHist(n.history,r),i.push(n.history)),makeChangeSingleDoc(n,r,null,stretchSpansOverChange(n,r))}))}}function makeChangeFromHistory(n,r,o){var i=n.cm&&n.cm.state.suppressEdits;if(!i||o){for(var a,s=n.history,y=n.sel,w="undo"==r?s.done:s.undone,_="undo"==r?s.undone:s.done,E=0;E=0;--B){var q=loop(B);if(q)return q.v}}}}function shiftDoc(n,r){if(0!=r&&(n.first+=r,n.sel=new Selection(map(n.sel.ranges,(function(n){return new Range(Pos(n.anchor.line+r,n.anchor.ch),Pos(n.head.line+r,n.head.ch))})),n.sel.primIndex),n.cm)){regChange(n.cm,n.first,n.first-r,r);for(var o=n.cm.display,i=o.viewFrom;in.lastLine())){if(r.from.lines&&(r={from:r.from,to:Pos(s,getLine(n,s).text.length),text:[r.text[0]],origin:r.origin}),r.removed=getBetween(n,r.from,r.to),o||(o=computeSelAfterChange(n,r)),n.cm?function makeChangeSingleDocInEditor(n,r,o){var i=n.doc,a=n.display,s=r.from,y=r.to,w=!1,_=s.line;n.options.lineWrapping||(_=lineNo(visualLine(getLine(i,s.line))),i.iter(_,y.line+1,(function(n){if(n==a.maxLine)return w=!0,!0}))),i.sel.contains(r.from,r.to)>-1&&signalCursorActivity(n),updateDoc(i,r,o,estimateHeight(n)),n.options.lineWrapping||(i.iter(_,s.line+r.text.length,(function(n){var r=lineLength(n);r>a.maxLineLength&&(a.maxLine=n,a.maxLineLength=r,a.maxLineChanged=!0,w=!1)})),w&&(n.curOp.updateMaxLine=!0)),function retreatFrontier(n,r){if(n.modeFrontier=Math.min(n.modeFrontier,r),!(n.highlightFrontiero;i--){var a=getLine(n,i).stateAfter;if(a&&(!(a instanceof SavedContext)||i+a.lookAhead1||!(this.children[0]instanceof LeafChunk))){var w=[];this.collapse(w),this.children=[new LeafChunk(w)],this.children[0].parent=this}},collapse:function(n){for(var r=0;r50){for(var y=a.lines.length%25+25,w=y;w10);n.parent.maybeSpill()}},iterN:function(n,r,o){for(var i=0;i0||0==y&&!1!==s.clearWhenEmpty)return s;if(s.replacedWith&&(s.collapsed=!0,s.widgetNode=eltP("span",[s.replacedWith],"CodeMirror-widget"),i.handleMouseEvents||s.widgetNode.setAttribute("cm-ignore-events","true"),i.insertLeft&&(s.widgetNode.insertLeft=!0)),s.collapsed){if(conflictingCollapsedRange(n,r.line,r,o,s)||r.line!=o.line&&conflictingCollapsedRange(n,o.line,r,o,s))throw new Error("Inserting collapsed marker partially overlapping an existing one");!function seeCollapsedSpans(){nt=!0}()}s.addToHistory&&addChangeToHistory(n,{from:r,to:o,origin:"markText"},n.sel,NaN);var w,_=r.line,E=n.cm;if(n.iter(_,o.line+1,(function(n){E&&s.collapsed&&!E.options.lineWrapping&&visualLine(n)==E.display.maxLine&&(w=!0),s.collapsed&&_!=r.line&&updateLineHeight(n,0),function addMarkedSpan(n,r){n.markedSpans=n.markedSpans?n.markedSpans.concat([r]):[r],r.marker.attachLine(n)}(n,new MarkedSpan(s,_==r.line?r.ch:null,_==o.line?o.ch:null)),++_})),s.collapsed&&n.iter(r.line,o.line+1,(function(r){lineIsHidden(n,r)&&updateLineHeight(r,0)})),s.clearOnEnter&&on(s,"beforeCursorEnter",(function(){return s.clear()})),s.readOnly&&(function seeReadOnlySpans(){tt=!0}(),(n.history.done.length||n.history.undone.length)&&n.clearHistory()),s.collapsed&&(s.id=++ft,s.atomic=!0),E){if(w&&(E.curOp.updateMaxLine=!0),s.collapsed)regChange(E,r.line,o.line+1);else if(s.className||s.startStyle||s.endStyle||s.css||s.attributes||s.title)for(var P=r.line;P<=o.line;P++)regLineChange(E,P,"text");s.atomic&&reCheckSelection(E.doc),signalLater(E,"markerAdded",E,s)}return s}TextMarker.prototype.clear=function(){if(!this.explicitlyCleared){var n=this.doc.cm,r=n&&!n.curOp;if(r&&startOperation(n),hasHandler(this,"clear")){var o=this.find();o&&signalLater(this,"clear",o.from,o.to)}for(var i=null,a=null,s=0;sn.display.maxLineLength&&(n.display.maxLine=E,n.display.maxLineLength=P,n.display.maxLineChanged=!0)}null!=i&&n&&this.collapsed&®Change(n,i,a+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,n&&reCheckSelection(n.doc)),n&&signalLater(n,"markerCleared",n,this,i,a),r&&endOperation(n),this.parent&&this.parent.clear()}},TextMarker.prototype.find=function(n,r){var o,i;null==n&&"bookmark"==this.type&&(n=1);for(var a=0;a=0;_--)makeChange(this,i[_]);w?setSelectionReplaceHistory(this,w):this.cm&&ensureCursorVisible(this.cm)})),undo:docMethodOp((function(){makeChangeFromHistory(this,"undo")})),redo:docMethodOp((function(){makeChangeFromHistory(this,"redo")})),undoSelection:docMethodOp((function(){makeChangeFromHistory(this,"undo",!0)})),redoSelection:docMethodOp((function(){makeChangeFromHistory(this,"redo",!0)})),setExtending:function(n){this.extend=n},getExtending:function(){return this.extend},historySize:function(){for(var n=this.history,r=0,o=0,i=0;i=n.ch)&&r.push(a.marker.parent||a.marker)}return r},findMarks:function(n,r,o){n=clipPos(this,n),r=clipPos(this,r);var i=[],a=n.line;return this.iter(n.line,r.line+1,(function(s){var y=s.markedSpans;if(y)for(var w=0;w=_.to||null==_.from&&a!=n.line||null!=_.from&&a==r.line&&_.from>=r.ch||o&&!o(_.marker)||i.push(_.marker.parent||_.marker)}++a})),i},getAllMarks:function(){var n=[];return this.iter((function(r){var o=r.markedSpans;if(o)for(var i=0;in)return r=n,!0;n-=s,++o})),clipPos(this,Pos(o,r))},indexFromPos:function(n){var r=(n=clipPos(this,n)).ch;if(n.liner&&(r=n.from),null!=n.to&&n.to-1)return r.state.draggingText(n),void setTimeout((function(){return r.display.input.focus()}),20);try{var E=n.dataTransfer.getData("Text");if(E){var P;if(r.state.draggingText&&!r.state.draggingText.copy&&(P=r.listSelections()),setSelectionNoUndo(r.doc,simpleSelection(o,o)),P)for(var j=0;j=0;r--)replaceRange(n.doc,"",i[r].from,i[r].to,"+delete");ensureCursorVisible(n)}))}function moveCharLogically(n,r,o){var i=skipExtendingChars(n.text,r+o,o);return i<0||i>n.text.length?null:i}function moveLogically(n,r,o){var i=moveCharLogically(n,r.ch,o);return null==i?null:new Pos(r.line,i,o<0?"after":"before")}function endOfLine(n,r,o,i,a){if(n){"rtl"==r.doc.direction&&(a=-a);var s=getOrder(o,r.doc.direction);if(s){var y,w=a<0?lst(s):s[0],_=a<0==(1==w.level)?"after":"before";if(w.level>0||"rtl"==r.doc.direction){var E=prepareMeasureForLine(r,o);y=a<0?o.text.length-1:0;var P=measureCharPrepared(r,E,y).top;y=findFirst((function(n){return measureCharPrepared(r,E,n).top==P}),a<0==(1==w.level)?w.from:w.to-1,y),"before"==_&&(y=moveCharLogically(o,y,1))}else y=a<0?w.to:w.from;return new Pos(i,y,_)}}return new Pos(i,a<0?o.text.length:0,a<0?"before":"after")}kt.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},kt.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},kt.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},kt.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},kt.default=se?kt.macDefault:kt.pcDefault;var wt={selectAll:selectAll,singleSelection:function(n){return n.setSelection(n.getCursor("anchor"),n.getCursor("head"),ke)},killLine:function(n){return deleteNearSelection(n,(function(r){if(r.empty()){var o=getLine(n.doc,r.head.line).text.length;return r.head.ch==o&&r.head.line0)a=new Pos(a.line,a.ch+1),n.replaceRange(s.charAt(a.ch-1)+s.charAt(a.ch-2),Pos(a.line,a.ch-2),a,"+transpose");else if(a.line>n.doc.first){var y=getLine(n.doc,a.line-1).text;y&&(a=new Pos(a.line,1),n.replaceRange(s.charAt(0)+n.doc.lineSeparator()+y.charAt(y.length-1),Pos(a.line-1,y.length-1),a,"+transpose"))}o.push(new Range(a,a))}n.setSelections(o)}))},newlineAndIndent:function(n){return runInOp(n,(function(){for(var r=n.listSelections(),o=r.length-1;o>=0;o--)n.replaceRange(n.doc.lineSeparator(),r[o].anchor,r[o].head,"+input");r=n.listSelections();for(var i=0;i-1&&(cmp((a=E.ranges[a]).from(),r)<0||r.xRel>0)&&(cmp(a.to(),r)>0||r.xRel<0)?function leftButtonStartDrag(n,r,o,i){var a=n.display,s=!1,E=operation(n,(function(r){_&&(a.scroller.draggable=!1),n.state.draggingText=!1,off(a.wrapper.ownerDocument,"mouseup",E),off(a.wrapper.ownerDocument,"mousemove",mouseMove),off(a.scroller,"dragstart",dragStart),off(a.scroller,"drop",E),s||(e_preventDefault(r),i.addNew||extendSelection(n.doc,o,null,null,i.extend),_||y&&9==w?setTimeout((function(){a.wrapper.ownerDocument.body.focus(),a.input.focus()}),20):a.input.focus())})),mouseMove=function(n){s=s||Math.abs(r.clientX-n.clientX)+Math.abs(r.clientY-n.clientY)>=10},dragStart=function(){return s=!0};_&&(a.scroller.draggable=!0),n.state.draggingText=E,E.copy=!i.moveOnDrag,a.scroller.dragDrop&&a.scroller.dragDrop(),on(a.wrapper.ownerDocument,"mouseup",E),on(a.wrapper.ownerDocument,"mousemove",mouseMove),on(a.scroller,"dragstart",dragStart),on(a.scroller,"drop",E),delayBlurEvent(n),setTimeout((function(){return a.input.focus()}),20)}(n,i,r,s):function leftButtonSelect(n,r,o,i){var a=n.display,s=n.doc;e_preventDefault(r);var y,w,_=s.sel,E=_.ranges;if(i.addNew&&!i.extend?(w=s.sel.contains(o),y=w>-1?E[w]:new Range(o,o)):(y=s.sel.primary(),w=s.sel.primIndex),"rectangle"==i.unit)i.addNew||(y=new Range(o,o)),o=posFromMouse(n,r,!0,!0),w=-1;else{var P=rangeForUnit(n,o,i.unit);y=i.extend?extendRange(y,P.anchor,P.head,i.extend):P}i.addNew?-1==w?(w=E.length,setSelection(s,normalizeSelection(n,E.concat([y]),w),{scroll:!1,origin:"*mouse"})):E.length>1&&E[w].empty()&&"char"==i.unit&&!i.extend?(setSelection(s,normalizeSelection(n,E.slice(0,w).concat(E.slice(w+1)),0),{scroll:!1,origin:"*mouse"}),_=s.sel):replaceOneSelection(s,w,y,we):(w=0,setSelection(s,new Selection([y],0),we),_=s.sel);var j=o;function extendTo(r){if(0!=cmp(j,r))if(j=r,"rectangle"==i.unit){for(var a=[],E=n.options.tabSize,P=countColumn(getLine(s,o.line).text,o.ch,E),B=countColumn(getLine(s,r.line).text,r.ch,E),q=Math.min(P,B),$=Math.max(P,B),ne=Math.min(o.line,r.line),oe=Math.min(n.lastLine(),Math.max(o.line,r.line));ne<=oe;ne++){var ie=getLine(s,ne).text,se=findColumn(ie,q,E);q==$?a.push(new Range(Pos(ne,se),Pos(ne,se))):ie.length>se&&a.push(new Range(Pos(ne,se),Pos(ne,findColumn(ie,$,E))))}a.length||a.push(new Range(o,o)),setSelection(s,normalizeSelection(n,_.ranges.slice(0,w).concat(a),w),{origin:"*mouse",scroll:!1}),n.scrollIntoView(r)}else{var le,pe=y,he=rangeForUnit(n,r,i.unit),me=pe.anchor;cmp(he.anchor,me)>0?(le=he.head,me=minPos(pe.from(),he.anchor)):(le=he.anchor,me=maxPos(pe.to(),he.head));var ge=_.ranges.slice(0);ge[w]=function bidiSimplify(n,r){var o=r.anchor,i=r.head,a=getLine(n.doc,o.line);if(0==cmp(o,i)&&o.sticky==i.sticky)return r;var s=getOrder(a);if(!s)return r;var y=getBidiPartAt(s,o.ch,o.sticky),w=s[y];if(w.from!=o.ch&&w.to!=o.ch)return r;var _,E=y+(w.from==o.ch==(1!=w.level)?0:1);if(0==E||E==s.length)return r;if(i.line!=o.line)_=(i.line-o.line)*("ltr"==n.doc.direction?1:-1)>0;else{var P=getBidiPartAt(s,i.ch,i.sticky),j=P-y||(i.ch-o.ch)*(1==w.level?-1:1);_=P==E-1||P==E?j<0:j>0}var B=s[E+(_?-1:0)],q=_==(1==B.level),$=q?B.from:B.to,ne=q?"after":"before";return o.ch==$&&o.sticky==ne?r:new Range(new Pos(o.line,$,ne),i)}(n,new Range(clipPos(s,me),le)),setSelection(s,normalizeSelection(n,ge,w),we)}}var B=a.wrapper.getBoundingClientRect(),q=0;function done(r){n.state.selectingText=!1,q=1/0,r&&(e_preventDefault(r),a.input.focus()),off(a.wrapper.ownerDocument,"mousemove",$),off(a.wrapper.ownerDocument,"mouseup",ne),s.history.lastSelOrigin=null}var $=operation(n,(function(r){0!==r.buttons&&e_button(r)?function extend(r){var o=++q,y=posFromMouse(n,r,!0,"rectangle"==i.unit);if(y)if(0!=cmp(y,j)){n.curOp.focus=activeElt(),extendTo(y);var w=visibleLines(a,s);(y.line>=w.to||y.lineB.bottom?20:0;_&&setTimeout(operation(n,(function(){q==o&&(a.scroller.scrollTop+=_,extend(r))})),50)}}(r):done(r)})),ne=operation(n,done);n.state.selectingText=ne,on(a.wrapper.ownerDocument,"mousemove",$),on(a.wrapper.ownerDocument,"mouseup",ne)}(n,i,r,s)}(r,i,s,n):e_target(n)==o.scroller&&e_preventDefault(n):2==a?(i&&extendSelection(r.doc,i),setTimeout((function(){return o.input.focus()}),20)):3==a&&(ge?r.display.input.onContextMenu(n):delayBlurEvent(r)))}}function rangeForUnit(n,r,o){if("char"==o)return new Range(r,r);if("word"==o)return n.findWordAt(r);if("line"==o)return new Range(Pos(r.line,0),clipPos(n.doc,Pos(r.line+1,0)));var i=o(n,r);return new Range(i.from,i.to)}function gutterEvent(n,r,o,i){var a,s;if(r.touches)a=r.touches[0].clientX,s=r.touches[0].clientY;else try{a=r.clientX,s=r.clientY}catch(r){return!1}if(a>=Math.floor(n.display.gutters.getBoundingClientRect().right))return!1;i&&e_preventDefault(r);var y=n.display,w=y.lineDiv.getBoundingClientRect();if(s>w.bottom||!hasHandler(n,o))return e_defaultPrevented(r);s-=w.top-y.viewOffset;for(var _=0;_=a)return signal(n,o,n,lineAtHeight(n.doc,s),n.display.gutterSpecs[_].className,r),e_defaultPrevented(r)}}function clickInGutter(n,r){return gutterEvent(n,r,"gutterClick",!0)}function onContextMenu(n,r){eventInWidget(n.display,r)||function contextMenuInGutter(n,r){return!!hasHandler(n,"gutterContextMenu")&&gutterEvent(n,r,"gutterContextMenu",!1)}(n,r)||signalDOMEvent(n,r,"contextmenu")||ge||n.display.input.onContextMenu(r)}function themeChanged(n){n.display.wrapper.className=n.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+n.options.theme.replace(/(^|\s)\s*/g," cm-s-"),clearCaches(n)}PastClick.prototype.compare=function(n,r,o){return this.time+400>n&&0==cmp(r,this.pos)&&o==this.button};var Mt={toString:function(){return"CodeMirror.Init"}},Lt={},Et={};function dragDropChanged(n,r,o){if(!r!=!(o&&o!=Mt)){var i=n.display.dragFunctions,a=r?on:off;a(n.display.scroller,"dragstart",i.start),a(n.display.scroller,"dragenter",i.enter),a(n.display.scroller,"dragover",i.over),a(n.display.scroller,"dragleave",i.leave),a(n.display.scroller,"drop",i.drop)}}function wrappingChanged(n){n.options.lineWrapping?(addClass(n.display.wrapper,"CodeMirror-wrap"),n.display.sizer.style.minWidth="",n.display.sizerWidth=null):(rmClass(n.display.wrapper,"CodeMirror-wrap"),findMaxLine(n)),estimateLineHeights(n),regChange(n),clearCaches(n),setTimeout((function(){return updateScrollbars(n)}),100)}function CodeMirror(n,r){var o=this;if(!(this instanceof CodeMirror))return new CodeMirror(n,r);this.options=r=r?copyObj(r):{},copyObj(Lt,r,!1);var i=r.value;"string"==typeof i?i=new Doc(i,r.mode,null,r.lineSeparator,r.direction):r.mode&&(i.modeOption=r.mode),this.doc=i;var a=new CodeMirror.inputStyles[r.inputStyle](this),s=this.display=new Display(n,i,a,r);for(var E in s.wrapper.CodeMirror=this,themeChanged(this),r.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),initScrollbars(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Delayed,keySeq:null,specialChars:null},r.autofocus&&!ie&&s.input.focus(),y&&w<11&&setTimeout((function(){return o.display.input.reset(!0)}),20),function registerEventHandlers(n){var r=n.display;on(r.scroller,"mousedown",operation(n,onMouseDown)),on(r.scroller,"dblclick",y&&w<11?operation(n,(function(r){if(!signalDOMEvent(n,r)){var o=posFromMouse(n,r);if(o&&!clickInGutter(n,r)&&!eventInWidget(n.display,r)){e_preventDefault(r);var i=n.findWordAt(o);extendSelection(n.doc,i.anchor,i.head)}}})):function(r){return signalDOMEvent(n,r)||e_preventDefault(r)}),on(r.scroller,"contextmenu",(function(r){return onContextMenu(n,r)})),on(r.input.getField(),"contextmenu",(function(o){r.scroller.contains(o.target)||onContextMenu(n,o)}));var o,i={end:0};function finishTouch(){r.activeTouch&&(o=setTimeout((function(){return r.activeTouch=null}),1e3),(i=r.activeTouch).end=+new Date)}function farAway(n,r){if(null==r.left)return!0;var o=r.left-n.left,i=r.top-n.top;return o*o+i*i>400}on(r.scroller,"touchstart",(function(a){if(!signalDOMEvent(n,a)&&!function isMouseLikeTouchEvent(n){if(1!=n.touches.length)return!1;var r=n.touches[0];return r.radiusX<=1&&r.radiusY<=1}(a)&&!clickInGutter(n,a)){r.input.ensurePolled(),clearTimeout(o);var s=+new Date;r.activeTouch={start:s,moved:!1,prev:s-i.end<=300?i:null},1==a.touches.length&&(r.activeTouch.left=a.touches[0].pageX,r.activeTouch.top=a.touches[0].pageY)}})),on(r.scroller,"touchmove",(function(){r.activeTouch&&(r.activeTouch.moved=!0)})),on(r.scroller,"touchend",(function(o){var i=r.activeTouch;if(i&&!eventInWidget(r,o)&&null!=i.left&&!i.moved&&new Date-i.start<300){var a,s=n.coordsChar(r.activeTouch,"page");a=!i.prev||farAway(i,i.prev)?new Range(s,s):!i.prev.prev||farAway(i,i.prev.prev)?n.findWordAt(s):new Range(Pos(s.line,0),clipPos(n.doc,Pos(s.line+1,0))),n.setSelection(a.anchor,a.head),n.focus(),e_preventDefault(o)}finishTouch()})),on(r.scroller,"touchcancel",finishTouch),on(r.scroller,"scroll",(function(){r.scroller.clientHeight&&(updateScrollTop(n,r.scroller.scrollTop),setScrollLeft(n,r.scroller.scrollLeft,!0),signal(n,"scroll",n))})),on(r.scroller,"mousewheel",(function(r){return onScrollWheel(n,r)})),on(r.scroller,"DOMMouseScroll",(function(r){return onScrollWheel(n,r)})),on(r.wrapper,"scroll",(function(){return r.wrapper.scrollTop=r.wrapper.scrollLeft=0})),r.dragFunctions={enter:function(r){signalDOMEvent(n,r)||e_stop(r)},over:function(r){signalDOMEvent(n,r)||(function onDragOver(n,r){var o=posFromMouse(n,r);if(o){var i=document.createDocumentFragment();drawSelectionCursor(n,o,i),n.display.dragCursor||(n.display.dragCursor=elt("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),n.display.lineSpace.insertBefore(n.display.dragCursor,n.display.cursorDiv)),removeChildrenAndAdd(n.display.dragCursor,i)}}(n,r),e_stop(r))},start:function(r){return function onDragStart(n,r){if(y&&(!n.state.draggingText||+new Date-mt<100))e_stop(r);else if(!signalDOMEvent(n,r)&&!eventInWidget(n.display,r)&&(r.dataTransfer.setData("Text",n.getSelection()),r.dataTransfer.effectAllowed="copyMove",r.dataTransfer.setDragImage&&!B)){var o=elt("img",null,null,"position: fixed; left: 0; top: 0;");o.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",j&&(o.width=o.height=1,n.display.wrapper.appendChild(o),o._top=o.offsetTop),r.dataTransfer.setDragImage(o,0,0),j&&o.parentNode.removeChild(o)}}(n,r)},drop:operation(n,onDrop),leave:function(r){signalDOMEvent(n,r)||clearDragCursor(n)}};var a=r.input.getField();on(a,"keyup",(function(r){return onKeyUp.call(n,r)})),on(a,"keydown",operation(n,onKeyDown)),on(a,"keypress",operation(n,onKeyPress)),on(a,"focus",(function(r){return onFocus(n,r)})),on(a,"blur",(function(r){return onBlur(n,r)}))}(this),ensureGlobalHandlers(),startOperation(this),this.curOp.forceUpdate=!0,attachDoc(this,i),r.autofocus&&!ie||this.hasFocus()?setTimeout(bind(onFocus,this),20):onBlur(this),Et)Et.hasOwnProperty(E)&&Et[E](this,r[E],Mt);maybeUpdateLineNumberWidth(this),r.finishInit&&r.finishInit(this);for(var P=0;P150)){if(!i)return;o="prev"}}else E=0,o="not";"prev"==o?E=r>s.first?countColumn(getLine(s,r-1).text,null,y):0:"add"==o?E=_+n.options.indentUnit:"subtract"==o?E=_-n.options.indentUnit:"number"==typeof o&&(E=_+o),E=Math.max(0,E);var j="",B=0;if(n.options.indentWithTabs)for(var q=Math.floor(E/y);q;--q)B+=y,j+="\t";if(By,_=We(r),E=null;if(w&&i.ranges.length>1)if(At&&At.text.join("\n")==r){if(i.ranges.length%At.text.length==0){E=[];for(var P=0;P=0;B--){var q=i.ranges[B],$=q.from(),ne=q.to();q.empty()&&(o&&o>0?$=Pos($.line,$.ch-o):n.state.overwrite&&!w?ne=Pos(ne.line,Math.min(getLine(s,ne.line).text.length,ne.ch+lst(_).length)):w&&At&&At.lineWise&&At.text.join("\n")==r&&($=ne=Pos($.line,0)));var oe={from:$,to:ne,text:E?E[B%E.length]:_,origin:a||(w?"paste":n.state.cutIncoming>y?"cut":"+input")};makeChange(n.doc,oe),signalLater(n,"inputRead",n,oe)}r&&!w&&triggerElectric(n,r),ensureCursorVisible(n),n.curOp.updateInput<2&&(n.curOp.updateInput=j),n.curOp.typing=!0,n.state.pasteIncoming=n.state.cutIncoming=-1}function handlePaste(n,r){var o=n.clipboardData&&n.clipboardData.getData("Text");if(o)return n.preventDefault(),r.isReadOnly()||r.options.disableInput||runInOp(r,(function(){return applyTextInput(r,o,0,null,"paste")})),!0}function triggerElectric(n,r){if(n.options.electricChars&&n.options.smartIndent)for(var o=n.doc.sel,i=o.ranges.length-1;i>=0;i--){var a=o.ranges[i];if(!(a.head.ch>100||i&&o.ranges[i-1].head.line==a.head.line)){var s=n.getModeAt(a.head),y=!1;if(s.electricChars){for(var w=0;w-1){y=indentLine(n,a.head.line,"smart");break}}else s.electricInput&&s.electricInput.test(getLine(n.doc,a.head.line).text.slice(0,a.head.ch))&&(y=indentLine(n,a.head.line,"smart"));y&&signalLater(n,"electricInput",n,a.head.line)}}}function copyableRanges(n){for(var r=[],o=[],i=0;i=r.text.length?(o.ch=r.text.length,o.sticky="before"):o.ch<=0&&(o.ch=0,o.sticky="after");var s=getBidiPartAt(a,o.ch,o.sticky),y=a[s];if("ltr"==n.doc.direction&&y.level%2==0&&(i>0?y.to>o.ch:y.from=y.from&&P>=_.begin)){var j=E?"before":"after";return new Pos(o.line,P,j)}}var searchInVisualLine=function(n,r,i){for(var getRes=function(n,r){return r?new Pos(o.line,mv(n,1),"before"):new Pos(o.line,n,"after")};n>=0&&n0==(1!=s.level),w=y?i.begin:mv(i.end,-1);if(s.from<=w&&w0?_.end:mv(_.begin,-1);return null==q||i>0&&q==r.text.length||!(B=searchInVisualLine(i>0?0:a.length-1,i,getWrappedLineExtent(q)))?null:B}(n.cm,w,r,o):moveLogically(w,r,o))){if(i||!function findNextLine(){var o=r.line+_;return!(o=n.first+n.size)&&(r=new Pos(o,r.ch,r.sticky),w=getLine(n,o))}())return!1;r=endOfLine(a,n.cm,w,r.line,_)}else r=s;return!0}if("char"==i)moveOnce();else if("column"==i)moveOnce(!0);else if("word"==i||"group"==i)for(var E=null,P="group"==i,j=n.cm&&n.cm.getHelper(r,"wordChars"),B=!0;!(o<0)||moveOnce(!B);B=!1){var q=w.text.charAt(r.ch)||"\n",$=isWordChar(q,j)?"w":P&&"\n"==q?"n":!P||/\s/.test(q)?null:"p";if(!P||B||$||($="s"),E&&E!=$){o<0&&(o=1,moveOnce(),r.sticky="after");break}if($&&(E=$),o>0&&!moveOnce(!B))break}var ne=skipAtomic(n,r,s,y,!0);return equalCursorPos(s,ne)&&(ne.hitSide=!0),ne}function findPosV(n,r,o,i){var a,s,y=n.doc,w=r.left;if("page"==i){var _=Math.min(n.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),E=Math.max(_-.5*textHeight(n.display),3);a=(o>0?r.bottom:r.top)+o*E}else"line"==i&&(a=o>0?r.bottom+3:r.top-3);for(;(s=coordsChar(n,w,a)).outside;){if(o<0?a<=0:a>=y.height){s.hitSide=!0;break}a+=5*o}return s}var ContentEditableInput=function(n){this.cm=n,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Delayed,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function posToDOM(n,r){var o=findViewForLine(n,r.line);if(!o||o.hidden)return null;var i=getLine(n.doc,r.line),a=mapFromLineView(o,i,r.line),s=getOrder(i,n.doc.direction),y="left";s&&(y=getBidiPartAt(s,r.ch)%2?"right":"left");var w=nodeAndOffsetInLineMap(a.map,r.ch,y);return w.offset="right"==w.collapse?w.end:w.start,w}function badPos(n,r){return r&&(n.bad=!0),n}function domToPos(n,r,o){var i;if(r==n.display.lineDiv){if(!(i=n.display.lineDiv.childNodes[o]))return badPos(n.clipPos(Pos(n.display.viewTo-1)),!0);r=null,o=0}else for(i=r;;i=i.parentNode){if(!i||i==n.display.lineDiv)return null;if(i.parentNode&&i.parentNode==n.display.lineDiv)break}for(var a=0;a=r.display.viewTo||s.line=r.display.viewFrom&&posToDOM(r,a)||{node:_[0].measure.map[2],offset:0},P=s.linei.firstLine()&&(y=Pos(y.line-1,getLine(i.doc,y.line-1).length)),w.ch==getLine(i.doc,w.line).text.length&&w.linea.viewTo-1)return!1;y.line==a.viewFrom||0==(n=findViewIndex(i,y.line))?(r=lineNo(a.view[0].line),o=a.view[0].node):(r=lineNo(a.view[n].line),o=a.view[n-1].node.nextSibling);var _,E,P=findViewIndex(i,w.line);if(P==a.view.length-1?(_=a.viewTo-1,E=a.lineDiv.lastChild):(_=lineNo(a.view[P+1].line)-1,E=a.view[P+1].node.previousSibling),!o)return!1;for(var j=i.doc.splitLines(function domTextBetween(n,r,o,i,a){var s="",y=!1,w=n.doc.lineSeparator(),_=!1;function close(){y&&(s+=w,_&&(s+=w),y=_=!1)}function addText(n){n&&(close(),s+=n)}function walk(r){if(1==r.nodeType){var o=r.getAttribute("cm-text");if(o)return void addText(o);var s,E=r.getAttribute("cm-marker");if(E){var P=n.findMarks(Pos(i,0),Pos(a+1,0),function recognizeMarker(n){return function(r){return r.id==n}}(+E));return void(P.length&&(s=P[0].find(0))&&addText(getBetween(n.doc,s.from,s.to).join(w)))}if("false"==r.getAttribute("contenteditable"))return;var j=/^(pre|div|p|li|table|br)$/i.test(r.nodeName);if(!/^br$/i.test(r.nodeName)&&0==r.textContent.length)return;j&&close();for(var B=0;B1&&B.length>1;)if(lst(j)==lst(B))j.pop(),B.pop(),_--;else{if(j[0]!=B[0])break;j.shift(),B.shift(),r++}for(var q=0,$=0,ne=j[0],oe=B[0],ie=Math.min(ne.length,oe.length);qy.ch&&se.charCodeAt(se.length-$-1)==le.charCodeAt(le.length-$-1);)q--,$++;j[j.length-1]=se.slice(0,se.length-$).replace(/^\u200b+/,""),j[0]=j[0].slice(q).replace(/\u200b+$/,"");var he=Pos(r,q),me=Pos(_,B.length?lst(B).length-$:0);return j.length>1||j[0]||cmp(he,me)?(replaceRange(i.doc,j,he,me,"+input"),!0):void 0},ContentEditableInput.prototype.ensurePolled=function(){this.forceCompositionEnd()},ContentEditableInput.prototype.reset=function(){this.forceCompositionEnd()},ContentEditableInput.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ContentEditableInput.prototype.readFromDOMSoon=function(){var n=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(n.readDOMTimeout=null,n.composing){if(!n.composing.done)return;n.composing=null}n.updateFromDOM()}),80))},ContentEditableInput.prototype.updateFromDOM=function(){var n=this;!this.cm.isReadOnly()&&this.pollContent()||runInOp(this.cm,(function(){return regChange(n.cm)}))},ContentEditableInput.prototype.setUneditable=function(n){n.contentEditable="false"},ContentEditableInput.prototype.onKeyPress=function(n){0==n.charCode||this.composing||(n.preventDefault(),this.cm.isReadOnly()||operation(this.cm,applyTextInput)(this.cm,String.fromCharCode(null==n.charCode?n.keyCode:n.charCode),0))},ContentEditableInput.prototype.readOnlyChanged=function(n){this.div.contentEditable=String("nocursor"!=n)},ContentEditableInput.prototype.onContextMenu=function(){},ContentEditableInput.prototype.resetPosition=function(){},ContentEditableInput.prototype.needsContentAttribute=!0;var TextareaInput=function(n){this.cm=n,this.prevInput="",this.pollingFast=!1,this.polling=new Delayed,this.hasSelection=!1,this.composing=null};TextareaInput.prototype.init=function(n){var r=this,o=this,i=this.cm;this.createField(n);var a=this.textarea;function prepareCopyCut(n){if(!signalDOMEvent(i,n)){if(i.somethingSelected())setLastCopied({lineWise:!1,text:i.getSelections()});else{if(!i.options.lineWiseCopyCut)return;var r=copyableRanges(i);setLastCopied({lineWise:!0,text:r.text}),"cut"==n.type?i.setSelections(r.ranges,null,ke):(o.prevInput="",a.value=r.text.join("\n"),selectInput(a))}"cut"==n.type&&(i.state.cutIncoming=+new Date)}}n.wrapper.insertBefore(this.wrapper,n.wrapper.firstChild),ne&&(a.style.width="0px"),on(a,"input",(function(){y&&w>=9&&r.hasSelection&&(r.hasSelection=null),o.poll()})),on(a,"paste",(function(n){signalDOMEvent(i,n)||handlePaste(n,i)||(i.state.pasteIncoming=+new Date,o.fastPoll())})),on(a,"cut",prepareCopyCut),on(a,"copy",prepareCopyCut),on(n.scroller,"paste",(function(r){if(!eventInWidget(n,r)&&!signalDOMEvent(i,r)){if(!a.dispatchEvent)return i.state.pasteIncoming=+new Date,void o.focus();var s=new Event("paste");s.clipboardData=r.clipboardData,a.dispatchEvent(s)}})),on(n.lineSpace,"selectstart",(function(r){eventInWidget(n,r)||e_preventDefault(r)})),on(a,"compositionstart",(function(){var n=i.getCursor("from");o.composing&&o.composing.range.clear(),o.composing={start:n,range:i.markText(n,i.getCursor("to"),{className:"CodeMirror-composing"})}})),on(a,"compositionend",(function(){o.composing&&(o.poll(),o.composing.range.clear(),o.composing=null)}))},TextareaInput.prototype.createField=function(n){this.wrapper=hiddenTextarea(),this.textarea=this.wrapper.firstChild},TextareaInput.prototype.prepareSelection=function(){var n=this.cm,r=n.display,o=n.doc,i=prepareSelection(n);if(n.options.moveInputWithCursor){var a=cursorCoords(n,o.sel.primary().head,"div"),s=r.wrapper.getBoundingClientRect(),y=r.lineDiv.getBoundingClientRect();i.teTop=Math.max(0,Math.min(r.wrapper.clientHeight-10,a.top+y.top-s.top)),i.teLeft=Math.max(0,Math.min(r.wrapper.clientWidth-10,a.left+y.left-s.left))}return i},TextareaInput.prototype.showSelection=function(n){var r=this.cm.display;removeChildrenAndAdd(r.cursorDiv,n.cursors),removeChildrenAndAdd(r.selectionDiv,n.selection),null!=n.teTop&&(this.wrapper.style.top=n.teTop+"px",this.wrapper.style.left=n.teLeft+"px")},TextareaInput.prototype.reset=function(n){if(!this.contextMenuPending&&!this.composing){var r=this.cm;if(r.somethingSelected()){this.prevInput="";var o=r.getSelection();this.textarea.value=o,r.state.focused&&selectInput(this.textarea),y&&w>=9&&(this.hasSelection=o)}else n||(this.prevInput=this.textarea.value="",y&&w>=9&&(this.hasSelection=null))}},TextareaInput.prototype.getField=function(){return this.textarea},TextareaInput.prototype.supportsTouch=function(){return!1},TextareaInput.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!ie||activeElt()!=this.textarea))try{this.textarea.focus()}catch(n){}},TextareaInput.prototype.blur=function(){this.textarea.blur()},TextareaInput.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},TextareaInput.prototype.receivedFocus=function(){this.slowPoll()},TextareaInput.prototype.slowPoll=function(){var n=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){n.poll(),n.cm.state.focused&&n.slowPoll()}))},TextareaInput.prototype.fastPoll=function(){var n=!1,r=this;r.pollingFast=!0,r.polling.set(20,(function p(){r.poll()||n?(r.pollingFast=!1,r.slowPoll()):(n=!0,r.polling.set(60,p))}))},TextareaInput.prototype.poll=function(){var n=this,r=this.cm,o=this.textarea,i=this.prevInput;if(this.contextMenuPending||!r.state.focused||Ve(o)&&!i&&!this.composing||r.isReadOnly()||r.options.disableInput||r.state.keySeq)return!1;var a=o.value;if(a==i&&!r.somethingSelected())return!1;if(y&&w>=9&&this.hasSelection===a||se&&/[\uf700-\uf7ff]/.test(a))return r.display.input.reset(),!1;if(r.doc.sel==r.display.selForContextMenu){var s=a.charCodeAt(0);if(8203!=s||i||(i="​"),8666==s)return this.reset(),this.cm.execCommand("undo")}for(var _=0,E=Math.min(i.length,a.length);_1e3||a.indexOf("\n")>-1?o.value=n.prevInput="":n.prevInput=a,n.composing&&(n.composing.range.clear(),n.composing.range=r.markText(n.composing.start,r.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},TextareaInput.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},TextareaInput.prototype.onKeyPress=function(){y&&w>=9&&(this.hasSelection=null),this.fastPoll()},TextareaInput.prototype.onContextMenu=function(n){var r=this,o=r.cm,i=o.display,a=r.textarea;r.contextMenuPending&&r.contextMenuPending();var s=posFromMouse(o,n),E=i.scroller.scrollTop;if(s&&!j){o.options.resetSelectionOnContextMenu&&-1==o.doc.sel.contains(s)&&operation(o,setSelection)(o.doc,simpleSelection(s),ke);var P,B=a.style.cssText,q=r.wrapper.style.cssText,$=r.wrapper.offsetParent.getBoundingClientRect();if(r.wrapper.style.cssText="position: static",a.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(n.clientY-$.top-5)+"px; left: "+(n.clientX-$.left-5)+"px;\n z-index: 1000; background: "+(y?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",_&&(P=window.scrollY),i.input.focus(),_&&window.scrollTo(null,P),i.input.reset(),o.somethingSelected()||(a.value=r.prevInput=" "),r.contextMenuPending=rehide,i.selForContextMenu=o.doc.sel,clearTimeout(i.detectingSelectAll),y&&w>=9&&prepareSelectAllHack(),ge){e_stop(n);var mouseup=function(){off(window,"mouseup",mouseup),setTimeout(rehide,20)};on(window,"mouseup",mouseup)}else setTimeout(rehide,50)}function prepareSelectAllHack(){if(null!=a.selectionStart){var n=o.somethingSelected(),s="​"+(n?a.value:"");a.value="⇚",a.value=s,r.prevInput=n?"":"​",a.selectionStart=1,a.selectionEnd=s.length,i.selForContextMenu=o.doc.sel}}function rehide(){if(r.contextMenuPending==rehide&&(r.contextMenuPending=!1,r.wrapper.style.cssText=q,a.style.cssText=B,y&&w<9&&i.scrollbars.setScrollTop(i.scroller.scrollTop=E),null!=a.selectionStart)){(!y||y&&w<9)&&prepareSelectAllHack();var n=0,poll=function(){i.selForContextMenu==o.doc.sel&&0==a.selectionStart&&a.selectionEnd>0&&"​"==r.prevInput?operation(o,selectAll)(o):n++<10?i.detectingSelectAll=setTimeout(poll,500):(i.selForContextMenu=null,i.input.reset())};i.detectingSelectAll=setTimeout(poll,200)}}},TextareaInput.prototype.readOnlyChanged=function(n){n||this.reset(),this.textarea.disabled="nocursor"==n},TextareaInput.prototype.setUneditable=function(){},TextareaInput.prototype.needsContentAttribute=!1,function defineOptions(n){var r=n.optionHandlers;function option(o,i,a,s){n.defaults[o]=i,a&&(r[o]=s?function(n,r,o){o!=Mt&&a(n,r,o)}:a)}n.defineOption=option,n.Init=Mt,option("value","",(function(n,r){return n.setValue(r)}),!0),option("mode",null,(function(n,r){n.doc.modeOption=r,loadMode(n)}),!0),option("indentUnit",2,loadMode,!0),option("indentWithTabs",!1),option("smartIndent",!0),option("tabSize",4,(function(n){resetModeState(n),clearCaches(n),regChange(n)}),!0),option("lineSeparator",null,(function(n,r){if(n.doc.lineSep=r,r){var o=[],i=n.doc.first;n.doc.iter((function(n){for(var a=0;;){var s=n.text.indexOf(r,a);if(-1==s)break;a=s+r.length,o.push(Pos(i,s))}i++}));for(var a=o.length-1;a>=0;a--)replaceRange(n.doc,r,o[a],Pos(o[a].line,o[a].ch+r.length))}})),option("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(n,r,o){n.state.specialChars=new RegExp(r.source+(r.test("\t")?"":"|\t"),"g"),o!=Mt&&n.refresh()})),option("specialCharPlaceholder",defaultSpecialCharPlaceholder,(function(n){return n.refresh()}),!0),option("electricChars",!0),option("inputStyle",ie?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),option("spellcheck",!1,(function(n,r){return n.getInputField().spellcheck=r}),!0),option("autocorrect",!1,(function(n,r){return n.getInputField().autocorrect=r}),!0),option("autocapitalize",!1,(function(n,r){return n.getInputField().autocapitalize=r}),!0),option("rtlMoveVisually",!pe),option("wholeLineUpdateBefore",!0),option("theme","default",(function(n){themeChanged(n),updateGutters(n)}),!0),option("keyMap","default",(function(n,r,o){var i=getKeyMap(r),a=o!=Mt&&getKeyMap(o);a&&a.detach&&a.detach(n,i),i.attach&&i.attach(n,a||null)})),option("extraKeys",null),option("configureMouse",null),option("lineWrapping",!1,wrappingChanged,!0),option("gutters",[],(function(n,r){n.display.gutterSpecs=getGutters(r,n.options.lineNumbers),updateGutters(n)}),!0),option("fixedGutter",!0,(function(n,r){n.display.gutters.style.left=r?compensateForHScroll(n.display)+"px":"0",n.refresh()}),!0),option("coverGutterNextToScrollbar",!1,(function(n){return updateScrollbars(n)}),!0),option("scrollbarStyle","native",(function(n){initScrollbars(n),updateScrollbars(n),n.display.scrollbars.setScrollTop(n.doc.scrollTop),n.display.scrollbars.setScrollLeft(n.doc.scrollLeft)}),!0),option("lineNumbers",!1,(function(n,r){n.display.gutterSpecs=getGutters(n.options.gutters,r),updateGutters(n)}),!0),option("firstLineNumber",1,updateGutters,!0),option("lineNumberFormatter",(function(n){return n}),updateGutters,!0),option("showCursorWhenSelecting",!1,updateSelection,!0),option("resetSelectionOnContextMenu",!0),option("lineWiseCopyCut",!0),option("pasteLinesPerSelection",!0),option("selectionsMayTouch",!1),option("readOnly",!1,(function(n,r){"nocursor"==r&&(onBlur(n),n.display.input.blur()),n.display.input.readOnlyChanged(r)})),option("disableInput",!1,(function(n,r){r||n.display.input.reset()}),!0),option("dragDrop",!0,dragDropChanged),option("allowDropFileTypes",null),option("cursorBlinkRate",530),option("cursorScrollMargin",0),option("cursorHeight",1,updateSelection,!0),option("singleCursorHeightPerLine",!0,updateSelection,!0),option("workTime",100),option("workDelay",100),option("flattenSpans",!0,resetModeState,!0),option("addModeClass",!1,resetModeState,!0),option("pollInterval",100),option("undoDepth",200,(function(n,r){return n.doc.history.undoDepth=r})),option("historyEventDelay",1250),option("viewportMargin",10,(function(n){return n.refresh()}),!0),option("maxHighlightLength",1e4,resetModeState,!0),option("moveInputWithCursor",!0,(function(n,r){r||n.display.input.resetPosition()})),option("tabindex",null,(function(n,r){return n.display.input.getField().tabIndex=r||""})),option("autofocus",null),option("direction","ltr",(function(n,r){return n.doc.setDirection(r)}),!0),option("phrases",null)}(CodeMirror),function addEditorMethods(n){var r=n.optionHandlers,o=n.helpers={};n.prototype={constructor:n,focus:function(){window.focus(),this.display.input.focus()},setOption:function(n,o){var i=this.options,a=i[n];i[n]==o&&"mode"!=n||(i[n]=o,r.hasOwnProperty(n)&&operation(this,r[n])(this,o,a),signal(this,"optionChange",this,n))},getOption:function(n){return this.options[n]},getDoc:function(){return this.doc},addKeyMap:function(n,r){this.state.keyMaps[r?"push":"unshift"](getKeyMap(n))},removeKeyMap:function(n){for(var r=this.state.keyMaps,o=0;oo&&(indentLine(this,a.head.line,n,!0),o=a.head.line,i==this.doc.sel.primIndex&&ensureCursorVisible(this));else{var s=a.from(),y=a.to(),w=Math.max(o,s.line);o=Math.min(this.lastLine(),y.line-(y.ch?0:1))+1;for(var _=w;_0&&replaceOneSelection(this.doc,i,new Range(s,E[i].to()),ke)}}})),getTokenAt:function(n,r){return takeToken(this,n,r)},getLineTokens:function(n,r){return takeToken(this,Pos(n),r,!0)},getTokenTypeAt:function(n){n=clipPos(this.doc,n);var r,o=getLineStyles(this,getLine(this.doc,n.line)),i=0,a=(o.length-1)/2,s=n.ch;if(0==s)r=o[2];else for(;;){var y=i+a>>1;if((y?o[2*y-1]:0)>=s)a=y;else{if(!(o[2*y+1]s&&(n=s,a=!0),i=getLine(this.doc,n)}else i=n;return intoCoordSystem(this,i,{top:0,left:0},r||"page",o||a).top+(a?this.doc.height-heightAtLine(i):0)},defaultTextHeight:function(){return textHeight(this.display)},defaultCharWidth:function(){return charWidth(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(n,r,o,i,a){var s=this.display,y=(n=cursorCoords(this,clipPos(this.doc,n))).bottom,w=n.left;if(r.style.position="absolute",r.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(r),s.sizer.appendChild(r),"over"==i)y=n.top;else if("above"==i||"near"==i){var _=Math.max(s.wrapper.clientHeight,this.doc.height),E=Math.max(s.sizer.clientWidth,s.lineSpace.clientWidth);("above"==i||n.bottom+r.offsetHeight>_)&&n.top>r.offsetHeight?y=n.top-r.offsetHeight:n.bottom+r.offsetHeight<=_&&(y=n.bottom),w+r.offsetWidth>E&&(w=E-r.offsetWidth)}r.style.top=y+"px",r.style.left=r.style.right="","right"==a?(w=s.sizer.clientWidth-r.offsetWidth,r.style.right="0px"):("left"==a?w=0:"middle"==a&&(w=(s.sizer.clientWidth-r.offsetWidth)/2),r.style.left=w+"px"),o&&function scrollIntoView(n,r){var o=calculateScrollPos(n,r);null!=o.scrollTop&&updateScrollTop(n,o.scrollTop),null!=o.scrollLeft&&setScrollLeft(n,o.scrollLeft)}(this,{left:w,top:y,right:w+r.offsetWidth,bottom:y+r.offsetHeight})},triggerOnKeyDown:methodOp(onKeyDown),triggerOnKeyPress:methodOp(onKeyPress),triggerOnKeyUp:onKeyUp,triggerOnMouseDown:methodOp(onMouseDown),execCommand:function(n){if(wt.hasOwnProperty(n))return wt[n].call(null,this)},triggerElectric:methodOp((function(n){triggerElectric(this,n)})),findPosH:function(n,r,o,i){var a=1;r<0&&(a=-1,r=-r);for(var s=clipPos(this.doc,n),y=0;y0&&y(r.charAt(o-1));)--o;for(;i.5)&&estimateLineHeights(this),signal(this,"refresh",this)})),swapDoc:methodOp((function(n){var r=this.doc;return r.cm=null,this.state.selectingText&&this.state.selectingText(),attachDoc(this,n),clearCaches(this),this.display.input.reset(),scrollToCoords(this,n.scrollLeft,n.scrollTop),this.curOp.forceScroll=!0,signalLater(this,"swapDoc",this,r),r})),phrase:function(n){var r=this.options.phrases;return r&&Object.prototype.hasOwnProperty.call(r,n)?r[n]:n},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},eventMixin(n),n.registerHelper=function(r,i,a){o.hasOwnProperty(r)||(o[r]=n[r]={_global:[]}),o[r][i]=a},n.registerGlobalHelper=function(r,i,a,s){n.registerHelper(r,i,s),o[r]._global.push({pred:a,val:s})}}(CodeMirror);var Ot="iter insert remove copy getEditor constructor".split(" ");for(var It in Doc.prototype)Doc.prototype.hasOwnProperty(It)&&indexOf(Ot,It)<0&&(CodeMirror.prototype[It]=function(n){return function(){return n.apply(this.doc,arguments)}}(Doc.prototype[It]));return eventMixin(Doc),CodeMirror.inputStyles={textarea:TextareaInput,contenteditable:ContentEditableInput},CodeMirror.defineMode=function(n){CodeMirror.defaults.mode||"null"==n||(CodeMirror.defaults.mode=n),defineMode.apply(this,arguments)},CodeMirror.defineMIME=function defineMIME(n,r){Ye[n]=r},CodeMirror.defineMode("null",(function(){return{token:function(n){return n.skipToEnd()}}})),CodeMirror.defineMIME("text/plain","null"),CodeMirror.defineExtension=function(n,r){CodeMirror.prototype[n]=r},CodeMirror.defineDocExtension=function(n,r){Doc.prototype[n]=r},CodeMirror.fromTextArea=function fromTextArea(n,r){if((r=r?copyObj(r):{}).value=n.value,!r.tabindex&&n.tabIndex&&(r.tabindex=n.tabIndex),!r.placeholder&&n.placeholder&&(r.placeholder=n.placeholder),null==r.autofocus){var o=activeElt();r.autofocus=o==n||null!=n.getAttribute("autofocus")&&o==document.body}function save(){n.value=y.getValue()}var i;if(n.form&&(on(n.form,"submit",save),!r.leaveSubmitMethodAlone)){var a=n.form;i=a.submit;try{var s=a.submit=function(){save(),a.submit=i,a.submit(),a.submit=s}}catch(n){}}r.finishInit=function(o){o.save=save,o.getTextArea=function(){return n},o.toTextArea=function(){o.toTextArea=isNaN,save(),n.parentNode.removeChild(o.getWrapperElement()),n.style.display="",n.form&&(off(n.form,"submit",save),r.leaveSubmitMethodAlone||"function"!=typeof n.form.submit||(n.form.submit=i))}},n.style.display="none";var y=CodeMirror((function(r){return n.parentNode.insertBefore(r,n.nextSibling)}),r);return y},function addLegacyProps(n){n.off=off,n.on=on,n.wheelEventPixels=wheelEventPixels,n.Doc=Doc,n.splitLines=We,n.countColumn=countColumn,n.findColumn=findColumn,n.isWordChar=isWordCharBasic,n.Pass=ve,n.signal=signal,n.Line=Line,n.changeEnd=changeEnd,n.scrollbarModel=ct,n.Pos=Pos,n.cmpPos=cmp,n.modes=Xe,n.mimeModes=Ye,n.resolveMode=resolveMode,n.getMode=getMode,n.modeExtensions=et,n.extendMode=extendMode,n.copyState=copyState,n.startState=startState,n.innerMode=innerMode,n.commands=wt,n.keyMap=kt,n.keyName=keyName,n.isModifierKey=isModifierKey,n.lookupKey=lookupKey,n.normalizeKeyMap=normalizeKeyMap,n.StringStream=StringStream,n.SharedTextMarker=SharedTextMarker,n.TextMarker=TextMarker,n.LineWidget=LineWidget,n.e_preventDefault=e_preventDefault,n.e_stopPropagation=e_stopPropagation,n.e_stop=e_stop,n.addClass=addClass,n.contains=contains,n.rmClass=rmClass,n.keyNames=yt}(CodeMirror),CodeMirror.version="5.52.2",CodeMirror}()},Vywy:function(n,r,o){var i=o("Jcck");r.encode=function base64VLQ_encode(n){var r,o="",a=function toVLQSigned(n){return n<0?1+(-n<<1):0+(n<<1)}(n);do{r=31&a,(a>>>=5)>0&&(r|=32),o+=i.encode(r)}while(a>0);return o},r.decode=function base64VLQ_decode(n,r,o){var a,s,y=n.length,w=0,_=0;do{if(r>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(s=i.decode(n.charCodeAt(r++))))throw new Error("Invalid base64 digit: "+n.charAt(r-1));a=!!(32&s),w+=(s&=31)<<_,_+=5}while(a);o.value=function fromVLQSigned(n){var r=n>>1;return 1==(1&n)?-r:r}(w),o.rest=r}},"W+/v":function(n,r,o){!function(n){"use strict";n.defineMode("pug",(function(r){var o="keyword",i={"{":"}","(":")","[":"]"},a=n.getMode(r,"javascript");function State(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=n.startState(a),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.scriptType="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken="",this.innerMode=null,this.innerState=null,this.innerModeForLine=!1}function interpolation(n,r){if(n.match("#{"))return r.isInterpolating=!0,r.interpolationNesting=0,"punctuation"}function filter(o,i){var a;if(o.match(/^:([\w\-]+)/))return r&&r.innerModes&&(a=r.innerModes(o.current().substring(1))),a||(a=o.current().substring(1)),"string"==typeof a&&(a=n.getMode(r,a)),setInnerMode(o,i,a),"atom"}function setInnerMode(o,i,a){a=n.mimeModes[a]||a,a=r.innerModes&&r.innerModes(a)||a,a=n.mimeModes[a]||a,a=n.getMode(r,a),i.indentOf=o.indentation(),a&&"null"!==a.name?i.innerMode=a:i.indentToken="string"}function innerMode(r,o,i){if(r.indentation()>o.indentOf||o.innerModeForLine&&!r.sol()||i)return o.innerMode?(o.innerState||(o.innerState=o.innerMode.startState?n.startState(o.innerMode,r.indentation()):{}),r.hideFirstChars(o.indentOf+2,(function(){return o.innerMode.token(r,o.innerState)||!0}))):(r.skipToEnd(),o.indentToken);r.sol()&&(o.indentOf=1/0,o.indentToken=null,o.innerMode=null,o.innerState=null)}return State.prototype.copy=function(){var r=new State;return r.javaScriptLine=this.javaScriptLine,r.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,r.javaScriptArguments=this.javaScriptArguments,r.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,r.isInterpolating=this.isInterpolating,r.interpolationNesting=this.interpolationNesting,r.jsState=n.copyState(a,this.jsState),r.innerMode=this.innerMode,this.innerMode&&this.innerState&&(r.innerState=n.copyState(this.innerMode,this.innerState)),r.restOfLine=this.restOfLine,r.isIncludeFiltered=this.isIncludeFiltered,r.isEach=this.isEach,r.lastTag=this.lastTag,r.scriptType=this.scriptType,r.isAttrs=this.isAttrs,r.attrsNest=this.attrsNest.slice(),r.inAttributeName=this.inAttributeName,r.attributeIsType=this.attributeIsType,r.attrValue=this.attrValue,r.indentOf=this.indentOf,r.indentToken=this.indentToken,r.innerModeForLine=this.innerModeForLine,r},{startState:function startState(){return new State},copyState:function copyState(n){return n.copy()},token:function nextToken(r,s){var y=innerMode(r,s)||function restOfLine(n,r){if(n.sol()&&(r.restOfLine=""),r.restOfLine){n.skipToEnd();var o=r.restOfLine;return r.restOfLine="",o}}(r,s)||function interpolationContinued(n,r){if(r.isInterpolating){if("}"===n.peek()){if(r.interpolationNesting--,r.interpolationNesting<0)return n.next(),r.isInterpolating=!1,"punctuation"}else"{"===n.peek()&&r.interpolationNesting++;return a.token(n,r.jsState)||!0}}(r,s)||function includeFilteredContinued(n,r){if(r.isIncludeFiltered){var o=filter(n,r);return r.isIncludeFiltered=!1,r.restOfLine="string",o}}(r,s)||function eachContinued(n,r){if(r.isEach){if(n.match(/^ in\b/))return r.javaScriptLine=!0,r.isEach=!1,o;if(n.sol()||n.eol())r.isEach=!1;else if(n.next()){for(;!n.match(/^ in\b/,!1)&&n.next(););return"variable"}}}(r,s)||function attrsContinued(r,o){if(o.isAttrs){if(i[r.peek()]&&o.attrsNest.push(i[r.peek()]),o.attrsNest[o.attrsNest.length-1]===r.peek())o.attrsNest.pop();else if(r.eat(")"))return o.isAttrs=!1,"punctuation";if(o.inAttributeName&&r.match(/^[^=,\)!]+/))return"="!==r.peek()&&"!"!==r.peek()||(o.inAttributeName=!1,o.jsState=n.startState(a),"script"===o.lastTag&&"type"===r.current().trim().toLowerCase()?o.attributeIsType=!0:o.attributeIsType=!1),"attribute";var s=a.token(r,o.jsState);if(o.attributeIsType&&"string"===s&&(o.scriptType=r.current().toString()),0===o.attrsNest.length&&("string"===s||"variable"===s||"keyword"===s))try{return Function("","var x "+o.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),o.inAttributeName=!0,o.attrValue="",r.backUp(r.current().length),attrsContinued(r,o)}catch(n){}return o.attrValue+=r.current(),s||!0}}(r,s)||function javaScript(n,r){if(n.sol()&&(r.javaScriptLine=!1,r.javaScriptLineExcludesColon=!1),r.javaScriptLine){if(r.javaScriptLineExcludesColon&&":"===n.peek())return r.javaScriptLine=!1,void(r.javaScriptLineExcludesColon=!1);var o=a.token(n,r.jsState);return n.eol()&&(r.javaScriptLine=!1),o||!0}}(r,s)||function javaScriptArguments(n,r){if(r.javaScriptArguments)return 0===r.javaScriptArgumentsDepth&&"("!==n.peek()?void(r.javaScriptArguments=!1):("("===n.peek()?r.javaScriptArgumentsDepth++:")"===n.peek()&&r.javaScriptArgumentsDepth--,0===r.javaScriptArgumentsDepth?void(r.javaScriptArguments=!1):a.token(n,r.jsState)||!0)}(r,s)||function callArguments(n,r){if(r.mixinCallAfter)return r.mixinCallAfter=!1,n.match(/^\( *[-\w]+ *=/,!1)||(r.javaScriptArguments=!0,r.javaScriptArgumentsDepth=0),!0}(r,s)||function yieldStatement(n){if(n.match(/^yield\b/))return"keyword"}(r)||function doctype(n){if(n.match(/^(?:doctype) *([^\n]+)?/))return"meta"}(r)||interpolation(r,s)||function caseStatement(n,r){if(n.match(/^case\b/))return r.javaScriptLine=!0,o}(r,s)||function when(n,r){if(n.match(/^when\b/))return r.javaScriptLine=!0,r.javaScriptLineExcludesColon=!0,o}(r,s)||function defaultStatement(n){if(n.match(/^default\b/))return o}(r)||function extendsStatement(n,r){if(n.match(/^extends?\b/))return r.restOfLine="string",o}(r,s)||function append(n,r){if(n.match(/^append\b/))return r.restOfLine="variable",o}(r,s)||function prepend(n,r){if(n.match(/^prepend\b/))return r.restOfLine="variable",o}(r,s)||function block(n,r){if(n.match(/^block\b *(?:(prepend|append)\b)?/))return r.restOfLine="variable",o}(r,s)||function include(n,r){if(n.match(/^include\b/))return r.restOfLine="string",o}(r,s)||function includeFiltered(n,r){if(n.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&n.match("include"))return r.isIncludeFiltered=!0,o}(r,s)||function mixin(n,r){if(n.match(/^mixin\b/))return r.javaScriptLine=!0,o}(r,s)||function call(n,r){return n.match(/^\+([-\w]+)/)?(n.match(/^\( *[-\w]+ *=/,!1)||(r.javaScriptArguments=!0,r.javaScriptArgumentsDepth=0),"variable"):n.match(/^\+#{/,!1)?(n.next(),r.mixinCallAfter=!0,interpolation(n,r)):void 0}(r,s)||function conditional(n,r){if(n.match(/^(if|unless|else if|else)\b/))return r.javaScriptLine=!0,o}(r,s)||function each(n,r){if(n.match(/^(- *)?(each|for)\b/))return r.isEach=!0,o}(r,s)||function whileStatement(n,r){if(n.match(/^while\b/))return r.javaScriptLine=!0,o}(r,s)||function tag(n,r){var o;if(o=n.match(/^(\w(?:[-:\w]*\w)?)\/?/))return r.lastTag=o[1].toLowerCase(),"script"===r.lastTag&&(r.scriptType="application/javascript"),"tag"}(r,s)||filter(r,s)||function code(n,r){if(n.match(/^(!?=|-)/))return r.javaScriptLine=!0,"punctuation"}(r,s)||function id(n){if(n.match(/^#([\w-]+)/))return"builtin"}(r)||function className(n){if(n.match(/^\.([\w-]+)/))return"qualifier"}(r)||function attrs(n,r){if("("==n.peek())return n.next(),r.isAttrs=!0,r.attrsNest=[],r.inAttributeName=!0,r.attrValue="",r.attributeIsType=!1,"punctuation"}(r,s)||function attributesBlock(n,r){if(n.match(/^&attributes\b/))return r.javaScriptArguments=!0,r.javaScriptArgumentsDepth=0,"keyword"}(r,s)||function indent(n){if(n.sol()&&n.eatSpace())return"indent"}(r)||function text(n,r){return n.match(/^(?:\| ?| )([^\n]+)/)?"string":n.match(/^(<[^\n]*)/,!1)?(setInnerMode(n,r,"htmlmixed"),r.innerModeForLine=!0,innerMode(n,r,!0)):void 0}(r,s)||function comment(n,r){if(n.match(/^ *\/\/(-)?([^\n]*)/))return r.indentOf=n.indentation(),r.indentToken="comment","comment"}(r,s)||function colon(n){if(n.match(/^: */))return"colon"}(r)||function dot(n,r){if(n.eat(".")){var o=null;return"script"===r.lastTag&&-1!=r.scriptType.toLowerCase().indexOf("javascript")?o=r.scriptType.toLowerCase().replace(/"|'/g,""):"style"===r.lastTag&&(o="css"),setInnerMode(n,r,o),"dot"}}(r,s)||function fail(n){return n.next(),null}(r);return!0===y?null:y}}}),"javascript","css","htmlmixed"),n.defineMIME("text/x-pug","pug"),n.defineMIME("text/x-jade","pug")}(o("VrN/"),o("+dQi"),o("ewDg"),o("1p+/"))},W8MJ:function(n,r){function _defineProperties(n,r){for(var o=0;on.length)&&(r=n.length);for(var o=0,i=new Array(r);ow))return!1;var E=s.get(n);if(E&&s.get(r))return E==r;var P=-1,j=!0,B=2&o?new SetCache:void 0;for(s.set(n,r),s.set(r,n);++P-1},ListCache.prototype.set=function listCacheSet(n,r){var o=this.__data__,i=assocIndexOf(o,n);return i<0?(++this.size,o.push([n,r])):o[i][1]=r,this},MapCache.prototype.clear=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(We||ListCache),string:new Hash}},MapCache.prototype.delete=function mapCacheDelete(n){var r=getMapData(this,n).delete(n);return this.size-=r?1:0,r},MapCache.prototype.get=function mapCacheGet(n){return getMapData(this,n).get(n)},MapCache.prototype.has=function mapCacheHas(n){return getMapData(this,n).has(n)},MapCache.prototype.set=function mapCacheSet(n,r){var o=getMapData(this,n),i=o.size;return o.set(n,r),this.size+=o.size==i?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function setCacheAdd(n){return this.__data__.set(n,"__lodash_hash_undefined__"),this},SetCache.prototype.has=function setCacheHas(n){return this.__data__.has(n)},Stack.prototype.clear=function stackClear(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function stackDelete(n){var r=this.__data__,o=r.delete(n);return this.size=r.size,o},Stack.prototype.get=function stackGet(n){return this.__data__.get(n)},Stack.prototype.has=function stackHas(n){return this.__data__.has(n)},Stack.prototype.set=function stackSet(n,r){var o=this.__data__;if(o instanceof ListCache){var i=o.__data__;if(!We||i.length<199)return i.push([n,r]),this.size=++o.size,this;o=this.__data__=new MapCache(i)}return o.set(n,r),this.size=o.size,this};var at=Re?function(n){return null==n?[]:(n=Object(n),function arrayFilter(n,r){for(var o=-1,i=null==n?0:n.length,a=0,s=[];++o-1&&n%1==0&&n-1&&n%1==0&&n<=9007199254740991}function isObject(n){var r=typeof n;return null!=n&&("object"==r||"function"==r)}function isObjectLike(n){return null!=n&&"object"==typeof n}var dt=se?function baseUnary(n){return function(r){return n(r)}}(se):function baseIsTypedArray(n){return isObjectLike(n)&&isLength(n.length)&&!!E[baseGetTag(n)]};function keys(n){return function isArrayLike(n){return null!=n&&isLength(n.length)&&!isFunction(n)}(n)?arrayLikeKeys(n):baseKeys(n)}o.exports=function isEqual(n,r){return baseIsEqual(n,r)}}).call(this,o("yLpj"),o("YuTi")(n))},YuTi:function(n,r){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},ZhPi:function(n,r,o){var i=o("WkPL");n.exports=function _unsupportedIterableToArray(n,r){if(n){if("string"==typeof n)return i(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);return"Object"===o&&n.constructor&&(o=n.constructor.name),"Map"===o||"Set"===o?Array.from(n):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?i(n,r):void 0}},n.exports.__esModule=!0,n.exports.default=n.exports},a1gu:function(n,r,o){var i=o("cDf5").default,a=o("PJYZ");n.exports=function _possibleConstructorReturn(n,r){if(r&&("object"===i(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return a(n)},n.exports.__esModule=!0,n.exports.default=n.exports},aT2M:function(n,r,o){!function(n){"use strict";var r,i;r=o("VrN/"),o("nrkQ"),o("1eCo"),o("+dQi"),o("oL3q"),o("ewDg"),o("G2Pi"),o("dtKC"),o("W+/v"),o("4d6s"),i={script:[["lang",/coffee(script)?/,"coffeescript"],["type",/^(?:text|application)\/(?:x-)?coffee(?:script)?$/,"coffeescript"],["lang",/^babel$/,"javascript"],["type",/^text\/babel$/,"javascript"],["type",/^text\/ecmascript-\d+$/,"javascript"]],style:[["lang",/^stylus$/i,"stylus"],["lang",/^sass$/i,"sass"],["lang",/^less$/i,"text/x-less"],["lang",/^scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?styl(us)?$/i,"stylus"],["type",/^text\/sass/i,"sass"],["type",/^(text\/)?(x-)?scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?less$/i,"text/x-less"]],template:[["lang",/^vue-template$/i,"vue"],["lang",/^pug$/i,"pug"],["lang",/^handlebars$/i,"handlebars"],["type",/^(text\/)?(x-)?pug$/i,"pug"],["type",/^text\/x-handlebars-template$/i,"handlebars"],[null,null,"vue-template"]]},r.defineMode("vue-template",(function(n,o){return r.overlayMode(r.getMode(n,o.backdrop||"text/html"),{token:function(n){if(n.match(/^\{\{.*?\}\}/))return"meta mustache";for(;n.next()&&!n.match("{{",!1););return null}})})),r.defineMode("vue",(function(n){return r.getMode(n,{name:"htmlmixed",tags:i})}),"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars"),r.defineMIME("script/x-vue","vue"),r.defineMIME("text/x-vue","vue")}()},amaH:function(n,r){function swap(n,r,o){var i=n[r];n[r]=n[o],n[o]=i}function doQuickSort(n,r,o,i){if(o-1};function normalizeName(n){if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(n))throw new TypeError("Invalid character in header field name");return n.toLowerCase()}function normalizeValue(n){return"string"!=typeof n&&(n=String(n)),n}function iteratorFor(n){var r={next:function(){var r=n.shift();return{done:void 0===r,value:r}}};return a&&(r[Symbol.iterator]=function(){return r}),r}function Headers(n){this.map={},n instanceof Headers?n.forEach((function(n,r){this.append(r,n)}),this):Array.isArray(n)?n.forEach((function(n){this.append(n[0],n[1])}),this):n&&Object.getOwnPropertyNames(n).forEach((function(r){this.append(r,n[r])}),this)}function consumed(n){if(n.bodyUsed)return Promise.reject(new TypeError("Already read"));n.bodyUsed=!0}function fileReaderReady(n){return new Promise((function(r,o){n.onload=function(){r(n.result)},n.onerror=function(){o(n.error)}}))}function readBlobAsArrayBuffer(n){var r=new FileReader,o=fileReaderReady(r);return r.readAsArrayBuffer(n),o}function bufferClone(n){if(n.slice)return n.slice(0);var r=new Uint8Array(n.byteLength);return r.set(new Uint8Array(n)),r.buffer}function Body(){return this.bodyUsed=!1,this._initBody=function(n){this._bodyInit=n,n?"string"==typeof n?this._bodyText=n:s&&Blob.prototype.isPrototypeOf(n)?this._bodyBlob=n:y&&FormData.prototype.isPrototypeOf(n)?this._bodyFormData=n:i&&URLSearchParams.prototype.isPrototypeOf(n)?this._bodyText=n.toString():w&&s&&function isDataView(n){return n&&DataView.prototype.isPrototypeOf(n)}(n)?(this._bodyArrayBuffer=bufferClone(n.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):w&&(ArrayBuffer.prototype.isPrototypeOf(n)||E(n))?this._bodyArrayBuffer=bufferClone(n):this._bodyText=n=Object.prototype.toString.call(n):this._bodyText="",this.headers.get("content-type")||("string"==typeof n?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i&&URLSearchParams.prototype.isPrototypeOf(n)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s&&(this.blob=function(){var n=consumed(this);if(n)return n;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?consumed(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(readBlobAsArrayBuffer)}),this.text=function(){var n=consumed(this);if(n)return n;if(this._bodyBlob)return function readBlobAsText(n){var r=new FileReader,o=fileReaderReady(r);return r.readAsText(n),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function readArrayBufferAsText(n){for(var r=new Uint8Array(n),o=new Array(r.length),i=0;i-1?r:n}(r.method||this.method||"GET"),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function decode(n){var r=new FormData;return n.trim().split("&").forEach((function(n){if(n){var o=n.split("="),i=o.shift().replace(/\+/g," "),a=o.join("=").replace(/\+/g," ");r.append(decodeURIComponent(i),decodeURIComponent(a))}})),r}function Response(n,r){r||(r={}),this.type="default",this.status=void 0===r.status?200:r.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in r?r.statusText:"OK",this.headers=new Headers(r.headers),this.url=r.url||"",this._initBody(n)}Request.prototype.clone=function(){return new Request(this,{body:this._bodyInit})},Body.call(Request.prototype),Body.call(Response.prototype),Response.prototype.clone=function(){return new Response(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Headers(this.headers),url:this.url})},Response.error=function(){var n=new Response(null,{status:0,statusText:""});return n.type="error",n};var j=[301,302,303,307,308];Response.redirect=function(n,r){if(-1===j.indexOf(r))throw new RangeError("Invalid status code");return new Response(null,{status:r,headers:{location:n}})};var B=self.DOMException;try{new B}catch(n){(B=function(n,r){this.message=n,this.name=r;var o=Error(n);this.stack=o.stack}).prototype=Object.create(Error.prototype),B.prototype.constructor=B}function fetch(n,r){return new Promise((function(o,i){var a=new Request(n,r);if(a.signal&&a.signal.aborted)return i(new B("Aborted","AbortError"));var y=new XMLHttpRequest;function abortXhr(){y.abort()}y.onload=function(){var n,r,i={status:y.status,statusText:y.statusText,headers:(n=y.getAllResponseHeaders()||"",r=new Headers,n.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(n){var o=n.split(":"),i=o.shift().trim();if(i){var a=o.join(":").trim();r.append(i,a)}})),r)};i.url="responseURL"in y?y.responseURL:i.headers.get("X-Request-URL");var a="response"in y?y.response:y.responseText;o(new Response(a,i))},y.onerror=function(){i(new TypeError("Network request failed"))},y.ontimeout=function(){i(new TypeError("Network request failed"))},y.onabort=function(){i(new B("Aborted","AbortError"))},y.open(a.method,a.url,!0),"include"===a.credentials?y.withCredentials=!0:"omit"===a.credentials&&(y.withCredentials=!1),"responseType"in y&&s&&(y.responseType="blob"),a.headers.forEach((function(n,r){y.setRequestHeader(r,n)})),a.signal&&(a.signal.addEventListener("abort",abortXhr),y.onreadystatechange=function(){4===y.readyState&&a.signal.removeEventListener("abort",abortXhr)}),y.send(void 0===a._bodyInit?null:a._bodyInit)}))}fetch.polyfill=!0,self.fetch||(self.fetch=fetch,self.Headers=Headers,self.Request=Request,self.Response=Response)},cDf5:function(n,r){function _typeof(r){return n.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n.exports.__esModule=!0,n.exports.default=n.exports,_typeof(r)}n.exports=_typeof,n.exports.__esModule=!0,n.exports.default=n.exports},cHwl:function(n,r,o){!function(n){"use strict";var r=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],o=function wordRegexp(n){return new RegExp("^(("+n.join(")|(")+"))\\b","i")}(r);n.registerHelper("hintWords","protobuf",r);var i=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");function tokenBase(n){if(n.eatSpace())return null;if(n.match("//"))return n.skipToEnd(),"comment";if(n.match(/^[0-9\.+-]/,!1)){if(n.match(/^[+-]?0x[0-9a-fA-F]+/))return"number";if(n.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/))return"number";if(n.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))return"number"}return n.match(/^"([^"]|(""))*"/)||n.match(/^'([^']|(''))*'/)?"string":n.match(o)?"keyword":n.match(i)?"variable":(n.next(),null)}n.defineMode("protobuf",(function(){return{token:tokenBase,fold:"brace"}})),n.defineMIME("text/x-protobuf","protobuf")}(o("VrN/"))},dfh3:function(n,r,o){!function(n){"use strict";var r=[{keys:"",type:"keyToKey",toKeys:"h"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"l"},{keys:"",type:"keyToKey",toKeys:"h",context:"normal"},{keys:"",type:"keyToKey",toKeys:"x",context:"normal"},{keys:"",type:"keyToKey",toKeys:"W"},{keys:"",type:"keyToKey",toKeys:"B",context:"normal"},{keys:"",type:"keyToKey",toKeys:"w"},{keys:"",type:"keyToKey",toKeys:"b",context:"normal"},{keys:"",type:"keyToKey",toKeys:"j"},{keys:"",type:"keyToKey",toKeys:"k"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"",type:"keyToKey",toKeys:"",context:"insert"},{keys:"s",type:"keyToKey",toKeys:"cl",context:"normal"},{keys:"s",type:"keyToKey",toKeys:"c",context:"visual"},{keys:"S",type:"keyToKey",toKeys:"cc",context:"normal"},{keys:"S",type:"keyToKey",toKeys:"VdO",context:"visual"},{keys:"",type:"keyToKey",toKeys:"0"},{keys:"",type:"keyToKey",toKeys:"$"},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:""},{keys:"",type:"keyToKey",toKeys:"j^",context:"normal"},{keys:"",type:"action",action:"toggleOverwrite",context:"insert"},{keys:"H",type:"motion",motion:"moveToTopLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"M",type:"motion",motion:"moveToMiddleLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"L",type:"motion",motion:"moveToBottomLine",motionArgs:{linewise:!0,toJumplist:!0}},{keys:"h",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!1}},{keys:"l",type:"motion",motion:"moveByCharacters",motionArgs:{forward:!0}},{keys:"j",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,linewise:!0}},{keys:"k",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,linewise:!0}},{keys:"gj",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!0}},{keys:"gk",type:"motion",motion:"moveByDisplayLines",motionArgs:{forward:!1}},{keys:"w",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1}},{keys:"W",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!1,bigWord:!0}},{keys:"e",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,inclusive:!0}},{keys:"E",type:"motion",motion:"moveByWords",motionArgs:{forward:!0,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"b",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1}},{keys:"B",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1,bigWord:!0}},{keys:"ge",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,inclusive:!0}},{keys:"gE",type:"motion",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!0,bigWord:!0,inclusive:!0}},{keys:"{",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!1,toJumplist:!0}},{keys:"}",type:"motion",motion:"moveByParagraph",motionArgs:{forward:!0,toJumplist:!0}},{keys:"(",type:"motion",motion:"moveBySentence",motionArgs:{forward:!1}},{keys:")",type:"motion",motion:"moveBySentence",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!0}},{keys:"",type:"motion",motion:"moveByPage",motionArgs:{forward:!1}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!0,explicitRepeat:!0}},{keys:"",type:"motion",motion:"moveByScroll",motionArgs:{forward:!1,explicitRepeat:!0}},{keys:"gg",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"G",type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!0,explicitRepeat:!0,linewise:!0,toJumplist:!0}},{keys:"0",type:"motion",motion:"moveToStartOfLine"},{keys:"^",type:"motion",motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"+",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0}},{keys:"-",type:"motion",motion:"moveByLines",motionArgs:{forward:!1,toFirstChar:!0}},{keys:"_",type:"motion",motion:"moveByLines",motionArgs:{forward:!0,toFirstChar:!0,repeatOffset:-1}},{keys:"$",type:"motion",motion:"moveToEol",motionArgs:{inclusive:!0}},{keys:"%",type:"motion",motion:"moveToMatchedSymbol",motionArgs:{inclusive:!0,toJumplist:!0}},{keys:"f",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"F",type:"motion",motion:"moveToCharacter",motionArgs:{forward:!1}},{keys:"t",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!0,inclusive:!0}},{keys:"T",type:"motion",motion:"moveTillCharacter",motionArgs:{forward:!1}},{keys:";",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!0}},{keys:",",type:"motion",motion:"repeatLastCharacterSearch",motionArgs:{forward:!1}},{keys:"'",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0,linewise:!0}},{keys:"`",type:"motion",motion:"goToMark",motionArgs:{toJumplist:!0}},{keys:"]`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0}},{keys:"[`",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1}},{keys:"]'",type:"motion",motion:"jumpToMark",motionArgs:{forward:!0,linewise:!0}},{keys:"['",type:"motion",motion:"jumpToMark",motionArgs:{forward:!1,linewise:!0}},{keys:"]p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0,matchIndent:!0}},{keys:"[p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0,matchIndent:!0}},{keys:"]",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!0,toJumplist:!0}},{keys:"[",type:"motion",motion:"moveToSymbol",motionArgs:{forward:!1,toJumplist:!0}},{keys:"|",type:"motion",motion:"moveToColumn"},{keys:"o",type:"motion",motion:"moveToOtherHighlightedEnd",context:"visual"},{keys:"O",type:"motion",motion:"moveToOtherHighlightedEnd",motionArgs:{sameLine:!0},context:"visual"},{keys:"d",type:"operator",operator:"delete"},{keys:"y",type:"operator",operator:"yank"},{keys:"c",type:"operator",operator:"change"},{keys:"=",type:"operator",operator:"indentAuto"},{keys:">",type:"operator",operator:"indent",operatorArgs:{indentRight:!0}},{keys:"<",type:"operator",operator:"indent",operatorArgs:{indentRight:!1}},{keys:"g~",type:"operator",operator:"changeCase"},{keys:"gu",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},isEdit:!0},{keys:"gU",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},isEdit:!0},{keys:"n",type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:!0}},{keys:"N",type:"motion",motion:"findNext",motionArgs:{forward:!1,toJumplist:!0}},{keys:"x",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!0},operatorMotionArgs:{visualLine:!1}},{keys:"X",type:"operatorMotion",operator:"delete",motion:"moveByCharacters",motionArgs:{forward:!1},operatorMotionArgs:{visualLine:!0}},{keys:"D",type:"operatorMotion",operator:"delete",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"D",type:"operator",operator:"delete",operatorArgs:{linewise:!0},context:"visual"},{keys:"Y",type:"operatorMotion",operator:"yank",motion:"expandToLine",motionArgs:{linewise:!0},context:"normal"},{keys:"Y",type:"operator",operator:"yank",operatorArgs:{linewise:!0},context:"visual"},{keys:"C",type:"operatorMotion",operator:"change",motion:"moveToEol",motionArgs:{inclusive:!0},context:"normal"},{keys:"C",type:"operator",operator:"change",operatorArgs:{linewise:!0},context:"visual"},{keys:"~",type:"operatorMotion",operator:"changeCase",motion:"moveByCharacters",motionArgs:{forward:!0},operatorArgs:{shouldMoveCursor:!0},context:"normal"},{keys:"~",type:"operator",operator:"changeCase",context:"visual"},{keys:"",type:"operatorMotion",operator:"delete",motion:"moveByWords",motionArgs:{forward:!1,wordEnd:!1},context:"insert"},{keys:"",type:"idle",context:"normal"},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!0}},{keys:"",type:"action",action:"jumpListWalk",actionArgs:{forward:!1}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!0,linewise:!0}},{keys:"",type:"action",action:"scroll",actionArgs:{forward:!1,linewise:!0}},{keys:"a",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"charAfter"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"eol"},context:"normal"},{keys:"A",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"endOfSelectedArea"},context:"visual"},{keys:"i",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"inplace"},context:"normal"},{keys:"gi",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"lastEdit"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"firstNonBlank"},context:"normal"},{keys:"gI",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"bol"},context:"normal"},{keys:"I",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{insertAt:"startOfSelectedArea"},context:"visual"},{keys:"o",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!0},context:"normal"},{keys:"O",type:"action",action:"newLineAndEnterInsertMode",isEdit:!0,interlaceInsertRepeat:!0,actionArgs:{after:!1},context:"normal"},{keys:"v",type:"action",action:"toggleVisualMode"},{keys:"V",type:"action",action:"toggleVisualMode",actionArgs:{linewise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"",type:"action",action:"toggleVisualMode",actionArgs:{blockwise:!0}},{keys:"gv",type:"action",action:"reselectLastSelection"},{keys:"J",type:"action",action:"joinLines",isEdit:!0},{keys:"gJ",type:"action",action:"joinLines",actionArgs:{keepSpaces:!0},isEdit:!0},{keys:"p",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!0,isEdit:!0}},{keys:"P",type:"action",action:"paste",isEdit:!0,actionArgs:{after:!1,isEdit:!0}},{keys:"r",type:"action",action:"replace",isEdit:!0},{keys:"@",type:"action",action:"replayMacro"},{keys:"q",type:"action",action:"enterMacroRecordMode"},{keys:"R",type:"action",action:"enterInsertMode",isEdit:!0,actionArgs:{replace:!0},context:"normal"},{keys:"R",type:"operator",operator:"change",operatorArgs:{linewise:!0,fullLine:!0},context:"visual",exitVisualBlock:!0},{keys:"u",type:"action",action:"undo",context:"normal"},{keys:"u",type:"operator",operator:"changeCase",operatorArgs:{toLower:!0},context:"visual",isEdit:!0},{keys:"U",type:"operator",operator:"changeCase",operatorArgs:{toLower:!1},context:"visual",isEdit:!0},{keys:"",type:"action",action:"redo"},{keys:"m",type:"action",action:"setMark"},{keys:'"',type:"action",action:"setRegister"},{keys:"zz",type:"action",action:"scrollToCursor",actionArgs:{position:"center"}},{keys:"z.",type:"action",action:"scrollToCursor",actionArgs:{position:"center"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"zt",type:"action",action:"scrollToCursor",actionArgs:{position:"top"}},{keys:"z",type:"action",action:"scrollToCursor",actionArgs:{position:"top"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:"z-",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"}},{keys:"zb",type:"action",action:"scrollToCursor",actionArgs:{position:"bottom"},motion:"moveToFirstNonWhiteSpaceCharacter"},{keys:".",type:"action",action:"repeatLastEdit"},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!0,backtrack:!1}},{keys:"",type:"action",action:"incrementNumberToken",isEdit:!0,actionArgs:{increase:!1,backtrack:!1}},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!0},context:"insert"},{keys:"",type:"action",action:"indent",actionArgs:{indentRight:!1},context:"insert"},{keys:"a",type:"motion",motion:"textObjectManipulation"},{keys:"i",type:"motion",motion:"textObjectManipulation",motionArgs:{textObjectInner:!0}},{keys:"/",type:"search",searchArgs:{forward:!0,querySrc:"prompt",toJumplist:!0}},{keys:"?",type:"search",searchArgs:{forward:!1,querySrc:"prompt",toJumplist:!0}},{keys:"*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",wholeWordOnly:!0,toJumplist:!0}},{keys:"g*",type:"search",searchArgs:{forward:!0,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:"g#",type:"search",searchArgs:{forward:!1,querySrc:"wordUnderCursor",toJumplist:!0}},{keys:":",type:"ex"}],o=r.length,i=[{name:"colorscheme",shortName:"colo"},{name:"map"},{name:"imap",shortName:"im"},{name:"nmap",shortName:"nm"},{name:"vmap",shortName:"vm"},{name:"unmap"},{name:"write",shortName:"w"},{name:"undo",shortName:"u"},{name:"redo",shortName:"red"},{name:"set",shortName:"se"},{name:"set",shortName:"se"},{name:"setlocal",shortName:"setl"},{name:"setglobal",shortName:"setg"},{name:"sort",shortName:"sor"},{name:"substitute",shortName:"s",possiblyAsync:!0},{name:"nohlsearch",shortName:"noh"},{name:"yank",shortName:"y"},{name:"delmarks",shortName:"delm"},{name:"registers",shortName:"reg",excludeFromCommandHistory:!0},{name:"global",shortName:"g"}],a=n.Pos;n.Vim=function(){function detachVimMap(r,o){this==n.keyMap.vim&&(n.rmClass(r.getWrapperElement(),"cm-fat-cursor"),"contenteditable"==r.getOption("inputStyle")&&null!=document.body.style.caretColor&&(function disableFatCursorMark(n){clearFatCursorMark(n),n.off("cursorActivity",updateFatCursorMark),n.state.fatCursorMarks=null}(r),r.getInputField().style.caretColor="")),o&&o.attach==attachVimMap||function leaveVimMode(r){r.setOption("disableInput",!1),r.off("cursorActivity",onCursorActivity),n.off(r.getInputField(),"paste",getOnPasteFn(r)),r.state.vim=null}(r)}function attachVimMap(r,o){this==n.keyMap.vim&&(n.addClass(r.getWrapperElement(),"cm-fat-cursor"),"contenteditable"==r.getOption("inputStyle")&&null!=document.body.style.caretColor&&(function enableFatCursorMark(n){n.state.fatCursorMarks=[],updateFatCursorMark(n),n.on("cursorActivity",updateFatCursorMark)}(r),r.getInputField().style.caretColor="transparent")),o&&o.attach==attachVimMap||function enterVimMode(r){r.setOption("disableInput",!0),r.setOption("showCursorWhenSelecting",!1),n.signal(r,"vim-mode-change",{mode:"normal"}),r.on("cursorActivity",onCursorActivity),maybeInitVimState(r),n.on(r.getInputField(),"paste",getOnPasteFn(r))}(r)}function updateFatCursorMark(n){if(n.state.fatCursorMarks){clearFatCursorMark(n);for(var r=n.listSelections(),o=[],i=0;i")}(r);if(!i)return!1;var a=n.Vim.findKey(o,i);return"function"==typeof a&&n.signal(o,"vim-keypress",i),a}}n.defineOption("vimMode",!1,(function(r,o,i){o&&"vim"!=r.getOption("keyMap")?r.setOption("keyMap","vim"):!o&&i!=n.Init&&/^vim/.test(r.getOption("keyMap"))&&r.setOption("keyMap","default")}));var s={Shift:"S",Ctrl:"C",Alt:"A",Cmd:"D",Mod:"A"},y={Enter:"CR",Backspace:"BS",Delete:"Del",Insert:"Ins"};function getOnPasteFn(n){var r=n.state.vim;return r.onPasteFn||(r.onPasteFn=function(){r.insertMode||(n.setCursor(offsetCursor(n.getCursor(),0,1)),me.enterInsertMode(n,{},r))}),r.onPasteFn}var w=/[\d]/,_=[n.isWordChar,function(r){return r&&!n.isWordChar(r)&&!/\s/.test(r)}],E=[function(n){return/\S/.test(n)}];function makeKeyRange(n,r){for(var o=[],i=n;i"]),$=[].concat(P,j,B,["-",'"',".",":","/"]);function isLine(n,r){return r>=n.firstLine()&&r<=n.lastLine()}function isLowerCase(n){return/^[a-z]$/.test(n)}function isUpperCase(n){return/^[A-Z]$/.test(n)}function isWhiteSpaceString(n){return/^\s*$/.test(n)}function isEndOfSentenceSymbol(n){return-1!=".?!".indexOf(n)}function inArray(n,r){for(var o=0;or?n=r:n0?1:-1,E=a.getCursor();do{if((y=i[(100+(n+=_))%100])&&(w=y.find())&&!cursorEqual(E,w))break}while(no)}return y}return{cachedCursor:void 0,add:function add(a,s,y){var w=i[n%100];function useNextSlot(r){var o=++n%100,s=i[o];s&&s.clear(),i[o]=a.setBookmark(r)}if(w){var _=w.find();_&&!cursorEqual(_,s)&&useNextSlot(s)}else useNextSlot(s);useNextSlot(y),r=n,(o=n-100+1)<0&&(o=0)},find:function find(r,o){var i=n,a=move(r,o);return n=i,a&&a.find()},move:move}},createInsertModeChanges=function(n){return n?{changes:n.changes,expectCursorActivityForChange:n.expectCursorActivityForChange}:{changes:[],expectCursorActivityForChange:!1}};function MacroModeState(){this.latestRegister=void 0,this.isPlaying=!1,this.isRecording=!1,this.replaySearchQueries=[],this.onRecordingDone=void 0,this.lastInsertModeChanges=createInsertModeChanges()}function maybeInitVimState(n){return n.state.vim||(n.state.vim={inputState:new InputState,lastEditInputState:void 0,lastEditActionCommand:void 0,lastHPos:-1,lastHSPos:-1,lastMotion:null,marks:{},fakeCursor:null,insertMode:!1,insertModeRepeat:void 0,visualMode:!1,visualLine:!1,visualBlock:!1,lastSelection:null,lastPastedText:null,sel:{},options:{}}),n.state.vim}function resetVimGlobalState(){for(var n in oe={searchQuery:null,searchIsReversed:!1,lastSubstituteReplacePart:void 0,jumpList:createCircularJumpList(),macroModeState:new MacroModeState,lastCharacterSearch:{increment:0,forward:!0,selectedCharacter:""},registerController:new RegisterController({}),searchHistoryController:new HistoryController,exCommandHistoryController:new HistoryController},ne){var r=ne[n];r.value=r.defaultValue}}MacroModeState.prototype={exitMacroRecordMode:function(){var n=oe.macroModeState;n.onRecordingDone&&n.onRecordingDone(),n.onRecordingDone=void 0,n.isRecording=!1},enterMacroRecordMode:function(n,r){var o=oe.registerController.getRegister(r);o&&(o.clear(),this.latestRegister=r,n.openDialog&&(this.onRecordingDone=n.openDialog("(recording)["+r+"]",null,{bottom:!0})),this.isRecording=!0)}};var se={buildKeyMap:function(){},getRegisterController:function(){return oe.registerController},resetVimGlobalState_:resetVimGlobalState,getVimGlobalState_:function(){return oe},maybeInitVimState_:maybeInitVimState,suppressErrorLogging:!1,InsertModeKey:InsertModeKey,map:function(n,r,o){Te.map(n,r,o)},unmap:function(n,r){Te.unmap(n,r)},noremap:function(n,i,a){function toCtxArray(n){return n?[n]:["normal","insert","visual"]}for(var s=toCtxArray(a),y=r.length,w=y-o;w=0;y--){var w=s[y];if(n!==w.context)if(w.context)this._mapCommand(w);else{var _=["normal","insert","visual"];for(var E in _)if(_[E]!==n){var P={};for(var j in w)P[j]=w[j];P.context=_[E],this._mapCommand(P)}}}},setOption:setOption,getOption:getOption,defineOption:defineOption,defineEx:function(n,r,o){if(r){if(0!==n.indexOf(r))throw new Error('(Vim.defineEx) "'+r+'" is not a prefix of "'+n+'", command not registered')}else r=n;_e[n]=o,Te.commandMap_[r]={name:n,shortName:r,type:"api"}},handleKey:function(n,r,o){var i=this.findKey(n,r,o);if("function"==typeof i)return i()},findKey:function(o,i,a){var s,y=maybeInitVimState(o);function handleMacroRecording(){var n=oe.macroModeState;if(n.isRecording){if("q"==i)return n.exitMacroRecordMode(),clearInputState(o),!0;"mapping"!=a&&function logKey(n,r){if(!n.isPlaying){var o=n.latestRegister,i=oe.registerController.getRegister(o);i&&i.pushText(r)}}(n,i)}}function handleEsc(){if(""==i)return clearInputState(o),y.visualMode?exitVisualMode(o):y.insertMode&&exitInsertMode(o),!0}return!1===(s=y.insertMode?function handleKeyInsertMode(){if(handleEsc())return!0;for(var n=y.inputState.keyBuffer=y.inputState.keyBuffer+i,a=1==i.length,s=le.matchCommand(n,r,y.inputState,"insert");n.length>1&&"full"!=s.type;){n=y.inputState.keyBuffer=n.slice(1);var w=le.matchCommand(n,r,y.inputState,"insert");"none"!=w.type&&(s=w)}if("none"==s.type)return clearInputState(o),!1;if("partial"==s.type)return ie&&window.clearTimeout(ie),ie=window.setTimeout((function(){y.insertMode&&y.inputState.keyBuffer&&clearInputState(o)}),getOption("insertModeEscKeysTimeout")),!a;if(ie&&window.clearTimeout(ie),a){for(var _=o.listSelections(),E=0;E<_.length;E++){var P=_[E].head;o.replaceRange("",offsetCursor(P,0,-(n.length-1)),P,"+input")}oe.macroModeState.lastInsertModeChanges.changes.pop()}return clearInputState(o),s.command}():function handleKeyNonInsertMode(){if(handleMacroRecording()||handleEsc())return!0;var n=y.inputState.keyBuffer=y.inputState.keyBuffer+i;if(/^[1-9]\d*$/.test(n))return!0;if(!(a=/^(\d*)(.*)$/.exec(n)))return clearInputState(o),!1;var a,s=y.visualMode?"visual":"normal",w=le.matchCommand(a[2]||a[1],r,y.inputState,s);return"none"==w.type?(clearInputState(o),!1):"partial"==w.type||(y.inputState.keyBuffer="",(a=/^(\d*)(.*)$/.exec(n))[1]&&"0"!=a[1]&&y.inputState.pushRepeatDigit(a[1]),w.command)}())?y.insertMode||1!==i.length?void 0:function(){return!0}:!0===s?function(){return!0}:function(){return o.operation((function(){o.curOp.isVimOp=!0;try{"keyToKey"==s.type?function doKeyToKey(r){for(var a;r;)a=/<\w+-.+?>|<\w+>|./.exec(r),i=a[0],r=r.substring(a.index+i.length),n.Vim.handleKey(o,i,"mapping")}(s.toKeys):le.processCommand(o,y,s)}catch(r){throw o.state.vim=void 0,maybeInitVimState(o),n.Vim.suppressErrorLogging||console.log(r),r}return!0}))}},handleEx:function(n,r){Te.processCommand(n,r)},defineMotion:function defineMotion(n,r){pe[n]=r},defineAction:function defineAction(n,r){me[n]=r},defineOperator:function defineOperator(n,r){he[n]=r},mapCommand:function mapCommand(n,r,o,i,a){var s={keys:n,type:r};for(var y in s[r]=o,s[r+"Args"]=i,a)s[y]=a[y];_mapCommand(s)},_mapCommand:_mapCommand,defineRegister:function defineRegister(n,r){var o=oe.registerController.registers;if(!n||1!=n.length)throw Error("Register name must be 1 character");if(o[n])throw Error("Register already defined "+n);o[n]=r,$.push(n)},exitVisualMode:exitVisualMode,exitInsertMode:exitInsertMode};function InputState(){this.prefixRepeat=[],this.motionRepeat=[],this.operator=null,this.operatorArgs=null,this.motion=null,this.motionArgs=null,this.keyBuffer=[],this.registerName=null}function clearInputState(r,o){r.state.vim.inputState=new InputState,n.signal(r,"vim-command-done",o)}function Register(n,r,o){this.clear(),this.keyBuffer=[n||""],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!!r,this.blockwise=!!o}function RegisterController(n){this.registers=n,this.unnamedRegister=n['"']=new Register,n["."]=new Register,n[":"]=new Register,n["/"]=new Register}function HistoryController(){this.historyBuffer=[],this.iterator=0,this.initialPrefix=null}InputState.prototype.pushRepeatDigit=function(n){this.operator?this.motionRepeat=this.motionRepeat.concat(n):this.prefixRepeat=this.prefixRepeat.concat(n)},InputState.prototype.getRepeat=function(){var n=0;return(this.prefixRepeat.length>0||this.motionRepeat.length>0)&&(n=1,this.prefixRepeat.length>0&&(n*=parseInt(this.prefixRepeat.join(""),10)),this.motionRepeat.length>0&&(n*=parseInt(this.motionRepeat.join(""),10))),n},Register.prototype={setText:function(n,r,o){this.keyBuffer=[n||""],this.linewise=!!r,this.blockwise=!!o},pushText:function(n,r){r&&(this.linewise||this.keyBuffer.push("\n"),this.linewise=!0),this.keyBuffer.push(n)},pushInsertModeChanges:function(n){this.insertModeChanges.push(createInsertModeChanges(n))},pushSearchQuery:function(n){this.searchQueries.push(n)},clear:function(){this.keyBuffer=[],this.insertModeChanges=[],this.searchQueries=[],this.linewise=!1},toString:function(){return this.keyBuffer.join("")}},RegisterController.prototype={pushText:function(n,r,o,i,a){i&&"\n"!==o.charAt(o.length-1)&&(o+="\n");var s=this.isValidRegister(n)?this.getRegister(n):null;if(s)isUpperCase(n)?s.pushText(o,i):s.setText(o,i,a),this.unnamedRegister.setText(s.toString(),i);else{switch(r){case"yank":this.registers[0]=new Register(o,i,a);break;case"delete":case"change":-1==o.indexOf("\n")?this.registers["-"]=new Register(o,i):(this.shiftNumericRegisters_(),this.registers[1]=new Register(o,i))}this.unnamedRegister.setText(o,i,a)}},getRegister:function(n){return this.isValidRegister(n)?(n=n.toLowerCase(),this.registers[n]||(this.registers[n]=new Register),this.registers[n]):this.unnamedRegister},isValidRegister:function(n){return n&&inArray(n,$)},shiftNumericRegisters_:function(){for(var n=9;n>=2;n--)this.registers[n]=this.getRegister(""+(n-1))}},HistoryController.prototype={nextMatch:function(n,r){var o=this.historyBuffer,i=r?-1:1;null===this.initialPrefix&&(this.initialPrefix=n);for(var a=this.iterator+i;r?a>=0:a=o.length?(this.iterator=o.length,this.initialPrefix):a<0?n:void 0},pushInput:function(n){var r=this.historyBuffer.indexOf(n);r>-1&&this.historyBuffer.splice(r,1),n.length&&this.historyBuffer.push(n)},reset:function(){this.initialPrefix=null,this.iterator=this.historyBuffer.length}};var le={matchCommand:function(n,r,o,i){var a,s=function commandMatches(n,r,o,i){for(var a,s=[],y=[],w=0;w"==a.keys.slice(-11)){var _=function lastChar(n){var r=/^.*(<[^>]+>)$/.exec(n),o=r?r[1]:n.slice(-1);if(o.length>1)switch(o){case"":o="\n";break;case"":o=" ";break;default:o=""}return o}(n);if(!_)return{type:"none"};o.selectedCharacter=_}return{type:"full",command:a}},processCommand:function(n,r,o){switch(r.inputState.repeatOverride=o.repeatOverride,o.type){case"motion":this.processMotion(n,r,o);break;case"operator":this.processOperator(n,r,o);break;case"operatorMotion":this.processOperatorMotion(n,r,o);break;case"action":this.processAction(n,r,o);break;case"search":this.processSearch(n,r,o);break;case"ex":case"keyToEx":this.processEx(n,r,o)}},processMotion:function(n,r,o){r.inputState.motion=o.motion,r.inputState.motionArgs=copyArgs(o.motionArgs),this.evalInput(n,r)},processOperator:function(n,r,o){var i=r.inputState;if(i.operator){if(i.operator==o.operator)return i.motion="expandToLine",i.motionArgs={linewise:!0},void this.evalInput(n,r);clearInputState(n)}i.operator=o.operator,i.operatorArgs=copyArgs(o.operatorArgs),o.exitVisualBlock&&(r.visualBlock=!1,updateCmSelection(n)),r.visualMode&&this.evalInput(n,r)},processOperatorMotion:function(n,r,o){var i=r.visualMode,a=copyArgs(o.operatorMotionArgs);a&&i&&a.visualLine&&(r.visualLine=!0),this.processOperator(n,r,o),i||this.processMotion(n,r,o)},processAction:function(n,r,o){var i=r.inputState,a=i.getRepeat(),s=!!a,y=copyArgs(o.actionArgs)||{};i.selectedCharacter&&(y.selectedCharacter=i.selectedCharacter),o.operator&&this.processOperator(n,r,o),o.motion&&this.processMotion(n,r,o),(o.motion||o.operator)&&this.evalInput(n,r),y.repeat=a||1,y.repeatIsExplicit=s,y.registerName=i.registerName,clearInputState(n),r.lastMotion=null,o.isEdit&&this.recordLastEdit(r,i,o),me[o.action](n,y,r)},processSearch:function(r,o,i){if(r.getSearchCursor){var a=i.searchArgs.forward,s=i.searchArgs.wholeWordOnly;getSearchState(r).setReversed(!a);var y=a?"/":"?",w=getSearchState(r).getQuery(),_=r.getScrollInfo();switch(i.searchArgs.querySrc){case"prompt":var E=oe.macroModeState;E.isPlaying?handleQuery(B=E.replaySearchQueries.shift(),!0,!1):showPrompt(r,{onClose:function onPromptClose(n){r.scrollTo(_.left,_.top),handleQuery(n,!0,!0);var o=oe.macroModeState;o.isRecording&&function logSearchQuery(n,r){if(!n.isPlaying){var o=n.latestRegister,i=oe.registerController.getRegister(o);i&&i.pushSearchQuery&&i.pushSearchQuery(r)}}(o,n)},prefix:y,desc:we,onKeyUp:function onPromptKeyUp(o,i,s){var y,w,E,P=n.keyName(o);"Up"==P||"Down"==P?(y="Up"==P,w=o.target?o.target.selectionEnd:0,s(i=oe.searchHistoryController.nextMatch(i,y)||""),w&&o.target&&(o.target.selectionEnd=o.target.selectionStart=Math.min(w,o.target.value.length))):"Left"!=P&&"Right"!=P&&"Ctrl"!=P&&"Alt"!=P&&"Shift"!=P&&oe.searchHistoryController.reset();try{E=updateSearchQuery(r,i,!0,!0)}catch(o){}E?r.scrollIntoView(findNext(r,!a,E),30):(clearSearchHighlight(r),r.scrollTo(_.left,_.top))},onKeyDown:function onPromptKeyDown(o,i,a){var s=n.keyName(o);"Esc"==s||"Ctrl-C"==s||"Ctrl-["==s||"Backspace"==s&&""==i?(oe.searchHistoryController.pushInput(i),oe.searchHistoryController.reset(),updateSearchQuery(r,w),clearSearchHighlight(r),r.scrollTo(_.left,_.top),n.e_stop(o),clearInputState(r),a(),r.focus()):"Up"==s||"Down"==s?n.e_stop(o):"Ctrl-U"==s&&(n.e_stop(o),a(""))}});break;case"wordUnderCursor":var P=expandWordUnderCursor(r,!1,0,!1,!0),j=!0;if(P||(P=expandWordUnderCursor(r,!1,0,!1,!1),j=!1),!P)return;var B=r.getLine(P.start.line).substring(P.start.ch,P.end.ch);B=j&&s?"\\b"+B+"\\b":function escapeRegex(n){return n.replace(/([.?*+$\[\]\/\\(){}|\-])/g,"\\$1")}(B),oe.jumpList.cachedCursor=r.getCursor(),r.setCursor(P.start),handleQuery(B,!0,!1)}}function handleQuery(n,a,s){oe.searchHistoryController.pushInput(n),oe.searchHistoryController.reset();try{updateSearchQuery(r,n,a,s)}catch(o){return showConfirm(r,"Invalid regex: "+n),void clearInputState(r)}le.processMotion(r,o,{type:"motion",motion:"findNext",motionArgs:{forward:!0,toJumplist:i.searchArgs.toJumplist}})}},processEx:function(r,o,i){function onPromptClose(n){oe.exCommandHistoryController.pushInput(n),oe.exCommandHistoryController.reset(),Te.processCommand(r,n)}function onPromptKeyDown(o,i,a){var s,y,w=n.keyName(o);("Esc"==w||"Ctrl-C"==w||"Ctrl-["==w||"Backspace"==w&&""==i)&&(oe.exCommandHistoryController.pushInput(i),oe.exCommandHistoryController.reset(),n.e_stop(o),clearInputState(r),a(),r.focus()),"Up"==w||"Down"==w?(n.e_stop(o),s="Up"==w,y=o.target?o.target.selectionEnd:0,a(i=oe.exCommandHistoryController.nextMatch(i,s)||""),y&&o.target&&(o.target.selectionEnd=o.target.selectionStart=Math.min(y,o.target.value.length))):"Ctrl-U"==w?(n.e_stop(o),a("")):"Left"!=w&&"Right"!=w&&"Ctrl"!=w&&"Alt"!=w&&"Shift"!=w&&oe.exCommandHistoryController.reset()}"keyToEx"==i.type?Te.processCommand(r,i.exArgs.input):o.visualMode?showPrompt(r,{onClose:onPromptClose,prefix:":",value:"'<,'>",onKeyDown:onPromptKeyDown,selectValueOnOpen:!1}):showPrompt(r,{onClose:onPromptClose,prefix:":",onKeyDown:onPromptKeyDown})},evalInput:function(n,r){var o,i,s,y=r.inputState,w=y.motion,_=y.motionArgs||{},E=y.operator,P=y.operatorArgs||{},j=y.registerName,B=r.sel,q=copyCursor(r.visualMode?clipCursorToContent(n,B.head):n.getCursor("head")),$=copyCursor(r.visualMode?clipCursorToContent(n,B.anchor):n.getCursor("anchor")),ne=copyCursor(q),ie=copyCursor($);if(E&&this.recordLastEdit(r,y),(s=void 0!==y.repeatOverride?y.repeatOverride:y.getRepeat())>0&&_.explicitRepeat?_.repeatIsExplicit=!0:(_.noRepeat||!_.explicitRepeat&&0===s)&&(s=1,_.repeatIsExplicit=!1),y.selectedCharacter&&(_.selectedCharacter=P.selectedCharacter=y.selectedCharacter),_.repeat=s,clearInputState(n),w){var se=pe[w](n,q,_,r);if(r.lastMotion=pe[w],!se)return;if(_.toJumplist){var le=oe.jumpList,me=le.cachedCursor;me?(recordJumpPosition(n,me,se),delete le.cachedCursor):recordJumpPosition(n,q,se)}se instanceof Array?(i=se[0],o=se[1]):o=se,o||(o=copyCursor(q)),r.visualMode?(r.visualBlock&&o.ch===1/0||(o=clipCursorToContent(n,o,r.visualBlock)),i&&(i=clipCursorToContent(n,i,!0)),i=i||ie,B.anchor=i,B.head=o,updateCmSelection(n),updateMark(n,r,"<",cursorIsBefore(i,o)?i:o),updateMark(n,r,">",cursorIsBefore(i,o)?o:i)):E||(o=clipCursorToContent(n,o),n.setCursor(o.line,o.ch))}if(E){if(P.lastSel){i=ie;var ge=P.lastSel,ye=Math.abs(ge.head.line-ge.anchor.line),ve=Math.abs(ge.head.ch-ge.anchor.ch);o=ge.visualLine?a(ie.line+ye,ie.ch):ge.visualBlock?a(ie.line+ye,ie.ch+ve):ge.head.line==ge.anchor.line?a(ie.line,ie.ch+ve):a(ie.line+ye,ie.ch),r.visualMode=!0,r.visualLine=ge.visualLine,r.visualBlock=ge.visualBlock,B=r.sel={anchor:i,head:o},updateCmSelection(n)}else r.visualMode&&(P.lastSel={anchor:copyCursor(B.anchor),head:copyCursor(B.head),visualBlock:r.visualBlock,visualLine:r.visualLine});var ke,we,Se,_e,Te;if(r.visualMode){if(ke=cursorMin(B.head,B.anchor),we=cursorMax(B.head,B.anchor),Se=r.visualLine||P.linewise,Te=makeCmSelection(n,{anchor:ke,head:we},_e=r.visualBlock?"block":Se?"line":"char"),Se){var Me=Te.ranges;if("block"==_e)for(var Ae=0;Ae0&&s&&isWhiteSpaceString(s);s=a.pop())o.line--,o.ch=0;s?(o.line--,o.ch=lineLength(n,o.line)):o.ch=0}}(n,ke,we),Te=makeCmSelection(n,{anchor:ke,head:we},_e="char",!_.inclusive||Se)}n.setSelections(Te.ranges,Te.primary),r.lastMotion=null,P.repeat=s,P.registerName=j,P.linewise=Se;var Ne=he[E](n,P,Te.ranges,ie,o);r.visualMode&&exitVisualMode(n,null!=Ne),Ne&&n.setCursor(Ne)}},recordLastEdit:function(n,r,o){var i=oe.macroModeState;i.isPlaying||(n.lastEditInputState=r,n.lastEditActionCommand=o,i.lastInsertModeChanges.changes=[],i.lastInsertModeChanges.expectCursorActivityForChange=!1,i.lastInsertModeChanges.visualBlock=n.visualBlock?n.sel.head.line-n.sel.anchor.line:0)}},pe={moveToTopLine:function(n,r,o){var i=getUserVisibleLines(n).top+o.repeat-1;return a(i,findFirstNonWhiteSpaceCharacter(n.getLine(i)))},moveToMiddleLine:function(n){var r=getUserVisibleLines(n),o=Math.floor(.5*(r.top+r.bottom));return a(o,findFirstNonWhiteSpaceCharacter(n.getLine(o)))},moveToBottomLine:function(n,r,o){var i=getUserVisibleLines(n).bottom-o.repeat+1;return a(i,findFirstNonWhiteSpaceCharacter(n.getLine(i)))},expandToLine:function(n,r,o){return a(r.line+o.repeat-1,1/0)},findNext:function(n,r,o){var i=getSearchState(n),a=i.getQuery();if(a){var s=!o.forward;return s=i.isReversed()?!s:s,highlightSearchMatches(n,a),findNext(n,s,a,o.repeat)}},goToMark:function(n,r,o,i){var a=getMarkPos(n,i,o.selectedCharacter);return a?o.linewise?{line:a.line,ch:findFirstNonWhiteSpaceCharacter(n.getLine(a.line))}:a:null},moveToOtherHighlightedEnd:function(n,r,o,i){if(i.visualBlock&&o.sameLine){var s=i.sel;return[clipCursorToContent(n,a(s.anchor.line,s.head.ch)),clipCursorToContent(n,a(s.head.line,s.anchor.ch))]}return[i.sel.head,i.sel.anchor]},jumpToMark:function(n,r,o,i){for(var s=r,y=0;y_:j.line<_)&&(_=j.line,y=j.ch),_P&&s.line==P?this.moveToEol(n,r,o,i,!0):(o.toFirstChar&&(y=findFirstNonWhiteSpaceCharacter(n.getLine(_)),i.lastHPos=y),i.lastHSPos=n.charCoords(a(_,y),"div").left,a(_,y))},moveByDisplayLines:function(n,r,o,i){var s=r;switch(i.lastMotion){case this.moveByDisplayLines:case this.moveByScroll:case this.moveByLines:case this.moveToColumn:case this.moveToEol:break;default:i.lastHSPos=n.charCoords(s,"div").left}var y=o.repeat;if((_=n.findPosV(s,o.forward?y:-y,"line",i.lastHSPos)).hitSide)if(o.forward)var w={top:n.charCoords(_,"div").top+8,left:i.lastHSPos},_=n.coordsChar(w,"div");else{var E=n.charCoords(a(n.firstLine(),0),"div");E.left=i.lastHSPos,_=n.coordsChar(E,"div")}return i.lastHPos=_.ch,_},moveByPage:function(n,r,o){var i=r,a=o.repeat;return n.findPosV(i,o.forward?a:-a,"page")},moveByParagraph:function(n,r,o){var i=o.forward?1:-1;return findParagraph(n,r,o.repeat,i)},moveBySentence:function(n,r,o){var i=o.forward?1:-1;return function findSentence(n,r,o,i){function nextChar(n,r){if(r.pos+r.dir<0||r.pos+r.dir>=r.line.length){if(r.ln+=r.dir,!isLine(n,r.ln))return r.line=null,r.ln=null,void(r.pos=null);r.line=n.getLine(r.ln),r.pos=r.dir>0?0:r.line.length-1}else r.pos+=r.dir}function forward(n,r,o,i){var a=""===(_=n.getLine(r)),s={line:_,ln:r,pos:o,dir:i},y={ln:s.ln,pos:s.pos},w=""===s.line;for(nextChar(n,s);null!==s.line;){if(y.ln=s.ln,y.pos=s.pos,""===s.line&&!w)return{ln:s.ln,pos:s.pos};if(a&&""!==s.line&&!isWhiteSpaceString(s.line[s.pos]))return{ln:s.ln,pos:s.pos};!isEndOfSentenceSymbol(s.line[s.pos])||a||s.pos!==s.line.length-1&&!isWhiteSpaceString(s.line[s.pos+1])||(a=!0),nextChar(n,s)}var _=n.getLine(y.ln);y.pos=0;for(var E=_.length-1;E>=0;--E)if(!isWhiteSpaceString(_[E])){y.pos=E;break}return y}function reverse(n,r,o,i){var a={line:w=n.getLine(r),ln:r,pos:o,dir:i},s={ln:a.ln,pos:null},y=""===a.line;for(nextChar(n,a);null!==a.line;){if(""===a.line&&!y)return null!==s.pos?s:{ln:a.ln,pos:a.pos};if(isEndOfSentenceSymbol(a.line[a.pos])&&null!==s.pos&&(a.ln!==s.ln||a.pos+1!==s.pos))return s;""===a.line||isWhiteSpaceString(a.line[a.pos])||(y=!1,s={ln:a.ln,pos:a.pos}),nextChar(n,a)}var w=n.getLine(s.ln);s.pos=0;for(var _=0;_0;)s=i<0?reverse(n,s.ln,s.pos,i):forward(n,s.ln,s.pos,i),o--;return a(s.ln,s.pos)}(n,r,o.repeat,i)},moveByScroll:function(n,r,o,i){var a=n.getScrollInfo(),s=null,y=o.repeat;y||(y=a.clientHeight/(2*n.defaultTextHeight()));var w=n.charCoords(r,"local");if(o.repeat=y,!(s=pe.moveByDisplayLines(n,r,o,i)))return null;var _=n.charCoords(s,"local");return n.scrollTo(null,a.top+_.top-w.top),s},moveByWords:function(n,r,o){return function moveToWord(n,r,o,i,s,y){var w=copyCursor(r),_=[];(i&&!s||!i&&s)&&o++;for(var E=!(i&&s),P=0;P0)j.index=0;else{var ne=j.lineText.length;j.index=ne>0?ne-1:0}j.nextCh=j.lineText.charAt(j.index)}$(j)&&(s.line=E,s.ch=j.index,r--)}return j.nextCh||j.curMoveThrough?a(E,j.index):s}(n,o.repeat,o.forward,o.selectedCharacter)||r},moveToColumn:function(n,r,o,i){var s=o.repeat;return i.lastHPos=s-1,i.lastHSPos=n.charCoords(r,"div").left,function moveToColumn(n,r){var o=n.getCursor().line;return clipCursorToContent(n,a(o,r-1))}(n,s)},moveToEol:function(n,r,o,i,s){var y=a(r.line+o.repeat-1,1/0),w=n.clipPos(y);return w.ch--,s||(i.lastHPos=1/0,i.lastHSPos=n.charCoords(w,"div").left),y},moveToFirstNonWhiteSpaceCharacter:function(n,r){var o=r;return a(o.line,findFirstNonWhiteSpaceCharacter(n.getLine(o.line)))},moveToMatchedSymbol:function(n,r){for(var o,i=r,s=i.line,y=i.ch,w=n.getLine(s);y"===y?/[(){}[\]<>]/:/[(){}[\]]/;return n.findMatchingBracket(a(s,y),{bracketRegex:E}).to}return i},moveToStartOfLine:function(n,r){return a(r.line,0)},moveToLineOrEdgeOfDocument:function(n,r,o){var i=o.forward?n.lastLine():n.firstLine();return o.repeatIsExplicit&&(i=o.repeat-n.getOption("firstLineNumber")),a(i,findFirstNonWhiteSpaceCharacter(n.getLine(i)))},textObjectManipulation:function(n,r,o,i){var s=o.selectedCharacter;"b"==s?s="(":"B"==s&&(s="{");var y,w=!o.textObjectInner;if({"(":")",")":"(","{":"}","}":"{","[":"]","]":"[","<":">",">":"<"}[s])y=function selectCompanionObject(n,r,o,i){var s,y,w=r,_={"(":/[()]/,")":/[()]/,"[":/[[\]]/,"]":/[[\]]/,"{":/[{}]/,"}":/[{}]/,"<":/[<>]/,">":/[<>]/}[o],E={"(":"(",")":"(","[":"[","]":"[","{":"{","}":"{","<":"<",">":"<"}[o],P=n.getLine(w.line).charAt(w.ch)===E?1:0;if(s=n.scanForBracket(a(w.line,w.ch+P),-1,void 0,{bracketRegex:_}),y=n.scanForBracket(a(w.line,w.ch+P),1,void 0,{bracketRegex:_}),!s||!y)return{start:w,end:w};if(s=s.pos,y=y.pos,s.line==y.line&&s.ch>y.ch||s.line>y.line){var j=s;s=y,y=j}return i?y.ch+=1:s.ch+=1,{start:s,end:y}}(n,r,s,w);else if({"'":!0,'"':!0,"`":!0}[s])y=function findBeginningAndEnd(n,r,o,i){var s,y,w,_,E=copyCursor(r),P=n.getLine(E.line).split(""),j=P.indexOf(o);if(E.ch-1&&!s;w--)P[w]==o&&(s=w+1);else s=E.ch+1;if(s&&!y)for(w=s,_=P.length;w<_&&!y;w++)P[w]==o&&(y=w);return s&&y?(i&&(--s,++y),{start:a(E.line,s),end:a(E.line,y)}):{start:E,end:E}}(n,r,s,w);else if("W"===s)y=expandWordUnderCursor(n,w,0,!0);else if("w"===s)y=expandWordUnderCursor(n,w,0,!1);else{if("p"!==s)return null;if(y=findParagraph(n,r,o.repeat,0,w),o.linewise=!0,i.visualMode)i.visualLine||(i.visualLine=!0);else{var _=i.inputState.operatorArgs;_&&(_.linewise=!0),y.end.line--}}return n.state.vim.visualMode?function expandSelection(n,r,o){var i,s=n.state.vim.sel,y=s.head,w=s.anchor;return cursorIsBefore(o,r)&&(i=o,o=r,r=i),cursorIsBefore(y,w)?(y=cursorMin(r,y),w=cursorMax(w,o)):(w=cursorMin(r,w),-1==(y=offsetCursor(y=cursorMax(y,o),0,-1)).ch&&y.line!=n.firstLine()&&(y=a(y.line-1,lineLength(n,y.line-1)))),[w,y]}(n,y.start,y.end):[y.start,y.end]},repeatLastCharacterSearch:function(n,r,o){var i=oe.lastCharacterSearch,a=o.repeat,s=o.forward===i.forward,y=(i.increment?1:0)*(s?-1:1);n.moveH(-y,"char"),o.inclusive=!!s;var w=moveToCharacter(n,a,s,i.selectedCharacter);return w?(w.ch+=y,w):(n.moveH(y,"char"),r)}};function fillArray(n,r){for(var o=[],i=0;ir.lastLine()&&o.linewise&&!$?r.replaceRange("",q,E):r.replaceRange("",_,E),o.linewise&&($||(r.setCursor(q),n.commands.newlineAndIndent(r)),_.ch=Number.MAX_VALUE),s=_}oe.registerController.pushText(o.registerName,"change",y,o.linewise,i.length>1),me.enterInsertMode(r,{head:s},r.state.vim)},delete:function(n,r,o){var i,s,y=n.state.vim;if(y.visualBlock){s=n.getSelection();var w=fillArray("",o.length);n.replaceSelections(w),i=o[0].anchor}else{var _=o[0].anchor,E=o[0].head;r.linewise&&E.line!=n.firstLine()&&_.line==n.lastLine()&&_.line==E.line-1&&(_.line==n.firstLine()?_.ch=0:_=a(_.line-1,lineLength(n,_.line-1))),s=n.getRange(_,E),n.replaceRange("",_,E),i=_,r.linewise&&(i=pe.moveToFirstNonWhiteSpaceCharacter(n,_))}return oe.registerController.pushText(r.registerName,"delete",s,r.linewise,y.visualBlock),clipCursorToContent(n,i,y.insertMode)},indent:function(n,r,o){var i=n.state.vim,a=o[0].anchor.line,s=i.visualBlock?o[o.length-1].anchor.line:o[0].head.line,y=i.visualMode?r.repeat:1;r.linewise&&s--;for(var w=a;w<=s;w++)for(var _=0;_E.top?(_.line+=(w-E.top)/a,_.line=Math.ceil(_.line),n.setCursor(_),E=n.charCoords(_,"local"),n.scrollTo(null,E.top)):n.scrollTo(null,w);else{var P=w+n.getScrollInfo().clientHeight;P=y.anchor.line?offsetCursor(y.head,0,1):a(y.anchor.line,0)}else if("inplace"==s){if(i.visualMode)return}else"lastEdit"==s&&(w=getLastEditPos(r)||w);r.setOption("disableInput",!1),o&&o.replace?(r.toggleOverwrite(!0),r.setOption("keyMap","vim-replace"),n.signal(r,"vim-mode-change",{mode:"replace"})):(r.toggleOverwrite(!1),r.setOption("keyMap","vim-insert"),n.signal(r,"vim-mode-change",{mode:"insert"})),oe.macroModeState.isPlaying||(r.on("change",onChange),n.on(r.getInputField(),"keydown",onKeyEventTargetKeyDown)),i.visualMode&&exitVisualMode(r),selectForInsert(r,w,_)}},toggleVisualMode:function(r,o,i){var s,y=o.repeat,w=r.getCursor();i.visualMode?i.visualLine^o.linewise||i.visualBlock^o.blockwise?(i.visualLine=!!o.linewise,i.visualBlock=!!o.blockwise,n.signal(r,"vim-mode-change",{mode:"visual",subMode:i.visualLine?"linewise":i.visualBlock?"blockwise":""}),updateCmSelection(r)):exitVisualMode(r):(i.visualMode=!0,i.visualLine=!!o.linewise,i.visualBlock=!!o.blockwise,s=clipCursorToContent(r,a(w.line,w.ch+y-1),!0),i.sel={anchor:w,head:s},n.signal(r,"vim-mode-change",{mode:"visual",subMode:i.visualLine?"linewise":i.visualBlock?"blockwise":""}),updateCmSelection(r),updateMark(r,i,"<",cursorMin(w,s)),updateMark(r,i,">",cursorMax(w,s)))},reselectLastSelection:function(r,o,i){var a=i.lastSelection;if(i.visualMode&&updateLastSelection(r,i),a){var s=a.anchorMark.find(),y=a.headMark.find();if(!s||!y)return;i.sel={anchor:s,head:y},i.visualMode=!0,i.visualLine=a.visualLine,i.visualBlock=a.visualBlock,updateCmSelection(r),updateMark(r,i,"<",cursorMin(s,y)),updateMark(r,i,">",cursorMax(s,y)),n.signal(r,"vim-mode-change",{mode:"visual",subMode:i.visualLine?"linewise":i.visualBlock?"blockwise":""})}},joinLines:function(n,r,o){var i,s;if(o.visualMode){if(i=n.getCursor("anchor"),cursorIsBefore(s=n.getCursor("head"),i)){var y=s;s=i,i=y}s.ch=lineLength(n,s.line)-1}else{var w=Math.max(r.repeat,2);i=n.getCursor(),s=clipCursorToContent(n,a(i.line+w-1,1/0))}for(var _=0,E=i.line;E1&&(B=Array(r.repeat+1).join(B));var q,$,ne=s.linewise,ie=s.blockwise;if(ie){B=B.split("\n"),ne&&B.pop();for(var se=0;sen.lastLine()&&n.replaceRange("\n",a(ke,0)),lineLength(n,ke)P.length&&(s=P.length),y=a(_.line,s)}if("\n"==w)i.visualMode||r.replaceRange("",_,y),(n.commands.newlineAndIndentContinueComment||n.commands.newlineAndIndent)(r);else{var j=r.getRange(_,y);if(j=j.replace(/[^\n]/g,w),i.visualBlock){var B=new Array(r.getOption("tabSize")+1).join(" ");j=(j=r.getSelection()).replace(/\t/g,B).replace(/[^\n]/g,w).split("\n"),r.replaceSelections(j)}else r.replaceRange(j,_,y);i.visualMode?(_=cursorIsBefore(E[0].anchor,E[0].head)?E[0].anchor:E[0].head,r.setCursor(_),exitVisualMode(r,!1)):r.setCursor(offsetCursor(y,0,-1))}},incrementNumberToken:function(n,r){for(var o,i,s,y,w=n.getCursor(),_=n.getLine(w.line),E=/(-?)(?:(0x)([\da-f]+)|(0b|0|)(\d+))/gi;null!==(o=E.exec(_))&&(s=(i=o.index)+o[0].length,!(w.ch"==r.slice(-11)){var o=r.length-11,i=n.slice(0,o),a=r.slice(0,o);return i==a&&n.length>o?"full":0==a.indexOf(i)&&"partial"}return n==r?"full":0==r.indexOf(n)&&"partial"}function repeatFn(n,r,o){return function(){for(var i=0;i2&&(r=cursorMin.apply(void 0,Array.prototype.slice.call(arguments,1))),cursorIsBefore(n,r)?n:r}function cursorMax(n,r){return arguments.length>2&&(r=cursorMax.apply(void 0,Array.prototype.slice.call(arguments,1))),cursorIsBefore(n,r)?r:n}function cursorIsBetween(n,r,o){var i=cursorIsBefore(n,r),a=cursorIsBefore(r,o);return i&&a}function lineLength(n,r){return n.getLine(r).length}function trim(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}function extendLineToColumn(n,r,o){var i=lineLength(n,r),s=new Array(o-i+1).join(" ");n.setCursor(a(r,i)),n.replaceRange(s,n.getCursor())}function selectBlock(n,r){var o=[],i=n.listSelections(),s=copyCursor(n.clipPos(r)),y=!cursorEqual(r,s),w=function getIndex(n,r,o){for(var i=0;iw?E:0,j=i[P].anchor,B=Math.min(j.line,s.line),q=Math.max(j.line,s.line),$=j.ch,ne=s.ch,oe=i[P].head.ch-$,ie=ne-$;oe>0&&ie<=0?($++,y||ne--):oe<0&&ie>=0?($--,_||ne++):oe<0&&-1==ie&&($--,ne++);for(var se=B;se<=q;se++){var le={anchor:new a(se,$),head:new a(se,ne)};o.push(le)}return n.setSelections(o),r.ch=ne,j.ch=$,j}function selectForInsert(n,r,o){for(var i=[],a=0;aE&&(s.line=E),s.ch=lineLength(n,s.line)}return{ranges:[{anchor:y,head:s}],primary:0}}if("block"==o){for(var P=Math.min(y.line,s.line),j=Math.min(y.ch,s.ch),B=Math.max(y.line,s.line),q=Math.max(y.ch,s.ch)+1,$=B-P+1,ne=s.line==P?0:$-1,oe=[],ie=0;ie<$;ie++)oe.push({anchor:a(P+ie,j),head:a(P+ie,q)});return{ranges:oe,primary:ne}}}function exitVisualMode(r,o){var i=r.state.vim;!1!==o&&r.setCursor(clipCursorToContent(r,i.sel.head)),updateLastSelection(r,i),i.visualMode=!1,i.visualLine=!1,i.visualBlock=!1,n.signal(r,"vim-mode-change",{mode:"normal"}),i.fakeCursor&&i.fakeCursor.clear()}function findFirstNonWhiteSpaceCharacter(n){if(!n)return 0;var r=n.search(/\S/);return-1==r?n.length:r}function expandWordUnderCursor(n,r,o,i,s){for(var y=function getHead(n){var r=n.getCursor("head");return 1==n.getSelection().length&&(r=cursorMin(r,n.getCursor("anchor"))),r}(n),w=n.getLine(y.line),P=y.ch,j=s?_[0]:E[0];!j(w.charAt(P));)if(++P>=w.length)return null;i?j=E[0]:(j=_[0])(w.charAt(P))||(j=_[1]);for(var B=P,q=P;j(w.charAt(B))&&B=0;)q--;if(q++,r){for(var $=B;/\s/.test(w.charAt(B))&&B0;)q--;q||(q=ne)}}return{start:a(y.line,q),end:a(y.line,B)}}function recordJumpPosition(n,r,o){cursorEqual(r,o)||oe.jumpList.add(n,r,o)}function recordLastCharacterSearch(n,r){oe.lastCharacterSearch.increment=n,oe.lastCharacterSearch.forward=r.forward,oe.lastCharacterSearch.selectedCharacter=r.selectedCharacter}var ge={"(":"bracket",")":"bracket","{":"bracket","}":"bracket","[":"section","]":"section","*":"comment","/":"comment",m:"method",M:"method","#":"preprocess"},ye={bracket:{isComplete:function(n){if(n.nextCh===n.symb){if(n.depth++,n.depth>=1)return!0}else n.nextCh===n.reverseSymb&&n.depth--;return!1}},section:{init:function(n){n.curMoveThrough=!0,n.symb=(n.forward?"]":"[")===n.symb?"{":"}"},isComplete:function(n){return 0===n.index&&n.nextCh===n.symb}},comment:{isComplete:function(n){var r="*"===n.lastCh&&"/"===n.nextCh;return n.lastCh=n.nextCh,r}},method:{init:function(n){n.symb="m"===n.symb?"{":"}",n.reverseSymb="{"===n.symb?"}":"{"},isComplete:function(n){return n.nextCh===n.symb}},preprocess:{init:function(n){n.index=0},isComplete:function(n){if("#"===n.nextCh){var r=n.lineText.match(/#(\w+)/)[1];if("endif"===r){if(n.forward&&0===n.depth)return!0;n.depth++}else if("if"===r){if(!n.forward&&0===n.depth)return!0;n.depth--}if("else"===r&&0===n.depth)return!0}return!1}}};function findWord(n,r,o,i,a){var s=r.line,y=r.ch,w=n.getLine(s),P=o?1:-1,j=i?E:_;if(a&&""==w){if(s+=P,w=n.getLine(s),!isLine(n,s))return null;y=o?0:w.length}for(;;){if(a&&""==w)return{from:0,to:0,line:s};for(var B=P>0?w.length:-1,q=B,$=B;y!=B;){for(var ne=!1,oe=0;oe0?0:w.length}}function moveToCharacter(n,r,o,i){for(var s,y=n.getCursor(),w=y.ch,_=0;_0;)isBoundary(P,i)&&o--,P+=i;return new a(P,0)}var j=n.state.vim;if(j.visualLine&&isBoundary(w,1,!0)){var B=j.sel.anchor;isBoundary(B.line,-1,!0)&&(s&&B.line==w||(w+=1))}var q=isEmpty(w);for(P=w;P<=E&&o;P++)isBoundary(P,1,!0)&&(s&&isEmpty(P)==q||o--);for(y=new a(P,0),P>E&&!q?q=!0:s=!1,P=w;P>_&&(s&&isEmpty(P)!=q&&P!=w||!isBoundary(P,-1,!0));P--);return{start:new a(P,0),end:y}}function SearchState(){}function getSearchState(n){var r=n.state.vim;return r.searchState_||(r.searchState_=new SearchState)}function dialog(n,r,o,i,a){n.openDialog?n.openDialog(r,i,{bottom:!0,value:a.value,onKeyDown:a.onKeyDown,onKeyUp:a.onKeyUp,selectValueOnOpen:!1}):i(prompt(o,""))}function splitBySeparator(n,r){var o=findUnescapedSeparators(n,r)||[];if(!o.length)return[];var i=[];if(0===o[0]){for(var a=0;a'+r+"",{bottom:!0,duration:5e3}):alert(r)}var we="(Javascript regexp)";function showPrompt(n,r){var o=(r.prefix||"")+" "+(r.desc||"");dialog(n,function makePrompt(n,r){var o=''+(n||"")+'';return r&&(o+=' '+r+""),o}(r.prefix,r.desc),o,r.onClose,r)}function updateSearchQuery(n,r,o,i){if(r){var a=getSearchState(n),s=parseQuery(r,!!o,!!i);if(s)return highlightSearchMatches(n,s),function regexEqual(n,r){if(n instanceof RegExp&&r instanceof RegExp){for(var o=["global","multiline","ignoreCase","source"],i=0;i0;r--){var o=n.substring(0,r);if(this.commandMap_[o]){var i=this.commandMap_[o];if(0===i.name.indexOf(n))return i}}return null},buildCommandMap_:function(){this.commandMap_={};for(var n=0;n
";if(o){o=o.join("");for(var s=0;s")}else for(var y in i){var w=i[y].toString();w.length&&(a+='"'+y+" "+w+"
")}showConfirm(n,a)},sort:function(r,o){var i,s,y,w,_,E=function parseArgs(){if(o.argString){var r=new n.StringStream(o.argString);if(r.eat("!")&&(i=!0),r.eol())return;if(!r.eatSpace())return"Invalid arguments";var a=r.match(/([dinuox]+)?\s*(\/.+\/)?\s*/);if(!a&&!r.eol())return"Invalid arguments";if(a[1]){s=-1!=a[1].indexOf("i"),y=-1!=a[1].indexOf("u");var E=-1!=a[1].indexOf("d")||-1!=a[1].indexOf("n")&&1,P=-1!=a[1].indexOf("x")&&1,j=-1!=a[1].indexOf("o")&&1;if(E+P+j>1)return"Invalid arguments";w=(E?"decimal":P&&"hex")||j&&"octal"}a[2]&&(_=new RegExp(a[2].substr(1,a[2].length-2),s?"i":""))}}();if(E)showConfirm(r,E+": "+o.argString);else{var P=o.line||r.firstLine(),j=o.lineEnd||o.line||r.lastLine();if(P!=j){var B=a(P,0),q=a(j,lineLength(r,j)),$=r.getRange(B,q).split("\n"),ne=_||("decimal"==w?/(-?)([\d]+)/:"hex"==w?/(-?)(?:0x)?([0-9a-f]+)/i:"octal"==w?/([0-7]+)/:null),oe="decimal"==w?10:"hex"==w?16:"octal"==w?8:null,ie=[],se=[];if(w||_)for(var le=0;le<$.length;le++){var pe=_?$[le].match(_):null;pe&&""!=pe[0]?ie.push(pe):!_&&ne.exec($[le])?ie.push($[le]):se.push($[le])}else se=$;if(ie.sort(_?function comparePatternFn(n,r){var o;return i&&(o=n,n=r,r=o),s&&(n[0]=n[0].toLowerCase(),r[0]=r[0].toLowerCase()),n[0]");if(i){var B=0,nextCommand=function(){if(B=o&&n<=w:n==o);)if(i||!j||y.from().line!=j.line)return r.scrollIntoView(y.from(),30),r.setSelection(y.from(),y.to()),j=y.from(),void(P=!1);var n,o,w;P=!0}function stop(n){if(n&&n(),r.focus(),j){r.setCursor(j);var o=r.state.vim;o.exMode=!1,o.lastHPos=o.lastHSPos=j.ch}E&&E()}if(next(),!P)return o?void showPrompt(r,{prefix:"replace with "+_+" (y/n/a/q/l)",onKeyDown:function onPromptKeyDown(o,i,a){switch(n.e_stop(o),n.keyName(o)){case"Y":replace(),next();break;case"N":next();break;case"A":var s=E;E=void 0,r.operation(replaceAll),E=s;break;case"L":replace();case"Q":case"Esc":case"Ctrl-C":case"Ctrl-[":stop(a)}return P&&stop(a),!0}}):(replaceAll(),void(E&&E()));showConfirm(r,"No matches for "+w.source)}(r,B,q,ne,ie,le,$,j,o.callback)}else showConfirm(r,"No previous substitute regular expression")},redo:n.commands.redo,undo:n.commands.undo,write:function(r){n.commands.save?n.commands.save(r):r.save&&r.save()},nohlsearch:function(n){clearSearchHighlight(n)},yank:function(n){var r=copyCursor(n.getCursor()).line,o=n.getLine(r);oe.registerController.pushText("0","yank",o,!0,!0)},delmarks:function(r,o){if(o.argString&&trim(o.argString))for(var i=r.state.vim,a=new n.StringStream(trim(o.argString));!a.eol();){a.eatSpace();var s=a.pos;if(!a.match(/[a-zA-Z]/,!1))return void showConfirm(r,"Invalid argument: "+o.argString.substring(s));var y=a.next();if(a.match("-",!0)){if(!a.match(/[a-zA-Z]/,!1))return void showConfirm(r,"Invalid argument: "+o.argString.substring(s));var w=y,_=a.next();if(!(isLowerCase(w)&&isLowerCase(_)||isUpperCase(w)&&isUpperCase(_)))return void showConfirm(r,"Invalid argument: "+w+"-");var E=w.charCodeAt(0),P=_.charCodeAt(0);if(E>=P)return void showConfirm(r,"Invalid argument: "+o.argString.substring(s));for(var j=0;j<=P-E;j++){var B=String.fromCharCode(E+j);delete i.marks[B]}}else delete i.marks[y]}else showConfirm(r,"Argument required")}},Te=new ExCommandDispatcher;function exitInsertMode(r){var o=r.state.vim,i=oe.macroModeState,a=oe.registerController.getRegister("."),s=i.isPlaying,y=i.lastInsertModeChanges;s||(r.off("change",onChange),n.off(r.getInputField(),"keydown",onKeyEventTargetKeyDown)),!s&&o.insertModeRepeat>1&&(repeatLastEdit(r,o,o.insertModeRepeat-1,!0),o.lastEditInputState.repeatOverride=o.insertModeRepeat),delete o.insertModeRepeat,o.insertMode=!1,r.setCursor(r.getCursor().line,r.getCursor().ch-1),r.setOption("keyMap","vim"),r.setOption("disableInput",!0),r.toggleOverwrite(!1),a.setText(y.changes.join("")),n.signal(r,"vim-mode-change",{mode:"normal"}),i.isRecording&&function logInsertModeChange(n){if(!n.isPlaying){var r=n.latestRegister,o=oe.registerController.getRegister(r);o&&o.pushInsertModeChanges&&o.pushInsertModeChanges(n.lastInsertModeChanges)}}(i)}function _mapCommand(n){r.unshift(n)}function executeMacroRegister(r,o,i,a){var s=oe.registerController.getRegister(a);if(":"==a)return s.keyBuffer[0]&&Te.processCommand(r,s.keyBuffer[0]),void(i.isPlaying=!1);var y=s.keyBuffer,w=0;i.isPlaying=!0,i.replaySearchQueries=s.searchQueries.slice(0);for(var _=0;_|<\w+>|./.exec(j))[0],j=j.substring(E.index+P.length),n.Vim.handleKey(r,P,"macro"),o.insertMode){var B=s.insertModeChanges[w++].changes;oe.macroModeState.lastInsertModeChanges.changes=B,repeatInsertModeChanges(r,B,1),exitInsertMode(r)}i.isPlaying=!1}function onChange(n,r){var o=oe.macroModeState,i=o.lastInsertModeChanges;if(!o.isPlaying)for(;r;){if(i.expectCursorActivityForChange=!0,i.ignoreCount>1)i.ignoreCount--;else if("+input"==r.origin||"paste"==r.origin||void 0===r.origin){var a=n.listSelections().length;a>1&&(i.ignoreCount=a);var s=r.text.join("\n");i.maybeReset&&(i.changes=[],i.maybeReset=!1),s&&(n.state.overwrite&&!/\n/.test(s)?i.changes.push([s]):i.changes.push(s))}r=r.next}}function onCursorActivity(r){var o=r.state.vim;if(o.insertMode){var i=oe.macroModeState;if(i.isPlaying)return;var a=i.lastInsertModeChanges;a.expectCursorActivityForChange?a.expectCursorActivityForChange=!1:a.maybeReset=!0}else r.curOp.isVimOp||function handleExternalSelection(r,o){var i=r.getCursor("anchor"),a=r.getCursor("head");if(o.visualMode&&!r.somethingSelected()?exitVisualMode(r,!1):o.visualMode||o.insertMode||!r.somethingSelected()||(o.visualMode=!0,o.visualLine=!1,n.signal(r,"vim-mode-change",{mode:"visual"})),o.visualMode){var s=cursorIsBefore(a,i)?0:-1,y=cursorIsBefore(a,i)?-1:0;a=offsetCursor(a,0,s),i=offsetCursor(i,0,y),o.sel={anchor:i,head:a},updateMark(r,o,"<",cursorMin(a,i)),updateMark(r,o,">",cursorMax(a,i))}else o.insertMode||(o.lastHPos=r.getCursor().ch)}(r,o);o.visualMode&&updateFakeCursor(r)}function updateFakeCursor(n){var r=n.state.vim,o=clipCursorToContent(n,copyCursor(r.sel.head)),i=offsetCursor(o,0,1);r.fakeCursor&&r.fakeCursor.clear(),r.fakeCursor=n.markText(o,i,{className:"cm-animate-fat-cursor"})}function InsertModeKey(n){this.keyName=n}function onKeyEventTargetKeyDown(r){var o=oe.macroModeState.lastInsertModeChanges,i=n.keyName(r);i&&(-1==i.indexOf("Delete")&&-1==i.indexOf("Backspace")||n.lookupKey(i,"vim-insert",(function onKeyFound(){return o.maybeReset&&(o.changes=[],o.maybeReset=!1),o.changes.push(new InsertModeKey(i)),!0})))}function repeatLastEdit(n,r,o,i){var a=oe.macroModeState;a.isPlaying=!0;var s=!!r.lastEditActionCommand,y=r.inputState;function repeatCommand(){s?le.processAction(n,r,r.lastEditActionCommand):le.evalInput(n,r)}function repeatInsert(o){if(a.lastInsertModeChanges.changes.length>0){o=r.lastEditActionCommand?o:1;var i=a.lastInsertModeChanges;repeatInsertModeChanges(n,i.changes,o)}}if(r.inputState=r.lastEditInputState,s&&r.lastEditActionCommand.interlaceInsertRepeat)for(var w=0;w2&&E.token&&"string"!=typeof E.token){i.pending=[];for(var B=2;B-1)return n.Pass;var y=i.indent.length-1,w=r[i.state];e:for(;;){for(var _=0;_]=?|\?:|\~)/,Me=wordRegexp(P),Ae=keySet(j),Oe=new RegExp(/^\-(moz|ms|o|webkit)-/i),Ne=keySet(B),Re="",Fe={};se.length|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),r.context.line.firstWord=Re?Re[0].replace(/^\s*/,""):"",r.context.line.indent=n.indentation(),q=n.peek(),n.match("//"))return n.skipToEnd(),["comment","comment"];if(n.match("/*"))return r.tokenize=tokenCComment,tokenCComment(n,r);if('"'==q||"'"==q)return n.next(),r.tokenize=tokenString(q),r.tokenize(n,r);if("@"==q)return n.next(),n.eatWhile(/[\w\\-]/),["def",n.current()];if("#"==q){if(n.next(),n.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(n.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return n.match(Oe)?["meta","vendor-prefixes"]:n.match(/^-?[0-9]?\.?[0-9]/)?(n.eatWhile(/[a-z%]/i),["number","unit"]):"!"==q?(n.next(),[n.match(/^(important|optional)/i)?"keyword":"operator","important"]):"."==q&&n.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:n.match(ke)?("("==n.peek()&&(r.tokenize=tokenParenthesized),["property","word"]):n.match(/^[a-z][\w-]*\(/i)?(n.backUp(1),["keyword","mixin"]):n.match(/^(\+|-)[a-z][\w-]*\(/i)?(n.backUp(1),["keyword","block-mixin"]):n.string.match(/^\s*&/)&&n.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:n.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(n.backUp(1),["variable-3","reference"]):n.match(/^&{1}\s*$/)?["variable-3","reference"]:n.match(Me)?["operator","operator"]:n.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?n.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!wordIsTag(n.current())?(n.match(/\./),["variable-2","variable-name"]):["variable-2","word"]:n.match(Te)?["operator",n.current()]:/[:;,{}\[\]\(\)]/.test(q)?(n.next(),[null,q]):(n.next(),[null,null])}function tokenCComment(n,r){for(var o,i=!1;null!=(o=n.next());){if(i&&"/"==o){r.tokenize=null;break}i="*"==o}return["comment","comment"]}function tokenString(n){return function(r,o){for(var i,a=!1;null!=(i=r.next());){if(i==n&&!a){")"==n&&r.backUp(1);break}a=!a&&"\\"==i}return(i==n||!a&&")"!=n)&&(o.tokenize=null),["string","string"]}}function tokenParenthesized(n,r){return n.next(),n.match(/\s*[\"\')]/,!1)?r.tokenize=null:r.tokenize=tokenString(")"),[null,"("]}function Context(n,r,o,i){this.type=n,this.indent=r,this.prev=o,this.line=i||{firstWord:"",indent:0}}function pushContext(n,r,o,i){return i=i>=0?i:ie,n.context=new Context(o,r.indentation()+i,n.context),o}function popContext(n,r){var o=n.context.indent-ie;return r=r||!1,n.context=n.context.prev,r&&(n.context.indent=o),n.context.type}function popAndPass(n,r,o,i){for(var a=i||1;a>0;a--)o.context=o.context.prev;return function pass(n,r,o){return Fe[o.context.type](n,r,o)}(n,r,o)}function wordIsTag(n){return n.toLowerCase()in le}function wordIsProperty(n){return(n=n.toLowerCase())in he||n in _e}function wordIsBlock(n){return n.toLowerCase()in Ae}function wordIsVendorPrefix(n){return n.toLowerCase().match(Oe)}function wordAsValue(n){var r=n.toLowerCase(),o="variable-2";return wordIsTag(n)?o="tag":wordIsBlock(n)?o="block-keyword":wordIsProperty(n)?o="property":r in ge||r in Ne?o="atom":"return"==r||r in ye?o="keyword":n.match(/^[A-Z]/)&&(o="string"),o}function typeIsBlock(n,r){return endOfLine(r)&&("{"==n||"]"==n||"hash"==n||"qualifier"==n)||"block-mixin"==n}function typeIsInterpolation(n,r){return"{"==n&&r.match(/^\s*\$?[\w-]+/i,!1)}function typeIsPseudo(n,r){return":"==n&&r.match(/^[a-z-]+/,!1)}function startOfLine(n){return n.sol()||n.string.match(new RegExp("^\\s*"+function escapeRegExp(n){return n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(n.current())))}function endOfLine(n){return n.eol()||n.match(/^\s*$/,!1)}function firstWordOfLine(n){var r=/^\s*[-_]*[a-z0-9]+[\w-]*/i,o="string"==typeof n?n.match(r):n.string.match(r);return o?o[0].replace(/^\s*/,""):""}return Fe.block=function(n,r,o){if("comment"==n&&startOfLine(r)||","==n&&endOfLine(r)||"mixin"==n)return pushContext(o,r,"block",0);if(typeIsInterpolation(n,r))return pushContext(o,r,"interpolation");if(endOfLine(r)&&"]"==n&&!/^\s*(\.|#|:|\[|\*|&)/.test(r.string)&&!wordIsTag(firstWordOfLine(r)))return pushContext(o,r,"block",0);if(typeIsBlock(n,r))return pushContext(o,r,"block");if("}"==n&&endOfLine(r))return pushContext(o,r,"block",0);if("variable-name"==n)return r.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||wordIsBlock(firstWordOfLine(r))?pushContext(o,r,"variableName"):pushContext(o,r,"variableName",0);if("="==n)return endOfLine(r)||wordIsBlock(firstWordOfLine(r))?pushContext(o,r,"block"):pushContext(o,r,"block",0);if("*"==n&&(endOfLine(r)||r.match(/\s*(,|\.|#|\[|:|{)/,!1)))return oe="tag",pushContext(o,r,"block");if(typeIsPseudo(n,r))return pushContext(o,r,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(n))return pushContext(o,r,endOfLine(r)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(n))return pushContext(o,r,"keyframes");if(/@extends?/.test(n))return pushContext(o,r,"extend",0);if(n&&"@"==n.charAt(0))return r.indentation()>0&&wordIsProperty(r.current().slice(1))?(oe="variable-2","block"):/(@import|@require|@charset)/.test(n)?pushContext(o,r,"block",0):pushContext(o,r,"block");if("reference"==n&&endOfLine(r))return pushContext(o,r,"block");if("("==n)return pushContext(o,r,"parens");if("vendor-prefixes"==n)return pushContext(o,r,"vendorPrefixes");if("word"==n){var i=r.current();if("property"==(oe=wordAsValue(i)))return startOfLine(r)?pushContext(o,r,"block",0):(oe="atom","block");if("tag"==oe){if(/embed|menu|pre|progress|sub|table/.test(i)&&wordIsProperty(firstWordOfLine(r)))return oe="atom","block";if(r.string.match(new RegExp("\\[\\s*"+i+"|"+i+"\\s*\\]")))return oe="atom","block";if(pe.test(i)&&(startOfLine(r)&&r.string.match(/=/)||!startOfLine(r)&&!r.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!wordIsTag(firstWordOfLine(r))))return oe="variable-2",wordIsBlock(firstWordOfLine(r))?"block":pushContext(o,r,"block",0);if(endOfLine(r))return pushContext(o,r,"block")}if("block-keyword"==oe)return oe="keyword",r.current(/(if|unless)/)&&!startOfLine(r)?"block":pushContext(o,r,"block");if("return"==i)return pushContext(o,r,"block",0);if("variable-2"==oe&&r.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return pushContext(o,r,"block")}return o.context.type},Fe.parens=function(n,r,o){if("("==n)return pushContext(o,r,"parens");if(")"==n)return"parens"==o.context.prev.type?popContext(o):r.string.match(/^[a-z][\w-]*\(/i)&&endOfLine(r)||wordIsBlock(firstWordOfLine(r))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(firstWordOfLine(r))||!r.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&wordIsTag(firstWordOfLine(r))?pushContext(o,r,"block"):r.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||r.string.match(/^\s*(\(|\)|[0-9])/)||r.string.match(/^\s+[a-z][\w-]*\(/i)||r.string.match(/^\s+[\$-]?[a-z]/i)?pushContext(o,r,"block",0):endOfLine(r)?pushContext(o,r,"block"):pushContext(o,r,"block",0);if(n&&"@"==n.charAt(0)&&wordIsProperty(r.current().slice(1))&&(oe="variable-2"),"word"==n){var i=r.current();"tag"==(oe=wordAsValue(i))&&pe.test(i)&&(oe="variable-2"),"property"!=oe&&"to"!=i||(oe="atom")}return"variable-name"==n?pushContext(o,r,"variableName"):typeIsPseudo(n,r)?pushContext(o,r,"pseudo"):o.context.type},Fe.vendorPrefixes=function(n,r,o){return"word"==n?(oe="property",pushContext(o,r,"block",0)):popContext(o)},Fe.pseudo=function(n,r,o){return wordIsProperty(firstWordOfLine(r.string))?popAndPass(n,r,o):(r.match(/^[a-z-]+/),oe="variable-3",endOfLine(r)?pushContext(o,r,"block"):popContext(o))},Fe.atBlock=function(n,r,o){if("("==n)return pushContext(o,r,"atBlock_parens");if(typeIsBlock(n,r))return pushContext(o,r,"block");if(typeIsInterpolation(n,r))return pushContext(o,r,"interpolation");if("word"==n){var i=r.current().toLowerCase();if("tag"==(oe=/^(only|not|and|or)$/.test(i)?"keyword":ve.hasOwnProperty(i)?"tag":Se.hasOwnProperty(i)?"attribute":we.hasOwnProperty(i)?"property":me.hasOwnProperty(i)?"string-2":wordAsValue(r.current()))&&endOfLine(r))return pushContext(o,r,"block")}return"operator"==n&&/^(not|and|or)$/.test(r.current())&&(oe="keyword"),o.context.type},Fe.atBlock_parens=function(n,r,o){if("{"==n||"}"==n)return o.context.type;if(")"==n)return endOfLine(r)?pushContext(o,r,"block"):pushContext(o,r,"atBlock");if("word"==n){var i=r.current().toLowerCase();return oe=wordAsValue(i),/^(max|min)/.test(i)&&(oe="property"),"tag"==oe&&(oe=pe.test(i)?"variable-2":"atom"),o.context.type}return Fe.atBlock(n,r,o)},Fe.keyframes=function(n,r,o){return"0"==r.indentation()&&("}"==n&&startOfLine(r)||"]"==n||"hash"==n||"qualifier"==n||wordIsTag(r.current()))?popAndPass(n,r,o):"{"==n?pushContext(o,r,"keyframes"):"}"==n?startOfLine(r)?popContext(o,!0):pushContext(o,r,"keyframes"):"unit"==n&&/^[0-9]+\%$/.test(r.current())?pushContext(o,r,"keyframes"):"word"==n&&"block-keyword"==(oe=wordAsValue(r.current()))?(oe="keyword",pushContext(o,r,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(n)?pushContext(o,r,endOfLine(r)?"block":"atBlock"):"mixin"==n?pushContext(o,r,"block",0):o.context.type},Fe.interpolation=function(n,r,o){return"{"==n&&popContext(o)&&pushContext(o,r,"block"),"}"==n?r.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||r.string.match(/^\s*[a-z]/i)&&wordIsTag(firstWordOfLine(r))?pushContext(o,r,"block"):!r.string.match(/^(\{|\s*\&)/)||r.match(/\s*[\w-]/,!1)?pushContext(o,r,"block",0):pushContext(o,r,"block"):"variable-name"==n?pushContext(o,r,"variableName",0):("word"==n&&"tag"==(oe=wordAsValue(r.current()))&&(oe="atom"),o.context.type)},Fe.extend=function(n,r,o){return"["==n||"="==n?"extend":"]"==n?popContext(o):"word"==n?(oe=wordAsValue(r.current()),"extend"):popContext(o)},Fe.variableName=function(n,r,o){return"string"==n||"["==n||"]"==n||r.current().match(/^(\.|\$)/)?(r.current().match(/^\.[\w-]+/i)&&(oe="variable-2"),"variableName"):popAndPass(n,r,o)},{startState:function(n){return{tokenize:null,state:"block",context:new Context("block",n||0,null)}},token:function(n,r){return!r.tokenize&&n.eatSpace()?null:(($=(r.tokenize||tokenBase)(n,r))&&"object"==typeof $&&(ne=$[1],$=$[0]),oe=$,r.state=Fe[r.state](ne,n,r),oe)},indent:function(n,r,o){var i=n.context,a=r&&r.charAt(0),s=i.indent,y=firstWordOfLine(r),w=o.match(/^\s*/)[0].replace(/\t/g,se).length,_=n.context.prev?n.context.prev.line.firstWord:"",E=n.context.prev?n.context.prev.line.indent:w;return i.prev&&("}"==a&&("block"==i.type||"atBlock"==i.type||"keyframes"==i.type)||")"==a&&("parens"==i.type||"atBlock_parens"==i.type)||"{"==a&&"at"==i.type)?s=i.indent-ie:/(\})/.test(a)||(/@|\$|\d/.test(a)||/^\{/.test(r)||/^\s*\/(\/|\*)/.test(r)||/^\s*\/\*/.test(_)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(r)||/^(\+|-)?[a-z][\w-]*\(/i.test(r)||/^return/.test(r)||wordIsBlock(y)?s=w:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(a)||wordIsTag(y)?s=/\,\s*$/.test(_)?E:/^\s+/.test(o)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(_)||wordIsTag(_))?w<=E?E:E+ie:w:/,\s*$/.test(o)||!wordIsVendorPrefix(y)&&!wordIsProperty(y)||(s=wordIsBlock(_)?w<=E?E:E+ie:/^\{/.test(_)?w<=E?w:E+ie:wordIsVendorPrefix(_)||wordIsProperty(_)?w>=E?E:w:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(_)||/=\s*$/.test(_)||wordIsTag(_)||/^\$[\w-\.\[\]\'\"]/.test(_)?E+ie:w)),s},electricChars:"}",lineComment:"//",fold:"indent"}}));var r=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],o=["domain","regexp","url","url-prefix"],i=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid"],s=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],y=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],w=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],_=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],E=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],P=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],j=["for","if","else","unless","from","to"],B=["null","true","false","href","title","type","not-allowed","readonly","disabled"],q=r.concat(o,i,a,s,y,_,E,w,P,j,B,["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"]);function wordRegexp(n){return n=n.sort((function(n,r){return r>n})),new RegExp("^(("+n.join(")|(")+"))\\b")}function keySet(n){for(var r={},o=0;o*\/]/.test(o)?ret(null,"select-op"):"."==o&&n.match(/^-?[_a-z][_a-z0-9-]*/i)?ret("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(o)?ret(null,o):n.match(/[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/.test(n.current().toLowerCase())&&(r.tokenize=tokenParenthesized),ret("variable callee","variable")):/[\w\\\-]/.test(o)?(n.eatWhile(/[\w\\\-]/),ret("property","word")):ret(null,null):/[\d.]/.test(n.peek())?(n.eatWhile(/[\w.%]/),ret("number","unit")):n.match(/^-[\w\\\-]*/)?(n.eatWhile(/[\w\\\-]/),n.match(/^\s*:/,!1)?ret("variable-2","variable-definition"):ret("variable-2","variable")):n.match(/^\w+-/)?ret("meta","meta"):void 0}function tokenString(n){return function(r,o){for(var i,a=!1;null!=(i=r.next());){if(i==n&&!a){")"==n&&r.backUp(1);break}a=!a&&"\\"==i}return(i==n||!a&&")"!=n)&&(o.tokenize=null),ret("string","string")}}function tokenParenthesized(n,r){return n.next(),n.match(/\s*[\"\')]/,!1)?r.tokenize=null:r.tokenize=tokenString(")"),ret(null,"(")}function Context(n,r,o){this.type=n,this.indent=r,this.prev=o}function pushContext(n,r,o,i){return n.context=new Context(o,r.indentation()+(!1===i?0:y),n.context),o}function popContext(n){return n.context.prev&&(n.context=n.context.prev),n.context.type}function pass(n,r,o){return he[o.context.type](n,r,o)}function popAndPass(n,r,o,i){for(var a=i||1;a>0;a--)o.context=o.context.prev;return pass(n,r,o)}function wordAsValue(n){var r=n.current().toLowerCase();s=ie.hasOwnProperty(r)?"atom":oe.hasOwnProperty(r)?"keyword":"variable"}var he={top:function(n,r,o){if("{"==n)return pushContext(o,r,"block");if("}"==n&&o.context.prev)return popContext(o);if(pe&&/@component/i.test(n))return pushContext(o,r,"atComponentBlock");if(/^@(-moz-)?document$/i.test(n))return pushContext(o,r,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(n))return pushContext(o,r,"atBlock");if(/^@(font-face|counter-style)/i.test(n))return o.stateArg=n,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(n))return"keyframes";if(n&&"@"==n.charAt(0))return pushContext(o,r,"at");if("hash"==n)s="builtin";else if("word"==n)s="tag";else{if("variable-definition"==n)return"maybeprop";if("interpolation"==n)return pushContext(o,r,"interpolation");if(":"==n)return"pseudo";if(se&&"("==n)return pushContext(o,r,"parens")}return o.context.type},block:function(n,r,o){if("word"==n){var i=r.current().toLowerCase();return B.hasOwnProperty(i)?(s="property","maybeprop"):q.hasOwnProperty(i)?(s="string-2","maybeprop"):se?(s=r.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(s+=" error","maybeprop")}return"meta"==n?"block":se||"hash"!=n&&"qualifier"!=n?he.top(n,r,o):(s="error","block")},maybeprop:function(n,r,o){return":"==n?pushContext(o,r,"prop"):pass(n,r,o)},prop:function(n,r,o){if(";"==n)return popContext(o);if("{"==n&&se)return pushContext(o,r,"propBlock");if("}"==n||"{"==n)return popAndPass(n,r,o);if("("==n)return pushContext(o,r,"parens");if("hash"!=n||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(r.current())){if("word"==n)wordAsValue(r);else if("interpolation"==n)return pushContext(o,r,"interpolation")}else s+=" error";return"prop"},propBlock:function(n,r,o){return"}"==n?popContext(o):"word"==n?(s="property","maybeprop"):o.context.type},parens:function(n,r,o){return"{"==n||"}"==n?popAndPass(n,r,o):")"==n?popContext(o):"("==n?pushContext(o,r,"parens"):"interpolation"==n?pushContext(o,r,"interpolation"):("word"==n&&wordAsValue(r),"parens")},pseudo:function(n,r,o){return"meta"==n?"pseudo":"word"==n?(s="variable-3",o.context.type):pass(n,r,o)},documentTypes:function(n,r,o){return"word"==n&&_.hasOwnProperty(r.current())?(s="tag",o.context.type):he.atBlock(n,r,o)},atBlock:function(n,r,o){if("("==n)return pushContext(o,r,"atBlock_parens");if("}"==n||";"==n)return popAndPass(n,r,o);if("{"==n)return popContext(o)&&pushContext(o,r,se?"block":"top");if("interpolation"==n)return pushContext(o,r,"interpolation");if("word"==n){var i=r.current().toLowerCase();s="only"==i||"not"==i||"and"==i||"or"==i?"keyword":E.hasOwnProperty(i)?"attribute":P.hasOwnProperty(i)?"property":j.hasOwnProperty(i)?"keyword":B.hasOwnProperty(i)?"property":q.hasOwnProperty(i)?"string-2":ie.hasOwnProperty(i)?"atom":oe.hasOwnProperty(i)?"keyword":"error"}return o.context.type},atComponentBlock:function(n,r,o){return"}"==n?popAndPass(n,r,o):"{"==n?popContext(o)&&pushContext(o,r,se?"block":"top",!1):("word"==n&&(s="error"),o.context.type)},atBlock_parens:function(n,r,o){return")"==n?popContext(o):"{"==n||"}"==n?popAndPass(n,r,o,2):he.atBlock(n,r,o)},restricted_atBlock_before:function(n,r,o){return"{"==n?pushContext(o,r,"restricted_atBlock"):"word"==n&&"@counter-style"==o.stateArg?(s="variable","restricted_atBlock_before"):pass(n,r,o)},restricted_atBlock:function(n,r,o){return"}"==n?(o.stateArg=null,popContext(o)):"word"==n?(s="@font-face"==o.stateArg&&!$.hasOwnProperty(r.current().toLowerCase())||"@counter-style"==o.stateArg&&!ne.hasOwnProperty(r.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(n,r,o){return"word"==n?(s="variable","keyframes"):"{"==n?pushContext(o,r,"top"):pass(n,r,o)},at:function(n,r,o){return";"==n?popContext(o):"{"==n||"}"==n?popAndPass(n,r,o):("word"==n?s="tag":"hash"==n&&(s="builtin"),"at")},interpolation:function(n,r,o){return"}"==n?popContext(o):"{"==n||";"==n?popAndPass(n,r,o):("word"==n?s="variable":"variable"!=n&&"("!=n&&")"!=n&&(s="error"),"interpolation")}};return{startState:function(n){return{tokenize:null,state:i?"block":"top",stateArg:null,context:new Context(i?"block":"top",n||0,null)}},token:function(n,r){if(!r.tokenize&&n.eatSpace())return null;var o=(r.tokenize||tokenBase)(n,r);return o&&"object"==typeof o&&(a=o[1],o=o[0]),s=o,"comment"!=a&&(r.state=he[r.state](a,n,r)),s},indent:function(n,r){var o=n.context,i=r&&r.charAt(0),a=o.indent;return"prop"!=o.type||"}"!=i&&")"!=i||(o=o.prev),o.prev&&("}"!=i||"block"!=o.type&&"top"!=o.type&&"interpolation"!=o.type&&"restricted_atBlock"!=o.type?(")"!=i||"parens"!=o.type&&"atBlock_parens"!=o.type)&&("{"!=i||"at"!=o.type&&"atBlock"!=o.type)||(a=Math.max(0,o.indent-y)):a=(o=o.prev).indent),a},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:le,fold:"brace"}}));var r=["domain","regexp","url","url-prefix"],o=keySet(r),i=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],a=keySet(i),s=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],y=keySet(s),w=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],_=keySet(w),E=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],P=keySet(E),j=["border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],B=keySet(j),q=keySet(["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),$=keySet(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),ne=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],oe=keySet(ne),ie=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],se=keySet(ie),le=r.concat(i).concat(s).concat(w).concat(E).concat(j).concat(ne).concat(ie);function tokenCComment(n,r){for(var o,i=!1;null!=(o=n.next());){if(i&&"/"==o){r.tokenize=null;break}i="*"==o}return["comment","comment"]}n.registerHelper("hintWords","css",le),n.defineMIME("text/css",{documentTypes:o,mediaTypes:a,mediaFeatures:y,mediaValueKeywords:_,propertyKeywords:P,nonStandardPropertyKeywords:B,fontProperties:q,counterDescriptors:$,colorKeywords:oe,valueKeywords:se,tokenHooks:{"/":function(n,r){return!!n.eat("*")&&(r.tokenize=tokenCComment,tokenCComment(n,r))}},name:"css"}),n.defineMIME("text/x-scss",{mediaTypes:a,mediaFeatures:y,mediaValueKeywords:_,propertyKeywords:P,nonStandardPropertyKeywords:B,colorKeywords:oe,valueKeywords:se,fontProperties:q,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(n,r){return n.eat("/")?(n.skipToEnd(),["comment","comment"]):n.eat("*")?(r.tokenize=tokenCComment,tokenCComment(n,r)):["operator","operator"]},":":function(n){return!!n.match(/\s*\{/,!1)&&[null,null]},$:function(n){return n.match(/^[\w-]+/),n.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(n){return!!n.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),n.defineMIME("text/x-less",{mediaTypes:a,mediaFeatures:y,mediaValueKeywords:_,propertyKeywords:P,nonStandardPropertyKeywords:B,colorKeywords:oe,valueKeywords:se,fontProperties:q,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(n,r){return n.eat("/")?(n.skipToEnd(),["comment","comment"]):n.eat("*")?(r.tokenize=tokenCComment,tokenCComment(n,r)):["operator","operator"]},"@":function(n){return n.eat("{")?[null,"interpolation"]:!n.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(n.eatWhile(/[\w\\\-]/),n.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),n.defineMIME("text/x-gss",{documentTypes:o,mediaTypes:a,mediaFeatures:y,propertyKeywords:P,nonStandardPropertyKeywords:B,fontProperties:q,counterDescriptors:$,colorKeywords:oe,valueKeywords:se,supportsAtComponent:!0,tokenHooks:{"/":function(n,r){return!!n.eat("*")&&(r.tokenize=tokenCComment,tokenCComment(n,r))}},name:"css",helperType:"gss"})}(o("VrN/"))},i8i4:function(n,r,o){"use strict";!function checkDCE(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(n){console.error(n)}}}(),n.exports=o("yl30")},iWIM:function(n,r,o){var i=o("n3AX");function _get(){return"undefined"!=typeof Reflect&&Reflect.get?(n.exports=_get=Reflect.get,n.exports.__esModule=!0,n.exports.default=n.exports):(n.exports=_get=function _get(n,r,o){var a=i(n,r);if(a){var s=Object.getOwnPropertyDescriptor(a,r);return s.get?s.get.call(arguments.length<3?n:o):s.value}},n.exports.__esModule=!0,n.exports.default=n.exports),_get.apply(this,arguments)}n.exports=_get,n.exports.__esModule=!0,n.exports.default=n.exports},jDMi:function(n,r,o){!function(n){var r=/MSIE \d/.test(navigator.userAgent)&&(null==document.documentMode||document.documentMode<8),o=n.Pos,i={"(":")>",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function bracketRegex(n){return n&&n.bracketRegex||/[(){}[\]]/}function findMatchingBracket(n,r,a){var s=n.getLineHandle(r.line),y=r.ch-1,w=a&&a.afterCursor;null==w&&(w=/(^| )cm-fat-cursor($| )/.test(n.getWrapperElement().className));var _=bracketRegex(a),E=!w&&y>=0&&_.test(s.text.charAt(y))&&i[s.text.charAt(y)]||_.test(s.text.charAt(y+1))&&i[s.text.charAt(++y)];if(!E)return null;var P=">"==E.charAt(1)?1:-1;if(a&&a.strict&&P>0!=(y==r.ch))return null;var j=n.getTokenTypeAt(o(r.line,y+1)),B=scanForBracket(n,o(r.line,y+(P>0?1:0)),P,j||null,a);return null==B?null:{from:o(r.line,y),to:B&&B.pos,match:B&&B.ch==E.charAt(0),forward:P>0}}function scanForBracket(n,r,a,s,y){for(var w=y&&y.maxScanLineLength||1e4,_=y&&y.maxScanLines||1e3,E=[],P=bracketRegex(y),j=a>0?Math.min(r.line+_,n.lastLine()+1):Math.max(n.firstLine()-1,r.line-_),B=r.line;B!=j;B+=a){var q=n.getLine(B);if(q){var $=a>0?0:q.length-1,ne=a>0?q.length:-1;if(!(q.length>w))for(B==r.line&&($=r.ch-(a<0?1:0));$!=ne;$+=a){var oe=q.charAt($);if(P.test(oe)&&(void 0===s||n.getTokenTypeAt(o(B,$+1))==s)){var ie=i[oe];if(ie&&">"==ie.charAt(1)==a>0)E.push(oe);else{if(!E.length)return{pos:o(B,$),ch:oe};E.pop()}}}}}return B-a!=(a>0?n.lastLine():n.firstLine())&&null}function matchBrackets(n,i,a){for(var s=n.state.matchBrackets.maxHighlightLineLength||1e3,y=[],w=n.listSelections(),_=0;_` "'(~:]+/,q=/^(~~~+|```+)[ \t]*([\w+#-]*)[^\n`]*$/,$=/^\s*\[[^\]]+?\]:.*$/,ne=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/;function switchInline(n,r,o){return r.f=r.inline=o,o(n,r)}function switchBlock(n,r,o){return r.f=r.block=o,o(n,r)}function blankLine(r){if(r.linkTitle=!1,r.linkHref=!1,r.linkText=!1,r.em=!1,r.strong=!1,r.strikethrough=!1,r.quote=0,r.indentedCode=!1,r.f==htmlBlock){var o=a;if(!o){var s=n.innerMode(i,r.htmlState);o="xml"==s.mode.name&&null===s.state.tagStart&&!s.state.context&&s.state.tokenize.isInText}o&&(r.f=inlineNormal,r.block=blockNormal,r.htmlState=null)}return r.trailingSpace=0,r.trailingSpaceNewLine=!1,r.prevLine=r.thisLine,r.thisLine={stream:null},null}function blockNormal(i,a){var y=i.column()===a.indentation,B=function lineIsEmpty(n){return!n||!/\S/.test(n.string)}(a.prevLine.stream),ne=a.indentedCode,oe=a.prevLine.hr,ie=!1!==a.list,se=(a.listStack[a.listStack.length-1]||0)+3;a.indentedCode=!1;var le=a.indentation;if(null===a.indentationDiff&&(a.indentationDiff=a.indentation,ie)){for(a.list=null;le=4&&(ne||a.prevLine.fencedCodeEnd||a.prevLine.header||B))return i.skipToEnd(),a.indentedCode=!0,s.code;if(i.eatSpace())return null;if(y&&a.indentation<=se&&(me=i.match(P))&&me[1].length<=6)return a.quote=0,a.header=me[1].length,a.thisLine.header=!0,o.highlightFormatting&&(a.formatting="header"),a.f=a.inline,getType(a);if(a.indentation<=se&&i.eat(">"))return a.quote=y?1:a.quote+1,o.highlightFormatting&&(a.formatting="quote"),i.eatSpace(),getType(a);if(!he&&!a.setext&&y&&a.indentation<=se&&(me=i.match(_))){var ge=me[1]?"ol":"ul";return a.indentation=le+i.current().length,a.list=!0,a.quote=0,a.listStack.push(a.indentation),a.em=!1,a.strong=!1,a.code=!1,a.strikethrough=!1,o.taskLists&&i.match(E,!1)&&(a.taskList=!0),a.f=a.inline,o.highlightFormatting&&(a.formatting=["list","list-"+ge]),getType(a)}return y&&a.indentation<=se&&(me=i.match(q,!0))?(a.quote=0,a.fencedEndRE=new RegExp(me[1]+"+ *$"),a.localMode=o.fencedCodeBlockHighlighting&&function getMode(o){if(n.findModeByName){var i=n.findModeByName(o);i&&(o=i.mime||i.mimes[0])}var a=n.getMode(r,o);return"null"==a.name?null:a}(me[2]),a.localMode&&(a.localState=n.startState(a.localMode)),a.f=a.block=local,o.highlightFormatting&&(a.formatting="code-block"),a.code=-1,getType(a)):a.setext||!(pe&&ie||a.quote||!1!==a.list||a.code||he||$.test(i.string))&&(me=i.lookAhead(1))&&(me=me.match(j))?(a.setext?(a.header=a.setext,a.setext=0,i.skipToEnd(),o.highlightFormatting&&(a.formatting="header")):(a.header="="==me[0].charAt(0)?1:2,a.setext=a.header),a.thisLine.header=!0,a.f=a.inline,getType(a)):he?(i.skipToEnd(),a.hr=!0,a.thisLine.hr=!0,s.hr):"["===i.peek()?switchInline(i,a,footnoteLink):switchInline(i,a,a.inline)}function htmlBlock(r,o){var s=i.token(r,o.htmlState);if(!a){var y=n.innerMode(i,o.htmlState);("xml"==y.mode.name&&null===y.state.tagStart&&!y.state.context&&y.state.tokenize.isInText||o.md_inside&&r.current().indexOf(">")>-1)&&(o.f=inlineNormal,o.block=blockNormal,o.htmlState=null)}return s}function local(n,r){var i,a=r.listStack[r.listStack.length-1]||0,y=r.indentation=n.quote?r.push(s.formatting+"-"+n.formatting[i]+"-"+n.quote):r.push("error"))}if(n.taskOpen)return r.push("meta"),r.length?r.join(" "):null;if(n.taskClosed)return r.push("property"),r.length?r.join(" "):null;if(n.linkHref?r.push(s.linkHref,"url"):(n.strong&&r.push(s.strong),n.em&&r.push(s.em),n.strikethrough&&r.push(s.strikethrough),n.emoji&&r.push(s.emoji),n.linkText&&r.push(s.linkText),n.code&&r.push(s.code),n.image&&r.push(s.image),n.imageAltText&&r.push(s.imageAltText,"link"),n.imageMarker&&r.push(s.imageMarker)),n.header&&r.push(s.header,s.header+"-"+n.header),n.quote&&(r.push(s.quote),!o.maxBlockquoteDepth||o.maxBlockquoteDepth>=n.quote?r.push(s.quote+"-"+n.quote):r.push(s.quote+"-"+o.maxBlockquoteDepth)),!1!==n.list){var a=(n.listStack.length-1)%3;a?1===a?r.push(s.list2):r.push(s.list3):r.push(s.list1)}return n.trailingSpaceNewLine?r.push("trailing-space-new-line"):n.trailingSpace&&r.push("trailing-space-"+(n.trailingSpace%2?"a":"b")),r.length?r.join(" "):null}function handleText(n,r){if(n.match(B,!0))return getType(r)}function inlineNormal(r,a){var y=a.text(r,a);if(void 0!==y)return y;if(a.list)return a.list=null,getType(a);if(a.taskList)return" "===r.match(E,!0)[1]?a.taskOpen=!0:a.taskClosed=!0,o.highlightFormatting&&(a.formatting="task"),a.taskList=!1,getType(a);if(a.taskOpen=!1,a.taskClosed=!1,a.header&&r.match(/^#+$/,!0))return o.highlightFormatting&&(a.formatting="header"),getType(a);var w=r.next();if(a.linkTitle){a.linkTitle=!1;var _=w;"("===w&&(_=")");var P="^\\s*(?:[^"+(_=(_+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1"))+"\\\\]+|\\\\\\\\|\\\\.)"+_;if(r.match(new RegExp(P),!0))return s.linkHref}if("`"===w){var j=a.formatting;o.highlightFormatting&&(a.formatting="code"),r.eatWhile("`");var B=r.current().length;if(0!=a.code||a.quote&&1!=B){if(B==a.code){var q=getType(a);return a.code=0,q}return a.formatting=j,getType(a)}return a.code=B,getType(a)}if(a.code)return getType(a);if("\\"===w&&(r.next(),o.highlightFormatting)){var $=getType(a),oe=s.formatting+"-escape";return $?$+" "+oe:oe}if("!"===w&&r.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return a.imageMarker=!0,a.image=!0,o.highlightFormatting&&(a.formatting="image"),getType(a);if("["===w&&a.imageMarker&&r.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return a.imageMarker=!1,a.imageAltText=!0,o.highlightFormatting&&(a.formatting="image"),getType(a);if("]"===w&&a.imageAltText){o.highlightFormatting&&(a.formatting="image");var $=getType(a);return a.imageAltText=!1,a.image=!1,a.inline=a.f=linkHref,$}if("["===w&&!a.image)return a.linkText&&r.match(/^.*?\]/)||(a.linkText=!0,o.highlightFormatting&&(a.formatting="link")),getType(a);if("]"===w&&a.linkText){o.highlightFormatting&&(a.formatting="link");var $=getType(a);return a.linkText=!1,a.inline=a.f=r.match(/\(.*?\)| ?\[.*?\]/,!1)?linkHref:inlineNormal,$}if("<"===w&&r.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1))return a.f=a.inline=linkInline,o.highlightFormatting&&(a.formatting="link"),($=getType(a))?$+=" ":$="",$+s.linkInline;if("<"===w&&r.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1))return a.f=a.inline=linkInline,o.highlightFormatting&&(a.formatting="link"),($=getType(a))?$+=" ":$="",$+s.linkEmail;if(o.xml&&"<"===w&&r.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var ie=r.string.indexOf(">",r.pos);if(-1!=ie){var se=r.string.substring(r.start,ie);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(se)&&(a.md_inside=!0)}return r.backUp(1),a.htmlState=n.startState(i),switchBlock(r,a,htmlBlock)}if(o.xml&&"<"===w&&r.match(/^\/\w*?>/))return a.md_inside=!1,"tag";if("*"===w||"_"===w){for(var le=1,pe=1==r.pos?" ":r.string.charAt(r.pos-2);le<3&&r.eat(w);)le++;var he=r.peek()||" ",me=!/\s/.test(he)&&(!ne.test(he)||/\s/.test(pe)||ne.test(pe)),ge=!/\s/.test(pe)&&(!ne.test(pe)||/\s/.test(he)||ne.test(he)),ye=null,ve=null;if(le%2&&(a.em||!me||"*"!==w&&ge&&!ne.test(pe)?a.em!=w||!ge||"*"!==w&&me&&!ne.test(he)||(ye=!1):ye=!0),le>1&&(a.strong||!me||"*"!==w&&ge&&!ne.test(pe)?a.strong!=w||!ge||"*"!==w&&me&&!ne.test(he)||(ve=!1):ve=!0),null!=ve||null!=ye)return o.highlightFormatting&&(a.formatting=null==ye?"strong":null==ve?"em":"strong em"),!0===ye&&(a.em=w),!0===ve&&(a.strong=w),q=getType(a),!1===ye&&(a.em=!1),!1===ve&&(a.strong=!1),q}else if(" "===w&&(r.eat("*")||r.eat("_"))){if(" "===r.peek())return getType(a);r.backUp(1)}if(o.strikethrough)if("~"===w&&r.eatWhile(w)){if(a.strikethrough)return o.highlightFormatting&&(a.formatting="strikethrough"),q=getType(a),a.strikethrough=!1,q;if(r.match(/^[^\s]/,!1))return a.strikethrough=!0,o.highlightFormatting&&(a.formatting="strikethrough"),getType(a)}else if(" "===w&&r.match(/^~~/,!0)){if(" "===r.peek())return getType(a);r.backUp(2)}if(o.emoji&&":"===w&&r.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){a.emoji=!0,o.highlightFormatting&&(a.formatting="emoji");var ke=getType(a);return a.emoji=!1,ke}return" "===w&&(r.match(/^ +$/,!1)?a.trailingSpace++:a.trailingSpace&&(a.trailingSpaceNewLine=!0)),getType(a)}function linkInline(n,r){if(">"===n.next()){r.f=r.inline=inlineNormal,o.highlightFormatting&&(r.formatting="link");var i=getType(r);return i?i+=" ":i="",i+s.linkInline}return n.match(/^[^>]+/,!0),s.linkInline}function linkHref(n,r){if(n.eatSpace())return null;var i=n.next();return"("===i||"["===i?(r.f=r.inline=function getLinkHrefInside(n){return function(r,i){if(r.next()===n){i.f=i.inline=inlineNormal,o.highlightFormatting&&(i.formatting="link-string");var a=getType(i);return i.linkHref=!1,a}return r.match(oe[n]),i.linkHref=!0,getType(i)}}("("===i?")":"]"),o.highlightFormatting&&(r.formatting="link-string"),r.linkHref=!0,getType(r)):"error"}var oe={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function footnoteLink(n,r){return n.match(/^([^\]\\]|\\.)*\]:/,!1)?(r.f=footnoteLinkInside,n.next(),o.highlightFormatting&&(r.formatting="link"),r.linkText=!0,getType(r)):switchInline(n,r,inlineNormal)}function footnoteLinkInside(n,r){if(n.match(/^\]:/,!0)){r.f=r.inline=footnoteUrl,o.highlightFormatting&&(r.formatting="link");var i=getType(r);return r.linkText=!1,i}return n.match(/^([^\]\\]|\\.)+/,!0),s.linkText}function footnoteUrl(n,r){return n.eatSpace()?null:(n.match(/^[^\s]+/,!0),void 0===n.peek()?r.linkTitle=!0:n.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),r.f=r.inline=inlineNormal,s.linkHref+" url")}var ie={startState:function(){return{f:blockNormal,prevLine:{stream:null},thisLine:{stream:null},block:blockNormal,htmlState:null,indentation:0,inline:inlineNormal,text:handleText,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(r){return{f:r.f,prevLine:r.prevLine,thisLine:r.thisLine,block:r.block,htmlState:r.htmlState&&n.copyState(i,r.htmlState),indentation:r.indentation,localMode:r.localMode,localState:r.localMode?n.copyState(r.localMode,r.localState):null,inline:r.inline,text:r.text,formatting:!1,linkText:r.linkText,linkTitle:r.linkTitle,linkHref:r.linkHref,code:r.code,em:r.em,strong:r.strong,strikethrough:r.strikethrough,emoji:r.emoji,header:r.header,setext:r.setext,hr:r.hr,taskList:r.taskList,list:r.list,listStack:r.listStack.slice(0),quote:r.quote,indentedCode:r.indentedCode,trailingSpace:r.trailingSpace,trailingSpaceNewLine:r.trailingSpaceNewLine,md_inside:r.md_inside,fencedEndRE:r.fencedEndRE}},token:function(n,r){if(r.formatting=!1,n!=r.thisLine.stream){if(r.header=0,r.hr=!1,n.match(/^\s*$/,!0))return blankLine(r),null;if(r.prevLine=r.thisLine,r.thisLine={stream:n},r.taskList=!1,r.trailingSpace=0,r.trailingSpaceNewLine=!1,!r.localState&&(r.f=r.block,r.f!=htmlBlock)){var o=n.match(/^\s*/,!0)[0].replace(/\t/g," ").length;if(r.indentation=o,r.indentationDiff=null,o>0)return null}}return r.f(n,r)},innerMode:function(n){return n.block==htmlBlock?{state:n.htmlState,mode:i}:n.localState?{state:n.localState,mode:n.localMode}:{state:n,mode:ie}},indent:function(r,o,a){return r.block==htmlBlock&&i.indent?i.indent(r.htmlState,o,a):r.localState&&r.localMode.indent?r.localMode.indent(r.localState,o,a):n.Pass},blankLine:blankLine,getType:getType,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return ie}),"xml"),n.defineMIME("text/markdown","markdown"),n.defineMIME("text/x-markdown","markdown")}(o("VrN/"),o("1eCo"),o("8EBN"))},ls82:function(n,r,o){var i=function(n){"use strict";var r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",y=i.toStringTag||"@@toStringTag";function wrap(n,r,o,i){var a=r&&r.prototype instanceof Generator?r:Generator,s=Object.create(a.prototype),y=new Context(i||[]);return s._invoke=function makeInvokeMethod(n,r,o){var i="suspendedStart";return function invoke(a,s){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===a)throw s;return doneResult()}for(o.method=a,o.arg=s;;){var y=o.delegate;if(y){var _=maybeInvokeDelegate(y,o);if(_){if(_===w)continue;return _}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===i)throw i="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);i="executing";var E=tryCatch(n,r,o);if("normal"===E.type){if(i=o.done?"completed":"suspendedYield",E.arg===w)continue;return{value:E.arg,done:o.done}}"throw"===E.type&&(i="completed",o.method="throw",o.arg=E.arg)}}}(n,o,y),s}function tryCatch(n,r,o){try{return{type:"normal",arg:n.call(r,o)}}catch(n){return{type:"throw",arg:n}}}n.wrap=wrap;var w={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var _={};_[a]=function(){return this};var E=Object.getPrototypeOf,P=E&&E(E(values([])));P&&P!==r&&o.call(P,a)&&(_=P);var j=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(_);function defineIteratorMethods(n){["next","throw","return"].forEach((function(r){n[r]=function(n){return this._invoke(r,n)}}))}function AsyncIterator(n,r){var i;this._invoke=function enqueue(a,s){function callInvokeWithMethodAndArg(){return new r((function(i,y){!function invoke(i,a,s,y){var w=tryCatch(n[i],n,a);if("throw"!==w.type){var _=w.arg,E=_.value;return E&&"object"==typeof E&&o.call(E,"__await")?r.resolve(E.__await).then((function(n){invoke("next",n,s,y)}),(function(n){invoke("throw",n,s,y)})):r.resolve(E).then((function(n){_.value=n,s(_)}),(function(n){return invoke("throw",n,s,y)}))}y(w.arg)}(a,s,i,y)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(n,r){var o=n.iterator[r.method];if(void 0===o){if(r.delegate=null,"throw"===r.method){if(n.iterator.return&&(r.method="return",r.arg=void 0,maybeInvokeDelegate(n,r),"throw"===r.method))return w;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var i=tryCatch(o,n.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,w;var a=i.arg;return a?a.done?(r[n.resultName]=a.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,w):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,w)}function pushTryEntry(n){var r={tryLoc:n[0]};1 in n&&(r.catchLoc=n[1]),2 in n&&(r.finallyLoc=n[2],r.afterLoc=n[3]),this.tryEntries.push(r)}function resetTryEntry(n){var r=n.completion||{};r.type="normal",delete r.arg,n.completion=r}function Context(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(pushTryEntry,this),this.reset(!0)}function values(n){if(n){var r=n[a];if(r)return r.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var i=-1,s=function next(){for(;++i=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return handle("end");if(a.tryLoc<=this.prev){var y=o.call(a,"catchLoc"),w=o.call(a,"finallyLoc");if(y&&w){if(this.prev=0;--i){var a=this.tryEntries[i];if(a.tryLoc<=this.prev&&o.call(a,"finallyLoc")&&this.prev=0;--r){var o=this.tryEntries[r];if(o.finallyLoc===n)return this.complete(o.completion,o.afterLoc),resetTryEntry(o),w}},catch:function(n){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc===n){var i=o.completion;if("throw"===i.type){var a=i.arg;resetTryEntry(o)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(n,r,o){return this.delegate={iterator:values(n),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=void 0),w}},n}(n.exports);try{regeneratorRuntime=i}catch(n){Function("r","regeneratorRuntime = r")(i)}},lwsE:function(n,r){n.exports=function _classCallCheck(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")},n.exports.__esModule=!0,n.exports.default=n.exports},m0LI:function(n,r){n.exports=function _iterableToArrayLimit(n,r){var o=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=o){var i,a,s=[],y=!0,w=!1;try{for(o=o.call(n);!(y=(i=o.next()).done)&&(s.push(i.value),!r||s.length!==r);y=!0);}catch(n){w=!0,a=n}finally{try{y||null==o.return||o.return()}finally{if(w)throw a}}return s}},n.exports.__esModule=!0,n.exports.default=n.exports},mCWk:function(n,r,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.useReduxContext=function useReduxContext(){0;return(0,i.useContext)(a.ReactReduxContext)};var i=o("q1tI"),a=o("joe6")},mki7:function(n,r,o){!function(n){"use strict";var r=n.commands,o=n.Pos;function moveSubword(r,i){r.extendSelectionsBy((function(a){return r.display.shift||r.doc.extend||a.empty()?function findPosSubword(r,i,a){if(a<0&&0==i.ch)return r.clipPos(o(i.line-1));var s=r.getLine(i.line);if(a>0&&i.ch>=s.length)return r.clipPos(o(i.line+1,0));for(var y,w="start",_=i.ch,E=_,P=a<0?0:s.length,j=0;E!=P;E+=a,j++){var B=s.charAt(a<0?E-1:E),q="_"!=B&&n.isWordChar(B)?"w":"o";if("w"==q&&B.toUpperCase()==B&&(q="W"),"start"==w)"o"!=q?(w="in",y=q):_=E+a;else if("in"==w&&y!=q){if("w"==y&&"W"==q&&a<0&&E--,"W"==y&&"w"==q&&a>0){if(E==_+1){y="w";continue}E--}break}}return o(i.line,E)}(r.doc,a.head,i):i<0?a.from():a.to()}))}function insertLine(r,i){if(r.isReadOnly())return n.Pass;r.operation((function(){for(var n=r.listSelections().length,a=[],s=-1,y=0;y=0;y--){var _=i[a[y]];if(!(w&&n.cmpPos(_.head,w)>0)){var E=wordAt(r,_.head);w=E.from,r.replaceRange(o(E.word),E.from,E.to)}}}))}function getTarget(r){var o=r.getCursor("from"),i=r.getCursor("to");if(0==n.cmpPos(o,i)){var a=wordAt(r,o);if(!a.word)return;o=a.from,i=a.to}return{from:o,to:i,query:r.getRange(o,i),word:a}}function findAndGoTo(n,r){var i=getTarget(n);if(i){var a=i.query,s=n.getSearchCursor(a,r?i.to:i.from);(r?s.findNext():s.findPrevious())?n.setSelection(s.from(),s.to()):(s=n.getSearchCursor(a,r?o(n.firstLine(),0):n.clipPos(o(n.lastLine()))),(r?s.findNext():s.findPrevious())?n.setSelection(s.from(),s.to()):i.word&&n.setSelection(i.from,i.to))}}r.goSubwordLeft=function(n){moveSubword(n,-1)},r.goSubwordRight=function(n){moveSubword(n,1)},r.scrollLineUp=function(n){var r=n.getScrollInfo();if(!n.somethingSelected()){var o=n.lineAtHeight(r.top+r.clientHeight,"local");n.getCursor().line>=o&&n.execCommand("goLineUp")}n.scrollTo(null,r.top-n.defaultTextHeight())},r.scrollLineDown=function(n){var r=n.getScrollInfo();if(!n.somethingSelected()){var o=n.lineAtHeight(r.top,"local")+1;n.getCursor().line<=o&&n.execCommand("goLineDown")}n.scrollTo(null,r.top+n.defaultTextHeight())},r.splitSelectionByLine=function(n){for(var r=n.listSelections(),i=[],a=0;as.line&&w==y.line&&0==y.ch||i.push({anchor:w==s.line?s:o(w,0),head:w==y.line?y:o(w)});n.setSelections(i,0)},r.singleSelectionTop=function(n){var r=n.listSelections()[0];n.setSelection(r.anchor,r.head,{scroll:!1})},r.selectLine=function(n){for(var r=n.listSelections(),i=[],a=0;as?a.push(E,P):a.length&&(a[a.length-1]=P),s=P}r.operation((function(){for(var n=0;nr.lastLine()?r.replaceRange("\n"+w,o(r.lastLine()),null,"+swapLine"):r.replaceRange(w+"\n",o(s,0),null,"+swapLine")}r.setSelections(y),r.scrollIntoView()}))},r.swapLineDown=function(r){if(r.isReadOnly())return n.Pass;for(var i=r.listSelections(),a=[],s=r.lastLine()+1,y=i.length-1;y>=0;y--){var w=i[y],_=w.to().line+1,E=w.from().line;0!=w.to().ch||w.empty()||_--,_=0;n-=2){var i=a[n],s=a[n+1],y=r.getLine(i);i==r.lastLine()?r.replaceRange("",o(i-1),o(i),"+swapLine"):r.replaceRange("",o(i,0),o(i+1,0),"+swapLine"),r.replaceRange(y+"\n",o(s,0),null,"+swapLine")}r.scrollIntoView()}))},r.toggleCommentIndented=function(n){n.toggleComment({indent:!0})},r.joinLines=function(n){for(var r=n.listSelections(),i=[],a=0;a=0;s--){var y=i[s].head,w=r.getRange({line:y.line,ch:0},y),_=n.countColumn(w,null,r.getOption("tabSize")),E=r.findPosH(y,-1,"char",!1);if(w&&!/\S/.test(w)&&_%a==0){var P=new o(y.line,n.findColumn(w,_-a,a));P.ch!=y.ch&&(E=P)}r.replaceRange("",E,y,"+delete")}}))},r.delLineRight=function(n){n.operation((function(){for(var r=n.listSelections(),i=r.length-1;i>=0;i--)n.replaceRange("",r[i].anchor,o(r[i].to().line),"+delete");n.scrollIntoView()}))},r.upcaseAtCursor=function(n){modifyWordOrSelection(n,(function(n){return n.toUpperCase()}))},r.downcaseAtCursor=function(n){modifyWordOrSelection(n,(function(n){return n.toLowerCase()}))},r.setSublimeMark=function(n){n.state.sublimeMark&&n.state.sublimeMark.clear(),n.state.sublimeMark=n.setBookmark(n.getCursor())},r.selectToSublimeMark=function(n){var r=n.state.sublimeMark&&n.state.sublimeMark.find();r&&n.setSelection(n.getCursor(),r)},r.deleteToSublimeMark=function(r){var o=r.state.sublimeMark&&r.state.sublimeMark.find();if(o){var i=r.getCursor(),a=o;if(n.cmpPos(i,a)>0){var s=a;a=i,i=s}r.state.sublimeKilled=r.getRange(i,a),r.replaceRange("",i,a)}},r.swapWithSublimeMark=function(n){var r=n.state.sublimeMark&&n.state.sublimeMark.find();r&&(n.state.sublimeMark.clear(),n.state.sublimeMark=n.setBookmark(n.getCursor()),n.setCursor(r))},r.sublimeYank=function(n){null!=n.state.sublimeKilled&&n.replaceSelection(n.state.sublimeKilled,null,"paste")},r.showInCenter=function(n){var r=n.cursorCoords(null,"local");n.scrollTo(null,(r.top+r.bottom)/2-n.getScrollInfo().clientHeight/2)},r.findUnder=function(n){findAndGoTo(n,!0)},r.findUnderPrevious=function(n){findAndGoTo(n,!1)},r.findAllUnder=function(n){var r=getTarget(n);if(r){for(var o=n.getSearchCursor(r.query),i=[],a=-1;o.findNext();)i.push({anchor:o.from(),head:o.to()}),o.from().line<=r.from.line&&o.from().ch<=r.from.ch&&a++;n.setSelections(i,a)}};var i=n.keyMap;i.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Cmd-F5":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},n.normalizeKeyMap(i.macSublime),i.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Ctrl-F9":"sortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},n.normalizeKeyMap(i.pcSublime);var a=i.default==i.macDefault;i.sublime=a?i.macSublime:i.pcSublime}(o("VrN/"),o("uTOq"),o("jDMi"))},n2Zu:function(n,r,o){"use strict";n.exports={NODE_DOCUMENT:"document",NODE_TAG:"tag",NODE_TEXT:"text",NODE_DOCTYPE:"doctype",NODE_COMMENT:"comment",NODE_SCRIPT:"script",NODE_STYLE:"style"}},n3AX:function(n,r,o){var i=o("Nsbk");n.exports=function _superPropBase(n,r){for(;!Object.prototype.hasOwnProperty.call(n,r)&&null!==(n=i(n)););return n},n.exports.__esModule=!0,n.exports.default=n.exports},nrkQ:function(n,r,o){!function(n){"use strict";n.overlayMode=function(r,o,i){return{startState:function(){return{base:n.startState(r),overlay:n.startState(o),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(i){return{base:n.copyState(r,i.base),overlay:n.copyState(o,i.overlay),basePos:i.basePos,baseCur:null,overlayPos:i.overlayPos,overlayCur:null}},token:function(n,a){return(n!=a.streamSeen||Math.min(a.basePos,a.overlayPos)0?o-w>1?recursiveSearch(w,o,i,a,s,y):y==r.LEAST_UPPER_BOUND?o1?recursiveSearch(n,w,i,a,s,y):y==r.LEAST_UPPER_BOUND?w:n<0?-1:n}(-1,o.length,n,o,i,a||r.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&0===i(o[s],o[s-1],!0);)--s;return s}},o0o1:function(n,r,o){n.exports=o("ls82")},o0tJ:function(n,r,o){},oL3q:function(n,r,o){!function(n){"use strict";n.defineMode("coffeescript",(function(n,r){function wordRegexp(n){return new RegExp("^(("+n.join(")|(")+"))\\b")}var o=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,i=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,a=/^[_A-Za-z$][_A-Za-z$0-9]*/,s=/^@[_A-Za-z$][_A-Za-z$0-9]*/,y=wordRegexp(["and","or","not","is","isnt","in","instanceof","typeof"]),w=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],_=wordRegexp(w.concat(["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"]));w=wordRegexp(w);var E=/^('{3}|\"{3}|['\"])/,P=/^(\/{3}|\/)/,j=wordRegexp(["Infinity","NaN","undefined","null","true","false","on","off","yes","no"]);function tokenBase(n,r){if(n.sol()){null===r.scope.align&&(r.scope.align=!1);var w=r.scope.offset;if(n.eatSpace()){var B=n.indentation();return B>w&&"coffee"==r.scope.type?"indent":B0&&dedent(n,r)}if(n.eatSpace())return null;var q=n.peek();if(n.match("####"))return n.skipToEnd(),"comment";if(n.match("###"))return r.tokenize=longComment,r.tokenize(n,r);if("#"===q)return n.skipToEnd(),"comment";if(n.match(/^-?[0-9\.]/,!1)){var $=!1;if(n.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&($=!0),n.match(/^-?\d+\.\d*/)&&($=!0),n.match(/^-?\.\d+/)&&($=!0),$)return"."==n.peek()&&n.backUp(1),"number";var ne=!1;if(n.match(/^-?0x[0-9a-f]+/i)&&(ne=!0),n.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(ne=!0),n.match(/^-?0(?![\dx])/i)&&(ne=!0),ne)return"number"}if(n.match(E))return r.tokenize=tokenFactory(n.current(),!1,"string"),r.tokenize(n,r);if(n.match(P)){if("/"!=n.current()||n.match(/^.*\//,!1))return r.tokenize=tokenFactory(n.current(),!0,"string-2"),r.tokenize(n,r);n.backUp(1)}return n.match(o)||n.match(y)?"operator":n.match(i)?"punctuation":n.match(j)?"atom":n.match(s)||r.prop&&n.match(a)?"property":n.match(_)?"keyword":n.match(a)?"variable":(n.next(),"error")}function tokenFactory(n,o,i){return function(a,s){for(;!a.eol();)if(a.eatWhile(/[^'"\/\\]/),a.eat("\\")){if(a.next(),o&&a.eol())return i}else{if(a.match(n))return s.tokenize=tokenBase,i;a.eat(/['"\/]/)}return o&&(r.singleLineStringErrors?i="error":s.tokenize=tokenBase),i}}function longComment(n,r){for(;!n.eol();){if(n.eatWhile(/[^#]/),n.match("###")){r.tokenize=tokenBase;break}n.eatWhile("#")}return"comment"}function indent(r,o,i){i=i||"coffee";for(var a=0,s=!1,y=null,w=o.scope;w;w=w.prev)if("coffee"===w.type||"}"==w.type){a=w.offset+n.indentUnit;break}"coffee"!==i?(s=null,y=r.column()+r.current().length):o.scope.align&&(o.scope.align=!1),o.scope={offset:a,type:i,prev:o.scope,align:s,alignOffset:y}}function dedent(n,r){if(r.scope.prev){if("coffee"===r.scope.type){for(var o=n.indentation(),i=!1,a=r.scope;a;a=a.prev)if(o===a.offset){i=!0;break}if(!i)return!0;for(;r.scope.prev&&r.scope.offset!==o;)r.scope=r.scope.prev;return!1}return r.scope=r.scope.prev,!1}}return{startState:function(n){return{tokenize:tokenBase,scope:{offset:n||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(n,r){var o=null===r.scope.align&&r.scope;o&&n.sol()&&(o.align=!1);var i=function tokenLexer(n,r){var o=r.tokenize(n,r),i=n.current();"return"===i&&(r.dedent=!0),(("->"===i||"=>"===i)&&n.eol()||"indent"===o)&&indent(n,r);var a="[({".indexOf(i);if(-1!==a&&indent(n,r,"])}".slice(a,a+1)),w.exec(i)&&indent(n,r),"then"==i&&dedent(n,r),"dedent"===o&&dedent(n,r))return"error";if(-1!==(a="])}".indexOf(i))){for(;"coffee"==r.scope.type&&r.scope.prev;)r.scope=r.scope.prev;r.scope.type==i&&(r.scope=r.scope.prev)}return r.dedent&&n.eol()&&("coffee"==r.scope.type&&r.scope.prev&&(r.scope=r.scope.prev),r.dedent=!1),o}(n,r);return i&&"comment"!=i&&(o&&(o.align=!0),r.prop="punctuation"==i&&"."==n.current()),i},indent:function(n,r){if(n.tokenize!=tokenBase)return 0;var o=n.scope,i=r&&"])}".indexOf(r.charAt(0))>-1;if(i)for(;"coffee"==o.type&&o.prev;)o=o.prev;var a=i&&o.type===r.charAt(0);return o.align?o.alignOffset-(a?1:0):(a?o.prev:o).offset},lineComment:"#",fold:"indent"}})),n.defineMIME("application/vnd.coffeescript","coffeescript"),n.defineMIME("text/x-coffeescript","coffeescript"),n.defineMIME("text/coffeescript","coffeescript")}(o("VrN/"))},pVnL:function(n,r){function _extends(){return n.exports=_extends=Object.assign||function(n){for(var r=1;r=0){var w=this._originalMappings[y];if(void 0===n.column)for(var _=w.originalLine;w&&w.originalLine===_;)s.push({line:i.getArg(w,"generatedLine",null),column:i.getArg(w,"generatedColumn",null),lastColumn:i.getArg(w,"lastGeneratedColumn",null)}),w=this._originalMappings[++y];else for(var E=w.originalColumn;w&&w.originalLine===r&&w.originalColumn==E;)s.push({line:i.getArg(w,"generatedLine",null),column:i.getArg(w,"generatedColumn",null),lastColumn:i.getArg(w,"lastGeneratedColumn",null)}),w=this._originalMappings[++y]}return s},r.SourceMapConsumer=SourceMapConsumer,BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype),BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer,BasicSourceMapConsumer.prototype._findSourceIndex=function(n){var r,o=n;if(null!=this.sourceRoot&&(o=i.relative(this.sourceRoot,o)),this._sources.has(o))return this._sources.indexOf(o);for(r=0;r1&&(o.source=$+s[1],$+=s[1],o.originalLine=B+s[2],B=o.originalLine,o.originalLine+=1,o.originalColumn=q+s[3],q=o.originalColumn,s.length>4&&(o.name=ne+s[4],ne+=s[4])),he.push(o),"number"==typeof o.originalLine&&pe.push(o)}w(he,i.compareByGeneratedPositionsDeflated),this.__generatedMappings=he,w(pe,i.compareByOriginalPositions),this.__originalMappings=pe},BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(n,r,o,i,s,y){if(n[o]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+n[o]);if(n[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+n[i]);return a.search(n,r,s,y)},BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var n=0;n=0){var a=this._generatedMappings[o];if(a.generatedLine===r.generatedLine){var s=i.getArg(a,"source",null);null!==s&&(s=this._sources.at(s),s=i.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var y=i.getArg(a,"name",null);return null!==y&&(y=this._names.at(y)),{source:s,line:i.getArg(a,"originalLine",null),column:i.getArg(a,"originalColumn",null),name:y}}}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(n){return null==n})))},BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(n,r){if(!this.sourcesContent)return null;var o=this._findSourceIndex(n);if(o>=0)return this.sourcesContent[o];var a,s=n;if(null!=this.sourceRoot&&(s=i.relative(this.sourceRoot,s)),null!=this.sourceRoot&&(a=i.urlParse(this.sourceRoot))){var y=s.replace(/^file:\/\//,"");if("file"==a.scheme&&this._sources.has(y))return this.sourcesContent[this._sources.indexOf(y)];if((!a.path||"/"==a.path)&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(r)return null;throw new Error('"'+s+'" is not in the SourceMap.')},BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(n){var r=i.getArg(n,"source");if((r=this._findSourceIndex(r))<0)return{line:null,column:null,lastColumn:null};var o={source:r,originalLine:i.getArg(n,"line"),originalColumn:i.getArg(n,"column")},a=this._findMapping(o,this._originalMappings,"originalLine","originalColumn",i.compareByOriginalPositions,i.getArg(n,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(a>=0){var s=this._originalMappings[a];if(s.source===o.source)return{line:i.getArg(s,"generatedLine",null),column:i.getArg(s,"generatedColumn",null),lastColumn:i.getArg(s,"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 n=[],r=0;rr.lastLine())return null;var i=r.getTokenAt(n.Pos(o,1));if(/\S/.test(i.string)||(i=r.getTokenAt(n.Pos(o,i.end+1))),"keyword"!=i.type||"import"!=i.string)return null;for(var a=o,s=Math.min(r.lastLine(),o+10);a<=s;++a){var y=r.getLine(a).indexOf(";");if(-1!=y)return{startCh:i.end,end:n.Pos(a,y)}}}var i,a=o.line,s=hasImport(a);if(!s||hasImport(a-1)||(i=hasImport(a-2))&&i.end.line==a-1)return null;for(var y=s.end;;){var w=hasImport(y.line+1);if(null==w)break;y=w.end}return{from:r.clipPos(n.Pos(a,s.startCh+1)),to:y}})),n.registerHelper("fold","include",(function(r,o){function hasInclude(o){if(or.lastLine())return null;var i=r.getTokenAt(n.Pos(o,1));return/\S/.test(i.string)||(i=r.getTokenAt(n.Pos(o,i.end+1))),"meta"==i.type&&"#include"==i.string.slice(0,8)?i.start+8:void 0}var i=o.line,a=hasInclude(i);if(null==a||null!=hasInclude(i-1))return null;for(var s=i;null!=hasInclude(s+1);)++s;return{from:n.Pos(i,a+1),to:r.clipPos(n.Pos(s))}}))}(o("VrN/"))},sY4N:function(n,r,o){!function(n){"use strict";n.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/b?r#+"/,token:"string",next:"string_raw_hash"},{regex:/'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/,token:"string-2"},{regex:/b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/,token:"string-2"},{regex:/(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/,token:"number"},{regex:/(let(?:\s+mut)?|fn|enum|mod|struct|type)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/(?:abstract|alignof|as|box|break|continue|const|crate|do|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\b/,token:"keyword"},{regex:/\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/,token:"atom"},{regex:/\b(?:true|false|Some|None|Ok|Err)\b/,token:"builtin"},{regex:/\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/#!?\[.*\]/,token:"meta"},{regex:/\/\/.*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/[a-zA-Z_]\w*!/,token:"variable-3"},{regex:/[a-zA-Z_]\w*/,token:"variable"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0}],string:[{regex:/"/,token:"string",next:"start"},{regex:/(?:[^\\"]|\\(?:.|$))*/,token:"string"}],string_raw:[{regex:/"/,token:"string",next:"start"},{regex:/[^"]*/,token:"string"}],string_raw_hash:[{regex:/"#+/,token:"string",next:"start"},{regex:/(?:[^"]|"(?!#))*/,token:"string"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"],electricInput:/^\s*\}$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),n.defineMIME("text/x-rustsrc","rust"),n.defineMIME("text/rust","rust")}(o("VrN/"),o("dq4f"))},uTOq:function(n,r,o){!function(n){"use strict";var r,o,i=n.Pos;function ensureFlags(n,r){for(var o=function regexpFlags(n){var r=n.flags;return null!=r?r:(n.ignoreCase?"i":"")+(n.global?"g":"")+(n.multiline?"m":"")}(n),i=o,a=0;aw);_++){var E=n.getLine(y++);a=null==a?E:a+"\n"+E}s*=2,r.lastIndex=o.ch;var P=r.exec(a);if(P){var j=a.slice(0,P.index).split("\n"),B=P[0].split("\n"),q=o.line+j.length-1,$=j[j.length-1].length;return{from:i(q,$),to:i(q+B.length-1,1==B.length?$+B[0].length:B[B.length-1].length),match:P}}}}function lastMatchIn(n,r,o){for(var i,a=0;a<=n.length;){r.lastIndex=a;var s=r.exec(n);if(!s)break;var y=s.index+s[0].length;if(y>n.length-o)break;(!i||y>i.index+i[0].length)&&(i=s),a=s.index+1}return i}function searchRegexpBackward(n,r,o){r=ensureFlags(r,"g");for(var a=o.line,s=o.ch,y=n.firstLine();a>=y;a--,s=-1){var w=n.getLine(a),_=lastMatchIn(w,r,s<0?0:w.length-s);if(_)return{from:i(a,_.index),to:i(a,_.index+_[0].length),match:_}}}function searchRegexpBackwardMultiline(n,r,o){if(!maybeMultiline(r))return searchRegexpBackward(n,r,o);r=ensureFlags(r,"gm");for(var a,s=1,y=n.getLine(o.line).length-o.ch,w=o.line,_=n.firstLine();w>=_;){for(var E=0;E=_;E++){var P=n.getLine(w--);a=null==a?P:P+"\n"+a}s*=2;var j=lastMatchIn(a,r,y);if(j){var B=a.slice(0,j.index).split("\n"),q=j[0].split("\n"),$=w+B.length,ne=B[B.length-1].length;return{from:i($,ne),to:i($+q.length-1,1==q.length?ne+q[0].length:q[q.length-1].length),match:j}}}}function adjustPos(n,r,o,i){if(n.length==r.length)return o;for(var a=0,s=o+Math.max(0,n.length-r.length);;){if(a==s)return a;var y=a+s>>1,w=i(n.slice(0,y)).length;if(w==o)return y;w>o?s=y:a=y+1}}function searchStringForward(n,a,s,y){if(!a.length)return null;var w=y?r:o,_=w(a).split(/\r|\n\r?/);e:for(var E=s.line,P=s.ch,j=n.lastLine()+1-_.length;E<=j;E++,P=0){var B=n.getLine(E).slice(P),q=w(B);if(1==_.length){var $=q.indexOf(_[0]);if(-1==$)continue e;return s=adjustPos(B,q,$,w)+P,{from:i(E,adjustPos(B,q,$,w)+P),to:i(E,adjustPos(B,q,$+_[0].length,w)+P)}}var ne=q.length-_[0].length;if(q.slice(ne)==_[0]){for(var oe=1;oe<_.length-1;oe++)if(w(n.getLine(E+oe))!=_[oe])continue e;var ie=n.getLine(E+_.length-1),se=w(ie),le=_[_.length-1];if(se.slice(0,le.length)==le)return{from:i(E,adjustPos(B,q,ne,w)+P),to:i(E+_.length-1,adjustPos(ie,se,le.length,w))}}}}function searchStringBackward(n,a,s,y){if(!a.length)return null;var w=y?r:o,_=w(a).split(/\r|\n\r?/);e:for(var E=s.line,P=s.ch,j=n.firstLine()-1+_.length;E>=j;E--,P=-1){var B=n.getLine(E);P>-1&&(B=B.slice(0,P));var q=w(B);if(1==_.length){var $=q.lastIndexOf(_[0]);if(-1==$)continue e;return{from:i(E,adjustPos(B,q,$,w)),to:i(E,adjustPos(B,q,$+_[0].length,w))}}var ne=_[_.length-1];if(q.slice(0,ne.length)==ne){var oe=1;for(s=E-_.length+1;oe<_.length-1;oe++)if(w(n.getLine(s+oe))!=_[oe])continue e;var ie=n.getLine(E+1-_.length),se=w(ie);if(se.slice(se.length-_[0].length)==_[0])return{from:i(E+1-_.length,adjustPos(ie,se,ie.length-_[0].length,w)),to:i(E,adjustPos(B,q,ne.length,w))}}}}function SearchCursor(n,r,o,a){var s;this.atOccurrence=!1,this.doc=n,o=o?n.clipPos(o):i(0,0),this.pos={from:o,to:o},"object"==typeof a?s=a.caseFold:(s=a,a=null),"string"==typeof r?(null==s&&(s=!1),this.matches=function(o,i){return(o?searchStringBackward:searchStringForward)(n,r,i,s)}):(r=ensureFlags(r,"gm"),a&&!1===a.multiline?this.matches=function(o,i){return(o?searchRegexpBackward:searchRegexpForward)(n,r,i)}:this.matches=function(o,i){return(o?searchRegexpBackwardMultiline:searchRegexpForwardMultiline)(n,r,i)})}String.prototype.normalize?(r=function(n){return n.normalize("NFD").toLowerCase()},o=function(n){return n.normalize("NFD")}):(r=function(n){return n.toLowerCase()},o=function(n){return n}),SearchCursor.prototype={findNext:function(){return this.find(!1)},findPrevious:function(){return this.find(!0)},find:function(r){for(var o=this.matches(r,this.doc.clipPos(r?this.pos.from:this.pos.to));o&&0==n.cmpPos(o.from,o.to);)r?o.from.ch?o.from=i(o.from.line,o.from.ch-1):o=o.from.line==this.doc.firstLine()?null:this.matches(r,this.doc.clipPos(i(o.from.line-1))):o.to.ch0);)i.push({anchor:a.from(),head:a.to()});i.length&&this.setSelections(i,0)}))}(o("VrN/"))},v0yM:function(n,r,o){"use strict";var i=o("TqRt");Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,r.defaultMergeProps=defaultMergeProps,r.whenMergePropsIsFunction=whenMergePropsIsFunction,r.whenMergePropsIsOmitted=whenMergePropsIsOmitted,r.wrapMergePropsFunc=wrapMergePropsFunc;var a=i(o("wx14"));i(o("TLKv"));function defaultMergeProps(n,r,o){return(0,a.default)({},o,{},n,{},r)}function wrapMergePropsFunc(n){return function initMergePropsProxy(r,o){o.displayName;var i,a=o.pure,s=o.areMergedPropsEqual,y=!1;return function mergePropsProxy(r,o,w){var _=n(r,o,w);return y?a&&s(_,i)||(i=_):(y=!0,i=_),i}}}function whenMergePropsIsFunction(n){return"function"==typeof n?wrapMergePropsFunc(n):void 0}function whenMergePropsIsOmitted(n){return n?void 0:function(){return defaultMergeProps}}var s=[whenMergePropsIsFunction,whenMergePropsIsOmitted];r.default=s},viRO:function(n,r,o){"use strict";var i=o("MgzW"),a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103,y=a?Symbol.for("react.portal"):60106,w=a?Symbol.for("react.fragment"):60107,_=a?Symbol.for("react.strict_mode"):60108,E=a?Symbol.for("react.profiler"):60114,P=a?Symbol.for("react.provider"):60109,j=a?Symbol.for("react.context"):60110,B=a?Symbol.for("react.forward_ref"):60112,q=a?Symbol.for("react.suspense"):60113,$=a?Symbol.for("react.memo"):60115,ne=a?Symbol.for("react.lazy"):60116,oe="function"==typeof Symbol&&Symbol.iterator;function C(n){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+n,o=1;oye.length&&ye.push(n)}function V(n,r,o){return null==n?0:function T(n,r,o,i){var a=typeof n;"undefined"!==a&&"boolean"!==a||(n=null);var w=!1;if(null===n)w=!0;else switch(a){case"string":case"number":w=!0;break;case"object":switch(n.$$typeof){case s:case y:w=!0}}if(w)return o(i,n,""===r?"."+U(n,0):r),1;if(w=0,r=""===r?".":r+":",Array.isArray(n))for(var _=0;_=y){if(E&&P&&E.test(P.className))return;i=marker(a.indicatorOpen)}}(i||P)&&n.setGutterMarker(o,a.gutter,i)}))}function classTest(n){return new RegExp("(^|\\s)"+n+"(?:$|\\s)\\s*")}function updateInViewport(n){var r=n.getViewport(),o=n.state.foldGutter;o&&(n.operation((function(){updateFoldInfo(n,r.from,r.to)})),o.from=r.from,o.to=r.to)}function onGutterClick(n,o,i){var a=n.state.foldGutter;if(a){var s=a.options;if(i==s.gutter){var y=isFolded(n,o);y?y.clear():n.foldCode(r(o,0),s)}}}function onChange(n){var r=n.state.foldGutter;if(r){var o=r.options;r.from=r.to=0,clearTimeout(r.changeUpdate),r.changeUpdate=setTimeout((function(){updateInViewport(n)}),o.foldOnChangeTimeSpan||600)}}function onViewportChange(n){var r=n.state.foldGutter;if(r){var o=r.options;clearTimeout(r.changeUpdate),r.changeUpdate=setTimeout((function(){var o=n.getViewport();r.from==r.to||o.from-r.to>20||r.from-o.to>20?updateInViewport(n):n.operation((function(){o.fromr.to&&(updateFoldInfo(n,r.to,o.to),r.to=o.to)}))}),o.updateViewportTimeSpan||400)}}function onFold(n,r){var o=n.state.foldGutter;if(o){var i=r.line;i>=o.from&&i