UNPKG

2.72 MBJavaScriptView Raw
1!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("dsmStorybook",[],t):"object"==typeof exports?exports.dsmStorybook=t():e.dsmStorybook=t()}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=676)}([function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"e",(function(){return s})),r.d(t,"c",(function(){return o})),r.d(t,"d",(function(){return u}));
2/*! *****************************************************************************
3Copyright (c) Microsoft Corporation. All rights reserved.
4Licensed under the Apache License, Version 2.0 (the "License"); you may not use
5this file except in compliance with the License. You may obtain a copy of the
6License at http://www.apache.org/licenses/LICENSE-2.0
7
8THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
9KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
10WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
11MERCHANTABLITY OR NON-INFRINGEMENT.
12
13See the Apache Version 2.0 License for specific language governing permissions
14and limitations under the License.
15***************************************************************************** */
16var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function o(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return s}function u(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(o(arguments[t]));return e}},function(e,t){var r="".concat("invision-dsm","/on_story_selected"),n="".concat("invision-dsm","/on_html_sample_code_changed"),i="".concat("invision-dsm","/on_init_dsm_registered"),a="".concat("invision-dsm","/on_init_dsm");e.exports={DSM_ADDON_NAME:"invision-dsm",DSM_INFO_OBJECT_KEY:"in-dsm",STORY_SELECTED_EVENT:r,HTML_SAMPLE_CODE_CHANGED_EVENT:n,INIT_DSM_REGISTERED_EVENT:i,INIT_DSM_EVENT:a,INJECTED_SOURCE_PLACEHOLDER:"__DSM_INJECTED_SOURCE__",KNOBS_SET_EVENT:"addon:knobs:setKnobs",KNOBS_SET_EVENT_V5_1:"storybookjs/knobs/set",STORY_CHANGED_EVENT:"storyChanged",STORYBOOK_ENV_VARIABLE:"STORYBOOK_DSM",WINDOW_MODES:{normal:"normal",fullscreen:"fullscreen"},WINDOW_MODE_PARAM:"mode",FRAMEWORKS:{html:"html",react:"react",angular:"angular",vue:"vue"}}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0};Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return le.default}}),t.react=void 0;var i=pe(r(300)),a=pe(r(301)),s=pe(r(302)),o=pe(r(359)),u=r(360);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var l=pe(r(361)),c=pe(r(362)),p=r(19);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var f=pe(r(54)),d=pe(r(179)),h=pe(r(363)),y=pe(r(364)),m=pe(r(365)),v=pe(r(180)),g=pe(r(181)),T=pe(r(185)),E=pe(r(186)),S=pe(r(187)),b=pe(r(375)),x=r(376);Object.keys(x).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}}))}));var D=r(35);Object.keys(D).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return D[e]}}))}));var A=pe(r(377)),C=pe(r(378)),P=pe(r(188)),w=pe(r(379)),_=pe(r(380)),O=pe(r(189)),F=pe(r(381)),N=pe(r(382)),I=pe(r(384)),k=pe(r(385)),L=r(26);Object.keys(L).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return L[e]}}))}));var M=pe(r(387)),B=pe(r(388)),j=pe(r(389)),R=pe(r(192)),V=pe(r(190)),q=pe(r(178)),U=pe(r(73)),K=pe(r(390)),X=pe(r(391)),J=pe(r(191)),Y=pe(r(95)),W=pe(r(104)),$=pe(r(392)),H=pe(r(393)),z=pe(r(394)),G=pe(r(193)),Q=pe(r(177)),Z=pe(r(395)),ee=pe(r(396)),te=pe(r(397)),re=pe(r(398)),ne=pe(r(105)),ie=pe(r(399)),ae=pe(r(52)),se=pe(r(400)),oe=pe(r(164)),ue=pe(r(176)),le=pe(r(163)),ce=r(6);function pe(e){return e&&e.__esModule?e:{default:e}}Object.keys(ce).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ce[e]}}))}));const fe={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=fe},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayExpression=function(e,t){if(!e)return!1;if("ArrayExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAssignmentExpression=function(e,t){if(!e)return!1;if("AssignmentExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBinaryExpression=function(e,t){if(!e)return!1;if("BinaryExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterpreterDirective=function(e,t){if(!e)return!1;if("InterpreterDirective"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDirective=function(e,t){if(!e)return!1;if("Directive"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDirectiveLiteral=function(e,t){if(!e)return!1;if("DirectiveLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBlockStatement=function(e,t){if(!e)return!1;if("BlockStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBreakStatement=function(e,t){if(!e)return!1;if("BreakStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isCallExpression=function(e,t){if(!e)return!1;if("CallExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isCatchClause=function(e,t){if(!e)return!1;if("CatchClause"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isConditionalExpression=function(e,t){if(!e)return!1;if("ConditionalExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isContinueStatement=function(e,t){if(!e)return!1;if("ContinueStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDebuggerStatement=function(e,t){if(!e)return!1;if("DebuggerStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDoWhileStatement=function(e,t){if(!e)return!1;if("DoWhileStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isEmptyStatement=function(e,t){if(!e)return!1;if("EmptyStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExpressionStatement=function(e,t){if(!e)return!1;if("ExpressionStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFile=function(e,t){if(!e)return!1;if("File"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForInStatement=function(e,t){if(!e)return!1;if("ForInStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForStatement=function(e,t){if(!e)return!1;if("ForStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionDeclaration=function(e,t){if(!e)return!1;if("FunctionDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionExpression=function(e,t){if(!e)return!1;if("FunctionExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIdentifier=function(e,t){if(!e)return!1;if("Identifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIfStatement=function(e,t){if(!e)return!1;if("IfStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isLabeledStatement=function(e,t){if(!e)return!1;if("LabeledStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringLiteral=function(e,t){if(!e)return!1;if("StringLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumericLiteral=function(e,t){if(!e)return!1;if("NumericLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullLiteral=function(e,t){if(!e)return!1;if("NullLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanLiteral=function(e,t){if(!e)return!1;if("BooleanLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRegExpLiteral=function(e,t){if(!e)return!1;if("RegExpLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isLogicalExpression=function(e,t){if(!e)return!1;if("LogicalExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMemberExpression=function(e,t){if(!e)return!1;if("MemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNewExpression=function(e,t){if(!e)return!1;if("NewExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isProgram=function(e,t){if(!e)return!1;if("Program"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectExpression=function(e,t){if(!e)return!1;if("ObjectExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectMethod=function(e,t){if(!e)return!1;if("ObjectMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectProperty=function(e,t){if(!e)return!1;if("ObjectProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRestElement=function(e,t){if(!e)return!1;if("RestElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isReturnStatement=function(e,t){if(!e)return!1;if("ReturnStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSequenceExpression=function(e,t){if(!e)return!1;if("SequenceExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSwitchCase=function(e,t){if(!e)return!1;if("SwitchCase"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSwitchStatement=function(e,t){if(!e)return!1;if("SwitchStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThisExpression=function(e,t){if(!e)return!1;if("ThisExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThrowStatement=function(e,t){if(!e)return!1;if("ThrowStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTryStatement=function(e,t){if(!e)return!1;if("TryStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUnaryExpression=function(e,t){if(!e)return!1;if("UnaryExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUpdateExpression=function(e,t){if(!e)return!1;if("UpdateExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariableDeclaration=function(e,t){if(!e)return!1;if("VariableDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariableDeclarator=function(e,t){if(!e)return!1;if("VariableDeclarator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isWhileStatement=function(e,t){if(!e)return!1;if("WhileStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isWithStatement=function(e,t){if(!e)return!1;if("WithStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAssignmentPattern=function(e,t){if(!e)return!1;if("AssignmentPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrayPattern=function(e,t){if(!e)return!1;if("ArrayPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrowFunctionExpression=function(e,t){if(!e)return!1;if("ArrowFunctionExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassBody=function(e,t){if(!e)return!1;if("ClassBody"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassDeclaration=function(e,t){if(!e)return!1;if("ClassDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassExpression=function(e,t){if(!e)return!1;if("ClassExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportAllDeclaration=function(e,t){if(!e)return!1;if("ExportAllDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDefaultDeclaration=function(e,t){if(!e)return!1;if("ExportDefaultDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportNamedDeclaration=function(e,t){if(!e)return!1;if("ExportNamedDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportSpecifier=function(e,t){if(!e)return!1;if("ExportSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForOfStatement=function(e,t){if(!e)return!1;if("ForOfStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportDeclaration=function(e,t){if(!e)return!1;if("ImportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportDefaultSpecifier=function(e,t){if(!e)return!1;if("ImportDefaultSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportNamespaceSpecifier=function(e,t){if(!e)return!1;if("ImportNamespaceSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportSpecifier=function(e,t){if(!e)return!1;if("ImportSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMetaProperty=function(e,t){if(!e)return!1;if("MetaProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassMethod=function(e,t){if(!e)return!1;if("ClassMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectPattern=function(e,t){if(!e)return!1;if("ObjectPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSpreadElement=function(e,t){if(!e)return!1;if("SpreadElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSuper=function(e,t){if(!e)return!1;if("Super"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTaggedTemplateExpression=function(e,t){if(!e)return!1;if("TaggedTemplateExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTemplateElement=function(e,t){if(!e)return!1;if("TemplateElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTemplateLiteral=function(e,t){if(!e)return!1;if("TemplateLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isYieldExpression=function(e,t){if(!e)return!1;if("YieldExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAnyTypeAnnotation=function(e,t){if(!e)return!1;if("AnyTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrayTypeAnnotation=function(e,t){if(!e)return!1;if("ArrayTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanTypeAnnotation=function(e,t){if(!e)return!1;if("BooleanTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("BooleanLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("NullLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassImplements=function(e,t){if(!e)return!1;if("ClassImplements"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareClass=function(e,t){if(!e)return!1;if("DeclareClass"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareFunction=function(e,t){if(!e)return!1;if("DeclareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareInterface=function(e,t){if(!e)return!1;if("DeclareInterface"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareModule=function(e,t){if(!e)return!1;if("DeclareModule"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareModuleExports=function(e,t){if(!e)return!1;if("DeclareModuleExports"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareTypeAlias=function(e,t){if(!e)return!1;if("DeclareTypeAlias"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareOpaqueType=function(e,t){if(!e)return!1;if("DeclareOpaqueType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareVariable=function(e,t){if(!e)return!1;if("DeclareVariable"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareExportDeclaration=function(e,t){if(!e)return!1;if("DeclareExportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareExportAllDeclaration=function(e,t){if(!e)return!1;if("DeclareExportAllDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclaredPredicate=function(e,t){if(!e)return!1;if("DeclaredPredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExistsTypeAnnotation=function(e,t){if(!e)return!1;if("ExistsTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionTypeAnnotation=function(e,t){if(!e)return!1;if("FunctionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionTypeParam=function(e,t){if(!e)return!1;if("FunctionTypeParam"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isGenericTypeAnnotation=function(e,t){if(!e)return!1;if("GenericTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInferredPredicate=function(e,t){if(!e)return!1;if("InferredPredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceExtends=function(e,t){if(!e)return!1;if("InterfaceExtends"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceDeclaration=function(e,t){if(!e)return!1;if("InterfaceDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceTypeAnnotation=function(e,t){if(!e)return!1;if("InterfaceTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIntersectionTypeAnnotation=function(e,t){if(!e)return!1;if("IntersectionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMixedTypeAnnotation=function(e,t){if(!e)return!1;if("MixedTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isEmptyTypeAnnotation=function(e,t){if(!e)return!1;if("EmptyTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullableTypeAnnotation=function(e,t){if(!e)return!1;if("NullableTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("NumberLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberTypeAnnotation=function(e,t){if(!e)return!1;if("NumberTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeAnnotation=function(e,t){if(!e)return!1;if("ObjectTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeInternalSlot=function(e,t){if(!e)return!1;if("ObjectTypeInternalSlot"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeCallProperty=function(e,t){if(!e)return!1;if("ObjectTypeCallProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeIndexer=function(e,t){if(!e)return!1;if("ObjectTypeIndexer"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeProperty=function(e,t){if(!e)return!1;if("ObjectTypeProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeSpreadProperty=function(e,t){if(!e)return!1;if("ObjectTypeSpreadProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOpaqueType=function(e,t){if(!e)return!1;if("OpaqueType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isQualifiedTypeIdentifier=function(e,t){if(!e)return!1;if("QualifiedTypeIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("StringLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringTypeAnnotation=function(e,t){if(!e)return!1;if("StringTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThisTypeAnnotation=function(e,t){if(!e)return!1;if("ThisTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTupleTypeAnnotation=function(e,t){if(!e)return!1;if("TupleTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeofTypeAnnotation=function(e,t){if(!e)return!1;if("TypeofTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeAlias=function(e,t){if(!e)return!1;if("TypeAlias"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeAnnotation=function(e,t){if(!e)return!1;if("TypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeCastExpression=function(e,t){if(!e)return!1;if("TypeCastExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameter=function(e,t){if(!e)return!1;if("TypeParameter"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameterDeclaration=function(e,t){if(!e)return!1;if("TypeParameterDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameterInstantiation=function(e,t){if(!e)return!1;if("TypeParameterInstantiation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUnionTypeAnnotation=function(e,t){if(!e)return!1;if("UnionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariance=function(e,t){if(!e)return!1;if("Variance"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVoidTypeAnnotation=function(e,t){if(!e)return!1;if("VoidTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXAttribute=function(e,t){if(!e)return!1;if("JSXAttribute"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXClosingElement=function(e,t){if(!e)return!1;if("JSXClosingElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXElement=function(e,t){if(!e)return!1;if("JSXElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXEmptyExpression=function(e,t){if(!e)return!1;if("JSXEmptyExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXExpressionContainer=function(e,t){if(!e)return!1;if("JSXExpressionContainer"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXSpreadChild=function(e,t){if(!e)return!1;if("JSXSpreadChild"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXIdentifier=function(e,t){if(!e)return!1;if("JSXIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXMemberExpression=function(e,t){if(!e)return!1;if("JSXMemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXNamespacedName=function(e,t){if(!e)return!1;if("JSXNamespacedName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXOpeningElement=function(e,t){if(!e)return!1;if("JSXOpeningElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXSpreadAttribute=function(e,t){if(!e)return!1;if("JSXSpreadAttribute"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXText=function(e,t){if(!e)return!1;if("JSXText"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXFragment=function(e,t){if(!e)return!1;if("JSXFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXOpeningFragment=function(e,t){if(!e)return!1;if("JSXOpeningFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXClosingFragment=function(e,t){if(!e)return!1;if("JSXClosingFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNoop=function(e,t){if(!e)return!1;if("Noop"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isParenthesizedExpression=function(e,t){if(!e)return!1;if("ParenthesizedExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAwaitExpression=function(e,t){if(!e)return!1;if("AwaitExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBindExpression=function(e,t){if(!e)return!1;if("BindExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassProperty=function(e,t){if(!e)return!1;if("ClassProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOptionalMemberExpression=function(e,t){if(!e)return!1;if("OptionalMemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelineTopicExpression=function(e,t){if(!e)return!1;if("PipelineTopicExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelineBareFunction=function(e,t){if(!e)return!1;if("PipelineBareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelinePrimaryTopicReference=function(e,t){if(!e)return!1;if("PipelinePrimaryTopicReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOptionalCallExpression=function(e,t){if(!e)return!1;if("OptionalCallExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassPrivateProperty=function(e,t){if(!e)return!1;if("ClassPrivateProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassPrivateMethod=function(e,t){if(!e)return!1;if("ClassPrivateMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImport=function(e,t){if(!e)return!1;if("Import"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDecorator=function(e,t){if(!e)return!1;if("Decorator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDoExpression=function(e,t){if(!e)return!1;if("DoExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDefaultSpecifier=function(e,t){if(!e)return!1;if("ExportDefaultSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportNamespaceSpecifier=function(e,t){if(!e)return!1;if("ExportNamespaceSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPrivateName=function(e,t){if(!e)return!1;if("PrivateName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBigIntLiteral=function(e,t){if(!e)return!1;if("BigIntLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSParameterProperty=function(e,t){if(!e)return!1;if("TSParameterProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSDeclareFunction=function(e,t){if(!e)return!1;if("TSDeclareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSDeclareMethod=function(e,t){if(!e)return!1;if("TSDeclareMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSQualifiedName=function(e,t){if(!e)return!1;if("TSQualifiedName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSCallSignatureDeclaration=function(e,t){if(!e)return!1;if("TSCallSignatureDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConstructSignatureDeclaration=function(e,t){if(!e)return!1;if("TSConstructSignatureDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSPropertySignature=function(e,t){if(!e)return!1;if("TSPropertySignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSMethodSignature=function(e,t){if(!e)return!1;if("TSMethodSignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIndexSignature=function(e,t){if(!e)return!1;if("TSIndexSignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSAnyKeyword=function(e,t){if(!e)return!1;if("TSAnyKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUnknownKeyword=function(e,t){if(!e)return!1;if("TSUnknownKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNumberKeyword=function(e,t){if(!e)return!1;if("TSNumberKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSObjectKeyword=function(e,t){if(!e)return!1;if("TSObjectKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSBooleanKeyword=function(e,t){if(!e)return!1;if("TSBooleanKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSStringKeyword=function(e,t){if(!e)return!1;if("TSStringKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSSymbolKeyword=function(e,t){if(!e)return!1;if("TSSymbolKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSVoidKeyword=function(e,t){if(!e)return!1;if("TSVoidKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUndefinedKeyword=function(e,t){if(!e)return!1;if("TSUndefinedKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNullKeyword=function(e,t){if(!e)return!1;if("TSNullKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNeverKeyword=function(e,t){if(!e)return!1;if("TSNeverKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSThisType=function(e,t){if(!e)return!1;if("TSThisType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSFunctionType=function(e,t){if(!e)return!1;if("TSFunctionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConstructorType=function(e,t){if(!e)return!1;if("TSConstructorType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeReference=function(e,t){if(!e)return!1;if("TSTypeReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypePredicate=function(e,t){if(!e)return!1;if("TSTypePredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeQuery=function(e,t){if(!e)return!1;if("TSTypeQuery"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeLiteral=function(e,t){if(!e)return!1;if("TSTypeLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSArrayType=function(e,t){if(!e)return!1;if("TSArrayType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTupleType=function(e,t){if(!e)return!1;if("TSTupleType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSOptionalType=function(e,t){if(!e)return!1;if("TSOptionalType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSRestType=function(e,t){if(!e)return!1;if("TSRestType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUnionType=function(e,t){if(!e)return!1;if("TSUnionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIntersectionType=function(e,t){if(!e)return!1;if("TSIntersectionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConditionalType=function(e,t){if(!e)return!1;if("TSConditionalType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInferType=function(e,t){if(!e)return!1;if("TSInferType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSParenthesizedType=function(e,t){if(!e)return!1;if("TSParenthesizedType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeOperator=function(e,t){if(!e)return!1;if("TSTypeOperator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIndexedAccessType=function(e,t){if(!e)return!1;if("TSIndexedAccessType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSMappedType=function(e,t){if(!e)return!1;if("TSMappedType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSLiteralType=function(e,t){if(!e)return!1;if("TSLiteralType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExpressionWithTypeArguments=function(e,t){if(!e)return!1;if("TSExpressionWithTypeArguments"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInterfaceDeclaration=function(e,t){if(!e)return!1;if("TSInterfaceDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInterfaceBody=function(e,t){if(!e)return!1;if("TSInterfaceBody"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAliasDeclaration=function(e,t){if(!e)return!1;if("TSTypeAliasDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSAsExpression=function(e,t){if(!e)return!1;if("TSAsExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAssertion=function(e,t){if(!e)return!1;if("TSTypeAssertion"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSEnumDeclaration=function(e,t){if(!e)return!1;if("TSEnumDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSEnumMember=function(e,t){if(!e)return!1;if("TSEnumMember"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSModuleDeclaration=function(e,t){if(!e)return!1;if("TSModuleDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSModuleBlock=function(e,t){if(!e)return!1;if("TSModuleBlock"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSImportEqualsDeclaration=function(e,t){if(!e)return!1;if("TSImportEqualsDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExternalModuleReference=function(e,t){if(!e)return!1;if("TSExternalModuleReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNonNullExpression=function(e,t){if(!e)return!1;if("TSNonNullExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExportAssignment=function(e,t){if(!e)return!1;if("TSExportAssignment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNamespaceExportDeclaration=function(e,t){if(!e)return!1;if("TSNamespaceExportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAnnotation=function(e,t){if(!e)return!1;if("TSTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameterInstantiation=function(e,t){if(!e)return!1;if("TSTypeParameterInstantiation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameterDeclaration=function(e,t){if(!e)return!1;if("TSTypeParameterDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameter=function(e,t){if(!e)return!1;if("TSTypeParameter"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExpression=function(e,t){if(!e)return!1;const r=e.type;if("Expression"===r||"ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"ParenthesizedExpression"===r||"AwaitExpression"===r||"BindExpression"===r||"OptionalMemberExpression"===r||"PipelinePrimaryTopicReference"===r||"OptionalCallExpression"===r||"Import"===r||"DoExpression"===r||"BigIntLiteral"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isBinary=function(e,t){if(!e)return!1;const r=e.type;if("Binary"===r||"BinaryExpression"===r||"LogicalExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isScopable=function(e,t){if(!e)return!1;const r=e.type;if("Scopable"===r||"BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassDeclaration"===r||"ClassExpression"===r||"ForOfStatement"===r||"ClassMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isBlockParent=function(e,t){if(!e)return!1;const r=e.type;if("BlockParent"===r||"BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isBlock=function(e,t){if(!e)return!1;const r=e.type;if("Block"===r||"BlockStatement"===r||"Program"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isStatement=function(e,t){if(!e)return!1;const r=e.type;if("Statement"===r||"BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isTerminatorless=function(e,t){if(!e)return!1;const r=e.type;if("Terminatorless"===r||"BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isCompletionStatement=function(e,t){if(!e)return!1;const r=e.type;if("CompletionStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isConditional=function(e,t){if(!e)return!1;const r=e.type;if("Conditional"===r||"ConditionalExpression"===r||"IfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isLoop=function(e,t){if(!e)return!1;const r=e.type;if("Loop"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isWhile=function(e,t){if(!e)return!1;const r=e.type;if("While"===r||"DoWhileStatement"===r||"WhileStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isExpressionWrapper=function(e,t){if(!e)return!1;const r=e.type;if("ExpressionWrapper"===r||"ExpressionStatement"===r||"TypeCastExpression"===r||"ParenthesizedExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFor=function(e,t){if(!e)return!1;const r=e.type;if("For"===r||"ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isForXStatement=function(e,t){if(!e)return!1;const r=e.type;if("ForXStatement"===r||"ForInStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFunction=function(e,t){if(!e)return!1;const r=e.type;if("Function"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionParent=function(e,t){if(!e)return!1;const r=e.type;if("FunctionParent"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPureish=function(e,t){if(!e)return!1;const r=e.type;if("Pureish"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"ArrowFunctionExpression"===r||"ClassDeclaration"===r||"ClassExpression"===r||"BigIntLiteral"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("Declaration"===r||"FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPatternLike=function(e,t){if(!e)return!1;const r=e.type;if("PatternLike"===r||"Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isLVal=function(e,t){if(!e)return!1;const r=e.type;if("LVal"===r||"Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isTSEntityName=function(e,t){if(!e)return!1;const r=e.type;if("TSEntityName"===r||"Identifier"===r||"TSQualifiedName"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isLiteral=function(e,t){if(!e)return!1;const r=e.type;if("Literal"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isImmutable=function(e,t){if(!e)return!1;const r=e.type;if("Immutable"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"BigIntLiteral"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isUserWhitespacable=function(e,t){if(!e)return!1;const r=e.type;if("UserWhitespacable"===r||"ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isMethod=function(e,t){if(!e)return!1;const r=e.type;if("Method"===r||"ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectMember=function(e,t){if(!e)return!1;const r=e.type;if("ObjectMember"===r||"ObjectMethod"===r||"ObjectProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isProperty=function(e,t){if(!e)return!1;const r=e.type;if("Property"===r||"ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isUnaryLike=function(e,t){if(!e)return!1;const r=e.type;if("UnaryLike"===r||"UnaryExpression"===r||"SpreadElement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPattern=function(e,t){if(!e)return!1;const r=e.type;if("Pattern"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isClass=function(e,t){if(!e)return!1;const r=e.type;if("Class"===r||"ClassDeclaration"===r||"ClassExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isModuleDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ModuleDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ExportDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isModuleSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ModuleSpecifier"===r||"ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportDefaultSpecifier"===r||"ExportNamespaceSpecifier"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlow=function(e,t){if(!e)return!1;const r=e.type;if("Flow"===r||"AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowType=function(e,t){if(!e)return!1;const r=e.type;if("FlowType"===r||"AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowBaseAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("FlowBaseAnnotation"===r||"AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("FlowDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowPredicate=function(e,t){if(!e)return!1;const r=e.type;if("FlowPredicate"===r||"DeclaredPredicate"===r||"InferredPredicate"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isJSX=function(e,t){if(!e)return!1;const r=e.type;if("JSX"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPrivate=function(e,t){if(!e)return!1;const r=e.type;if("Private"===r||"ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeElement=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeElement"===r||"TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isTSType=function(e,t){if(!e)return!1;const r=e.type;if("TSType"===r||"TSAnyKeyword"===r||"TSUnknownKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSBooleanKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSVoidKeyword"===r||"TSUndefinedKeyword"===r||"TSNullKeyword"===r||"TSNeverKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberLiteral=function(e,t){if(console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),!e)return!1;if("NumberLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRegexLiteral=function(e,t){if(console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),!e)return!1;if("RegexLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRestProperty=function(e,t){if(console.trace("The node type RestProperty has been renamed to RestElement"),!e)return!1;if("RestProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSpreadProperty=function(e,t){if(console.trace("The node type SpreadProperty has been renamed to SpreadElement"),!e)return!1;if("SpreadProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1};var n,i=(n=r(95))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayExpression=function(e,t){if(!e)return!1;if("ArrayExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAssignmentExpression=function(e,t){if(!e)return!1;if("AssignmentExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBinaryExpression=function(e,t){if(!e)return!1;if("BinaryExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterpreterDirective=function(e,t){if(!e)return!1;if("InterpreterDirective"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDirective=function(e,t){if(!e)return!1;if("Directive"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDirectiveLiteral=function(e,t){if(!e)return!1;if("DirectiveLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBlockStatement=function(e,t){if(!e)return!1;if("BlockStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBreakStatement=function(e,t){if(!e)return!1;if("BreakStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isCallExpression=function(e,t){if(!e)return!1;if("CallExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isCatchClause=function(e,t){if(!e)return!1;if("CatchClause"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isConditionalExpression=function(e,t){if(!e)return!1;if("ConditionalExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isContinueStatement=function(e,t){if(!e)return!1;if("ContinueStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDebuggerStatement=function(e,t){if(!e)return!1;if("DebuggerStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDoWhileStatement=function(e,t){if(!e)return!1;if("DoWhileStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isEmptyStatement=function(e,t){if(!e)return!1;if("EmptyStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExpressionStatement=function(e,t){if(!e)return!1;if("ExpressionStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFile=function(e,t){if(!e)return!1;if("File"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForInStatement=function(e,t){if(!e)return!1;if("ForInStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForStatement=function(e,t){if(!e)return!1;if("ForStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionDeclaration=function(e,t){if(!e)return!1;if("FunctionDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionExpression=function(e,t){if(!e)return!1;if("FunctionExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIdentifier=function(e,t){if(!e)return!1;if("Identifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIfStatement=function(e,t){if(!e)return!1;if("IfStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isLabeledStatement=function(e,t){if(!e)return!1;if("LabeledStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringLiteral=function(e,t){if(!e)return!1;if("StringLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumericLiteral=function(e,t){if(!e)return!1;if("NumericLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullLiteral=function(e,t){if(!e)return!1;if("NullLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanLiteral=function(e,t){if(!e)return!1;if("BooleanLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRegExpLiteral=function(e,t){if(!e)return!1;if("RegExpLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isLogicalExpression=function(e,t){if(!e)return!1;if("LogicalExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMemberExpression=function(e,t){if(!e)return!1;if("MemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNewExpression=function(e,t){if(!e)return!1;if("NewExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isProgram=function(e,t){if(!e)return!1;if("Program"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectExpression=function(e,t){if(!e)return!1;if("ObjectExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectMethod=function(e,t){if(!e)return!1;if("ObjectMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectProperty=function(e,t){if(!e)return!1;if("ObjectProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRestElement=function(e,t){if(!e)return!1;if("RestElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isReturnStatement=function(e,t){if(!e)return!1;if("ReturnStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSequenceExpression=function(e,t){if(!e)return!1;if("SequenceExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isParenthesizedExpression=function(e,t){if(!e)return!1;if("ParenthesizedExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSwitchCase=function(e,t){if(!e)return!1;if("SwitchCase"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSwitchStatement=function(e,t){if(!e)return!1;if("SwitchStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThisExpression=function(e,t){if(!e)return!1;if("ThisExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThrowStatement=function(e,t){if(!e)return!1;if("ThrowStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTryStatement=function(e,t){if(!e)return!1;if("TryStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUnaryExpression=function(e,t){if(!e)return!1;if("UnaryExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUpdateExpression=function(e,t){if(!e)return!1;if("UpdateExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariableDeclaration=function(e,t){if(!e)return!1;if("VariableDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariableDeclarator=function(e,t){if(!e)return!1;if("VariableDeclarator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isWhileStatement=function(e,t){if(!e)return!1;if("WhileStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isWithStatement=function(e,t){if(!e)return!1;if("WithStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAssignmentPattern=function(e,t){if(!e)return!1;if("AssignmentPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrayPattern=function(e,t){if(!e)return!1;if("ArrayPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrowFunctionExpression=function(e,t){if(!e)return!1;if("ArrowFunctionExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassBody=function(e,t){if(!e)return!1;if("ClassBody"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassDeclaration=function(e,t){if(!e)return!1;if("ClassDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassExpression=function(e,t){if(!e)return!1;if("ClassExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportAllDeclaration=function(e,t){if(!e)return!1;if("ExportAllDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDefaultDeclaration=function(e,t){if(!e)return!1;if("ExportDefaultDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportNamedDeclaration=function(e,t){if(!e)return!1;if("ExportNamedDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportSpecifier=function(e,t){if(!e)return!1;if("ExportSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForOfStatement=function(e,t){if(!e)return!1;if("ForOfStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportDeclaration=function(e,t){if(!e)return!1;if("ImportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportDefaultSpecifier=function(e,t){if(!e)return!1;if("ImportDefaultSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportNamespaceSpecifier=function(e,t){if(!e)return!1;if("ImportNamespaceSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportSpecifier=function(e,t){if(!e)return!1;if("ImportSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMetaProperty=function(e,t){if(!e)return!1;if("MetaProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassMethod=function(e,t){if(!e)return!1;if("ClassMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectPattern=function(e,t){if(!e)return!1;if("ObjectPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSpreadElement=function(e,t){if(!e)return!1;if("SpreadElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSuper=function(e,t){if(!e)return!1;if("Super"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTaggedTemplateExpression=function(e,t){if(!e)return!1;if("TaggedTemplateExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTemplateElement=function(e,t){if(!e)return!1;if("TemplateElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTemplateLiteral=function(e,t){if(!e)return!1;if("TemplateLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isYieldExpression=function(e,t){if(!e)return!1;if("YieldExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAnyTypeAnnotation=function(e,t){if(!e)return!1;if("AnyTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrayTypeAnnotation=function(e,t){if(!e)return!1;if("ArrayTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanTypeAnnotation=function(e,t){if(!e)return!1;if("BooleanTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("BooleanLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("NullLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassImplements=function(e,t){if(!e)return!1;if("ClassImplements"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareClass=function(e,t){if(!e)return!1;if("DeclareClass"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareFunction=function(e,t){if(!e)return!1;if("DeclareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareInterface=function(e,t){if(!e)return!1;if("DeclareInterface"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareModule=function(e,t){if(!e)return!1;if("DeclareModule"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareModuleExports=function(e,t){if(!e)return!1;if("DeclareModuleExports"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareTypeAlias=function(e,t){if(!e)return!1;if("DeclareTypeAlias"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareOpaqueType=function(e,t){if(!e)return!1;if("DeclareOpaqueType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareVariable=function(e,t){if(!e)return!1;if("DeclareVariable"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareExportDeclaration=function(e,t){if(!e)return!1;if("DeclareExportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareExportAllDeclaration=function(e,t){if(!e)return!1;if("DeclareExportAllDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclaredPredicate=function(e,t){if(!e)return!1;if("DeclaredPredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExistsTypeAnnotation=function(e,t){if(!e)return!1;if("ExistsTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionTypeAnnotation=function(e,t){if(!e)return!1;if("FunctionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionTypeParam=function(e,t){if(!e)return!1;if("FunctionTypeParam"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isGenericTypeAnnotation=function(e,t){if(!e)return!1;if("GenericTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInferredPredicate=function(e,t){if(!e)return!1;if("InferredPredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceExtends=function(e,t){if(!e)return!1;if("InterfaceExtends"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceDeclaration=function(e,t){if(!e)return!1;if("InterfaceDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceTypeAnnotation=function(e,t){if(!e)return!1;if("InterfaceTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIntersectionTypeAnnotation=function(e,t){if(!e)return!1;if("IntersectionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMixedTypeAnnotation=function(e,t){if(!e)return!1;if("MixedTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isEmptyTypeAnnotation=function(e,t){if(!e)return!1;if("EmptyTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullableTypeAnnotation=function(e,t){if(!e)return!1;if("NullableTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("NumberLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberTypeAnnotation=function(e,t){if(!e)return!1;if("NumberTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeAnnotation=function(e,t){if(!e)return!1;if("ObjectTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeInternalSlot=function(e,t){if(!e)return!1;if("ObjectTypeInternalSlot"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeCallProperty=function(e,t){if(!e)return!1;if("ObjectTypeCallProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeIndexer=function(e,t){if(!e)return!1;if("ObjectTypeIndexer"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeProperty=function(e,t){if(!e)return!1;if("ObjectTypeProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeSpreadProperty=function(e,t){if(!e)return!1;if("ObjectTypeSpreadProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOpaqueType=function(e,t){if(!e)return!1;if("OpaqueType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isQualifiedTypeIdentifier=function(e,t){if(!e)return!1;if("QualifiedTypeIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("StringLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringTypeAnnotation=function(e,t){if(!e)return!1;if("StringTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThisTypeAnnotation=function(e,t){if(!e)return!1;if("ThisTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTupleTypeAnnotation=function(e,t){if(!e)return!1;if("TupleTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeofTypeAnnotation=function(e,t){if(!e)return!1;if("TypeofTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeAlias=function(e,t){if(!e)return!1;if("TypeAlias"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeAnnotation=function(e,t){if(!e)return!1;if("TypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeCastExpression=function(e,t){if(!e)return!1;if("TypeCastExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameter=function(e,t){if(!e)return!1;if("TypeParameter"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameterDeclaration=function(e,t){if(!e)return!1;if("TypeParameterDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameterInstantiation=function(e,t){if(!e)return!1;if("TypeParameterInstantiation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUnionTypeAnnotation=function(e,t){if(!e)return!1;if("UnionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariance=function(e,t){if(!e)return!1;if("Variance"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVoidTypeAnnotation=function(e,t){if(!e)return!1;if("VoidTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXAttribute=function(e,t){if(!e)return!1;if("JSXAttribute"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXClosingElement=function(e,t){if(!e)return!1;if("JSXClosingElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXElement=function(e,t){if(!e)return!1;if("JSXElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXEmptyExpression=function(e,t){if(!e)return!1;if("JSXEmptyExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXExpressionContainer=function(e,t){if(!e)return!1;if("JSXExpressionContainer"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXSpreadChild=function(e,t){if(!e)return!1;if("JSXSpreadChild"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXIdentifier=function(e,t){if(!e)return!1;if("JSXIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXMemberExpression=function(e,t){if(!e)return!1;if("JSXMemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXNamespacedName=function(e,t){if(!e)return!1;if("JSXNamespacedName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXOpeningElement=function(e,t){if(!e)return!1;if("JSXOpeningElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXSpreadAttribute=function(e,t){if(!e)return!1;if("JSXSpreadAttribute"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXText=function(e,t){if(!e)return!1;if("JSXText"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXFragment=function(e,t){if(!e)return!1;if("JSXFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXOpeningFragment=function(e,t){if(!e)return!1;if("JSXOpeningFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXClosingFragment=function(e,t){if(!e)return!1;if("JSXClosingFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNoop=function(e,t){if(!e)return!1;if("Noop"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPlaceholder=function(e,t){if(!e)return!1;if("Placeholder"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isV8IntrinsicIdentifier=function(e,t){if(!e)return!1;if("V8IntrinsicIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArgumentPlaceholder=function(e,t){if(!e)return!1;if("ArgumentPlaceholder"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAwaitExpression=function(e,t){if(!e)return!1;if("AwaitExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBindExpression=function(e,t){if(!e)return!1;if("BindExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassProperty=function(e,t){if(!e)return!1;if("ClassProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOptionalMemberExpression=function(e,t){if(!e)return!1;if("OptionalMemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelineTopicExpression=function(e,t){if(!e)return!1;if("PipelineTopicExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelineBareFunction=function(e,t){if(!e)return!1;if("PipelineBareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelinePrimaryTopicReference=function(e,t){if(!e)return!1;if("PipelinePrimaryTopicReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOptionalCallExpression=function(e,t){if(!e)return!1;if("OptionalCallExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassPrivateProperty=function(e,t){if(!e)return!1;if("ClassPrivateProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassPrivateMethod=function(e,t){if(!e)return!1;if("ClassPrivateMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImport=function(e,t){if(!e)return!1;if("Import"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDecorator=function(e,t){if(!e)return!1;if("Decorator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDoExpression=function(e,t){if(!e)return!1;if("DoExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDefaultSpecifier=function(e,t){if(!e)return!1;if("ExportDefaultSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportNamespaceSpecifier=function(e,t){if(!e)return!1;if("ExportNamespaceSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPrivateName=function(e,t){if(!e)return!1;if("PrivateName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBigIntLiteral=function(e,t){if(!e)return!1;if("BigIntLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSParameterProperty=function(e,t){if(!e)return!1;if("TSParameterProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSDeclareFunction=function(e,t){if(!e)return!1;if("TSDeclareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSDeclareMethod=function(e,t){if(!e)return!1;if("TSDeclareMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSQualifiedName=function(e,t){if(!e)return!1;if("TSQualifiedName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSCallSignatureDeclaration=function(e,t){if(!e)return!1;if("TSCallSignatureDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConstructSignatureDeclaration=function(e,t){if(!e)return!1;if("TSConstructSignatureDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSPropertySignature=function(e,t){if(!e)return!1;if("TSPropertySignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSMethodSignature=function(e,t){if(!e)return!1;if("TSMethodSignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIndexSignature=function(e,t){if(!e)return!1;if("TSIndexSignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSAnyKeyword=function(e,t){if(!e)return!1;if("TSAnyKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSBooleanKeyword=function(e,t){if(!e)return!1;if("TSBooleanKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSBigIntKeyword=function(e,t){if(!e)return!1;if("TSBigIntKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNeverKeyword=function(e,t){if(!e)return!1;if("TSNeverKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNullKeyword=function(e,t){if(!e)return!1;if("TSNullKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNumberKeyword=function(e,t){if(!e)return!1;if("TSNumberKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSObjectKeyword=function(e,t){if(!e)return!1;if("TSObjectKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSStringKeyword=function(e,t){if(!e)return!1;if("TSStringKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSSymbolKeyword=function(e,t){if(!e)return!1;if("TSSymbolKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUndefinedKeyword=function(e,t){if(!e)return!1;if("TSUndefinedKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUnknownKeyword=function(e,t){if(!e)return!1;if("TSUnknownKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSVoidKeyword=function(e,t){if(!e)return!1;if("TSVoidKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSThisType=function(e,t){if(!e)return!1;if("TSThisType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSFunctionType=function(e,t){if(!e)return!1;if("TSFunctionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConstructorType=function(e,t){if(!e)return!1;if("TSConstructorType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeReference=function(e,t){if(!e)return!1;if("TSTypeReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypePredicate=function(e,t){if(!e)return!1;if("TSTypePredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeQuery=function(e,t){if(!e)return!1;if("TSTypeQuery"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeLiteral=function(e,t){if(!e)return!1;if("TSTypeLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSArrayType=function(e,t){if(!e)return!1;if("TSArrayType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTupleType=function(e,t){if(!e)return!1;if("TSTupleType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSOptionalType=function(e,t){if(!e)return!1;if("TSOptionalType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSRestType=function(e,t){if(!e)return!1;if("TSRestType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUnionType=function(e,t){if(!e)return!1;if("TSUnionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIntersectionType=function(e,t){if(!e)return!1;if("TSIntersectionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConditionalType=function(e,t){if(!e)return!1;if("TSConditionalType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInferType=function(e,t){if(!e)return!1;if("TSInferType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSParenthesizedType=function(e,t){if(!e)return!1;if("TSParenthesizedType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeOperator=function(e,t){if(!e)return!1;if("TSTypeOperator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIndexedAccessType=function(e,t){if(!e)return!1;if("TSIndexedAccessType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSMappedType=function(e,t){if(!e)return!1;if("TSMappedType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSLiteralType=function(e,t){if(!e)return!1;if("TSLiteralType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExpressionWithTypeArguments=function(e,t){if(!e)return!1;if("TSExpressionWithTypeArguments"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInterfaceDeclaration=function(e,t){if(!e)return!1;if("TSInterfaceDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInterfaceBody=function(e,t){if(!e)return!1;if("TSInterfaceBody"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAliasDeclaration=function(e,t){if(!e)return!1;if("TSTypeAliasDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSAsExpression=function(e,t){if(!e)return!1;if("TSAsExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAssertion=function(e,t){if(!e)return!1;if("TSTypeAssertion"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSEnumDeclaration=function(e,t){if(!e)return!1;if("TSEnumDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSEnumMember=function(e,t){if(!e)return!1;if("TSEnumMember"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSModuleDeclaration=function(e,t){if(!e)return!1;if("TSModuleDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSModuleBlock=function(e,t){if(!e)return!1;if("TSModuleBlock"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSImportType=function(e,t){if(!e)return!1;if("TSImportType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSImportEqualsDeclaration=function(e,t){if(!e)return!1;if("TSImportEqualsDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExternalModuleReference=function(e,t){if(!e)return!1;if("TSExternalModuleReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNonNullExpression=function(e,t){if(!e)return!1;if("TSNonNullExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExportAssignment=function(e,t){if(!e)return!1;if("TSExportAssignment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNamespaceExportDeclaration=function(e,t){if(!e)return!1;if("TSNamespaceExportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAnnotation=function(e,t){if(!e)return!1;if("TSTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameterInstantiation=function(e,t){if(!e)return!1;if("TSTypeParameterInstantiation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameterDeclaration=function(e,t){if(!e)return!1;if("TSTypeParameterDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameter=function(e,t){if(!e)return!1;if("TSTypeParameter"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExpression=function(e,t){if(!e)return!1;const r=e.type;if("Expression"===r||"ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"AwaitExpression"===r||"BindExpression"===r||"OptionalMemberExpression"===r||"PipelinePrimaryTopicReference"===r||"OptionalCallExpression"===r||"Import"===r||"DoExpression"===r||"BigIntLiteral"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||"Placeholder"===r&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isBinary=function(e,t){if(!e)return!1;const r=e.type;if("Binary"===r||"BinaryExpression"===r||"LogicalExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isScopable=function(e,t){if(!e)return!1;const r=e.type;if("Scopable"===r||"BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassDeclaration"===r||"ClassExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isBlockParent=function(e,t){if(!e)return!1;const r=e.type;if("BlockParent"===r||"BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isBlock=function(e,t){if(!e)return!1;const r=e.type;if("Block"===r||"BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isStatement=function(e,t){if(!e)return!1;const r=e.type;if("Statement"===r||"BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||"Placeholder"===r&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isTerminatorless=function(e,t){if(!e)return!1;const r=e.type;if("Terminatorless"===r||"BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isCompletionStatement=function(e,t){if(!e)return!1;const r=e.type;if("CompletionStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isConditional=function(e,t){if(!e)return!1;const r=e.type;if("Conditional"===r||"ConditionalExpression"===r||"IfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isLoop=function(e,t){if(!e)return!1;const r=e.type;if("Loop"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isWhile=function(e,t){if(!e)return!1;const r=e.type;if("While"===r||"DoWhileStatement"===r||"WhileStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isExpressionWrapper=function(e,t){if(!e)return!1;const r=e.type;if("ExpressionWrapper"===r||"ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFor=function(e,t){if(!e)return!1;const r=e.type;if("For"===r||"ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isForXStatement=function(e,t){if(!e)return!1;const r=e.type;if("ForXStatement"===r||"ForInStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFunction=function(e,t){if(!e)return!1;const r=e.type;if("Function"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionParent=function(e,t){if(!e)return!1;const r=e.type;if("FunctionParent"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPureish=function(e,t){if(!e)return!1;const r=e.type;if("Pureish"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"ArrowFunctionExpression"===r||"ClassDeclaration"===r||"ClassExpression"===r||"BigIntLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("Declaration"===r||"FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"Placeholder"===r&&"Declaration"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isPatternLike=function(e,t){if(!e)return!1;const r=e.type;if("PatternLike"===r||"Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"Placeholder"===r&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isLVal=function(e,t){if(!e)return!1;const r=e.type;if("LVal"===r||"Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||"Placeholder"===r&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isTSEntityName=function(e,t){if(!e)return!1;const r=e.type;if("TSEntityName"===r||"Identifier"===r||"TSQualifiedName"===r||"Placeholder"===r&&"Identifier"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isLiteral=function(e,t){if(!e)return!1;const r=e.type;if("Literal"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isImmutable=function(e,t){if(!e)return!1;const r=e.type;if("Immutable"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"BigIntLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isUserWhitespacable=function(e,t){if(!e)return!1;const r=e.type;if("UserWhitespacable"===r||"ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isMethod=function(e,t){if(!e)return!1;const r=e.type;if("Method"===r||"ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectMember=function(e,t){if(!e)return!1;const r=e.type;if("ObjectMember"===r||"ObjectMethod"===r||"ObjectProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isProperty=function(e,t){if(!e)return!1;const r=e.type;if("Property"===r||"ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isUnaryLike=function(e,t){if(!e)return!1;const r=e.type;if("UnaryLike"===r||"UnaryExpression"===r||"SpreadElement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPattern=function(e,t){if(!e)return!1;const r=e.type;if("Pattern"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"Placeholder"===r&&"Pattern"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isClass=function(e,t){if(!e)return!1;const r=e.type;if("Class"===r||"ClassDeclaration"===r||"ClassExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isModuleDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ModuleDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ExportDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isModuleSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ModuleSpecifier"===r||"ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportDefaultSpecifier"===r||"ExportNamespaceSpecifier"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlow=function(e,t){if(!e)return!1;const r=e.type;if("Flow"===r||"AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowType=function(e,t){if(!e)return!1;const r=e.type;if("FlowType"===r||"AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowBaseAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("FlowBaseAnnotation"===r||"AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("FlowDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowPredicate=function(e,t){if(!e)return!1;const r=e.type;if("FlowPredicate"===r||"DeclaredPredicate"===r||"InferredPredicate"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isJSX=function(e,t){if(!e)return!1;const r=e.type;if("JSX"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPrivate=function(e,t){if(!e)return!1;const r=e.type;if("Private"===r||"ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeElement=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeElement"===r||"TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isTSType=function(e,t){if(!e)return!1;const r=e.type;if("TSType"===r||"TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberLiteral=function(e,t){if(console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),!e)return!1;if("NumberLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRegexLiteral=function(e,t){if(console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),!e)return!1;if("RegexLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRestProperty=function(e,t){if(console.trace("The node type RestProperty has been renamed to RestElement"),!e)return!1;if("RestProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSpreadProperty=function(e,t){if(console.trace("The node type SpreadProperty has been renamed to SpreadElement"),!e)return!1;if("SpreadProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1};var n,i=(n=r(112))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayExpression=function(e,t){if(!e)return!1;if("ArrayExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAssignmentExpression=function(e,t){if(!e)return!1;if("AssignmentExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBinaryExpression=function(e,t){if(!e)return!1;if("BinaryExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterpreterDirective=function(e,t){if(!e)return!1;if("InterpreterDirective"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDirective=function(e,t){if(!e)return!1;if("Directive"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDirectiveLiteral=function(e,t){if(!e)return!1;if("DirectiveLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBlockStatement=function(e,t){if(!e)return!1;if("BlockStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBreakStatement=function(e,t){if(!e)return!1;if("BreakStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isCallExpression=function(e,t){if(!e)return!1;if("CallExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isCatchClause=function(e,t){if(!e)return!1;if("CatchClause"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isConditionalExpression=function(e,t){if(!e)return!1;if("ConditionalExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isContinueStatement=function(e,t){if(!e)return!1;if("ContinueStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDebuggerStatement=function(e,t){if(!e)return!1;if("DebuggerStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDoWhileStatement=function(e,t){if(!e)return!1;if("DoWhileStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isEmptyStatement=function(e,t){if(!e)return!1;if("EmptyStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExpressionStatement=function(e,t){if(!e)return!1;if("ExpressionStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFile=function(e,t){if(!e)return!1;if("File"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForInStatement=function(e,t){if(!e)return!1;if("ForInStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForStatement=function(e,t){if(!e)return!1;if("ForStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionDeclaration=function(e,t){if(!e)return!1;if("FunctionDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionExpression=function(e,t){if(!e)return!1;if("FunctionExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIdentifier=function(e,t){if(!e)return!1;if("Identifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIfStatement=function(e,t){if(!e)return!1;if("IfStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isLabeledStatement=function(e,t){if(!e)return!1;if("LabeledStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringLiteral=function(e,t){if(!e)return!1;if("StringLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumericLiteral=function(e,t){if(!e)return!1;if("NumericLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullLiteral=function(e,t){if(!e)return!1;if("NullLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanLiteral=function(e,t){if(!e)return!1;if("BooleanLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRegExpLiteral=function(e,t){if(!e)return!1;if("RegExpLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isLogicalExpression=function(e,t){if(!e)return!1;if("LogicalExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMemberExpression=function(e,t){if(!e)return!1;if("MemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNewExpression=function(e,t){if(!e)return!1;if("NewExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isProgram=function(e,t){if(!e)return!1;if("Program"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectExpression=function(e,t){if(!e)return!1;if("ObjectExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectMethod=function(e,t){if(!e)return!1;if("ObjectMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectProperty=function(e,t){if(!e)return!1;if("ObjectProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRestElement=function(e,t){if(!e)return!1;if("RestElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isReturnStatement=function(e,t){if(!e)return!1;if("ReturnStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSequenceExpression=function(e,t){if(!e)return!1;if("SequenceExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isParenthesizedExpression=function(e,t){if(!e)return!1;if("ParenthesizedExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSwitchCase=function(e,t){if(!e)return!1;if("SwitchCase"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSwitchStatement=function(e,t){if(!e)return!1;if("SwitchStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThisExpression=function(e,t){if(!e)return!1;if("ThisExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThrowStatement=function(e,t){if(!e)return!1;if("ThrowStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTryStatement=function(e,t){if(!e)return!1;if("TryStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUnaryExpression=function(e,t){if(!e)return!1;if("UnaryExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUpdateExpression=function(e,t){if(!e)return!1;if("UpdateExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariableDeclaration=function(e,t){if(!e)return!1;if("VariableDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariableDeclarator=function(e,t){if(!e)return!1;if("VariableDeclarator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isWhileStatement=function(e,t){if(!e)return!1;if("WhileStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isWithStatement=function(e,t){if(!e)return!1;if("WithStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAssignmentPattern=function(e,t){if(!e)return!1;if("AssignmentPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrayPattern=function(e,t){if(!e)return!1;if("ArrayPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrowFunctionExpression=function(e,t){if(!e)return!1;if("ArrowFunctionExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassBody=function(e,t){if(!e)return!1;if("ClassBody"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassDeclaration=function(e,t){if(!e)return!1;if("ClassDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassExpression=function(e,t){if(!e)return!1;if("ClassExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportAllDeclaration=function(e,t){if(!e)return!1;if("ExportAllDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDefaultDeclaration=function(e,t){if(!e)return!1;if("ExportDefaultDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportNamedDeclaration=function(e,t){if(!e)return!1;if("ExportNamedDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportSpecifier=function(e,t){if(!e)return!1;if("ExportSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForOfStatement=function(e,t){if(!e)return!1;if("ForOfStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportDeclaration=function(e,t){if(!e)return!1;if("ImportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportDefaultSpecifier=function(e,t){if(!e)return!1;if("ImportDefaultSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportNamespaceSpecifier=function(e,t){if(!e)return!1;if("ImportNamespaceSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportSpecifier=function(e,t){if(!e)return!1;if("ImportSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMetaProperty=function(e,t){if(!e)return!1;if("MetaProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassMethod=function(e,t){if(!e)return!1;if("ClassMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectPattern=function(e,t){if(!e)return!1;if("ObjectPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSpreadElement=function(e,t){if(!e)return!1;if("SpreadElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSuper=function(e,t){if(!e)return!1;if("Super"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTaggedTemplateExpression=function(e,t){if(!e)return!1;if("TaggedTemplateExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTemplateElement=function(e,t){if(!e)return!1;if("TemplateElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTemplateLiteral=function(e,t){if(!e)return!1;if("TemplateLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isYieldExpression=function(e,t){if(!e)return!1;if("YieldExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAnyTypeAnnotation=function(e,t){if(!e)return!1;if("AnyTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrayTypeAnnotation=function(e,t){if(!e)return!1;if("ArrayTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanTypeAnnotation=function(e,t){if(!e)return!1;if("BooleanTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("BooleanLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("NullLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassImplements=function(e,t){if(!e)return!1;if("ClassImplements"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareClass=function(e,t){if(!e)return!1;if("DeclareClass"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareFunction=function(e,t){if(!e)return!1;if("DeclareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareInterface=function(e,t){if(!e)return!1;if("DeclareInterface"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareModule=function(e,t){if(!e)return!1;if("DeclareModule"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareModuleExports=function(e,t){if(!e)return!1;if("DeclareModuleExports"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareTypeAlias=function(e,t){if(!e)return!1;if("DeclareTypeAlias"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareOpaqueType=function(e,t){if(!e)return!1;if("DeclareOpaqueType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareVariable=function(e,t){if(!e)return!1;if("DeclareVariable"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareExportDeclaration=function(e,t){if(!e)return!1;if("DeclareExportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareExportAllDeclaration=function(e,t){if(!e)return!1;if("DeclareExportAllDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclaredPredicate=function(e,t){if(!e)return!1;if("DeclaredPredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExistsTypeAnnotation=function(e,t){if(!e)return!1;if("ExistsTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionTypeAnnotation=function(e,t){if(!e)return!1;if("FunctionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionTypeParam=function(e,t){if(!e)return!1;if("FunctionTypeParam"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isGenericTypeAnnotation=function(e,t){if(!e)return!1;if("GenericTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInferredPredicate=function(e,t){if(!e)return!1;if("InferredPredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceExtends=function(e,t){if(!e)return!1;if("InterfaceExtends"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceDeclaration=function(e,t){if(!e)return!1;if("InterfaceDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceTypeAnnotation=function(e,t){if(!e)return!1;if("InterfaceTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIntersectionTypeAnnotation=function(e,t){if(!e)return!1;if("IntersectionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMixedTypeAnnotation=function(e,t){if(!e)return!1;if("MixedTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isEmptyTypeAnnotation=function(e,t){if(!e)return!1;if("EmptyTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullableTypeAnnotation=function(e,t){if(!e)return!1;if("NullableTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("NumberLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberTypeAnnotation=function(e,t){if(!e)return!1;if("NumberTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeAnnotation=function(e,t){if(!e)return!1;if("ObjectTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeInternalSlot=function(e,t){if(!e)return!1;if("ObjectTypeInternalSlot"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeCallProperty=function(e,t){if(!e)return!1;if("ObjectTypeCallProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeIndexer=function(e,t){if(!e)return!1;if("ObjectTypeIndexer"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeProperty=function(e,t){if(!e)return!1;if("ObjectTypeProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeSpreadProperty=function(e,t){if(!e)return!1;if("ObjectTypeSpreadProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOpaqueType=function(e,t){if(!e)return!1;if("OpaqueType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isQualifiedTypeIdentifier=function(e,t){if(!e)return!1;if("QualifiedTypeIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("StringLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringTypeAnnotation=function(e,t){if(!e)return!1;if("StringTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThisTypeAnnotation=function(e,t){if(!e)return!1;if("ThisTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTupleTypeAnnotation=function(e,t){if(!e)return!1;if("TupleTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeofTypeAnnotation=function(e,t){if(!e)return!1;if("TypeofTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeAlias=function(e,t){if(!e)return!1;if("TypeAlias"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeAnnotation=function(e,t){if(!e)return!1;if("TypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeCastExpression=function(e,t){if(!e)return!1;if("TypeCastExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameter=function(e,t){if(!e)return!1;if("TypeParameter"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameterDeclaration=function(e,t){if(!e)return!1;if("TypeParameterDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameterInstantiation=function(e,t){if(!e)return!1;if("TypeParameterInstantiation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUnionTypeAnnotation=function(e,t){if(!e)return!1;if("UnionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariance=function(e,t){if(!e)return!1;if("Variance"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVoidTypeAnnotation=function(e,t){if(!e)return!1;if("VoidTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXAttribute=function(e,t){if(!e)return!1;if("JSXAttribute"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXClosingElement=function(e,t){if(!e)return!1;if("JSXClosingElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXElement=function(e,t){if(!e)return!1;if("JSXElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXEmptyExpression=function(e,t){if(!e)return!1;if("JSXEmptyExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXExpressionContainer=function(e,t){if(!e)return!1;if("JSXExpressionContainer"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXSpreadChild=function(e,t){if(!e)return!1;if("JSXSpreadChild"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXIdentifier=function(e,t){if(!e)return!1;if("JSXIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXMemberExpression=function(e,t){if(!e)return!1;if("JSXMemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXNamespacedName=function(e,t){if(!e)return!1;if("JSXNamespacedName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXOpeningElement=function(e,t){if(!e)return!1;if("JSXOpeningElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXSpreadAttribute=function(e,t){if(!e)return!1;if("JSXSpreadAttribute"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXText=function(e,t){if(!e)return!1;if("JSXText"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXFragment=function(e,t){if(!e)return!1;if("JSXFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXOpeningFragment=function(e,t){if(!e)return!1;if("JSXOpeningFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXClosingFragment=function(e,t){if(!e)return!1;if("JSXClosingFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNoop=function(e,t){if(!e)return!1;if("Noop"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPlaceholder=function(e,t){if(!e)return!1;if("Placeholder"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isV8IntrinsicIdentifier=function(e,t){if(!e)return!1;if("V8IntrinsicIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArgumentPlaceholder=function(e,t){if(!e)return!1;if("ArgumentPlaceholder"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAwaitExpression=function(e,t){if(!e)return!1;if("AwaitExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBindExpression=function(e,t){if(!e)return!1;if("BindExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassProperty=function(e,t){if(!e)return!1;if("ClassProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOptionalMemberExpression=function(e,t){if(!e)return!1;if("OptionalMemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelineTopicExpression=function(e,t){if(!e)return!1;if("PipelineTopicExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelineBareFunction=function(e,t){if(!e)return!1;if("PipelineBareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelinePrimaryTopicReference=function(e,t){if(!e)return!1;if("PipelinePrimaryTopicReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOptionalCallExpression=function(e,t){if(!e)return!1;if("OptionalCallExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassPrivateProperty=function(e,t){if(!e)return!1;if("ClassPrivateProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassPrivateMethod=function(e,t){if(!e)return!1;if("ClassPrivateMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImport=function(e,t){if(!e)return!1;if("Import"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDecorator=function(e,t){if(!e)return!1;if("Decorator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDoExpression=function(e,t){if(!e)return!1;if("DoExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDefaultSpecifier=function(e,t){if(!e)return!1;if("ExportDefaultSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportNamespaceSpecifier=function(e,t){if(!e)return!1;if("ExportNamespaceSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPrivateName=function(e,t){if(!e)return!1;if("PrivateName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBigIntLiteral=function(e,t){if(!e)return!1;if("BigIntLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSParameterProperty=function(e,t){if(!e)return!1;if("TSParameterProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSDeclareFunction=function(e,t){if(!e)return!1;if("TSDeclareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSDeclareMethod=function(e,t){if(!e)return!1;if("TSDeclareMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSQualifiedName=function(e,t){if(!e)return!1;if("TSQualifiedName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSCallSignatureDeclaration=function(e,t){if(!e)return!1;if("TSCallSignatureDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConstructSignatureDeclaration=function(e,t){if(!e)return!1;if("TSConstructSignatureDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSPropertySignature=function(e,t){if(!e)return!1;if("TSPropertySignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSMethodSignature=function(e,t){if(!e)return!1;if("TSMethodSignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIndexSignature=function(e,t){if(!e)return!1;if("TSIndexSignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSAnyKeyword=function(e,t){if(!e)return!1;if("TSAnyKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSBooleanKeyword=function(e,t){if(!e)return!1;if("TSBooleanKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSBigIntKeyword=function(e,t){if(!e)return!1;if("TSBigIntKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNeverKeyword=function(e,t){if(!e)return!1;if("TSNeverKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNullKeyword=function(e,t){if(!e)return!1;if("TSNullKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNumberKeyword=function(e,t){if(!e)return!1;if("TSNumberKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSObjectKeyword=function(e,t){if(!e)return!1;if("TSObjectKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSStringKeyword=function(e,t){if(!e)return!1;if("TSStringKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSSymbolKeyword=function(e,t){if(!e)return!1;if("TSSymbolKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUndefinedKeyword=function(e,t){if(!e)return!1;if("TSUndefinedKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUnknownKeyword=function(e,t){if(!e)return!1;if("TSUnknownKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSVoidKeyword=function(e,t){if(!e)return!1;if("TSVoidKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSThisType=function(e,t){if(!e)return!1;if("TSThisType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSFunctionType=function(e,t){if(!e)return!1;if("TSFunctionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConstructorType=function(e,t){if(!e)return!1;if("TSConstructorType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeReference=function(e,t){if(!e)return!1;if("TSTypeReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypePredicate=function(e,t){if(!e)return!1;if("TSTypePredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeQuery=function(e,t){if(!e)return!1;if("TSTypeQuery"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeLiteral=function(e,t){if(!e)return!1;if("TSTypeLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSArrayType=function(e,t){if(!e)return!1;if("TSArrayType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTupleType=function(e,t){if(!e)return!1;if("TSTupleType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSOptionalType=function(e,t){if(!e)return!1;if("TSOptionalType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSRestType=function(e,t){if(!e)return!1;if("TSRestType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUnionType=function(e,t){if(!e)return!1;if("TSUnionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIntersectionType=function(e,t){if(!e)return!1;if("TSIntersectionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConditionalType=function(e,t){if(!e)return!1;if("TSConditionalType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInferType=function(e,t){if(!e)return!1;if("TSInferType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSParenthesizedType=function(e,t){if(!e)return!1;if("TSParenthesizedType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeOperator=function(e,t){if(!e)return!1;if("TSTypeOperator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIndexedAccessType=function(e,t){if(!e)return!1;if("TSIndexedAccessType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSMappedType=function(e,t){if(!e)return!1;if("TSMappedType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSLiteralType=function(e,t){if(!e)return!1;if("TSLiteralType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExpressionWithTypeArguments=function(e,t){if(!e)return!1;if("TSExpressionWithTypeArguments"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInterfaceDeclaration=function(e,t){if(!e)return!1;if("TSInterfaceDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInterfaceBody=function(e,t){if(!e)return!1;if("TSInterfaceBody"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAliasDeclaration=function(e,t){if(!e)return!1;if("TSTypeAliasDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSAsExpression=function(e,t){if(!e)return!1;if("TSAsExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAssertion=function(e,t){if(!e)return!1;if("TSTypeAssertion"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSEnumDeclaration=function(e,t){if(!e)return!1;if("TSEnumDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSEnumMember=function(e,t){if(!e)return!1;if("TSEnumMember"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSModuleDeclaration=function(e,t){if(!e)return!1;if("TSModuleDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSModuleBlock=function(e,t){if(!e)return!1;if("TSModuleBlock"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSImportType=function(e,t){if(!e)return!1;if("TSImportType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSImportEqualsDeclaration=function(e,t){if(!e)return!1;if("TSImportEqualsDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExternalModuleReference=function(e,t){if(!e)return!1;if("TSExternalModuleReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNonNullExpression=function(e,t){if(!e)return!1;if("TSNonNullExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExportAssignment=function(e,t){if(!e)return!1;if("TSExportAssignment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNamespaceExportDeclaration=function(e,t){if(!e)return!1;if("TSNamespaceExportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAnnotation=function(e,t){if(!e)return!1;if("TSTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameterInstantiation=function(e,t){if(!e)return!1;if("TSTypeParameterInstantiation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameterDeclaration=function(e,t){if(!e)return!1;if("TSTypeParameterDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameter=function(e,t){if(!e)return!1;if("TSTypeParameter"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExpression=function(e,t){if(!e)return!1;const r=e.type;if("Expression"===r||"ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"AwaitExpression"===r||"BindExpression"===r||"OptionalMemberExpression"===r||"PipelinePrimaryTopicReference"===r||"OptionalCallExpression"===r||"Import"===r||"DoExpression"===r||"BigIntLiteral"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||"Placeholder"===r&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isBinary=function(e,t){if(!e)return!1;const r=e.type;if("Binary"===r||"BinaryExpression"===r||"LogicalExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isScopable=function(e,t){if(!e)return!1;const r=e.type;if("Scopable"===r||"BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassDeclaration"===r||"ClassExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isBlockParent=function(e,t){if(!e)return!1;const r=e.type;if("BlockParent"===r||"BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isBlock=function(e,t){if(!e)return!1;const r=e.type;if("Block"===r||"BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isStatement=function(e,t){if(!e)return!1;const r=e.type;if("Statement"===r||"BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||"Placeholder"===r&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isTerminatorless=function(e,t){if(!e)return!1;const r=e.type;if("Terminatorless"===r||"BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isCompletionStatement=function(e,t){if(!e)return!1;const r=e.type;if("CompletionStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isConditional=function(e,t){if(!e)return!1;const r=e.type;if("Conditional"===r||"ConditionalExpression"===r||"IfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isLoop=function(e,t){if(!e)return!1;const r=e.type;if("Loop"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isWhile=function(e,t){if(!e)return!1;const r=e.type;if("While"===r||"DoWhileStatement"===r||"WhileStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isExpressionWrapper=function(e,t){if(!e)return!1;const r=e.type;if("ExpressionWrapper"===r||"ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFor=function(e,t){if(!e)return!1;const r=e.type;if("For"===r||"ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isForXStatement=function(e,t){if(!e)return!1;const r=e.type;if("ForXStatement"===r||"ForInStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFunction=function(e,t){if(!e)return!1;const r=e.type;if("Function"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionParent=function(e,t){if(!e)return!1;const r=e.type;if("FunctionParent"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPureish=function(e,t){if(!e)return!1;const r=e.type;if("Pureish"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"ArrowFunctionExpression"===r||"ClassDeclaration"===r||"ClassExpression"===r||"BigIntLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("Declaration"===r||"FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"Placeholder"===r&&"Declaration"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isPatternLike=function(e,t){if(!e)return!1;const r=e.type;if("PatternLike"===r||"Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"Placeholder"===r&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isLVal=function(e,t){if(!e)return!1;const r=e.type;if("LVal"===r||"Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||"Placeholder"===r&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isTSEntityName=function(e,t){if(!e)return!1;const r=e.type;if("TSEntityName"===r||"Identifier"===r||"TSQualifiedName"===r||"Placeholder"===r&&"Identifier"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isLiteral=function(e,t){if(!e)return!1;const r=e.type;if("Literal"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isImmutable=function(e,t){if(!e)return!1;const r=e.type;if("Immutable"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"BigIntLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isUserWhitespacable=function(e,t){if(!e)return!1;const r=e.type;if("UserWhitespacable"===r||"ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isMethod=function(e,t){if(!e)return!1;const r=e.type;if("Method"===r||"ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectMember=function(e,t){if(!e)return!1;const r=e.type;if("ObjectMember"===r||"ObjectMethod"===r||"ObjectProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isProperty=function(e,t){if(!e)return!1;const r=e.type;if("Property"===r||"ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isUnaryLike=function(e,t){if(!e)return!1;const r=e.type;if("UnaryLike"===r||"UnaryExpression"===r||"SpreadElement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPattern=function(e,t){if(!e)return!1;const r=e.type;if("Pattern"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"Placeholder"===r&&"Pattern"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isClass=function(e,t){if(!e)return!1;const r=e.type;if("Class"===r||"ClassDeclaration"===r||"ClassExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isModuleDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ModuleDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ExportDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isModuleSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ModuleSpecifier"===r||"ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportDefaultSpecifier"===r||"ExportNamespaceSpecifier"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlow=function(e,t){if(!e)return!1;const r=e.type;if("Flow"===r||"AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowType=function(e,t){if(!e)return!1;const r=e.type;if("FlowType"===r||"AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowBaseAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("FlowBaseAnnotation"===r||"AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("FlowDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowPredicate=function(e,t){if(!e)return!1;const r=e.type;if("FlowPredicate"===r||"DeclaredPredicate"===r||"InferredPredicate"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isJSX=function(e,t){if(!e)return!1;const r=e.type;if("JSX"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPrivate=function(e,t){if(!e)return!1;const r=e.type;if("Private"===r||"ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeElement=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeElement"===r||"TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isTSType=function(e,t){if(!e)return!1;const r=e.type;if("TSType"===r||"TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberLiteral=function(e,t){if(console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),!e)return!1;if("NumberLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRegexLiteral=function(e,t){if(console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),!e)return!1;if("RegexLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRestProperty=function(e,t){if(console.trace("The node type RestProperty has been renamed to RestElement"),!e)return!1;if("RestProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSpreadProperty=function(e,t){if(console.trace("The node type SpreadProperty has been renamed to SpreadElement"),!e)return!1;if("SpreadProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1};var n,i=(n=r(120))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayExpression=function(e,t){if(!e)return!1;if("ArrayExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAssignmentExpression=function(e,t){if(!e)return!1;if("AssignmentExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBinaryExpression=function(e,t){if(!e)return!1;if("BinaryExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterpreterDirective=function(e,t){if(!e)return!1;if("InterpreterDirective"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDirective=function(e,t){if(!e)return!1;if("Directive"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDirectiveLiteral=function(e,t){if(!e)return!1;if("DirectiveLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBlockStatement=function(e,t){if(!e)return!1;if("BlockStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBreakStatement=function(e,t){if(!e)return!1;if("BreakStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isCallExpression=function(e,t){if(!e)return!1;if("CallExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isCatchClause=function(e,t){if(!e)return!1;if("CatchClause"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isConditionalExpression=function(e,t){if(!e)return!1;if("ConditionalExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isContinueStatement=function(e,t){if(!e)return!1;if("ContinueStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDebuggerStatement=function(e,t){if(!e)return!1;if("DebuggerStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDoWhileStatement=function(e,t){if(!e)return!1;if("DoWhileStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isEmptyStatement=function(e,t){if(!e)return!1;if("EmptyStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExpressionStatement=function(e,t){if(!e)return!1;if("ExpressionStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFile=function(e,t){if(!e)return!1;if("File"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForInStatement=function(e,t){if(!e)return!1;if("ForInStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForStatement=function(e,t){if(!e)return!1;if("ForStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionDeclaration=function(e,t){if(!e)return!1;if("FunctionDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionExpression=function(e,t){if(!e)return!1;if("FunctionExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIdentifier=function(e,t){if(!e)return!1;if("Identifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIfStatement=function(e,t){if(!e)return!1;if("IfStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isLabeledStatement=function(e,t){if(!e)return!1;if("LabeledStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringLiteral=function(e,t){if(!e)return!1;if("StringLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumericLiteral=function(e,t){if(!e)return!1;if("NumericLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullLiteral=function(e,t){if(!e)return!1;if("NullLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanLiteral=function(e,t){if(!e)return!1;if("BooleanLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRegExpLiteral=function(e,t){if(!e)return!1;if("RegExpLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isLogicalExpression=function(e,t){if(!e)return!1;if("LogicalExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMemberExpression=function(e,t){if(!e)return!1;if("MemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNewExpression=function(e,t){if(!e)return!1;if("NewExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isProgram=function(e,t){if(!e)return!1;if("Program"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectExpression=function(e,t){if(!e)return!1;if("ObjectExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectMethod=function(e,t){if(!e)return!1;if("ObjectMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectProperty=function(e,t){if(!e)return!1;if("ObjectProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRestElement=function(e,t){if(!e)return!1;if("RestElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isReturnStatement=function(e,t){if(!e)return!1;if("ReturnStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSequenceExpression=function(e,t){if(!e)return!1;if("SequenceExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isParenthesizedExpression=function(e,t){if(!e)return!1;if("ParenthesizedExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSwitchCase=function(e,t){if(!e)return!1;if("SwitchCase"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSwitchStatement=function(e,t){if(!e)return!1;if("SwitchStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThisExpression=function(e,t){if(!e)return!1;if("ThisExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThrowStatement=function(e,t){if(!e)return!1;if("ThrowStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTryStatement=function(e,t){if(!e)return!1;if("TryStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUnaryExpression=function(e,t){if(!e)return!1;if("UnaryExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUpdateExpression=function(e,t){if(!e)return!1;if("UpdateExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariableDeclaration=function(e,t){if(!e)return!1;if("VariableDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariableDeclarator=function(e,t){if(!e)return!1;if("VariableDeclarator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isWhileStatement=function(e,t){if(!e)return!1;if("WhileStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isWithStatement=function(e,t){if(!e)return!1;if("WithStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAssignmentPattern=function(e,t){if(!e)return!1;if("AssignmentPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrayPattern=function(e,t){if(!e)return!1;if("ArrayPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrowFunctionExpression=function(e,t){if(!e)return!1;if("ArrowFunctionExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassBody=function(e,t){if(!e)return!1;if("ClassBody"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassDeclaration=function(e,t){if(!e)return!1;if("ClassDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassExpression=function(e,t){if(!e)return!1;if("ClassExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportAllDeclaration=function(e,t){if(!e)return!1;if("ExportAllDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDefaultDeclaration=function(e,t){if(!e)return!1;if("ExportDefaultDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportNamedDeclaration=function(e,t){if(!e)return!1;if("ExportNamedDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportSpecifier=function(e,t){if(!e)return!1;if("ExportSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isForOfStatement=function(e,t){if(!e)return!1;if("ForOfStatement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportDeclaration=function(e,t){if(!e)return!1;if("ImportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportDefaultSpecifier=function(e,t){if(!e)return!1;if("ImportDefaultSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportNamespaceSpecifier=function(e,t){if(!e)return!1;if("ImportNamespaceSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImportSpecifier=function(e,t){if(!e)return!1;if("ImportSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMetaProperty=function(e,t){if(!e)return!1;if("MetaProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassMethod=function(e,t){if(!e)return!1;if("ClassMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectPattern=function(e,t){if(!e)return!1;if("ObjectPattern"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSpreadElement=function(e,t){if(!e)return!1;if("SpreadElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSuper=function(e,t){if(!e)return!1;if("Super"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTaggedTemplateExpression=function(e,t){if(!e)return!1;if("TaggedTemplateExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTemplateElement=function(e,t){if(!e)return!1;if("TemplateElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTemplateLiteral=function(e,t){if(!e)return!1;if("TemplateLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isYieldExpression=function(e,t){if(!e)return!1;if("YieldExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAnyTypeAnnotation=function(e,t){if(!e)return!1;if("AnyTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArrayTypeAnnotation=function(e,t){if(!e)return!1;if("ArrayTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanTypeAnnotation=function(e,t){if(!e)return!1;if("BooleanTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBooleanLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("BooleanLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("NullLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassImplements=function(e,t){if(!e)return!1;if("ClassImplements"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareClass=function(e,t){if(!e)return!1;if("DeclareClass"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareFunction=function(e,t){if(!e)return!1;if("DeclareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareInterface=function(e,t){if(!e)return!1;if("DeclareInterface"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareModule=function(e,t){if(!e)return!1;if("DeclareModule"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareModuleExports=function(e,t){if(!e)return!1;if("DeclareModuleExports"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareTypeAlias=function(e,t){if(!e)return!1;if("DeclareTypeAlias"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareOpaqueType=function(e,t){if(!e)return!1;if("DeclareOpaqueType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareVariable=function(e,t){if(!e)return!1;if("DeclareVariable"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareExportDeclaration=function(e,t){if(!e)return!1;if("DeclareExportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclareExportAllDeclaration=function(e,t){if(!e)return!1;if("DeclareExportAllDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclaredPredicate=function(e,t){if(!e)return!1;if("DeclaredPredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExistsTypeAnnotation=function(e,t){if(!e)return!1;if("ExistsTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionTypeAnnotation=function(e,t){if(!e)return!1;if("FunctionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionTypeParam=function(e,t){if(!e)return!1;if("FunctionTypeParam"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isGenericTypeAnnotation=function(e,t){if(!e)return!1;if("GenericTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInferredPredicate=function(e,t){if(!e)return!1;if("InferredPredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceExtends=function(e,t){if(!e)return!1;if("InterfaceExtends"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceDeclaration=function(e,t){if(!e)return!1;if("InterfaceDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isInterfaceTypeAnnotation=function(e,t){if(!e)return!1;if("InterfaceTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isIntersectionTypeAnnotation=function(e,t){if(!e)return!1;if("IntersectionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isMixedTypeAnnotation=function(e,t){if(!e)return!1;if("MixedTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isEmptyTypeAnnotation=function(e,t){if(!e)return!1;if("EmptyTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNullableTypeAnnotation=function(e,t){if(!e)return!1;if("NullableTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("NumberLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberTypeAnnotation=function(e,t){if(!e)return!1;if("NumberTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeAnnotation=function(e,t){if(!e)return!1;if("ObjectTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeInternalSlot=function(e,t){if(!e)return!1;if("ObjectTypeInternalSlot"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeCallProperty=function(e,t){if(!e)return!1;if("ObjectTypeCallProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeIndexer=function(e,t){if(!e)return!1;if("ObjectTypeIndexer"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeProperty=function(e,t){if(!e)return!1;if("ObjectTypeProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectTypeSpreadProperty=function(e,t){if(!e)return!1;if("ObjectTypeSpreadProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOpaqueType=function(e,t){if(!e)return!1;if("OpaqueType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isQualifiedTypeIdentifier=function(e,t){if(!e)return!1;if("QualifiedTypeIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringLiteralTypeAnnotation=function(e,t){if(!e)return!1;if("StringLiteralTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isStringTypeAnnotation=function(e,t){if(!e)return!1;if("StringTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isThisTypeAnnotation=function(e,t){if(!e)return!1;if("ThisTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTupleTypeAnnotation=function(e,t){if(!e)return!1;if("TupleTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeofTypeAnnotation=function(e,t){if(!e)return!1;if("TypeofTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeAlias=function(e,t){if(!e)return!1;if("TypeAlias"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeAnnotation=function(e,t){if(!e)return!1;if("TypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeCastExpression=function(e,t){if(!e)return!1;if("TypeCastExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameter=function(e,t){if(!e)return!1;if("TypeParameter"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameterDeclaration=function(e,t){if(!e)return!1;if("TypeParameterDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTypeParameterInstantiation=function(e,t){if(!e)return!1;if("TypeParameterInstantiation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isUnionTypeAnnotation=function(e,t){if(!e)return!1;if("UnionTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVariance=function(e,t){if(!e)return!1;if("Variance"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isVoidTypeAnnotation=function(e,t){if(!e)return!1;if("VoidTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXAttribute=function(e,t){if(!e)return!1;if("JSXAttribute"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXClosingElement=function(e,t){if(!e)return!1;if("JSXClosingElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXElement=function(e,t){if(!e)return!1;if("JSXElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXEmptyExpression=function(e,t){if(!e)return!1;if("JSXEmptyExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXExpressionContainer=function(e,t){if(!e)return!1;if("JSXExpressionContainer"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXSpreadChild=function(e,t){if(!e)return!1;if("JSXSpreadChild"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXIdentifier=function(e,t){if(!e)return!1;if("JSXIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXMemberExpression=function(e,t){if(!e)return!1;if("JSXMemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXNamespacedName=function(e,t){if(!e)return!1;if("JSXNamespacedName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXOpeningElement=function(e,t){if(!e)return!1;if("JSXOpeningElement"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXSpreadAttribute=function(e,t){if(!e)return!1;if("JSXSpreadAttribute"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXText=function(e,t){if(!e)return!1;if("JSXText"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXFragment=function(e,t){if(!e)return!1;if("JSXFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXOpeningFragment=function(e,t){if(!e)return!1;if("JSXOpeningFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isJSXClosingFragment=function(e,t){if(!e)return!1;if("JSXClosingFragment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isNoop=function(e,t){if(!e)return!1;if("Noop"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPlaceholder=function(e,t){if(!e)return!1;if("Placeholder"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isV8IntrinsicIdentifier=function(e,t){if(!e)return!1;if("V8IntrinsicIdentifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isArgumentPlaceholder=function(e,t){if(!e)return!1;if("ArgumentPlaceholder"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isAwaitExpression=function(e,t){if(!e)return!1;if("AwaitExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBindExpression=function(e,t){if(!e)return!1;if("BindExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassProperty=function(e,t){if(!e)return!1;if("ClassProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOptionalMemberExpression=function(e,t){if(!e)return!1;if("OptionalMemberExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelineTopicExpression=function(e,t){if(!e)return!1;if("PipelineTopicExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelineBareFunction=function(e,t){if(!e)return!1;if("PipelineBareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPipelinePrimaryTopicReference=function(e,t){if(!e)return!1;if("PipelinePrimaryTopicReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isOptionalCallExpression=function(e,t){if(!e)return!1;if("OptionalCallExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassPrivateProperty=function(e,t){if(!e)return!1;if("ClassPrivateProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isClassPrivateMethod=function(e,t){if(!e)return!1;if("ClassPrivateMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isImport=function(e,t){if(!e)return!1;if("Import"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDecorator=function(e,t){if(!e)return!1;if("Decorator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isDoExpression=function(e,t){if(!e)return!1;if("DoExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDefaultSpecifier=function(e,t){if(!e)return!1;if("ExportDefaultSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExportNamespaceSpecifier=function(e,t){if(!e)return!1;if("ExportNamespaceSpecifier"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isPrivateName=function(e,t){if(!e)return!1;if("PrivateName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isBigIntLiteral=function(e,t){if(!e)return!1;if("BigIntLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSParameterProperty=function(e,t){if(!e)return!1;if("TSParameterProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSDeclareFunction=function(e,t){if(!e)return!1;if("TSDeclareFunction"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSDeclareMethod=function(e,t){if(!e)return!1;if("TSDeclareMethod"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSQualifiedName=function(e,t){if(!e)return!1;if("TSQualifiedName"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSCallSignatureDeclaration=function(e,t){if(!e)return!1;if("TSCallSignatureDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConstructSignatureDeclaration=function(e,t){if(!e)return!1;if("TSConstructSignatureDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSPropertySignature=function(e,t){if(!e)return!1;if("TSPropertySignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSMethodSignature=function(e,t){if(!e)return!1;if("TSMethodSignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIndexSignature=function(e,t){if(!e)return!1;if("TSIndexSignature"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSAnyKeyword=function(e,t){if(!e)return!1;if("TSAnyKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSBooleanKeyword=function(e,t){if(!e)return!1;if("TSBooleanKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSBigIntKeyword=function(e,t){if(!e)return!1;if("TSBigIntKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNeverKeyword=function(e,t){if(!e)return!1;if("TSNeverKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNullKeyword=function(e,t){if(!e)return!1;if("TSNullKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNumberKeyword=function(e,t){if(!e)return!1;if("TSNumberKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSObjectKeyword=function(e,t){if(!e)return!1;if("TSObjectKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSStringKeyword=function(e,t){if(!e)return!1;if("TSStringKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSSymbolKeyword=function(e,t){if(!e)return!1;if("TSSymbolKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUndefinedKeyword=function(e,t){if(!e)return!1;if("TSUndefinedKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUnknownKeyword=function(e,t){if(!e)return!1;if("TSUnknownKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSVoidKeyword=function(e,t){if(!e)return!1;if("TSVoidKeyword"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSThisType=function(e,t){if(!e)return!1;if("TSThisType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSFunctionType=function(e,t){if(!e)return!1;if("TSFunctionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConstructorType=function(e,t){if(!e)return!1;if("TSConstructorType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeReference=function(e,t){if(!e)return!1;if("TSTypeReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypePredicate=function(e,t){if(!e)return!1;if("TSTypePredicate"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeQuery=function(e,t){if(!e)return!1;if("TSTypeQuery"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeLiteral=function(e,t){if(!e)return!1;if("TSTypeLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSArrayType=function(e,t){if(!e)return!1;if("TSArrayType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTupleType=function(e,t){if(!e)return!1;if("TSTupleType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSOptionalType=function(e,t){if(!e)return!1;if("TSOptionalType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSRestType=function(e,t){if(!e)return!1;if("TSRestType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSUnionType=function(e,t){if(!e)return!1;if("TSUnionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIntersectionType=function(e,t){if(!e)return!1;if("TSIntersectionType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSConditionalType=function(e,t){if(!e)return!1;if("TSConditionalType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInferType=function(e,t){if(!e)return!1;if("TSInferType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSParenthesizedType=function(e,t){if(!e)return!1;if("TSParenthesizedType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeOperator=function(e,t){if(!e)return!1;if("TSTypeOperator"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSIndexedAccessType=function(e,t){if(!e)return!1;if("TSIndexedAccessType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSMappedType=function(e,t){if(!e)return!1;if("TSMappedType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSLiteralType=function(e,t){if(!e)return!1;if("TSLiteralType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExpressionWithTypeArguments=function(e,t){if(!e)return!1;if("TSExpressionWithTypeArguments"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInterfaceDeclaration=function(e,t){if(!e)return!1;if("TSInterfaceDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSInterfaceBody=function(e,t){if(!e)return!1;if("TSInterfaceBody"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAliasDeclaration=function(e,t){if(!e)return!1;if("TSTypeAliasDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSAsExpression=function(e,t){if(!e)return!1;if("TSAsExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAssertion=function(e,t){if(!e)return!1;if("TSTypeAssertion"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSEnumDeclaration=function(e,t){if(!e)return!1;if("TSEnumDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSEnumMember=function(e,t){if(!e)return!1;if("TSEnumMember"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSModuleDeclaration=function(e,t){if(!e)return!1;if("TSModuleDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSModuleBlock=function(e,t){if(!e)return!1;if("TSModuleBlock"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSImportType=function(e,t){if(!e)return!1;if("TSImportType"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSImportEqualsDeclaration=function(e,t){if(!e)return!1;if("TSImportEqualsDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExternalModuleReference=function(e,t){if(!e)return!1;if("TSExternalModuleReference"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNonNullExpression=function(e,t){if(!e)return!1;if("TSNonNullExpression"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSExportAssignment=function(e,t){if(!e)return!1;if("TSExportAssignment"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSNamespaceExportDeclaration=function(e,t){if(!e)return!1;if("TSNamespaceExportDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeAnnotation=function(e,t){if(!e)return!1;if("TSTypeAnnotation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameterInstantiation=function(e,t){if(!e)return!1;if("TSTypeParameterInstantiation"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameterDeclaration=function(e,t){if(!e)return!1;if("TSTypeParameterDeclaration"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeParameter=function(e,t){if(!e)return!1;if("TSTypeParameter"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isExpression=function(e,t){if(!e)return!1;const r=e.type;if("Expression"===r||"ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"CallExpression"===r||"ConditionalExpression"===r||"FunctionExpression"===r||"Identifier"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"ObjectExpression"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"ThisExpression"===r||"UnaryExpression"===r||"UpdateExpression"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"MetaProperty"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateLiteral"===r||"YieldExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"AwaitExpression"===r||"BindExpression"===r||"OptionalMemberExpression"===r||"PipelinePrimaryTopicReference"===r||"OptionalCallExpression"===r||"Import"===r||"DoExpression"===r||"BigIntLiteral"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||"Placeholder"===r&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isBinary=function(e,t){if(!e)return!1;const r=e.type;if("Binary"===r||"BinaryExpression"===r||"LogicalExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isScopable=function(e,t){if(!e)return!1;const r=e.type;if("Scopable"===r||"BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassDeclaration"===r||"ClassExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isBlockParent=function(e,t){if(!e)return!1;const r=e.type;if("BlockParent"===r||"BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isBlock=function(e,t){if(!e)return!1;const r=e.type;if("Block"===r||"BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isStatement=function(e,t){if(!e)return!1;const r=e.type;if("Statement"===r||"BlockStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"IfStatement"===r||"LabeledStatement"===r||"ReturnStatement"===r||"SwitchStatement"===r||"ThrowStatement"===r||"TryStatement"===r||"VariableDeclaration"===r||"WhileStatement"===r||"WithStatement"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"TSImportEqualsDeclaration"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||"Placeholder"===r&&("Statement"===e.expectedNode||"Declaration"===e.expectedNode||"BlockStatement"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isTerminatorless=function(e,t){if(!e)return!1;const r=e.type;if("Terminatorless"===r||"BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isCompletionStatement=function(e,t){if(!e)return!1;const r=e.type;if("CompletionStatement"===r||"BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isConditional=function(e,t){if(!e)return!1;const r=e.type;if("Conditional"===r||"ConditionalExpression"===r||"IfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isLoop=function(e,t){if(!e)return!1;const r=e.type;if("Loop"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isWhile=function(e,t){if(!e)return!1;const r=e.type;if("While"===r||"DoWhileStatement"===r||"WhileStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isExpressionWrapper=function(e,t){if(!e)return!1;const r=e.type;if("ExpressionWrapper"===r||"ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFor=function(e,t){if(!e)return!1;const r=e.type;if("For"===r||"ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isForXStatement=function(e,t){if(!e)return!1;const r=e.type;if("ForXStatement"===r||"ForInStatement"===r||"ForOfStatement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFunction=function(e,t){if(!e)return!1;const r=e.type;if("Function"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFunctionParent=function(e,t){if(!e)return!1;const r=e.type;if("FunctionParent"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPureish=function(e,t){if(!e)return!1;const r=e.type;if("Pureish"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"ArrowFunctionExpression"===r||"ClassDeclaration"===r||"ClassExpression"===r||"BigIntLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("Declaration"===r||"FunctionDeclaration"===r||"VariableDeclaration"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"Placeholder"===r&&"Declaration"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isPatternLike=function(e,t){if(!e)return!1;const r=e.type;if("PatternLike"===r||"Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"Placeholder"===r&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isLVal=function(e,t){if(!e)return!1;const r=e.type;if("LVal"===r||"Identifier"===r||"MemberExpression"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"TSParameterProperty"===r||"Placeholder"===r&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode))return void 0===t||(0,i.default)(e,t);return!1},t.isTSEntityName=function(e,t){if(!e)return!1;const r=e.type;if("TSEntityName"===r||"Identifier"===r||"TSQualifiedName"===r||"Placeholder"===r&&"Identifier"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isLiteral=function(e,t){if(!e)return!1;const r=e.type;if("Literal"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isImmutable=function(e,t){if(!e)return!1;const r=e.type;if("Immutable"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"BigIntLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isUserWhitespacable=function(e,t){if(!e)return!1;const r=e.type;if("UserWhitespacable"===r||"ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isMethod=function(e,t){if(!e)return!1;const r=e.type;if("Method"===r||"ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isObjectMember=function(e,t){if(!e)return!1;const r=e.type;if("ObjectMember"===r||"ObjectMethod"===r||"ObjectProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isProperty=function(e,t){if(!e)return!1;const r=e.type;if("Property"===r||"ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isUnaryLike=function(e,t){if(!e)return!1;const r=e.type;if("UnaryLike"===r||"UnaryExpression"===r||"SpreadElement"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPattern=function(e,t){if(!e)return!1;const r=e.type;if("Pattern"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"Placeholder"===r&&"Pattern"===e.expectedNode)return void 0===t||(0,i.default)(e,t);return!1},t.isClass=function(e,t){if(!e)return!1;const r=e.type;if("Class"===r||"ClassDeclaration"===r||"ClassExpression"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isModuleDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ModuleDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isExportDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ExportDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isModuleSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ModuleSpecifier"===r||"ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportDefaultSpecifier"===r||"ExportNamespaceSpecifier"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlow=function(e,t){if(!e)return!1;const r=e.type;if("Flow"===r||"AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ClassImplements"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"DeclaredPredicate"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"FunctionTypeParam"===r||"GenericTypeAnnotation"===r||"InferredPredicate"===r||"InterfaceExtends"===r||"InterfaceDeclaration"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r||"OpaqueType"===r||"QualifiedTypeIdentifier"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"TypeAlias"===r||"TypeAnnotation"===r||"TypeCastExpression"===r||"TypeParameter"===r||"TypeParameterDeclaration"===r||"TypeParameterInstantiation"===r||"UnionTypeAnnotation"===r||"Variance"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowType=function(e,t){if(!e)return!1;const r=e.type;if("FlowType"===r||"AnyTypeAnnotation"===r||"ArrayTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"BooleanLiteralTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"ExistsTypeAnnotation"===r||"FunctionTypeAnnotation"===r||"GenericTypeAnnotation"===r||"InterfaceTypeAnnotation"===r||"IntersectionTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NullableTypeAnnotation"===r||"NumberLiteralTypeAnnotation"===r||"NumberTypeAnnotation"===r||"ObjectTypeAnnotation"===r||"StringLiteralTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowBaseAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("FlowBaseAnnotation"===r||"AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("FlowDeclaration"===r||"DeclareClass"===r||"DeclareFunction"===r||"DeclareInterface"===r||"DeclareModule"===r||"DeclareModuleExports"===r||"DeclareTypeAlias"===r||"DeclareOpaqueType"===r||"DeclareVariable"===r||"DeclareExportDeclaration"===r||"DeclareExportAllDeclaration"===r||"InterfaceDeclaration"===r||"OpaqueType"===r||"TypeAlias"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isFlowPredicate=function(e,t){if(!e)return!1;const r=e.type;if("FlowPredicate"===r||"DeclaredPredicate"===r||"InferredPredicate"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isJSX=function(e,t){if(!e)return!1;const r=e.type;if("JSX"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXEmptyExpression"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXIdentifier"===r||"JSXMemberExpression"===r||"JSXNamespacedName"===r||"JSXOpeningElement"===r||"JSXSpreadAttribute"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isPrivate=function(e,t){if(!e)return!1;const r=e.type;if("Private"===r||"ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isTSTypeElement=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeElement"===r||"TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isTSType=function(e,t){if(!e)return!1;const r=e.type;if("TSType"===r||"TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSFunctionType"===r||"TSConstructorType"===r||"TSTypeReference"===r||"TSTypePredicate"===r||"TSTypeQuery"===r||"TSTypeLiteral"===r||"TSArrayType"===r||"TSTupleType"===r||"TSOptionalType"===r||"TSRestType"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSImportType"===r)return void 0===t||(0,i.default)(e,t);return!1},t.isNumberLiteral=function(e,t){if(console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),!e)return!1;if("NumberLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRegexLiteral=function(e,t){if(console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),!e)return!1;if("RegexLiteral"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isRestProperty=function(e,t){if(console.trace("The node type RestProperty has been renamed to RestElement"),!e)return!1;if("RestProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1},t.isSpreadProperty=function(e,t){if(console.trace("The node type SpreadProperty has been renamed to SpreadElement"),!e)return!1;if("SpreadProperty"===e.type)return void 0===t||(0,i.default)(e,t);return!1};var n,i=(n=r(128))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(87),i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")();e.exports=a},,,function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){"use strict";function n(){const e=(t=r(71))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return i.VISITOR_KEYS}}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return i.ALIAS_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return i.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return i.NODE_FIELDS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return i.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return i.DEPRECATED_KEYS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return a.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return a.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,r(113),r(117),r(420),r(421),r(422),r(423),r(424);var i=r(29),a=r(204);(0,n().default)(i.VISITOR_KEYS),(0,n().default)(i.ALIAS_KEYS),(0,n().default)(i.FLIPPED_ALIAS_KEYS),(0,n().default)(i.NODE_FIELDS),(0,n().default)(i.BUILDER_KEYS),(0,n().default)(i.DEPRECATED_KEYS),(0,n().default)(a.PLACEHOLDERS_ALIAS),(0,n().default)(a.PLACEHOLDERS_FLIPPED_ALIAS);const s=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=s},function(e,t,r){"use strict";function n(){const e=(t=r(71))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return i.VISITOR_KEYS}}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return i.ALIAS_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return i.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return i.NODE_FIELDS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return i.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return i.DEPRECATED_KEYS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return a.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return a.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,r(121),r(125),r(485),r(486),r(487),r(488),r(489);var i=r(30),a=r(226);(0,n().default)(i.VISITOR_KEYS),(0,n().default)(i.ALIAS_KEYS),(0,n().default)(i.FLIPPED_ALIAS_KEYS),(0,n().default)(i.NODE_FIELDS),(0,n().default)(i.BUILDER_KEYS),(0,n().default)(i.DEPRECATED_KEYS),(0,n().default)(a.PLACEHOLDERS_ALIAS),(0,n().default)(a.PLACEHOLDERS_FLIPPED_ALIAS);const s=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=s},function(e,t,r){"use strict";function n(){const e=(t=r(71))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return i.VISITOR_KEYS}}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return i.ALIAS_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return i.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return i.NODE_FIELDS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return i.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return i.DEPRECATED_KEYS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return a.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return a.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return a.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,r(129),r(133),r(566),r(567),r(568),r(569),r(570);var i=r(31),a=r(251);(0,n().default)(i.VISITOR_KEYS),(0,n().default)(i.ALIAS_KEYS),(0,n().default)(i.FLIPPED_ALIAS_KEYS),(0,n().default)(i.NODE_FIELDS),(0,n().default)(i.BUILDER_KEYS),(0,n().default)(i.DEPRECATED_KEYS),(0,n().default)(a.PLACEHOLDERS_ALIAS),(0,n().default)(a.PLACEHOLDERS_FLIPPED_ALIAS);const s=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=s},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayExpression=t.ArrayExpression=function(...e){return(0,i.default)("ArrayExpression",...e)},t.assignmentExpression=t.AssignmentExpression=function(...e){return(0,i.default)("AssignmentExpression",...e)},t.binaryExpression=t.BinaryExpression=function(...e){return(0,i.default)("BinaryExpression",...e)},t.interpreterDirective=t.InterpreterDirective=function(...e){return(0,i.default)("InterpreterDirective",...e)},t.directive=t.Directive=function(...e){return(0,i.default)("Directive",...e)},t.directiveLiteral=t.DirectiveLiteral=function(...e){return(0,i.default)("DirectiveLiteral",...e)},t.blockStatement=t.BlockStatement=function(...e){return(0,i.default)("BlockStatement",...e)},t.breakStatement=t.BreakStatement=function(...e){return(0,i.default)("BreakStatement",...e)},t.callExpression=t.CallExpression=function(...e){return(0,i.default)("CallExpression",...e)},t.catchClause=t.CatchClause=function(...e){return(0,i.default)("CatchClause",...e)},t.conditionalExpression=t.ConditionalExpression=function(...e){return(0,i.default)("ConditionalExpression",...e)},t.continueStatement=t.ContinueStatement=function(...e){return(0,i.default)("ContinueStatement",...e)},t.debuggerStatement=t.DebuggerStatement=function(...e){return(0,i.default)("DebuggerStatement",...e)},t.doWhileStatement=t.DoWhileStatement=function(...e){return(0,i.default)("DoWhileStatement",...e)},t.emptyStatement=t.EmptyStatement=function(...e){return(0,i.default)("EmptyStatement",...e)},t.expressionStatement=t.ExpressionStatement=function(...e){return(0,i.default)("ExpressionStatement",...e)},t.file=t.File=function(...e){return(0,i.default)("File",...e)},t.forInStatement=t.ForInStatement=function(...e){return(0,i.default)("ForInStatement",...e)},t.forStatement=t.ForStatement=function(...e){return(0,i.default)("ForStatement",...e)},t.functionDeclaration=t.FunctionDeclaration=function(...e){return(0,i.default)("FunctionDeclaration",...e)},t.functionExpression=t.FunctionExpression=function(...e){return(0,i.default)("FunctionExpression",...e)},t.identifier=t.Identifier=function(...e){return(0,i.default)("Identifier",...e)},t.ifStatement=t.IfStatement=function(...e){return(0,i.default)("IfStatement",...e)},t.labeledStatement=t.LabeledStatement=function(...e){return(0,i.default)("LabeledStatement",...e)},t.stringLiteral=t.StringLiteral=function(...e){return(0,i.default)("StringLiteral",...e)},t.numericLiteral=t.NumericLiteral=function(...e){return(0,i.default)("NumericLiteral",...e)},t.nullLiteral=t.NullLiteral=function(...e){return(0,i.default)("NullLiteral",...e)},t.booleanLiteral=t.BooleanLiteral=function(...e){return(0,i.default)("BooleanLiteral",...e)},t.regExpLiteral=t.RegExpLiteral=function(...e){return(0,i.default)("RegExpLiteral",...e)},t.logicalExpression=t.LogicalExpression=function(...e){return(0,i.default)("LogicalExpression",...e)},t.memberExpression=t.MemberExpression=function(...e){return(0,i.default)("MemberExpression",...e)},t.newExpression=t.NewExpression=function(...e){return(0,i.default)("NewExpression",...e)},t.program=t.Program=function(...e){return(0,i.default)("Program",...e)},t.objectExpression=t.ObjectExpression=function(...e){return(0,i.default)("ObjectExpression",...e)},t.objectMethod=t.ObjectMethod=function(...e){return(0,i.default)("ObjectMethod",...e)},t.objectProperty=t.ObjectProperty=function(...e){return(0,i.default)("ObjectProperty",...e)},t.restElement=t.RestElement=function(...e){return(0,i.default)("RestElement",...e)},t.returnStatement=t.ReturnStatement=function(...e){return(0,i.default)("ReturnStatement",...e)},t.sequenceExpression=t.SequenceExpression=function(...e){return(0,i.default)("SequenceExpression",...e)},t.switchCase=t.SwitchCase=function(...e){return(0,i.default)("SwitchCase",...e)},t.switchStatement=t.SwitchStatement=function(...e){return(0,i.default)("SwitchStatement",...e)},t.thisExpression=t.ThisExpression=function(...e){return(0,i.default)("ThisExpression",...e)},t.throwStatement=t.ThrowStatement=function(...e){return(0,i.default)("ThrowStatement",...e)},t.tryStatement=t.TryStatement=function(...e){return(0,i.default)("TryStatement",...e)},t.unaryExpression=t.UnaryExpression=function(...e){return(0,i.default)("UnaryExpression",...e)},t.updateExpression=t.UpdateExpression=function(...e){return(0,i.default)("UpdateExpression",...e)},t.variableDeclaration=t.VariableDeclaration=function(...e){return(0,i.default)("VariableDeclaration",...e)},t.variableDeclarator=t.VariableDeclarator=function(...e){return(0,i.default)("VariableDeclarator",...e)},t.whileStatement=t.WhileStatement=function(...e){return(0,i.default)("WhileStatement",...e)},t.withStatement=t.WithStatement=function(...e){return(0,i.default)("WithStatement",...e)},t.assignmentPattern=t.AssignmentPattern=function(...e){return(0,i.default)("AssignmentPattern",...e)},t.arrayPattern=t.ArrayPattern=function(...e){return(0,i.default)("ArrayPattern",...e)},t.arrowFunctionExpression=t.ArrowFunctionExpression=function(...e){return(0,i.default)("ArrowFunctionExpression",...e)},t.classBody=t.ClassBody=function(...e){return(0,i.default)("ClassBody",...e)},t.classDeclaration=t.ClassDeclaration=function(...e){return(0,i.default)("ClassDeclaration",...e)},t.classExpression=t.ClassExpression=function(...e){return(0,i.default)("ClassExpression",...e)},t.exportAllDeclaration=t.ExportAllDeclaration=function(...e){return(0,i.default)("ExportAllDeclaration",...e)},t.exportDefaultDeclaration=t.ExportDefaultDeclaration=function(...e){return(0,i.default)("ExportDefaultDeclaration",...e)},t.exportNamedDeclaration=t.ExportNamedDeclaration=function(...e){return(0,i.default)("ExportNamedDeclaration",...e)},t.exportSpecifier=t.ExportSpecifier=function(...e){return(0,i.default)("ExportSpecifier",...e)},t.forOfStatement=t.ForOfStatement=function(...e){return(0,i.default)("ForOfStatement",...e)},t.importDeclaration=t.ImportDeclaration=function(...e){return(0,i.default)("ImportDeclaration",...e)},t.importDefaultSpecifier=t.ImportDefaultSpecifier=function(...e){return(0,i.default)("ImportDefaultSpecifier",...e)},t.importNamespaceSpecifier=t.ImportNamespaceSpecifier=function(...e){return(0,i.default)("ImportNamespaceSpecifier",...e)},t.importSpecifier=t.ImportSpecifier=function(...e){return(0,i.default)("ImportSpecifier",...e)},t.metaProperty=t.MetaProperty=function(...e){return(0,i.default)("MetaProperty",...e)},t.classMethod=t.ClassMethod=function(...e){return(0,i.default)("ClassMethod",...e)},t.objectPattern=t.ObjectPattern=function(...e){return(0,i.default)("ObjectPattern",...e)},t.spreadElement=t.SpreadElement=function(...e){return(0,i.default)("SpreadElement",...e)},t.super=t.Super=function(...e){return(0,i.default)("Super",...e)},t.taggedTemplateExpression=t.TaggedTemplateExpression=function(...e){return(0,i.default)("TaggedTemplateExpression",...e)},t.templateElement=t.TemplateElement=function(...e){return(0,i.default)("TemplateElement",...e)},t.templateLiteral=t.TemplateLiteral=function(...e){return(0,i.default)("TemplateLiteral",...e)},t.yieldExpression=t.YieldExpression=function(...e){return(0,i.default)("YieldExpression",...e)},t.anyTypeAnnotation=t.AnyTypeAnnotation=function(...e){return(0,i.default)("AnyTypeAnnotation",...e)},t.arrayTypeAnnotation=t.ArrayTypeAnnotation=function(...e){return(0,i.default)("ArrayTypeAnnotation",...e)},t.booleanTypeAnnotation=t.BooleanTypeAnnotation=function(...e){return(0,i.default)("BooleanTypeAnnotation",...e)},t.booleanLiteralTypeAnnotation=t.BooleanLiteralTypeAnnotation=function(...e){return(0,i.default)("BooleanLiteralTypeAnnotation",...e)},t.nullLiteralTypeAnnotation=t.NullLiteralTypeAnnotation=function(...e){return(0,i.default)("NullLiteralTypeAnnotation",...e)},t.classImplements=t.ClassImplements=function(...e){return(0,i.default)("ClassImplements",...e)},t.declareClass=t.DeclareClass=function(...e){return(0,i.default)("DeclareClass",...e)},t.declareFunction=t.DeclareFunction=function(...e){return(0,i.default)("DeclareFunction",...e)},t.declareInterface=t.DeclareInterface=function(...e){return(0,i.default)("DeclareInterface",...e)},t.declareModule=t.DeclareModule=function(...e){return(0,i.default)("DeclareModule",...e)},t.declareModuleExports=t.DeclareModuleExports=function(...e){return(0,i.default)("DeclareModuleExports",...e)},t.declareTypeAlias=t.DeclareTypeAlias=function(...e){return(0,i.default)("DeclareTypeAlias",...e)},t.declareOpaqueType=t.DeclareOpaqueType=function(...e){return(0,i.default)("DeclareOpaqueType",...e)},t.declareVariable=t.DeclareVariable=function(...e){return(0,i.default)("DeclareVariable",...e)},t.declareExportDeclaration=t.DeclareExportDeclaration=function(...e){return(0,i.default)("DeclareExportDeclaration",...e)},t.declareExportAllDeclaration=t.DeclareExportAllDeclaration=function(...e){return(0,i.default)("DeclareExportAllDeclaration",...e)},t.declaredPredicate=t.DeclaredPredicate=function(...e){return(0,i.default)("DeclaredPredicate",...e)},t.existsTypeAnnotation=t.ExistsTypeAnnotation=function(...e){return(0,i.default)("ExistsTypeAnnotation",...e)},t.functionTypeAnnotation=t.FunctionTypeAnnotation=function(...e){return(0,i.default)("FunctionTypeAnnotation",...e)},t.functionTypeParam=t.FunctionTypeParam=function(...e){return(0,i.default)("FunctionTypeParam",...e)},t.genericTypeAnnotation=t.GenericTypeAnnotation=function(...e){return(0,i.default)("GenericTypeAnnotation",...e)},t.inferredPredicate=t.InferredPredicate=function(...e){return(0,i.default)("InferredPredicate",...e)},t.interfaceExtends=t.InterfaceExtends=function(...e){return(0,i.default)("InterfaceExtends",...e)},t.interfaceDeclaration=t.InterfaceDeclaration=function(...e){return(0,i.default)("InterfaceDeclaration",...e)},t.interfaceTypeAnnotation=t.InterfaceTypeAnnotation=function(...e){return(0,i.default)("InterfaceTypeAnnotation",...e)},t.intersectionTypeAnnotation=t.IntersectionTypeAnnotation=function(...e){return(0,i.default)("IntersectionTypeAnnotation",...e)},t.mixedTypeAnnotation=t.MixedTypeAnnotation=function(...e){return(0,i.default)("MixedTypeAnnotation",...e)},t.emptyTypeAnnotation=t.EmptyTypeAnnotation=function(...e){return(0,i.default)("EmptyTypeAnnotation",...e)},t.nullableTypeAnnotation=t.NullableTypeAnnotation=function(...e){return(0,i.default)("NullableTypeAnnotation",...e)},t.numberLiteralTypeAnnotation=t.NumberLiteralTypeAnnotation=function(...e){return(0,i.default)("NumberLiteralTypeAnnotation",...e)},t.numberTypeAnnotation=t.NumberTypeAnnotation=function(...e){return(0,i.default)("NumberTypeAnnotation",...e)},t.objectTypeAnnotation=t.ObjectTypeAnnotation=function(...e){return(0,i.default)("ObjectTypeAnnotation",...e)},t.objectTypeInternalSlot=t.ObjectTypeInternalSlot=function(...e){return(0,i.default)("ObjectTypeInternalSlot",...e)},t.objectTypeCallProperty=t.ObjectTypeCallProperty=function(...e){return(0,i.default)("ObjectTypeCallProperty",...e)},t.objectTypeIndexer=t.ObjectTypeIndexer=function(...e){return(0,i.default)("ObjectTypeIndexer",...e)},t.objectTypeProperty=t.ObjectTypeProperty=function(...e){return(0,i.default)("ObjectTypeProperty",...e)},t.objectTypeSpreadProperty=t.ObjectTypeSpreadProperty=function(...e){return(0,i.default)("ObjectTypeSpreadProperty",...e)},t.opaqueType=t.OpaqueType=function(...e){return(0,i.default)("OpaqueType",...e)},t.qualifiedTypeIdentifier=t.QualifiedTypeIdentifier=function(...e){return(0,i.default)("QualifiedTypeIdentifier",...e)},t.stringLiteralTypeAnnotation=t.StringLiteralTypeAnnotation=function(...e){return(0,i.default)("StringLiteralTypeAnnotation",...e)},t.stringTypeAnnotation=t.StringTypeAnnotation=function(...e){return(0,i.default)("StringTypeAnnotation",...e)},t.thisTypeAnnotation=t.ThisTypeAnnotation=function(...e){return(0,i.default)("ThisTypeAnnotation",...e)},t.tupleTypeAnnotation=t.TupleTypeAnnotation=function(...e){return(0,i.default)("TupleTypeAnnotation",...e)},t.typeofTypeAnnotation=t.TypeofTypeAnnotation=function(...e){return(0,i.default)("TypeofTypeAnnotation",...e)},t.typeAlias=t.TypeAlias=function(...e){return(0,i.default)("TypeAlias",...e)},t.typeAnnotation=t.TypeAnnotation=function(...e){return(0,i.default)("TypeAnnotation",...e)},t.typeCastExpression=t.TypeCastExpression=function(...e){return(0,i.default)("TypeCastExpression",...e)},t.typeParameter=t.TypeParameter=function(...e){return(0,i.default)("TypeParameter",...e)},t.typeParameterDeclaration=t.TypeParameterDeclaration=function(...e){return(0,i.default)("TypeParameterDeclaration",...e)},t.typeParameterInstantiation=t.TypeParameterInstantiation=function(...e){return(0,i.default)("TypeParameterInstantiation",...e)},t.unionTypeAnnotation=t.UnionTypeAnnotation=function(...e){return(0,i.default)("UnionTypeAnnotation",...e)},t.variance=t.Variance=function(...e){return(0,i.default)("Variance",...e)},t.voidTypeAnnotation=t.VoidTypeAnnotation=function(...e){return(0,i.default)("VoidTypeAnnotation",...e)},t.jSXAttribute=t.jsxAttribute=t.JSXAttribute=function(...e){return(0,i.default)("JSXAttribute",...e)},t.jSXClosingElement=t.jsxClosingElement=t.JSXClosingElement=function(...e){return(0,i.default)("JSXClosingElement",...e)},t.jSXElement=t.jsxElement=t.JSXElement=function(...e){return(0,i.default)("JSXElement",...e)},t.jSXEmptyExpression=t.jsxEmptyExpression=t.JSXEmptyExpression=function(...e){return(0,i.default)("JSXEmptyExpression",...e)},t.jSXExpressionContainer=t.jsxExpressionContainer=t.JSXExpressionContainer=function(...e){return(0,i.default)("JSXExpressionContainer",...e)},t.jSXSpreadChild=t.jsxSpreadChild=t.JSXSpreadChild=function(...e){return(0,i.default)("JSXSpreadChild",...e)},t.jSXIdentifier=t.jsxIdentifier=t.JSXIdentifier=function(...e){return(0,i.default)("JSXIdentifier",...e)},t.jSXMemberExpression=t.jsxMemberExpression=t.JSXMemberExpression=function(...e){return(0,i.default)("JSXMemberExpression",...e)},t.jSXNamespacedName=t.jsxNamespacedName=t.JSXNamespacedName=function(...e){return(0,i.default)("JSXNamespacedName",...e)},t.jSXOpeningElement=t.jsxOpeningElement=t.JSXOpeningElement=function(...e){return(0,i.default)("JSXOpeningElement",...e)},t.jSXSpreadAttribute=t.jsxSpreadAttribute=t.JSXSpreadAttribute=function(...e){return(0,i.default)("JSXSpreadAttribute",...e)},t.jSXText=t.jsxText=t.JSXText=function(...e){return(0,i.default)("JSXText",...e)},t.jSXFragment=t.jsxFragment=t.JSXFragment=function(...e){return(0,i.default)("JSXFragment",...e)},t.jSXOpeningFragment=t.jsxOpeningFragment=t.JSXOpeningFragment=function(...e){return(0,i.default)("JSXOpeningFragment",...e)},t.jSXClosingFragment=t.jsxClosingFragment=t.JSXClosingFragment=function(...e){return(0,i.default)("JSXClosingFragment",...e)},t.noop=t.Noop=function(...e){return(0,i.default)("Noop",...e)},t.parenthesizedExpression=t.ParenthesizedExpression=function(...e){return(0,i.default)("ParenthesizedExpression",...e)},t.awaitExpression=t.AwaitExpression=function(...e){return(0,i.default)("AwaitExpression",...e)},t.bindExpression=t.BindExpression=function(...e){return(0,i.default)("BindExpression",...e)},t.classProperty=t.ClassProperty=function(...e){return(0,i.default)("ClassProperty",...e)},t.optionalMemberExpression=t.OptionalMemberExpression=function(...e){return(0,i.default)("OptionalMemberExpression",...e)},t.pipelineTopicExpression=t.PipelineTopicExpression=function(...e){return(0,i.default)("PipelineTopicExpression",...e)},t.pipelineBareFunction=t.PipelineBareFunction=function(...e){return(0,i.default)("PipelineBareFunction",...e)},t.pipelinePrimaryTopicReference=t.PipelinePrimaryTopicReference=function(...e){return(0,i.default)("PipelinePrimaryTopicReference",...e)},t.optionalCallExpression=t.OptionalCallExpression=function(...e){return(0,i.default)("OptionalCallExpression",...e)},t.classPrivateProperty=t.ClassPrivateProperty=function(...e){return(0,i.default)("ClassPrivateProperty",...e)},t.classPrivateMethod=t.ClassPrivateMethod=function(...e){return(0,i.default)("ClassPrivateMethod",...e)},t.import=t.Import=function(...e){return(0,i.default)("Import",...e)},t.decorator=t.Decorator=function(...e){return(0,i.default)("Decorator",...e)},t.doExpression=t.DoExpression=function(...e){return(0,i.default)("DoExpression",...e)},t.exportDefaultSpecifier=t.ExportDefaultSpecifier=function(...e){return(0,i.default)("ExportDefaultSpecifier",...e)},t.exportNamespaceSpecifier=t.ExportNamespaceSpecifier=function(...e){return(0,i.default)("ExportNamespaceSpecifier",...e)},t.privateName=t.PrivateName=function(...e){return(0,i.default)("PrivateName",...e)},t.bigIntLiteral=t.BigIntLiteral=function(...e){return(0,i.default)("BigIntLiteral",...e)},t.tSParameterProperty=t.tsParameterProperty=t.TSParameterProperty=function(...e){return(0,i.default)("TSParameterProperty",...e)},t.tSDeclareFunction=t.tsDeclareFunction=t.TSDeclareFunction=function(...e){return(0,i.default)("TSDeclareFunction",...e)},t.tSDeclareMethod=t.tsDeclareMethod=t.TSDeclareMethod=function(...e){return(0,i.default)("TSDeclareMethod",...e)},t.tSQualifiedName=t.tsQualifiedName=t.TSQualifiedName=function(...e){return(0,i.default)("TSQualifiedName",...e)},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=t.TSCallSignatureDeclaration=function(...e){return(0,i.default)("TSCallSignatureDeclaration",...e)},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=t.TSConstructSignatureDeclaration=function(...e){return(0,i.default)("TSConstructSignatureDeclaration",...e)},t.tSPropertySignature=t.tsPropertySignature=t.TSPropertySignature=function(...e){return(0,i.default)("TSPropertySignature",...e)},t.tSMethodSignature=t.tsMethodSignature=t.TSMethodSignature=function(...e){return(0,i.default)("TSMethodSignature",...e)},t.tSIndexSignature=t.tsIndexSignature=t.TSIndexSignature=function(...e){return(0,i.default)("TSIndexSignature",...e)},t.tSAnyKeyword=t.tsAnyKeyword=t.TSAnyKeyword=function(...e){return(0,i.default)("TSAnyKeyword",...e)},t.tSUnknownKeyword=t.tsUnknownKeyword=t.TSUnknownKeyword=function(...e){return(0,i.default)("TSUnknownKeyword",...e)},t.tSNumberKeyword=t.tsNumberKeyword=t.TSNumberKeyword=function(...e){return(0,i.default)("TSNumberKeyword",...e)},t.tSObjectKeyword=t.tsObjectKeyword=t.TSObjectKeyword=function(...e){return(0,i.default)("TSObjectKeyword",...e)},t.tSBooleanKeyword=t.tsBooleanKeyword=t.TSBooleanKeyword=function(...e){return(0,i.default)("TSBooleanKeyword",...e)},t.tSStringKeyword=t.tsStringKeyword=t.TSStringKeyword=function(...e){return(0,i.default)("TSStringKeyword",...e)},t.tSSymbolKeyword=t.tsSymbolKeyword=t.TSSymbolKeyword=function(...e){return(0,i.default)("TSSymbolKeyword",...e)},t.tSVoidKeyword=t.tsVoidKeyword=t.TSVoidKeyword=function(...e){return(0,i.default)("TSVoidKeyword",...e)},t.tSUndefinedKeyword=t.tsUndefinedKeyword=t.TSUndefinedKeyword=function(...e){return(0,i.default)("TSUndefinedKeyword",...e)},t.tSNullKeyword=t.tsNullKeyword=t.TSNullKeyword=function(...e){return(0,i.default)("TSNullKeyword",...e)},t.tSNeverKeyword=t.tsNeverKeyword=t.TSNeverKeyword=function(...e){return(0,i.default)("TSNeverKeyword",...e)},t.tSThisType=t.tsThisType=t.TSThisType=function(...e){return(0,i.default)("TSThisType",...e)},t.tSFunctionType=t.tsFunctionType=t.TSFunctionType=function(...e){return(0,i.default)("TSFunctionType",...e)},t.tSConstructorType=t.tsConstructorType=t.TSConstructorType=function(...e){return(0,i.default)("TSConstructorType",...e)},t.tSTypeReference=t.tsTypeReference=t.TSTypeReference=function(...e){return(0,i.default)("TSTypeReference",...e)},t.tSTypePredicate=t.tsTypePredicate=t.TSTypePredicate=function(...e){return(0,i.default)("TSTypePredicate",...e)},t.tSTypeQuery=t.tsTypeQuery=t.TSTypeQuery=function(...e){return(0,i.default)("TSTypeQuery",...e)},t.tSTypeLiteral=t.tsTypeLiteral=t.TSTypeLiteral=function(...e){return(0,i.default)("TSTypeLiteral",...e)},t.tSArrayType=t.tsArrayType=t.TSArrayType=function(...e){return(0,i.default)("TSArrayType",...e)},t.tSTupleType=t.tsTupleType=t.TSTupleType=function(...e){return(0,i.default)("TSTupleType",...e)},t.tSOptionalType=t.tsOptionalType=t.TSOptionalType=function(...e){return(0,i.default)("TSOptionalType",...e)},t.tSRestType=t.tsRestType=t.TSRestType=function(...e){return(0,i.default)("TSRestType",...e)},t.tSUnionType=t.tsUnionType=t.TSUnionType=function(...e){return(0,i.default)("TSUnionType",...e)},t.tSIntersectionType=t.tsIntersectionType=t.TSIntersectionType=function(...e){return(0,i.default)("TSIntersectionType",...e)},t.tSConditionalType=t.tsConditionalType=t.TSConditionalType=function(...e){return(0,i.default)("TSConditionalType",...e)},t.tSInferType=t.tsInferType=t.TSInferType=function(...e){return(0,i.default)("TSInferType",...e)},t.tSParenthesizedType=t.tsParenthesizedType=t.TSParenthesizedType=function(...e){return(0,i.default)("TSParenthesizedType",...e)},t.tSTypeOperator=t.tsTypeOperator=t.TSTypeOperator=function(...e){return(0,i.default)("TSTypeOperator",...e)},t.tSIndexedAccessType=t.tsIndexedAccessType=t.TSIndexedAccessType=function(...e){return(0,i.default)("TSIndexedAccessType",...e)},t.tSMappedType=t.tsMappedType=t.TSMappedType=function(...e){return(0,i.default)("TSMappedType",...e)},t.tSLiteralType=t.tsLiteralType=t.TSLiteralType=function(...e){return(0,i.default)("TSLiteralType",...e)},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=t.TSExpressionWithTypeArguments=function(...e){return(0,i.default)("TSExpressionWithTypeArguments",...e)},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=t.TSInterfaceDeclaration=function(...e){return(0,i.default)("TSInterfaceDeclaration",...e)},t.tSInterfaceBody=t.tsInterfaceBody=t.TSInterfaceBody=function(...e){return(0,i.default)("TSInterfaceBody",...e)},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=t.TSTypeAliasDeclaration=function(...e){return(0,i.default)("TSTypeAliasDeclaration",...e)},t.tSAsExpression=t.tsAsExpression=t.TSAsExpression=function(...e){return(0,i.default)("TSAsExpression",...e)},t.tSTypeAssertion=t.tsTypeAssertion=t.TSTypeAssertion=function(...e){return(0,i.default)("TSTypeAssertion",...e)},t.tSEnumDeclaration=t.tsEnumDeclaration=t.TSEnumDeclaration=function(...e){return(0,i.default)("TSEnumDeclaration",...e)},t.tSEnumMember=t.tsEnumMember=t.TSEnumMember=function(...e){return(0,i.default)("TSEnumMember",...e)},t.tSModuleDeclaration=t.tsModuleDeclaration=t.TSModuleDeclaration=function(...e){return(0,i.default)("TSModuleDeclaration",...e)},t.tSModuleBlock=t.tsModuleBlock=t.TSModuleBlock=function(...e){return(0,i.default)("TSModuleBlock",...e)},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=t.TSImportEqualsDeclaration=function(...e){return(0,i.default)("TSImportEqualsDeclaration",...e)},t.tSExternalModuleReference=t.tsExternalModuleReference=t.TSExternalModuleReference=function(...e){return(0,i.default)("TSExternalModuleReference",...e)},t.tSNonNullExpression=t.tsNonNullExpression=t.TSNonNullExpression=function(...e){return(0,i.default)("TSNonNullExpression",...e)},t.tSExportAssignment=t.tsExportAssignment=t.TSExportAssignment=function(...e){return(0,i.default)("TSExportAssignment",...e)},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=t.TSNamespaceExportDeclaration=function(...e){return(0,i.default)("TSNamespaceExportDeclaration",...e)},t.tSTypeAnnotation=t.tsTypeAnnotation=t.TSTypeAnnotation=function(...e){return(0,i.default)("TSTypeAnnotation",...e)},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=t.TSTypeParameterInstantiation=function(...e){return(0,i.default)("TSTypeParameterInstantiation",...e)},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=t.TSTypeParameterDeclaration=function(...e){return(0,i.default)("TSTypeParameterDeclaration",...e)},t.tSTypeParameter=t.tsTypeParameter=t.TSTypeParameter=function(...e){return(0,i.default)("TSTypeParameter",...e)},t.numberLiteral=t.NumberLiteral=function e(...t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return e("NumberLiteral",...t)},t.regexLiteral=t.RegexLiteral=function e(...t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return e("RegexLiteral",...t)},t.restProperty=t.RestProperty=function e(...t){console.trace("The node type RestProperty has been renamed to RestElement");return e("RestProperty",...t)},t.spreadProperty=t.SpreadProperty=function e(...t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return e("SpreadProperty",...t)};var n,i=(n=r(304))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayExpression=t.ArrayExpression=function(...e){return(0,i.default)("ArrayExpression",...e)},t.assignmentExpression=t.AssignmentExpression=function(...e){return(0,i.default)("AssignmentExpression",...e)},t.binaryExpression=t.BinaryExpression=function(...e){return(0,i.default)("BinaryExpression",...e)},t.interpreterDirective=t.InterpreterDirective=function(...e){return(0,i.default)("InterpreterDirective",...e)},t.directive=t.Directive=function(...e){return(0,i.default)("Directive",...e)},t.directiveLiteral=t.DirectiveLiteral=function(...e){return(0,i.default)("DirectiveLiteral",...e)},t.blockStatement=t.BlockStatement=function(...e){return(0,i.default)("BlockStatement",...e)},t.breakStatement=t.BreakStatement=function(...e){return(0,i.default)("BreakStatement",...e)},t.callExpression=t.CallExpression=function(...e){return(0,i.default)("CallExpression",...e)},t.catchClause=t.CatchClause=function(...e){return(0,i.default)("CatchClause",...e)},t.conditionalExpression=t.ConditionalExpression=function(...e){return(0,i.default)("ConditionalExpression",...e)},t.continueStatement=t.ContinueStatement=function(...e){return(0,i.default)("ContinueStatement",...e)},t.debuggerStatement=t.DebuggerStatement=function(...e){return(0,i.default)("DebuggerStatement",...e)},t.doWhileStatement=t.DoWhileStatement=function(...e){return(0,i.default)("DoWhileStatement",...e)},t.emptyStatement=t.EmptyStatement=function(...e){return(0,i.default)("EmptyStatement",...e)},t.expressionStatement=t.ExpressionStatement=function(...e){return(0,i.default)("ExpressionStatement",...e)},t.file=t.File=function(...e){return(0,i.default)("File",...e)},t.forInStatement=t.ForInStatement=function(...e){return(0,i.default)("ForInStatement",...e)},t.forStatement=t.ForStatement=function(...e){return(0,i.default)("ForStatement",...e)},t.functionDeclaration=t.FunctionDeclaration=function(...e){return(0,i.default)("FunctionDeclaration",...e)},t.functionExpression=t.FunctionExpression=function(...e){return(0,i.default)("FunctionExpression",...e)},t.identifier=t.Identifier=function(...e){return(0,i.default)("Identifier",...e)},t.ifStatement=t.IfStatement=function(...e){return(0,i.default)("IfStatement",...e)},t.labeledStatement=t.LabeledStatement=function(...e){return(0,i.default)("LabeledStatement",...e)},t.stringLiteral=t.StringLiteral=function(...e){return(0,i.default)("StringLiteral",...e)},t.numericLiteral=t.NumericLiteral=function(...e){return(0,i.default)("NumericLiteral",...e)},t.nullLiteral=t.NullLiteral=function(...e){return(0,i.default)("NullLiteral",...e)},t.booleanLiteral=t.BooleanLiteral=function(...e){return(0,i.default)("BooleanLiteral",...e)},t.regExpLiteral=t.RegExpLiteral=function(...e){return(0,i.default)("RegExpLiteral",...e)},t.logicalExpression=t.LogicalExpression=function(...e){return(0,i.default)("LogicalExpression",...e)},t.memberExpression=t.MemberExpression=function(...e){return(0,i.default)("MemberExpression",...e)},t.newExpression=t.NewExpression=function(...e){return(0,i.default)("NewExpression",...e)},t.program=t.Program=function(...e){return(0,i.default)("Program",...e)},t.objectExpression=t.ObjectExpression=function(...e){return(0,i.default)("ObjectExpression",...e)},t.objectMethod=t.ObjectMethod=function(...e){return(0,i.default)("ObjectMethod",...e)},t.objectProperty=t.ObjectProperty=function(...e){return(0,i.default)("ObjectProperty",...e)},t.restElement=t.RestElement=function(...e){return(0,i.default)("RestElement",...e)},t.returnStatement=t.ReturnStatement=function(...e){return(0,i.default)("ReturnStatement",...e)},t.sequenceExpression=t.SequenceExpression=function(...e){return(0,i.default)("SequenceExpression",...e)},t.parenthesizedExpression=t.ParenthesizedExpression=function(...e){return(0,i.default)("ParenthesizedExpression",...e)},t.switchCase=t.SwitchCase=function(...e){return(0,i.default)("SwitchCase",...e)},t.switchStatement=t.SwitchStatement=function(...e){return(0,i.default)("SwitchStatement",...e)},t.thisExpression=t.ThisExpression=function(...e){return(0,i.default)("ThisExpression",...e)},t.throwStatement=t.ThrowStatement=function(...e){return(0,i.default)("ThrowStatement",...e)},t.tryStatement=t.TryStatement=function(...e){return(0,i.default)("TryStatement",...e)},t.unaryExpression=t.UnaryExpression=function(...e){return(0,i.default)("UnaryExpression",...e)},t.updateExpression=t.UpdateExpression=function(...e){return(0,i.default)("UpdateExpression",...e)},t.variableDeclaration=t.VariableDeclaration=function(...e){return(0,i.default)("VariableDeclaration",...e)},t.variableDeclarator=t.VariableDeclarator=function(...e){return(0,i.default)("VariableDeclarator",...e)},t.whileStatement=t.WhileStatement=function(...e){return(0,i.default)("WhileStatement",...e)},t.withStatement=t.WithStatement=function(...e){return(0,i.default)("WithStatement",...e)},t.assignmentPattern=t.AssignmentPattern=function(...e){return(0,i.default)("AssignmentPattern",...e)},t.arrayPattern=t.ArrayPattern=function(...e){return(0,i.default)("ArrayPattern",...e)},t.arrowFunctionExpression=t.ArrowFunctionExpression=function(...e){return(0,i.default)("ArrowFunctionExpression",...e)},t.classBody=t.ClassBody=function(...e){return(0,i.default)("ClassBody",...e)},t.classDeclaration=t.ClassDeclaration=function(...e){return(0,i.default)("ClassDeclaration",...e)},t.classExpression=t.ClassExpression=function(...e){return(0,i.default)("ClassExpression",...e)},t.exportAllDeclaration=t.ExportAllDeclaration=function(...e){return(0,i.default)("ExportAllDeclaration",...e)},t.exportDefaultDeclaration=t.ExportDefaultDeclaration=function(...e){return(0,i.default)("ExportDefaultDeclaration",...e)},t.exportNamedDeclaration=t.ExportNamedDeclaration=function(...e){return(0,i.default)("ExportNamedDeclaration",...e)},t.exportSpecifier=t.ExportSpecifier=function(...e){return(0,i.default)("ExportSpecifier",...e)},t.forOfStatement=t.ForOfStatement=function(...e){return(0,i.default)("ForOfStatement",...e)},t.importDeclaration=t.ImportDeclaration=function(...e){return(0,i.default)("ImportDeclaration",...e)},t.importDefaultSpecifier=t.ImportDefaultSpecifier=function(...e){return(0,i.default)("ImportDefaultSpecifier",...e)},t.importNamespaceSpecifier=t.ImportNamespaceSpecifier=function(...e){return(0,i.default)("ImportNamespaceSpecifier",...e)},t.importSpecifier=t.ImportSpecifier=function(...e){return(0,i.default)("ImportSpecifier",...e)},t.metaProperty=t.MetaProperty=function(...e){return(0,i.default)("MetaProperty",...e)},t.classMethod=t.ClassMethod=function(...e){return(0,i.default)("ClassMethod",...e)},t.objectPattern=t.ObjectPattern=function(...e){return(0,i.default)("ObjectPattern",...e)},t.spreadElement=t.SpreadElement=function(...e){return(0,i.default)("SpreadElement",...e)},t.super=t.Super=function(...e){return(0,i.default)("Super",...e)},t.taggedTemplateExpression=t.TaggedTemplateExpression=function(...e){return(0,i.default)("TaggedTemplateExpression",...e)},t.templateElement=t.TemplateElement=function(...e){return(0,i.default)("TemplateElement",...e)},t.templateLiteral=t.TemplateLiteral=function(...e){return(0,i.default)("TemplateLiteral",...e)},t.yieldExpression=t.YieldExpression=function(...e){return(0,i.default)("YieldExpression",...e)},t.anyTypeAnnotation=t.AnyTypeAnnotation=function(...e){return(0,i.default)("AnyTypeAnnotation",...e)},t.arrayTypeAnnotation=t.ArrayTypeAnnotation=function(...e){return(0,i.default)("ArrayTypeAnnotation",...e)},t.booleanTypeAnnotation=t.BooleanTypeAnnotation=function(...e){return(0,i.default)("BooleanTypeAnnotation",...e)},t.booleanLiteralTypeAnnotation=t.BooleanLiteralTypeAnnotation=function(...e){return(0,i.default)("BooleanLiteralTypeAnnotation",...e)},t.nullLiteralTypeAnnotation=t.NullLiteralTypeAnnotation=function(...e){return(0,i.default)("NullLiteralTypeAnnotation",...e)},t.classImplements=t.ClassImplements=function(...e){return(0,i.default)("ClassImplements",...e)},t.declareClass=t.DeclareClass=function(...e){return(0,i.default)("DeclareClass",...e)},t.declareFunction=t.DeclareFunction=function(...e){return(0,i.default)("DeclareFunction",...e)},t.declareInterface=t.DeclareInterface=function(...e){return(0,i.default)("DeclareInterface",...e)},t.declareModule=t.DeclareModule=function(...e){return(0,i.default)("DeclareModule",...e)},t.declareModuleExports=t.DeclareModuleExports=function(...e){return(0,i.default)("DeclareModuleExports",...e)},t.declareTypeAlias=t.DeclareTypeAlias=function(...e){return(0,i.default)("DeclareTypeAlias",...e)},t.declareOpaqueType=t.DeclareOpaqueType=function(...e){return(0,i.default)("DeclareOpaqueType",...e)},t.declareVariable=t.DeclareVariable=function(...e){return(0,i.default)("DeclareVariable",...e)},t.declareExportDeclaration=t.DeclareExportDeclaration=function(...e){return(0,i.default)("DeclareExportDeclaration",...e)},t.declareExportAllDeclaration=t.DeclareExportAllDeclaration=function(...e){return(0,i.default)("DeclareExportAllDeclaration",...e)},t.declaredPredicate=t.DeclaredPredicate=function(...e){return(0,i.default)("DeclaredPredicate",...e)},t.existsTypeAnnotation=t.ExistsTypeAnnotation=function(...e){return(0,i.default)("ExistsTypeAnnotation",...e)},t.functionTypeAnnotation=t.FunctionTypeAnnotation=function(...e){return(0,i.default)("FunctionTypeAnnotation",...e)},t.functionTypeParam=t.FunctionTypeParam=function(...e){return(0,i.default)("FunctionTypeParam",...e)},t.genericTypeAnnotation=t.GenericTypeAnnotation=function(...e){return(0,i.default)("GenericTypeAnnotation",...e)},t.inferredPredicate=t.InferredPredicate=function(...e){return(0,i.default)("InferredPredicate",...e)},t.interfaceExtends=t.InterfaceExtends=function(...e){return(0,i.default)("InterfaceExtends",...e)},t.interfaceDeclaration=t.InterfaceDeclaration=function(...e){return(0,i.default)("InterfaceDeclaration",...e)},t.interfaceTypeAnnotation=t.InterfaceTypeAnnotation=function(...e){return(0,i.default)("InterfaceTypeAnnotation",...e)},t.intersectionTypeAnnotation=t.IntersectionTypeAnnotation=function(...e){return(0,i.default)("IntersectionTypeAnnotation",...e)},t.mixedTypeAnnotation=t.MixedTypeAnnotation=function(...e){return(0,i.default)("MixedTypeAnnotation",...e)},t.emptyTypeAnnotation=t.EmptyTypeAnnotation=function(...e){return(0,i.default)("EmptyTypeAnnotation",...e)},t.nullableTypeAnnotation=t.NullableTypeAnnotation=function(...e){return(0,i.default)("NullableTypeAnnotation",...e)},t.numberLiteralTypeAnnotation=t.NumberLiteralTypeAnnotation=function(...e){return(0,i.default)("NumberLiteralTypeAnnotation",...e)},t.numberTypeAnnotation=t.NumberTypeAnnotation=function(...e){return(0,i.default)("NumberTypeAnnotation",...e)},t.objectTypeAnnotation=t.ObjectTypeAnnotation=function(...e){return(0,i.default)("ObjectTypeAnnotation",...e)},t.objectTypeInternalSlot=t.ObjectTypeInternalSlot=function(...e){return(0,i.default)("ObjectTypeInternalSlot",...e)},t.objectTypeCallProperty=t.ObjectTypeCallProperty=function(...e){return(0,i.default)("ObjectTypeCallProperty",...e)},t.objectTypeIndexer=t.ObjectTypeIndexer=function(...e){return(0,i.default)("ObjectTypeIndexer",...e)},t.objectTypeProperty=t.ObjectTypeProperty=function(...e){return(0,i.default)("ObjectTypeProperty",...e)},t.objectTypeSpreadProperty=t.ObjectTypeSpreadProperty=function(...e){return(0,i.default)("ObjectTypeSpreadProperty",...e)},t.opaqueType=t.OpaqueType=function(...e){return(0,i.default)("OpaqueType",...e)},t.qualifiedTypeIdentifier=t.QualifiedTypeIdentifier=function(...e){return(0,i.default)("QualifiedTypeIdentifier",...e)},t.stringLiteralTypeAnnotation=t.StringLiteralTypeAnnotation=function(...e){return(0,i.default)("StringLiteralTypeAnnotation",...e)},t.stringTypeAnnotation=t.StringTypeAnnotation=function(...e){return(0,i.default)("StringTypeAnnotation",...e)},t.thisTypeAnnotation=t.ThisTypeAnnotation=function(...e){return(0,i.default)("ThisTypeAnnotation",...e)},t.tupleTypeAnnotation=t.TupleTypeAnnotation=function(...e){return(0,i.default)("TupleTypeAnnotation",...e)},t.typeofTypeAnnotation=t.TypeofTypeAnnotation=function(...e){return(0,i.default)("TypeofTypeAnnotation",...e)},t.typeAlias=t.TypeAlias=function(...e){return(0,i.default)("TypeAlias",...e)},t.typeAnnotation=t.TypeAnnotation=function(...e){return(0,i.default)("TypeAnnotation",...e)},t.typeCastExpression=t.TypeCastExpression=function(...e){return(0,i.default)("TypeCastExpression",...e)},t.typeParameter=t.TypeParameter=function(...e){return(0,i.default)("TypeParameter",...e)},t.typeParameterDeclaration=t.TypeParameterDeclaration=function(...e){return(0,i.default)("TypeParameterDeclaration",...e)},t.typeParameterInstantiation=t.TypeParameterInstantiation=function(...e){return(0,i.default)("TypeParameterInstantiation",...e)},t.unionTypeAnnotation=t.UnionTypeAnnotation=function(...e){return(0,i.default)("UnionTypeAnnotation",...e)},t.variance=t.Variance=function(...e){return(0,i.default)("Variance",...e)},t.voidTypeAnnotation=t.VoidTypeAnnotation=function(...e){return(0,i.default)("VoidTypeAnnotation",...e)},t.jSXAttribute=t.jsxAttribute=t.JSXAttribute=function(...e){return(0,i.default)("JSXAttribute",...e)},t.jSXClosingElement=t.jsxClosingElement=t.JSXClosingElement=function(...e){return(0,i.default)("JSXClosingElement",...e)},t.jSXElement=t.jsxElement=t.JSXElement=function(...e){return(0,i.default)("JSXElement",...e)},t.jSXEmptyExpression=t.jsxEmptyExpression=t.JSXEmptyExpression=function(...e){return(0,i.default)("JSXEmptyExpression",...e)},t.jSXExpressionContainer=t.jsxExpressionContainer=t.JSXExpressionContainer=function(...e){return(0,i.default)("JSXExpressionContainer",...e)},t.jSXSpreadChild=t.jsxSpreadChild=t.JSXSpreadChild=function(...e){return(0,i.default)("JSXSpreadChild",...e)},t.jSXIdentifier=t.jsxIdentifier=t.JSXIdentifier=function(...e){return(0,i.default)("JSXIdentifier",...e)},t.jSXMemberExpression=t.jsxMemberExpression=t.JSXMemberExpression=function(...e){return(0,i.default)("JSXMemberExpression",...e)},t.jSXNamespacedName=t.jsxNamespacedName=t.JSXNamespacedName=function(...e){return(0,i.default)("JSXNamespacedName",...e)},t.jSXOpeningElement=t.jsxOpeningElement=t.JSXOpeningElement=function(...e){return(0,i.default)("JSXOpeningElement",...e)},t.jSXSpreadAttribute=t.jsxSpreadAttribute=t.JSXSpreadAttribute=function(...e){return(0,i.default)("JSXSpreadAttribute",...e)},t.jSXText=t.jsxText=t.JSXText=function(...e){return(0,i.default)("JSXText",...e)},t.jSXFragment=t.jsxFragment=t.JSXFragment=function(...e){return(0,i.default)("JSXFragment",...e)},t.jSXOpeningFragment=t.jsxOpeningFragment=t.JSXOpeningFragment=function(...e){return(0,i.default)("JSXOpeningFragment",...e)},t.jSXClosingFragment=t.jsxClosingFragment=t.JSXClosingFragment=function(...e){return(0,i.default)("JSXClosingFragment",...e)},t.noop=t.Noop=function(...e){return(0,i.default)("Noop",...e)},t.placeholder=t.Placeholder=function(...e){return(0,i.default)("Placeholder",...e)},t.v8IntrinsicIdentifier=t.V8IntrinsicIdentifier=function(...e){return(0,i.default)("V8IntrinsicIdentifier",...e)},t.argumentPlaceholder=t.ArgumentPlaceholder=function(...e){return(0,i.default)("ArgumentPlaceholder",...e)},t.awaitExpression=t.AwaitExpression=function(...e){return(0,i.default)("AwaitExpression",...e)},t.bindExpression=t.BindExpression=function(...e){return(0,i.default)("BindExpression",...e)},t.classProperty=t.ClassProperty=function(...e){return(0,i.default)("ClassProperty",...e)},t.optionalMemberExpression=t.OptionalMemberExpression=function(...e){return(0,i.default)("OptionalMemberExpression",...e)},t.pipelineTopicExpression=t.PipelineTopicExpression=function(...e){return(0,i.default)("PipelineTopicExpression",...e)},t.pipelineBareFunction=t.PipelineBareFunction=function(...e){return(0,i.default)("PipelineBareFunction",...e)},t.pipelinePrimaryTopicReference=t.PipelinePrimaryTopicReference=function(...e){return(0,i.default)("PipelinePrimaryTopicReference",...e)},t.optionalCallExpression=t.OptionalCallExpression=function(...e){return(0,i.default)("OptionalCallExpression",...e)},t.classPrivateProperty=t.ClassPrivateProperty=function(...e){return(0,i.default)("ClassPrivateProperty",...e)},t.classPrivateMethod=t.ClassPrivateMethod=function(...e){return(0,i.default)("ClassPrivateMethod",...e)},t.import=t.Import=function(...e){return(0,i.default)("Import",...e)},t.decorator=t.Decorator=function(...e){return(0,i.default)("Decorator",...e)},t.doExpression=t.DoExpression=function(...e){return(0,i.default)("DoExpression",...e)},t.exportDefaultSpecifier=t.ExportDefaultSpecifier=function(...e){return(0,i.default)("ExportDefaultSpecifier",...e)},t.exportNamespaceSpecifier=t.ExportNamespaceSpecifier=function(...e){return(0,i.default)("ExportNamespaceSpecifier",...e)},t.privateName=t.PrivateName=function(...e){return(0,i.default)("PrivateName",...e)},t.bigIntLiteral=t.BigIntLiteral=function(...e){return(0,i.default)("BigIntLiteral",...e)},t.tSParameterProperty=t.tsParameterProperty=t.TSParameterProperty=function(...e){return(0,i.default)("TSParameterProperty",...e)},t.tSDeclareFunction=t.tsDeclareFunction=t.TSDeclareFunction=function(...e){return(0,i.default)("TSDeclareFunction",...e)},t.tSDeclareMethod=t.tsDeclareMethod=t.TSDeclareMethod=function(...e){return(0,i.default)("TSDeclareMethod",...e)},t.tSQualifiedName=t.tsQualifiedName=t.TSQualifiedName=function(...e){return(0,i.default)("TSQualifiedName",...e)},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=t.TSCallSignatureDeclaration=function(...e){return(0,i.default)("TSCallSignatureDeclaration",...e)},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=t.TSConstructSignatureDeclaration=function(...e){return(0,i.default)("TSConstructSignatureDeclaration",...e)},t.tSPropertySignature=t.tsPropertySignature=t.TSPropertySignature=function(...e){return(0,i.default)("TSPropertySignature",...e)},t.tSMethodSignature=t.tsMethodSignature=t.TSMethodSignature=function(...e){return(0,i.default)("TSMethodSignature",...e)},t.tSIndexSignature=t.tsIndexSignature=t.TSIndexSignature=function(...e){return(0,i.default)("TSIndexSignature",...e)},t.tSAnyKeyword=t.tsAnyKeyword=t.TSAnyKeyword=function(...e){return(0,i.default)("TSAnyKeyword",...e)},t.tSBooleanKeyword=t.tsBooleanKeyword=t.TSBooleanKeyword=function(...e){return(0,i.default)("TSBooleanKeyword",...e)},t.tSBigIntKeyword=t.tsBigIntKeyword=t.TSBigIntKeyword=function(...e){return(0,i.default)("TSBigIntKeyword",...e)},t.tSNeverKeyword=t.tsNeverKeyword=t.TSNeverKeyword=function(...e){return(0,i.default)("TSNeverKeyword",...e)},t.tSNullKeyword=t.tsNullKeyword=t.TSNullKeyword=function(...e){return(0,i.default)("TSNullKeyword",...e)},t.tSNumberKeyword=t.tsNumberKeyword=t.TSNumberKeyword=function(...e){return(0,i.default)("TSNumberKeyword",...e)},t.tSObjectKeyword=t.tsObjectKeyword=t.TSObjectKeyword=function(...e){return(0,i.default)("TSObjectKeyword",...e)},t.tSStringKeyword=t.tsStringKeyword=t.TSStringKeyword=function(...e){return(0,i.default)("TSStringKeyword",...e)},t.tSSymbolKeyword=t.tsSymbolKeyword=t.TSSymbolKeyword=function(...e){return(0,i.default)("TSSymbolKeyword",...e)},t.tSUndefinedKeyword=t.tsUndefinedKeyword=t.TSUndefinedKeyword=function(...e){return(0,i.default)("TSUndefinedKeyword",...e)},t.tSUnknownKeyword=t.tsUnknownKeyword=t.TSUnknownKeyword=function(...e){return(0,i.default)("TSUnknownKeyword",...e)},t.tSVoidKeyword=t.tsVoidKeyword=t.TSVoidKeyword=function(...e){return(0,i.default)("TSVoidKeyword",...e)},t.tSThisType=t.tsThisType=t.TSThisType=function(...e){return(0,i.default)("TSThisType",...e)},t.tSFunctionType=t.tsFunctionType=t.TSFunctionType=function(...e){return(0,i.default)("TSFunctionType",...e)},t.tSConstructorType=t.tsConstructorType=t.TSConstructorType=function(...e){return(0,i.default)("TSConstructorType",...e)},t.tSTypeReference=t.tsTypeReference=t.TSTypeReference=function(...e){return(0,i.default)("TSTypeReference",...e)},t.tSTypePredicate=t.tsTypePredicate=t.TSTypePredicate=function(...e){return(0,i.default)("TSTypePredicate",...e)},t.tSTypeQuery=t.tsTypeQuery=t.TSTypeQuery=function(...e){return(0,i.default)("TSTypeQuery",...e)},t.tSTypeLiteral=t.tsTypeLiteral=t.TSTypeLiteral=function(...e){return(0,i.default)("TSTypeLiteral",...e)},t.tSArrayType=t.tsArrayType=t.TSArrayType=function(...e){return(0,i.default)("TSArrayType",...e)},t.tSTupleType=t.tsTupleType=t.TSTupleType=function(...e){return(0,i.default)("TSTupleType",...e)},t.tSOptionalType=t.tsOptionalType=t.TSOptionalType=function(...e){return(0,i.default)("TSOptionalType",...e)},t.tSRestType=t.tsRestType=t.TSRestType=function(...e){return(0,i.default)("TSRestType",...e)},t.tSUnionType=t.tsUnionType=t.TSUnionType=function(...e){return(0,i.default)("TSUnionType",...e)},t.tSIntersectionType=t.tsIntersectionType=t.TSIntersectionType=function(...e){return(0,i.default)("TSIntersectionType",...e)},t.tSConditionalType=t.tsConditionalType=t.TSConditionalType=function(...e){return(0,i.default)("TSConditionalType",...e)},t.tSInferType=t.tsInferType=t.TSInferType=function(...e){return(0,i.default)("TSInferType",...e)},t.tSParenthesizedType=t.tsParenthesizedType=t.TSParenthesizedType=function(...e){return(0,i.default)("TSParenthesizedType",...e)},t.tSTypeOperator=t.tsTypeOperator=t.TSTypeOperator=function(...e){return(0,i.default)("TSTypeOperator",...e)},t.tSIndexedAccessType=t.tsIndexedAccessType=t.TSIndexedAccessType=function(...e){return(0,i.default)("TSIndexedAccessType",...e)},t.tSMappedType=t.tsMappedType=t.TSMappedType=function(...e){return(0,i.default)("TSMappedType",...e)},t.tSLiteralType=t.tsLiteralType=t.TSLiteralType=function(...e){return(0,i.default)("TSLiteralType",...e)},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=t.TSExpressionWithTypeArguments=function(...e){return(0,i.default)("TSExpressionWithTypeArguments",...e)},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=t.TSInterfaceDeclaration=function(...e){return(0,i.default)("TSInterfaceDeclaration",...e)},t.tSInterfaceBody=t.tsInterfaceBody=t.TSInterfaceBody=function(...e){return(0,i.default)("TSInterfaceBody",...e)},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=t.TSTypeAliasDeclaration=function(...e){return(0,i.default)("TSTypeAliasDeclaration",...e)},t.tSAsExpression=t.tsAsExpression=t.TSAsExpression=function(...e){return(0,i.default)("TSAsExpression",...e)},t.tSTypeAssertion=t.tsTypeAssertion=t.TSTypeAssertion=function(...e){return(0,i.default)("TSTypeAssertion",...e)},t.tSEnumDeclaration=t.tsEnumDeclaration=t.TSEnumDeclaration=function(...e){return(0,i.default)("TSEnumDeclaration",...e)},t.tSEnumMember=t.tsEnumMember=t.TSEnumMember=function(...e){return(0,i.default)("TSEnumMember",...e)},t.tSModuleDeclaration=t.tsModuleDeclaration=t.TSModuleDeclaration=function(...e){return(0,i.default)("TSModuleDeclaration",...e)},t.tSModuleBlock=t.tsModuleBlock=t.TSModuleBlock=function(...e){return(0,i.default)("TSModuleBlock",...e)},t.tSImportType=t.tsImportType=t.TSImportType=function(...e){return(0,i.default)("TSImportType",...e)},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=t.TSImportEqualsDeclaration=function(...e){return(0,i.default)("TSImportEqualsDeclaration",...e)},t.tSExternalModuleReference=t.tsExternalModuleReference=t.TSExternalModuleReference=function(...e){return(0,i.default)("TSExternalModuleReference",...e)},t.tSNonNullExpression=t.tsNonNullExpression=t.TSNonNullExpression=function(...e){return(0,i.default)("TSNonNullExpression",...e)},t.tSExportAssignment=t.tsExportAssignment=t.TSExportAssignment=function(...e){return(0,i.default)("TSExportAssignment",...e)},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=t.TSNamespaceExportDeclaration=function(...e){return(0,i.default)("TSNamespaceExportDeclaration",...e)},t.tSTypeAnnotation=t.tsTypeAnnotation=t.TSTypeAnnotation=function(...e){return(0,i.default)("TSTypeAnnotation",...e)},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=t.TSTypeParameterInstantiation=function(...e){return(0,i.default)("TSTypeParameterInstantiation",...e)},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=t.TSTypeParameterDeclaration=function(...e){return(0,i.default)("TSTypeParameterDeclaration",...e)},t.tSTypeParameter=t.tsTypeParameter=t.TSTypeParameter=function(...e){return(0,i.default)("TSTypeParameter",...e)},t.numberLiteral=t.NumberLiteral=function e(...t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return e("NumberLiteral",...t)},t.regexLiteral=t.RegexLiteral=function e(...t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return e("RegexLiteral",...t)},t.restProperty=t.RestProperty=function e(...t){console.trace("The node type RestProperty has been renamed to RestElement");return e("RestProperty",...t)},t.spreadProperty=t.SpreadProperty=function e(...t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return e("SpreadProperty",...t)};var n,i=(n=r(419))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0};Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"isPlaceholderType",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return ce.default}}),t.react=void 0;var i=fe(r(480)),a=fe(r(481)),s=fe(r(482)),o=fe(r(490)),u=r(491);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var l=fe(r(492)),c=fe(r(493)),p=r(22);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var f=fe(r(59)),d=fe(r(229)),h=fe(r(494)),y=fe(r(495)),m=fe(r(496)),v=fe(r(230)),g=fe(r(231)),T=fe(r(232)),E=fe(r(233)),S=fe(r(234)),b=fe(r(497)),x=r(498);Object.keys(x).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}}))}));var D=r(38);Object.keys(D).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return D[e]}}))}));var A=fe(r(499)),C=fe(r(500)),P=fe(r(235)),w=fe(r(501)),_=fe(r(502)),O=fe(r(236)),F=fe(r(503)),N=fe(r(504)),I=fe(r(506)),k=fe(r(507)),L=r(16);Object.keys(L).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return L[e]}}))}));var M=fe(r(508)),B=fe(r(509)),j=fe(r(510)),R=fe(r(239)),V=fe(r(237)),q=fe(r(228)),U=fe(r(80)),K=fe(r(511)),X=fe(r(512)),J=fe(r(238)),Y=fe(r(120)),W=fe(r(122)),$=fe(r(513)),H=fe(r(514)),z=fe(r(515)),G=fe(r(240)),Q=fe(r(227)),Z=fe(r(516)),ee=fe(r(225)),te=fe(r(517)),re=fe(r(518)),ne=fe(r(519)),ie=fe(r(123)),ae=fe(r(520)),se=fe(r(58)),oe=fe(r(521)),ue=fe(r(224)),le=fe(r(124)),ce=fe(r(223)),pe=r(8);function fe(e){return e&&e.__esModule?e:{default:e}}Object.keys(pe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pe[e]}}))}));const de={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=de},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayExpression=t.ArrayExpression=function(...e){return(0,i.default)("ArrayExpression",...e)},t.assignmentExpression=t.AssignmentExpression=function(...e){return(0,i.default)("AssignmentExpression",...e)},t.binaryExpression=t.BinaryExpression=function(...e){return(0,i.default)("BinaryExpression",...e)},t.interpreterDirective=t.InterpreterDirective=function(...e){return(0,i.default)("InterpreterDirective",...e)},t.directive=t.Directive=function(...e){return(0,i.default)("Directive",...e)},t.directiveLiteral=t.DirectiveLiteral=function(...e){return(0,i.default)("DirectiveLiteral",...e)},t.blockStatement=t.BlockStatement=function(...e){return(0,i.default)("BlockStatement",...e)},t.breakStatement=t.BreakStatement=function(...e){return(0,i.default)("BreakStatement",...e)},t.callExpression=t.CallExpression=function(...e){return(0,i.default)("CallExpression",...e)},t.catchClause=t.CatchClause=function(...e){return(0,i.default)("CatchClause",...e)},t.conditionalExpression=t.ConditionalExpression=function(...e){return(0,i.default)("ConditionalExpression",...e)},t.continueStatement=t.ContinueStatement=function(...e){return(0,i.default)("ContinueStatement",...e)},t.debuggerStatement=t.DebuggerStatement=function(...e){return(0,i.default)("DebuggerStatement",...e)},t.doWhileStatement=t.DoWhileStatement=function(...e){return(0,i.default)("DoWhileStatement",...e)},t.emptyStatement=t.EmptyStatement=function(...e){return(0,i.default)("EmptyStatement",...e)},t.expressionStatement=t.ExpressionStatement=function(...e){return(0,i.default)("ExpressionStatement",...e)},t.file=t.File=function(...e){return(0,i.default)("File",...e)},t.forInStatement=t.ForInStatement=function(...e){return(0,i.default)("ForInStatement",...e)},t.forStatement=t.ForStatement=function(...e){return(0,i.default)("ForStatement",...e)},t.functionDeclaration=t.FunctionDeclaration=function(...e){return(0,i.default)("FunctionDeclaration",...e)},t.functionExpression=t.FunctionExpression=function(...e){return(0,i.default)("FunctionExpression",...e)},t.identifier=t.Identifier=function(...e){return(0,i.default)("Identifier",...e)},t.ifStatement=t.IfStatement=function(...e){return(0,i.default)("IfStatement",...e)},t.labeledStatement=t.LabeledStatement=function(...e){return(0,i.default)("LabeledStatement",...e)},t.stringLiteral=t.StringLiteral=function(...e){return(0,i.default)("StringLiteral",...e)},t.numericLiteral=t.NumericLiteral=function(...e){return(0,i.default)("NumericLiteral",...e)},t.nullLiteral=t.NullLiteral=function(...e){return(0,i.default)("NullLiteral",...e)},t.booleanLiteral=t.BooleanLiteral=function(...e){return(0,i.default)("BooleanLiteral",...e)},t.regExpLiteral=t.RegExpLiteral=function(...e){return(0,i.default)("RegExpLiteral",...e)},t.logicalExpression=t.LogicalExpression=function(...e){return(0,i.default)("LogicalExpression",...e)},t.memberExpression=t.MemberExpression=function(...e){return(0,i.default)("MemberExpression",...e)},t.newExpression=t.NewExpression=function(...e){return(0,i.default)("NewExpression",...e)},t.program=t.Program=function(...e){return(0,i.default)("Program",...e)},t.objectExpression=t.ObjectExpression=function(...e){return(0,i.default)("ObjectExpression",...e)},t.objectMethod=t.ObjectMethod=function(...e){return(0,i.default)("ObjectMethod",...e)},t.objectProperty=t.ObjectProperty=function(...e){return(0,i.default)("ObjectProperty",...e)},t.restElement=t.RestElement=function(...e){return(0,i.default)("RestElement",...e)},t.returnStatement=t.ReturnStatement=function(...e){return(0,i.default)("ReturnStatement",...e)},t.sequenceExpression=t.SequenceExpression=function(...e){return(0,i.default)("SequenceExpression",...e)},t.parenthesizedExpression=t.ParenthesizedExpression=function(...e){return(0,i.default)("ParenthesizedExpression",...e)},t.switchCase=t.SwitchCase=function(...e){return(0,i.default)("SwitchCase",...e)},t.switchStatement=t.SwitchStatement=function(...e){return(0,i.default)("SwitchStatement",...e)},t.thisExpression=t.ThisExpression=function(...e){return(0,i.default)("ThisExpression",...e)},t.throwStatement=t.ThrowStatement=function(...e){return(0,i.default)("ThrowStatement",...e)},t.tryStatement=t.TryStatement=function(...e){return(0,i.default)("TryStatement",...e)},t.unaryExpression=t.UnaryExpression=function(...e){return(0,i.default)("UnaryExpression",...e)},t.updateExpression=t.UpdateExpression=function(...e){return(0,i.default)("UpdateExpression",...e)},t.variableDeclaration=t.VariableDeclaration=function(...e){return(0,i.default)("VariableDeclaration",...e)},t.variableDeclarator=t.VariableDeclarator=function(...e){return(0,i.default)("VariableDeclarator",...e)},t.whileStatement=t.WhileStatement=function(...e){return(0,i.default)("WhileStatement",...e)},t.withStatement=t.WithStatement=function(...e){return(0,i.default)("WithStatement",...e)},t.assignmentPattern=t.AssignmentPattern=function(...e){return(0,i.default)("AssignmentPattern",...e)},t.arrayPattern=t.ArrayPattern=function(...e){return(0,i.default)("ArrayPattern",...e)},t.arrowFunctionExpression=t.ArrowFunctionExpression=function(...e){return(0,i.default)("ArrowFunctionExpression",...e)},t.classBody=t.ClassBody=function(...e){return(0,i.default)("ClassBody",...e)},t.classDeclaration=t.ClassDeclaration=function(...e){return(0,i.default)("ClassDeclaration",...e)},t.classExpression=t.ClassExpression=function(...e){return(0,i.default)("ClassExpression",...e)},t.exportAllDeclaration=t.ExportAllDeclaration=function(...e){return(0,i.default)("ExportAllDeclaration",...e)},t.exportDefaultDeclaration=t.ExportDefaultDeclaration=function(...e){return(0,i.default)("ExportDefaultDeclaration",...e)},t.exportNamedDeclaration=t.ExportNamedDeclaration=function(...e){return(0,i.default)("ExportNamedDeclaration",...e)},t.exportSpecifier=t.ExportSpecifier=function(...e){return(0,i.default)("ExportSpecifier",...e)},t.forOfStatement=t.ForOfStatement=function(...e){return(0,i.default)("ForOfStatement",...e)},t.importDeclaration=t.ImportDeclaration=function(...e){return(0,i.default)("ImportDeclaration",...e)},t.importDefaultSpecifier=t.ImportDefaultSpecifier=function(...e){return(0,i.default)("ImportDefaultSpecifier",...e)},t.importNamespaceSpecifier=t.ImportNamespaceSpecifier=function(...e){return(0,i.default)("ImportNamespaceSpecifier",...e)},t.importSpecifier=t.ImportSpecifier=function(...e){return(0,i.default)("ImportSpecifier",...e)},t.metaProperty=t.MetaProperty=function(...e){return(0,i.default)("MetaProperty",...e)},t.classMethod=t.ClassMethod=function(...e){return(0,i.default)("ClassMethod",...e)},t.objectPattern=t.ObjectPattern=function(...e){return(0,i.default)("ObjectPattern",...e)},t.spreadElement=t.SpreadElement=function(...e){return(0,i.default)("SpreadElement",...e)},t.super=t.Super=function(...e){return(0,i.default)("Super",...e)},t.taggedTemplateExpression=t.TaggedTemplateExpression=function(...e){return(0,i.default)("TaggedTemplateExpression",...e)},t.templateElement=t.TemplateElement=function(...e){return(0,i.default)("TemplateElement",...e)},t.templateLiteral=t.TemplateLiteral=function(...e){return(0,i.default)("TemplateLiteral",...e)},t.yieldExpression=t.YieldExpression=function(...e){return(0,i.default)("YieldExpression",...e)},t.anyTypeAnnotation=t.AnyTypeAnnotation=function(...e){return(0,i.default)("AnyTypeAnnotation",...e)},t.arrayTypeAnnotation=t.ArrayTypeAnnotation=function(...e){return(0,i.default)("ArrayTypeAnnotation",...e)},t.booleanTypeAnnotation=t.BooleanTypeAnnotation=function(...e){return(0,i.default)("BooleanTypeAnnotation",...e)},t.booleanLiteralTypeAnnotation=t.BooleanLiteralTypeAnnotation=function(...e){return(0,i.default)("BooleanLiteralTypeAnnotation",...e)},t.nullLiteralTypeAnnotation=t.NullLiteralTypeAnnotation=function(...e){return(0,i.default)("NullLiteralTypeAnnotation",...e)},t.classImplements=t.ClassImplements=function(...e){return(0,i.default)("ClassImplements",...e)},t.declareClass=t.DeclareClass=function(...e){return(0,i.default)("DeclareClass",...e)},t.declareFunction=t.DeclareFunction=function(...e){return(0,i.default)("DeclareFunction",...e)},t.declareInterface=t.DeclareInterface=function(...e){return(0,i.default)("DeclareInterface",...e)},t.declareModule=t.DeclareModule=function(...e){return(0,i.default)("DeclareModule",...e)},t.declareModuleExports=t.DeclareModuleExports=function(...e){return(0,i.default)("DeclareModuleExports",...e)},t.declareTypeAlias=t.DeclareTypeAlias=function(...e){return(0,i.default)("DeclareTypeAlias",...e)},t.declareOpaqueType=t.DeclareOpaqueType=function(...e){return(0,i.default)("DeclareOpaqueType",...e)},t.declareVariable=t.DeclareVariable=function(...e){return(0,i.default)("DeclareVariable",...e)},t.declareExportDeclaration=t.DeclareExportDeclaration=function(...e){return(0,i.default)("DeclareExportDeclaration",...e)},t.declareExportAllDeclaration=t.DeclareExportAllDeclaration=function(...e){return(0,i.default)("DeclareExportAllDeclaration",...e)},t.declaredPredicate=t.DeclaredPredicate=function(...e){return(0,i.default)("DeclaredPredicate",...e)},t.existsTypeAnnotation=t.ExistsTypeAnnotation=function(...e){return(0,i.default)("ExistsTypeAnnotation",...e)},t.functionTypeAnnotation=t.FunctionTypeAnnotation=function(...e){return(0,i.default)("FunctionTypeAnnotation",...e)},t.functionTypeParam=t.FunctionTypeParam=function(...e){return(0,i.default)("FunctionTypeParam",...e)},t.genericTypeAnnotation=t.GenericTypeAnnotation=function(...e){return(0,i.default)("GenericTypeAnnotation",...e)},t.inferredPredicate=t.InferredPredicate=function(...e){return(0,i.default)("InferredPredicate",...e)},t.interfaceExtends=t.InterfaceExtends=function(...e){return(0,i.default)("InterfaceExtends",...e)},t.interfaceDeclaration=t.InterfaceDeclaration=function(...e){return(0,i.default)("InterfaceDeclaration",...e)},t.interfaceTypeAnnotation=t.InterfaceTypeAnnotation=function(...e){return(0,i.default)("InterfaceTypeAnnotation",...e)},t.intersectionTypeAnnotation=t.IntersectionTypeAnnotation=function(...e){return(0,i.default)("IntersectionTypeAnnotation",...e)},t.mixedTypeAnnotation=t.MixedTypeAnnotation=function(...e){return(0,i.default)("MixedTypeAnnotation",...e)},t.emptyTypeAnnotation=t.EmptyTypeAnnotation=function(...e){return(0,i.default)("EmptyTypeAnnotation",...e)},t.nullableTypeAnnotation=t.NullableTypeAnnotation=function(...e){return(0,i.default)("NullableTypeAnnotation",...e)},t.numberLiteralTypeAnnotation=t.NumberLiteralTypeAnnotation=function(...e){return(0,i.default)("NumberLiteralTypeAnnotation",...e)},t.numberTypeAnnotation=t.NumberTypeAnnotation=function(...e){return(0,i.default)("NumberTypeAnnotation",...e)},t.objectTypeAnnotation=t.ObjectTypeAnnotation=function(...e){return(0,i.default)("ObjectTypeAnnotation",...e)},t.objectTypeInternalSlot=t.ObjectTypeInternalSlot=function(...e){return(0,i.default)("ObjectTypeInternalSlot",...e)},t.objectTypeCallProperty=t.ObjectTypeCallProperty=function(...e){return(0,i.default)("ObjectTypeCallProperty",...e)},t.objectTypeIndexer=t.ObjectTypeIndexer=function(...e){return(0,i.default)("ObjectTypeIndexer",...e)},t.objectTypeProperty=t.ObjectTypeProperty=function(...e){return(0,i.default)("ObjectTypeProperty",...e)},t.objectTypeSpreadProperty=t.ObjectTypeSpreadProperty=function(...e){return(0,i.default)("ObjectTypeSpreadProperty",...e)},t.opaqueType=t.OpaqueType=function(...e){return(0,i.default)("OpaqueType",...e)},t.qualifiedTypeIdentifier=t.QualifiedTypeIdentifier=function(...e){return(0,i.default)("QualifiedTypeIdentifier",...e)},t.stringLiteralTypeAnnotation=t.StringLiteralTypeAnnotation=function(...e){return(0,i.default)("StringLiteralTypeAnnotation",...e)},t.stringTypeAnnotation=t.StringTypeAnnotation=function(...e){return(0,i.default)("StringTypeAnnotation",...e)},t.thisTypeAnnotation=t.ThisTypeAnnotation=function(...e){return(0,i.default)("ThisTypeAnnotation",...e)},t.tupleTypeAnnotation=t.TupleTypeAnnotation=function(...e){return(0,i.default)("TupleTypeAnnotation",...e)},t.typeofTypeAnnotation=t.TypeofTypeAnnotation=function(...e){return(0,i.default)("TypeofTypeAnnotation",...e)},t.typeAlias=t.TypeAlias=function(...e){return(0,i.default)("TypeAlias",...e)},t.typeAnnotation=t.TypeAnnotation=function(...e){return(0,i.default)("TypeAnnotation",...e)},t.typeCastExpression=t.TypeCastExpression=function(...e){return(0,i.default)("TypeCastExpression",...e)},t.typeParameter=t.TypeParameter=function(...e){return(0,i.default)("TypeParameter",...e)},t.typeParameterDeclaration=t.TypeParameterDeclaration=function(...e){return(0,i.default)("TypeParameterDeclaration",...e)},t.typeParameterInstantiation=t.TypeParameterInstantiation=function(...e){return(0,i.default)("TypeParameterInstantiation",...e)},t.unionTypeAnnotation=t.UnionTypeAnnotation=function(...e){return(0,i.default)("UnionTypeAnnotation",...e)},t.variance=t.Variance=function(...e){return(0,i.default)("Variance",...e)},t.voidTypeAnnotation=t.VoidTypeAnnotation=function(...e){return(0,i.default)("VoidTypeAnnotation",...e)},t.jSXAttribute=t.jsxAttribute=t.JSXAttribute=function(...e){return(0,i.default)("JSXAttribute",...e)},t.jSXClosingElement=t.jsxClosingElement=t.JSXClosingElement=function(...e){return(0,i.default)("JSXClosingElement",...e)},t.jSXElement=t.jsxElement=t.JSXElement=function(...e){return(0,i.default)("JSXElement",...e)},t.jSXEmptyExpression=t.jsxEmptyExpression=t.JSXEmptyExpression=function(...e){return(0,i.default)("JSXEmptyExpression",...e)},t.jSXExpressionContainer=t.jsxExpressionContainer=t.JSXExpressionContainer=function(...e){return(0,i.default)("JSXExpressionContainer",...e)},t.jSXSpreadChild=t.jsxSpreadChild=t.JSXSpreadChild=function(...e){return(0,i.default)("JSXSpreadChild",...e)},t.jSXIdentifier=t.jsxIdentifier=t.JSXIdentifier=function(...e){return(0,i.default)("JSXIdentifier",...e)},t.jSXMemberExpression=t.jsxMemberExpression=t.JSXMemberExpression=function(...e){return(0,i.default)("JSXMemberExpression",...e)},t.jSXNamespacedName=t.jsxNamespacedName=t.JSXNamespacedName=function(...e){return(0,i.default)("JSXNamespacedName",...e)},t.jSXOpeningElement=t.jsxOpeningElement=t.JSXOpeningElement=function(...e){return(0,i.default)("JSXOpeningElement",...e)},t.jSXSpreadAttribute=t.jsxSpreadAttribute=t.JSXSpreadAttribute=function(...e){return(0,i.default)("JSXSpreadAttribute",...e)},t.jSXText=t.jsxText=t.JSXText=function(...e){return(0,i.default)("JSXText",...e)},t.jSXFragment=t.jsxFragment=t.JSXFragment=function(...e){return(0,i.default)("JSXFragment",...e)},t.jSXOpeningFragment=t.jsxOpeningFragment=t.JSXOpeningFragment=function(...e){return(0,i.default)("JSXOpeningFragment",...e)},t.jSXClosingFragment=t.jsxClosingFragment=t.JSXClosingFragment=function(...e){return(0,i.default)("JSXClosingFragment",...e)},t.noop=t.Noop=function(...e){return(0,i.default)("Noop",...e)},t.placeholder=t.Placeholder=function(...e){return(0,i.default)("Placeholder",...e)},t.v8IntrinsicIdentifier=t.V8IntrinsicIdentifier=function(...e){return(0,i.default)("V8IntrinsicIdentifier",...e)},t.argumentPlaceholder=t.ArgumentPlaceholder=function(...e){return(0,i.default)("ArgumentPlaceholder",...e)},t.awaitExpression=t.AwaitExpression=function(...e){return(0,i.default)("AwaitExpression",...e)},t.bindExpression=t.BindExpression=function(...e){return(0,i.default)("BindExpression",...e)},t.classProperty=t.ClassProperty=function(...e){return(0,i.default)("ClassProperty",...e)},t.optionalMemberExpression=t.OptionalMemberExpression=function(...e){return(0,i.default)("OptionalMemberExpression",...e)},t.pipelineTopicExpression=t.PipelineTopicExpression=function(...e){return(0,i.default)("PipelineTopicExpression",...e)},t.pipelineBareFunction=t.PipelineBareFunction=function(...e){return(0,i.default)("PipelineBareFunction",...e)},t.pipelinePrimaryTopicReference=t.PipelinePrimaryTopicReference=function(...e){return(0,i.default)("PipelinePrimaryTopicReference",...e)},t.optionalCallExpression=t.OptionalCallExpression=function(...e){return(0,i.default)("OptionalCallExpression",...e)},t.classPrivateProperty=t.ClassPrivateProperty=function(...e){return(0,i.default)("ClassPrivateProperty",...e)},t.classPrivateMethod=t.ClassPrivateMethod=function(...e){return(0,i.default)("ClassPrivateMethod",...e)},t.import=t.Import=function(...e){return(0,i.default)("Import",...e)},t.decorator=t.Decorator=function(...e){return(0,i.default)("Decorator",...e)},t.doExpression=t.DoExpression=function(...e){return(0,i.default)("DoExpression",...e)},t.exportDefaultSpecifier=t.ExportDefaultSpecifier=function(...e){return(0,i.default)("ExportDefaultSpecifier",...e)},t.exportNamespaceSpecifier=t.ExportNamespaceSpecifier=function(...e){return(0,i.default)("ExportNamespaceSpecifier",...e)},t.privateName=t.PrivateName=function(...e){return(0,i.default)("PrivateName",...e)},t.bigIntLiteral=t.BigIntLiteral=function(...e){return(0,i.default)("BigIntLiteral",...e)},t.tSParameterProperty=t.tsParameterProperty=t.TSParameterProperty=function(...e){return(0,i.default)("TSParameterProperty",...e)},t.tSDeclareFunction=t.tsDeclareFunction=t.TSDeclareFunction=function(...e){return(0,i.default)("TSDeclareFunction",...e)},t.tSDeclareMethod=t.tsDeclareMethod=t.TSDeclareMethod=function(...e){return(0,i.default)("TSDeclareMethod",...e)},t.tSQualifiedName=t.tsQualifiedName=t.TSQualifiedName=function(...e){return(0,i.default)("TSQualifiedName",...e)},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=t.TSCallSignatureDeclaration=function(...e){return(0,i.default)("TSCallSignatureDeclaration",...e)},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=t.TSConstructSignatureDeclaration=function(...e){return(0,i.default)("TSConstructSignatureDeclaration",...e)},t.tSPropertySignature=t.tsPropertySignature=t.TSPropertySignature=function(...e){return(0,i.default)("TSPropertySignature",...e)},t.tSMethodSignature=t.tsMethodSignature=t.TSMethodSignature=function(...e){return(0,i.default)("TSMethodSignature",...e)},t.tSIndexSignature=t.tsIndexSignature=t.TSIndexSignature=function(...e){return(0,i.default)("TSIndexSignature",...e)},t.tSAnyKeyword=t.tsAnyKeyword=t.TSAnyKeyword=function(...e){return(0,i.default)("TSAnyKeyword",...e)},t.tSBooleanKeyword=t.tsBooleanKeyword=t.TSBooleanKeyword=function(...e){return(0,i.default)("TSBooleanKeyword",...e)},t.tSBigIntKeyword=t.tsBigIntKeyword=t.TSBigIntKeyword=function(...e){return(0,i.default)("TSBigIntKeyword",...e)},t.tSNeverKeyword=t.tsNeverKeyword=t.TSNeverKeyword=function(...e){return(0,i.default)("TSNeverKeyword",...e)},t.tSNullKeyword=t.tsNullKeyword=t.TSNullKeyword=function(...e){return(0,i.default)("TSNullKeyword",...e)},t.tSNumberKeyword=t.tsNumberKeyword=t.TSNumberKeyword=function(...e){return(0,i.default)("TSNumberKeyword",...e)},t.tSObjectKeyword=t.tsObjectKeyword=t.TSObjectKeyword=function(...e){return(0,i.default)("TSObjectKeyword",...e)},t.tSStringKeyword=t.tsStringKeyword=t.TSStringKeyword=function(...e){return(0,i.default)("TSStringKeyword",...e)},t.tSSymbolKeyword=t.tsSymbolKeyword=t.TSSymbolKeyword=function(...e){return(0,i.default)("TSSymbolKeyword",...e)},t.tSUndefinedKeyword=t.tsUndefinedKeyword=t.TSUndefinedKeyword=function(...e){return(0,i.default)("TSUndefinedKeyword",...e)},t.tSUnknownKeyword=t.tsUnknownKeyword=t.TSUnknownKeyword=function(...e){return(0,i.default)("TSUnknownKeyword",...e)},t.tSVoidKeyword=t.tsVoidKeyword=t.TSVoidKeyword=function(...e){return(0,i.default)("TSVoidKeyword",...e)},t.tSThisType=t.tsThisType=t.TSThisType=function(...e){return(0,i.default)("TSThisType",...e)},t.tSFunctionType=t.tsFunctionType=t.TSFunctionType=function(...e){return(0,i.default)("TSFunctionType",...e)},t.tSConstructorType=t.tsConstructorType=t.TSConstructorType=function(...e){return(0,i.default)("TSConstructorType",...e)},t.tSTypeReference=t.tsTypeReference=t.TSTypeReference=function(...e){return(0,i.default)("TSTypeReference",...e)},t.tSTypePredicate=t.tsTypePredicate=t.TSTypePredicate=function(...e){return(0,i.default)("TSTypePredicate",...e)},t.tSTypeQuery=t.tsTypeQuery=t.TSTypeQuery=function(...e){return(0,i.default)("TSTypeQuery",...e)},t.tSTypeLiteral=t.tsTypeLiteral=t.TSTypeLiteral=function(...e){return(0,i.default)("TSTypeLiteral",...e)},t.tSArrayType=t.tsArrayType=t.TSArrayType=function(...e){return(0,i.default)("TSArrayType",...e)},t.tSTupleType=t.tsTupleType=t.TSTupleType=function(...e){return(0,i.default)("TSTupleType",...e)},t.tSOptionalType=t.tsOptionalType=t.TSOptionalType=function(...e){return(0,i.default)("TSOptionalType",...e)},t.tSRestType=t.tsRestType=t.TSRestType=function(...e){return(0,i.default)("TSRestType",...e)},t.tSUnionType=t.tsUnionType=t.TSUnionType=function(...e){return(0,i.default)("TSUnionType",...e)},t.tSIntersectionType=t.tsIntersectionType=t.TSIntersectionType=function(...e){return(0,i.default)("TSIntersectionType",...e)},t.tSConditionalType=t.tsConditionalType=t.TSConditionalType=function(...e){return(0,i.default)("TSConditionalType",...e)},t.tSInferType=t.tsInferType=t.TSInferType=function(...e){return(0,i.default)("TSInferType",...e)},t.tSParenthesizedType=t.tsParenthesizedType=t.TSParenthesizedType=function(...e){return(0,i.default)("TSParenthesizedType",...e)},t.tSTypeOperator=t.tsTypeOperator=t.TSTypeOperator=function(...e){return(0,i.default)("TSTypeOperator",...e)},t.tSIndexedAccessType=t.tsIndexedAccessType=t.TSIndexedAccessType=function(...e){return(0,i.default)("TSIndexedAccessType",...e)},t.tSMappedType=t.tsMappedType=t.TSMappedType=function(...e){return(0,i.default)("TSMappedType",...e)},t.tSLiteralType=t.tsLiteralType=t.TSLiteralType=function(...e){return(0,i.default)("TSLiteralType",...e)},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=t.TSExpressionWithTypeArguments=function(...e){return(0,i.default)("TSExpressionWithTypeArguments",...e)},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=t.TSInterfaceDeclaration=function(...e){return(0,i.default)("TSInterfaceDeclaration",...e)},t.tSInterfaceBody=t.tsInterfaceBody=t.TSInterfaceBody=function(...e){return(0,i.default)("TSInterfaceBody",...e)},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=t.TSTypeAliasDeclaration=function(...e){return(0,i.default)("TSTypeAliasDeclaration",...e)},t.tSAsExpression=t.tsAsExpression=t.TSAsExpression=function(...e){return(0,i.default)("TSAsExpression",...e)},t.tSTypeAssertion=t.tsTypeAssertion=t.TSTypeAssertion=function(...e){return(0,i.default)("TSTypeAssertion",...e)},t.tSEnumDeclaration=t.tsEnumDeclaration=t.TSEnumDeclaration=function(...e){return(0,i.default)("TSEnumDeclaration",...e)},t.tSEnumMember=t.tsEnumMember=t.TSEnumMember=function(...e){return(0,i.default)("TSEnumMember",...e)},t.tSModuleDeclaration=t.tsModuleDeclaration=t.TSModuleDeclaration=function(...e){return(0,i.default)("TSModuleDeclaration",...e)},t.tSModuleBlock=t.tsModuleBlock=t.TSModuleBlock=function(...e){return(0,i.default)("TSModuleBlock",...e)},t.tSImportType=t.tsImportType=t.TSImportType=function(...e){return(0,i.default)("TSImportType",...e)},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=t.TSImportEqualsDeclaration=function(...e){return(0,i.default)("TSImportEqualsDeclaration",...e)},t.tSExternalModuleReference=t.tsExternalModuleReference=t.TSExternalModuleReference=function(...e){return(0,i.default)("TSExternalModuleReference",...e)},t.tSNonNullExpression=t.tsNonNullExpression=t.TSNonNullExpression=function(...e){return(0,i.default)("TSNonNullExpression",...e)},t.tSExportAssignment=t.tsExportAssignment=t.TSExportAssignment=function(...e){return(0,i.default)("TSExportAssignment",...e)},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=t.TSNamespaceExportDeclaration=function(...e){return(0,i.default)("TSNamespaceExportDeclaration",...e)},t.tSTypeAnnotation=t.tsTypeAnnotation=t.TSTypeAnnotation=function(...e){return(0,i.default)("TSTypeAnnotation",...e)},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=t.TSTypeParameterInstantiation=function(...e){return(0,i.default)("TSTypeParameterInstantiation",...e)},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=t.TSTypeParameterDeclaration=function(...e){return(0,i.default)("TSTypeParameterDeclaration",...e)},t.tSTypeParameter=t.tsTypeParameter=t.TSTypeParameter=function(...e){return(0,i.default)("TSTypeParameter",...e)},t.numberLiteral=t.NumberLiteral=function e(...t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return e("NumberLiteral",...t)},t.regexLiteral=t.RegexLiteral=function e(...t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return e("RegexLiteral",...t)},t.restProperty=t.RestProperty=function e(...t){console.trace("The node type RestProperty has been renamed to RestElement");return e("RestProperty",...t)},t.spreadProperty=t.SpreadProperty=function e(...t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return e("SpreadProperty",...t)};var n,i=(n=r(484))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrayExpression=t.ArrayExpression=function(...e){return(0,i.default)("ArrayExpression",...e)},t.assignmentExpression=t.AssignmentExpression=function(...e){return(0,i.default)("AssignmentExpression",...e)},t.binaryExpression=t.BinaryExpression=function(...e){return(0,i.default)("BinaryExpression",...e)},t.interpreterDirective=t.InterpreterDirective=function(...e){return(0,i.default)("InterpreterDirective",...e)},t.directive=t.Directive=function(...e){return(0,i.default)("Directive",...e)},t.directiveLiteral=t.DirectiveLiteral=function(...e){return(0,i.default)("DirectiveLiteral",...e)},t.blockStatement=t.BlockStatement=function(...e){return(0,i.default)("BlockStatement",...e)},t.breakStatement=t.BreakStatement=function(...e){return(0,i.default)("BreakStatement",...e)},t.callExpression=t.CallExpression=function(...e){return(0,i.default)("CallExpression",...e)},t.catchClause=t.CatchClause=function(...e){return(0,i.default)("CatchClause",...e)},t.conditionalExpression=t.ConditionalExpression=function(...e){return(0,i.default)("ConditionalExpression",...e)},t.continueStatement=t.ContinueStatement=function(...e){return(0,i.default)("ContinueStatement",...e)},t.debuggerStatement=t.DebuggerStatement=function(...e){return(0,i.default)("DebuggerStatement",...e)},t.doWhileStatement=t.DoWhileStatement=function(...e){return(0,i.default)("DoWhileStatement",...e)},t.emptyStatement=t.EmptyStatement=function(...e){return(0,i.default)("EmptyStatement",...e)},t.expressionStatement=t.ExpressionStatement=function(...e){return(0,i.default)("ExpressionStatement",...e)},t.file=t.File=function(...e){return(0,i.default)("File",...e)},t.forInStatement=t.ForInStatement=function(...e){return(0,i.default)("ForInStatement",...e)},t.forStatement=t.ForStatement=function(...e){return(0,i.default)("ForStatement",...e)},t.functionDeclaration=t.FunctionDeclaration=function(...e){return(0,i.default)("FunctionDeclaration",...e)},t.functionExpression=t.FunctionExpression=function(...e){return(0,i.default)("FunctionExpression",...e)},t.identifier=t.Identifier=function(...e){return(0,i.default)("Identifier",...e)},t.ifStatement=t.IfStatement=function(...e){return(0,i.default)("IfStatement",...e)},t.labeledStatement=t.LabeledStatement=function(...e){return(0,i.default)("LabeledStatement",...e)},t.stringLiteral=t.StringLiteral=function(...e){return(0,i.default)("StringLiteral",...e)},t.numericLiteral=t.NumericLiteral=function(...e){return(0,i.default)("NumericLiteral",...e)},t.nullLiteral=t.NullLiteral=function(...e){return(0,i.default)("NullLiteral",...e)},t.booleanLiteral=t.BooleanLiteral=function(...e){return(0,i.default)("BooleanLiteral",...e)},t.regExpLiteral=t.RegExpLiteral=function(...e){return(0,i.default)("RegExpLiteral",...e)},t.logicalExpression=t.LogicalExpression=function(...e){return(0,i.default)("LogicalExpression",...e)},t.memberExpression=t.MemberExpression=function(...e){return(0,i.default)("MemberExpression",...e)},t.newExpression=t.NewExpression=function(...e){return(0,i.default)("NewExpression",...e)},t.program=t.Program=function(...e){return(0,i.default)("Program",...e)},t.objectExpression=t.ObjectExpression=function(...e){return(0,i.default)("ObjectExpression",...e)},t.objectMethod=t.ObjectMethod=function(...e){return(0,i.default)("ObjectMethod",...e)},t.objectProperty=t.ObjectProperty=function(...e){return(0,i.default)("ObjectProperty",...e)},t.restElement=t.RestElement=function(...e){return(0,i.default)("RestElement",...e)},t.returnStatement=t.ReturnStatement=function(...e){return(0,i.default)("ReturnStatement",...e)},t.sequenceExpression=t.SequenceExpression=function(...e){return(0,i.default)("SequenceExpression",...e)},t.parenthesizedExpression=t.ParenthesizedExpression=function(...e){return(0,i.default)("ParenthesizedExpression",...e)},t.switchCase=t.SwitchCase=function(...e){return(0,i.default)("SwitchCase",...e)},t.switchStatement=t.SwitchStatement=function(...e){return(0,i.default)("SwitchStatement",...e)},t.thisExpression=t.ThisExpression=function(...e){return(0,i.default)("ThisExpression",...e)},t.throwStatement=t.ThrowStatement=function(...e){return(0,i.default)("ThrowStatement",...e)},t.tryStatement=t.TryStatement=function(...e){return(0,i.default)("TryStatement",...e)},t.unaryExpression=t.UnaryExpression=function(...e){return(0,i.default)("UnaryExpression",...e)},t.updateExpression=t.UpdateExpression=function(...e){return(0,i.default)("UpdateExpression",...e)},t.variableDeclaration=t.VariableDeclaration=function(...e){return(0,i.default)("VariableDeclaration",...e)},t.variableDeclarator=t.VariableDeclarator=function(...e){return(0,i.default)("VariableDeclarator",...e)},t.whileStatement=t.WhileStatement=function(...e){return(0,i.default)("WhileStatement",...e)},t.withStatement=t.WithStatement=function(...e){return(0,i.default)("WithStatement",...e)},t.assignmentPattern=t.AssignmentPattern=function(...e){return(0,i.default)("AssignmentPattern",...e)},t.arrayPattern=t.ArrayPattern=function(...e){return(0,i.default)("ArrayPattern",...e)},t.arrowFunctionExpression=t.ArrowFunctionExpression=function(...e){return(0,i.default)("ArrowFunctionExpression",...e)},t.classBody=t.ClassBody=function(...e){return(0,i.default)("ClassBody",...e)},t.classDeclaration=t.ClassDeclaration=function(...e){return(0,i.default)("ClassDeclaration",...e)},t.classExpression=t.ClassExpression=function(...e){return(0,i.default)("ClassExpression",...e)},t.exportAllDeclaration=t.ExportAllDeclaration=function(...e){return(0,i.default)("ExportAllDeclaration",...e)},t.exportDefaultDeclaration=t.ExportDefaultDeclaration=function(...e){return(0,i.default)("ExportDefaultDeclaration",...e)},t.exportNamedDeclaration=t.ExportNamedDeclaration=function(...e){return(0,i.default)("ExportNamedDeclaration",...e)},t.exportSpecifier=t.ExportSpecifier=function(...e){return(0,i.default)("ExportSpecifier",...e)},t.forOfStatement=t.ForOfStatement=function(...e){return(0,i.default)("ForOfStatement",...e)},t.importDeclaration=t.ImportDeclaration=function(...e){return(0,i.default)("ImportDeclaration",...e)},t.importDefaultSpecifier=t.ImportDefaultSpecifier=function(...e){return(0,i.default)("ImportDefaultSpecifier",...e)},t.importNamespaceSpecifier=t.ImportNamespaceSpecifier=function(...e){return(0,i.default)("ImportNamespaceSpecifier",...e)},t.importSpecifier=t.ImportSpecifier=function(...e){return(0,i.default)("ImportSpecifier",...e)},t.metaProperty=t.MetaProperty=function(...e){return(0,i.default)("MetaProperty",...e)},t.classMethod=t.ClassMethod=function(...e){return(0,i.default)("ClassMethod",...e)},t.objectPattern=t.ObjectPattern=function(...e){return(0,i.default)("ObjectPattern",...e)},t.spreadElement=t.SpreadElement=function(...e){return(0,i.default)("SpreadElement",...e)},t.super=t.Super=function(...e){return(0,i.default)("Super",...e)},t.taggedTemplateExpression=t.TaggedTemplateExpression=function(...e){return(0,i.default)("TaggedTemplateExpression",...e)},t.templateElement=t.TemplateElement=function(...e){return(0,i.default)("TemplateElement",...e)},t.templateLiteral=t.TemplateLiteral=function(...e){return(0,i.default)("TemplateLiteral",...e)},t.yieldExpression=t.YieldExpression=function(...e){return(0,i.default)("YieldExpression",...e)},t.anyTypeAnnotation=t.AnyTypeAnnotation=function(...e){return(0,i.default)("AnyTypeAnnotation",...e)},t.arrayTypeAnnotation=t.ArrayTypeAnnotation=function(...e){return(0,i.default)("ArrayTypeAnnotation",...e)},t.booleanTypeAnnotation=t.BooleanTypeAnnotation=function(...e){return(0,i.default)("BooleanTypeAnnotation",...e)},t.booleanLiteralTypeAnnotation=t.BooleanLiteralTypeAnnotation=function(...e){return(0,i.default)("BooleanLiteralTypeAnnotation",...e)},t.nullLiteralTypeAnnotation=t.NullLiteralTypeAnnotation=function(...e){return(0,i.default)("NullLiteralTypeAnnotation",...e)},t.classImplements=t.ClassImplements=function(...e){return(0,i.default)("ClassImplements",...e)},t.declareClass=t.DeclareClass=function(...e){return(0,i.default)("DeclareClass",...e)},t.declareFunction=t.DeclareFunction=function(...e){return(0,i.default)("DeclareFunction",...e)},t.declareInterface=t.DeclareInterface=function(...e){return(0,i.default)("DeclareInterface",...e)},t.declareModule=t.DeclareModule=function(...e){return(0,i.default)("DeclareModule",...e)},t.declareModuleExports=t.DeclareModuleExports=function(...e){return(0,i.default)("DeclareModuleExports",...e)},t.declareTypeAlias=t.DeclareTypeAlias=function(...e){return(0,i.default)("DeclareTypeAlias",...e)},t.declareOpaqueType=t.DeclareOpaqueType=function(...e){return(0,i.default)("DeclareOpaqueType",...e)},t.declareVariable=t.DeclareVariable=function(...e){return(0,i.default)("DeclareVariable",...e)},t.declareExportDeclaration=t.DeclareExportDeclaration=function(...e){return(0,i.default)("DeclareExportDeclaration",...e)},t.declareExportAllDeclaration=t.DeclareExportAllDeclaration=function(...e){return(0,i.default)("DeclareExportAllDeclaration",...e)},t.declaredPredicate=t.DeclaredPredicate=function(...e){return(0,i.default)("DeclaredPredicate",...e)},t.existsTypeAnnotation=t.ExistsTypeAnnotation=function(...e){return(0,i.default)("ExistsTypeAnnotation",...e)},t.functionTypeAnnotation=t.FunctionTypeAnnotation=function(...e){return(0,i.default)("FunctionTypeAnnotation",...e)},t.functionTypeParam=t.FunctionTypeParam=function(...e){return(0,i.default)("FunctionTypeParam",...e)},t.genericTypeAnnotation=t.GenericTypeAnnotation=function(...e){return(0,i.default)("GenericTypeAnnotation",...e)},t.inferredPredicate=t.InferredPredicate=function(...e){return(0,i.default)("InferredPredicate",...e)},t.interfaceExtends=t.InterfaceExtends=function(...e){return(0,i.default)("InterfaceExtends",...e)},t.interfaceDeclaration=t.InterfaceDeclaration=function(...e){return(0,i.default)("InterfaceDeclaration",...e)},t.interfaceTypeAnnotation=t.InterfaceTypeAnnotation=function(...e){return(0,i.default)("InterfaceTypeAnnotation",...e)},t.intersectionTypeAnnotation=t.IntersectionTypeAnnotation=function(...e){return(0,i.default)("IntersectionTypeAnnotation",...e)},t.mixedTypeAnnotation=t.MixedTypeAnnotation=function(...e){return(0,i.default)("MixedTypeAnnotation",...e)},t.emptyTypeAnnotation=t.EmptyTypeAnnotation=function(...e){return(0,i.default)("EmptyTypeAnnotation",...e)},t.nullableTypeAnnotation=t.NullableTypeAnnotation=function(...e){return(0,i.default)("NullableTypeAnnotation",...e)},t.numberLiteralTypeAnnotation=t.NumberLiteralTypeAnnotation=function(...e){return(0,i.default)("NumberLiteralTypeAnnotation",...e)},t.numberTypeAnnotation=t.NumberTypeAnnotation=function(...e){return(0,i.default)("NumberTypeAnnotation",...e)},t.objectTypeAnnotation=t.ObjectTypeAnnotation=function(...e){return(0,i.default)("ObjectTypeAnnotation",...e)},t.objectTypeInternalSlot=t.ObjectTypeInternalSlot=function(...e){return(0,i.default)("ObjectTypeInternalSlot",...e)},t.objectTypeCallProperty=t.ObjectTypeCallProperty=function(...e){return(0,i.default)("ObjectTypeCallProperty",...e)},t.objectTypeIndexer=t.ObjectTypeIndexer=function(...e){return(0,i.default)("ObjectTypeIndexer",...e)},t.objectTypeProperty=t.ObjectTypeProperty=function(...e){return(0,i.default)("ObjectTypeProperty",...e)},t.objectTypeSpreadProperty=t.ObjectTypeSpreadProperty=function(...e){return(0,i.default)("ObjectTypeSpreadProperty",...e)},t.opaqueType=t.OpaqueType=function(...e){return(0,i.default)("OpaqueType",...e)},t.qualifiedTypeIdentifier=t.QualifiedTypeIdentifier=function(...e){return(0,i.default)("QualifiedTypeIdentifier",...e)},t.stringLiteralTypeAnnotation=t.StringLiteralTypeAnnotation=function(...e){return(0,i.default)("StringLiteralTypeAnnotation",...e)},t.stringTypeAnnotation=t.StringTypeAnnotation=function(...e){return(0,i.default)("StringTypeAnnotation",...e)},t.thisTypeAnnotation=t.ThisTypeAnnotation=function(...e){return(0,i.default)("ThisTypeAnnotation",...e)},t.tupleTypeAnnotation=t.TupleTypeAnnotation=function(...e){return(0,i.default)("TupleTypeAnnotation",...e)},t.typeofTypeAnnotation=t.TypeofTypeAnnotation=function(...e){return(0,i.default)("TypeofTypeAnnotation",...e)},t.typeAlias=t.TypeAlias=function(...e){return(0,i.default)("TypeAlias",...e)},t.typeAnnotation=t.TypeAnnotation=function(...e){return(0,i.default)("TypeAnnotation",...e)},t.typeCastExpression=t.TypeCastExpression=function(...e){return(0,i.default)("TypeCastExpression",...e)},t.typeParameter=t.TypeParameter=function(...e){return(0,i.default)("TypeParameter",...e)},t.typeParameterDeclaration=t.TypeParameterDeclaration=function(...e){return(0,i.default)("TypeParameterDeclaration",...e)},t.typeParameterInstantiation=t.TypeParameterInstantiation=function(...e){return(0,i.default)("TypeParameterInstantiation",...e)},t.unionTypeAnnotation=t.UnionTypeAnnotation=function(...e){return(0,i.default)("UnionTypeAnnotation",...e)},t.variance=t.Variance=function(...e){return(0,i.default)("Variance",...e)},t.voidTypeAnnotation=t.VoidTypeAnnotation=function(...e){return(0,i.default)("VoidTypeAnnotation",...e)},t.jSXAttribute=t.jsxAttribute=t.JSXAttribute=function(...e){return(0,i.default)("JSXAttribute",...e)},t.jSXClosingElement=t.jsxClosingElement=t.JSXClosingElement=function(...e){return(0,i.default)("JSXClosingElement",...e)},t.jSXElement=t.jsxElement=t.JSXElement=function(...e){return(0,i.default)("JSXElement",...e)},t.jSXEmptyExpression=t.jsxEmptyExpression=t.JSXEmptyExpression=function(...e){return(0,i.default)("JSXEmptyExpression",...e)},t.jSXExpressionContainer=t.jsxExpressionContainer=t.JSXExpressionContainer=function(...e){return(0,i.default)("JSXExpressionContainer",...e)},t.jSXSpreadChild=t.jsxSpreadChild=t.JSXSpreadChild=function(...e){return(0,i.default)("JSXSpreadChild",...e)},t.jSXIdentifier=t.jsxIdentifier=t.JSXIdentifier=function(...e){return(0,i.default)("JSXIdentifier",...e)},t.jSXMemberExpression=t.jsxMemberExpression=t.JSXMemberExpression=function(...e){return(0,i.default)("JSXMemberExpression",...e)},t.jSXNamespacedName=t.jsxNamespacedName=t.JSXNamespacedName=function(...e){return(0,i.default)("JSXNamespacedName",...e)},t.jSXOpeningElement=t.jsxOpeningElement=t.JSXOpeningElement=function(...e){return(0,i.default)("JSXOpeningElement",...e)},t.jSXSpreadAttribute=t.jsxSpreadAttribute=t.JSXSpreadAttribute=function(...e){return(0,i.default)("JSXSpreadAttribute",...e)},t.jSXText=t.jsxText=t.JSXText=function(...e){return(0,i.default)("JSXText",...e)},t.jSXFragment=t.jsxFragment=t.JSXFragment=function(...e){return(0,i.default)("JSXFragment",...e)},t.jSXOpeningFragment=t.jsxOpeningFragment=t.JSXOpeningFragment=function(...e){return(0,i.default)("JSXOpeningFragment",...e)},t.jSXClosingFragment=t.jsxClosingFragment=t.JSXClosingFragment=function(...e){return(0,i.default)("JSXClosingFragment",...e)},t.noop=t.Noop=function(...e){return(0,i.default)("Noop",...e)},t.placeholder=t.Placeholder=function(...e){return(0,i.default)("Placeholder",...e)},t.v8IntrinsicIdentifier=t.V8IntrinsicIdentifier=function(...e){return(0,i.default)("V8IntrinsicIdentifier",...e)},t.argumentPlaceholder=t.ArgumentPlaceholder=function(...e){return(0,i.default)("ArgumentPlaceholder",...e)},t.awaitExpression=t.AwaitExpression=function(...e){return(0,i.default)("AwaitExpression",...e)},t.bindExpression=t.BindExpression=function(...e){return(0,i.default)("BindExpression",...e)},t.classProperty=t.ClassProperty=function(...e){return(0,i.default)("ClassProperty",...e)},t.optionalMemberExpression=t.OptionalMemberExpression=function(...e){return(0,i.default)("OptionalMemberExpression",...e)},t.pipelineTopicExpression=t.PipelineTopicExpression=function(...e){return(0,i.default)("PipelineTopicExpression",...e)},t.pipelineBareFunction=t.PipelineBareFunction=function(...e){return(0,i.default)("PipelineBareFunction",...e)},t.pipelinePrimaryTopicReference=t.PipelinePrimaryTopicReference=function(...e){return(0,i.default)("PipelinePrimaryTopicReference",...e)},t.optionalCallExpression=t.OptionalCallExpression=function(...e){return(0,i.default)("OptionalCallExpression",...e)},t.classPrivateProperty=t.ClassPrivateProperty=function(...e){return(0,i.default)("ClassPrivateProperty",...e)},t.classPrivateMethod=t.ClassPrivateMethod=function(...e){return(0,i.default)("ClassPrivateMethod",...e)},t.import=t.Import=function(...e){return(0,i.default)("Import",...e)},t.decorator=t.Decorator=function(...e){return(0,i.default)("Decorator",...e)},t.doExpression=t.DoExpression=function(...e){return(0,i.default)("DoExpression",...e)},t.exportDefaultSpecifier=t.ExportDefaultSpecifier=function(...e){return(0,i.default)("ExportDefaultSpecifier",...e)},t.exportNamespaceSpecifier=t.ExportNamespaceSpecifier=function(...e){return(0,i.default)("ExportNamespaceSpecifier",...e)},t.privateName=t.PrivateName=function(...e){return(0,i.default)("PrivateName",...e)},t.bigIntLiteral=t.BigIntLiteral=function(...e){return(0,i.default)("BigIntLiteral",...e)},t.tSParameterProperty=t.tsParameterProperty=t.TSParameterProperty=function(...e){return(0,i.default)("TSParameterProperty",...e)},t.tSDeclareFunction=t.tsDeclareFunction=t.TSDeclareFunction=function(...e){return(0,i.default)("TSDeclareFunction",...e)},t.tSDeclareMethod=t.tsDeclareMethod=t.TSDeclareMethod=function(...e){return(0,i.default)("TSDeclareMethod",...e)},t.tSQualifiedName=t.tsQualifiedName=t.TSQualifiedName=function(...e){return(0,i.default)("TSQualifiedName",...e)},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=t.TSCallSignatureDeclaration=function(...e){return(0,i.default)("TSCallSignatureDeclaration",...e)},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=t.TSConstructSignatureDeclaration=function(...e){return(0,i.default)("TSConstructSignatureDeclaration",...e)},t.tSPropertySignature=t.tsPropertySignature=t.TSPropertySignature=function(...e){return(0,i.default)("TSPropertySignature",...e)},t.tSMethodSignature=t.tsMethodSignature=t.TSMethodSignature=function(...e){return(0,i.default)("TSMethodSignature",...e)},t.tSIndexSignature=t.tsIndexSignature=t.TSIndexSignature=function(...e){return(0,i.default)("TSIndexSignature",...e)},t.tSAnyKeyword=t.tsAnyKeyword=t.TSAnyKeyword=function(...e){return(0,i.default)("TSAnyKeyword",...e)},t.tSBooleanKeyword=t.tsBooleanKeyword=t.TSBooleanKeyword=function(...e){return(0,i.default)("TSBooleanKeyword",...e)},t.tSBigIntKeyword=t.tsBigIntKeyword=t.TSBigIntKeyword=function(...e){return(0,i.default)("TSBigIntKeyword",...e)},t.tSNeverKeyword=t.tsNeverKeyword=t.TSNeverKeyword=function(...e){return(0,i.default)("TSNeverKeyword",...e)},t.tSNullKeyword=t.tsNullKeyword=t.TSNullKeyword=function(...e){return(0,i.default)("TSNullKeyword",...e)},t.tSNumberKeyword=t.tsNumberKeyword=t.TSNumberKeyword=function(...e){return(0,i.default)("TSNumberKeyword",...e)},t.tSObjectKeyword=t.tsObjectKeyword=t.TSObjectKeyword=function(...e){return(0,i.default)("TSObjectKeyword",...e)},t.tSStringKeyword=t.tsStringKeyword=t.TSStringKeyword=function(...e){return(0,i.default)("TSStringKeyword",...e)},t.tSSymbolKeyword=t.tsSymbolKeyword=t.TSSymbolKeyword=function(...e){return(0,i.default)("TSSymbolKeyword",...e)},t.tSUndefinedKeyword=t.tsUndefinedKeyword=t.TSUndefinedKeyword=function(...e){return(0,i.default)("TSUndefinedKeyword",...e)},t.tSUnknownKeyword=t.tsUnknownKeyword=t.TSUnknownKeyword=function(...e){return(0,i.default)("TSUnknownKeyword",...e)},t.tSVoidKeyword=t.tsVoidKeyword=t.TSVoidKeyword=function(...e){return(0,i.default)("TSVoidKeyword",...e)},t.tSThisType=t.tsThisType=t.TSThisType=function(...e){return(0,i.default)("TSThisType",...e)},t.tSFunctionType=t.tsFunctionType=t.TSFunctionType=function(...e){return(0,i.default)("TSFunctionType",...e)},t.tSConstructorType=t.tsConstructorType=t.TSConstructorType=function(...e){return(0,i.default)("TSConstructorType",...e)},t.tSTypeReference=t.tsTypeReference=t.TSTypeReference=function(...e){return(0,i.default)("TSTypeReference",...e)},t.tSTypePredicate=t.tsTypePredicate=t.TSTypePredicate=function(...e){return(0,i.default)("TSTypePredicate",...e)},t.tSTypeQuery=t.tsTypeQuery=t.TSTypeQuery=function(...e){return(0,i.default)("TSTypeQuery",...e)},t.tSTypeLiteral=t.tsTypeLiteral=t.TSTypeLiteral=function(...e){return(0,i.default)("TSTypeLiteral",...e)},t.tSArrayType=t.tsArrayType=t.TSArrayType=function(...e){return(0,i.default)("TSArrayType",...e)},t.tSTupleType=t.tsTupleType=t.TSTupleType=function(...e){return(0,i.default)("TSTupleType",...e)},t.tSOptionalType=t.tsOptionalType=t.TSOptionalType=function(...e){return(0,i.default)("TSOptionalType",...e)},t.tSRestType=t.tsRestType=t.TSRestType=function(...e){return(0,i.default)("TSRestType",...e)},t.tSUnionType=t.tsUnionType=t.TSUnionType=function(...e){return(0,i.default)("TSUnionType",...e)},t.tSIntersectionType=t.tsIntersectionType=t.TSIntersectionType=function(...e){return(0,i.default)("TSIntersectionType",...e)},t.tSConditionalType=t.tsConditionalType=t.TSConditionalType=function(...e){return(0,i.default)("TSConditionalType",...e)},t.tSInferType=t.tsInferType=t.TSInferType=function(...e){return(0,i.default)("TSInferType",...e)},t.tSParenthesizedType=t.tsParenthesizedType=t.TSParenthesizedType=function(...e){return(0,i.default)("TSParenthesizedType",...e)},t.tSTypeOperator=t.tsTypeOperator=t.TSTypeOperator=function(...e){return(0,i.default)("TSTypeOperator",...e)},t.tSIndexedAccessType=t.tsIndexedAccessType=t.TSIndexedAccessType=function(...e){return(0,i.default)("TSIndexedAccessType",...e)},t.tSMappedType=t.tsMappedType=t.TSMappedType=function(...e){return(0,i.default)("TSMappedType",...e)},t.tSLiteralType=t.tsLiteralType=t.TSLiteralType=function(...e){return(0,i.default)("TSLiteralType",...e)},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=t.TSExpressionWithTypeArguments=function(...e){return(0,i.default)("TSExpressionWithTypeArguments",...e)},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=t.TSInterfaceDeclaration=function(...e){return(0,i.default)("TSInterfaceDeclaration",...e)},t.tSInterfaceBody=t.tsInterfaceBody=t.TSInterfaceBody=function(...e){return(0,i.default)("TSInterfaceBody",...e)},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=t.TSTypeAliasDeclaration=function(...e){return(0,i.default)("TSTypeAliasDeclaration",...e)},t.tSAsExpression=t.tsAsExpression=t.TSAsExpression=function(...e){return(0,i.default)("TSAsExpression",...e)},t.tSTypeAssertion=t.tsTypeAssertion=t.TSTypeAssertion=function(...e){return(0,i.default)("TSTypeAssertion",...e)},t.tSEnumDeclaration=t.tsEnumDeclaration=t.TSEnumDeclaration=function(...e){return(0,i.default)("TSEnumDeclaration",...e)},t.tSEnumMember=t.tsEnumMember=t.TSEnumMember=function(...e){return(0,i.default)("TSEnumMember",...e)},t.tSModuleDeclaration=t.tsModuleDeclaration=t.TSModuleDeclaration=function(...e){return(0,i.default)("TSModuleDeclaration",...e)},t.tSModuleBlock=t.tsModuleBlock=t.TSModuleBlock=function(...e){return(0,i.default)("TSModuleBlock",...e)},t.tSImportType=t.tsImportType=t.TSImportType=function(...e){return(0,i.default)("TSImportType",...e)},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=t.TSImportEqualsDeclaration=function(...e){return(0,i.default)("TSImportEqualsDeclaration",...e)},t.tSExternalModuleReference=t.tsExternalModuleReference=t.TSExternalModuleReference=function(...e){return(0,i.default)("TSExternalModuleReference",...e)},t.tSNonNullExpression=t.tsNonNullExpression=t.TSNonNullExpression=function(...e){return(0,i.default)("TSNonNullExpression",...e)},t.tSExportAssignment=t.tsExportAssignment=t.TSExportAssignment=function(...e){return(0,i.default)("TSExportAssignment",...e)},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=t.TSNamespaceExportDeclaration=function(...e){return(0,i.default)("TSNamespaceExportDeclaration",...e)},t.tSTypeAnnotation=t.tsTypeAnnotation=t.TSTypeAnnotation=function(...e){return(0,i.default)("TSTypeAnnotation",...e)},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=t.TSTypeParameterInstantiation=function(...e){return(0,i.default)("TSTypeParameterInstantiation",...e)},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=t.TSTypeParameterDeclaration=function(...e){return(0,i.default)("TSTypeParameterDeclaration",...e)},t.tSTypeParameter=t.tsTypeParameter=t.TSTypeParameter=function(...e){return(0,i.default)("TSTypeParameter",...e)},t.numberLiteral=t.NumberLiteral=function e(...t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral");return e("NumberLiteral",...t)},t.regexLiteral=t.RegexLiteral=function e(...t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral");return e("RegexLiteral",...t)},t.restProperty=t.RestProperty=function e(...t){console.trace("The node type RestProperty has been renamed to RestElement");return e("RestProperty",...t)},t.spreadProperty=t.SpreadProperty=function e(...t){console.trace("The node type SpreadProperty has been renamed to SpreadElement");return e("SpreadProperty",...t)};var n,i=(n=r(565))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(40),i=r(145),a=r(146),s="[object Null]",o="[object Undefined]",u=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?o:s:u&&u in Object(e)?i(e):a(e)}},function(e,t,r){var n=r(144),i=r(149);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},function(e,t,r){"use strict";function n(){const e=(t=r(71))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return i.VISITOR_KEYS}}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return i.ALIAS_KEYS}}),Object.defineProperty(t,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return i.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(t,"NODE_FIELDS",{enumerable:!0,get:function(){return i.NODE_FIELDS}}),Object.defineProperty(t,"BUILDER_KEYS",{enumerable:!0,get:function(){return i.BUILDER_KEYS}}),Object.defineProperty(t,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return i.DEPRECATED_KEYS}}),t.TYPES=void 0,r(103),r(106),r(354),r(355),r(356),r(357),r(358);var i=r(32);(0,n().default)(i.VISITOR_KEYS),(0,n().default)(i.ALIAS_KEYS),(0,n().default)(i.FLIPPED_ALIAS_KEYS),(0,n().default)(i.NODE_FIELDS),(0,n().default)(i.BUILDER_KEYS),(0,n().default)(i.DEPRECATED_KEYS);const a=Object.keys(i.VISITOR_KEYS).concat(Object.keys(i.FLIPPED_ALIAS_KEYS)).concat(Object.keys(i.DEPRECATED_KEYS));t.TYPES=a},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validate=d,t.typeIs=h,t.validateType=function(e){return d(h(e))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(e){return{validate:h(e),optional:!0}},t.arrayOf=y,t.arrayOfType=m,t.validateArrayOfType=function(e){return d(m(e))},t.assertEach=v,t.assertOneOf=function(...e){function t(t,r,n){if(e.indexOf(n)<0)throw new TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}return t.oneOf=e,t},t.assertNodeType=g,t.assertNodeOrValueType=function(...e){function t(t,r,n){let a=!1;for(const t of e)if(f(n)===t||(0,i.default)(t,n)){a=!0;break}if(!a)throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} `+`but instead got ${JSON.stringify(n&&n.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertValueType=T,t.assertShape=function(e){function t(t,r,n){const i=[];for(const r of Object.keys(e))try{(0,a.validateField)(t,r,n[r],e[r])}catch(e){if(e instanceof TypeError){i.push(e.message);continue}throw e}if(i.length)throw new TypeError(`Property ${r} of ${t.type} expected to have the following:\n${i.join("\n")}`)}return t.shapeOf=e,t},t.chain=E,t.default=function(e,t={}){const r=t.inherits&&S[t.inherits]||{},n=t.fields||r.fields||{},i=t.visitor||r.visitor||[],a=t.aliases||r.aliases||[],d=t.builder||r.builder||t.visitor||[];t.deprecatedAlias&&(p[t.deprecatedAlias]=e);for(const e of i.concat(d))n[e]=n[e]||{};for(const e of Object.keys(n)){const t=n[e];-1===d.indexOf(e)&&(t.optional=!0),void 0===t.default?t.default=null:t.validate||(t.validate=T(f(t.default)))}s[e]=t.visitor=i,c[e]=t.builder=d,l[e]=t.fields=n,o[e]=t.aliases=a,a.forEach(t=>{u[t]=u[t]||[],u[t].push(e)}),S[e]=t},t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n,i=(n=r(114))&&n.__esModule?n:{default:n},a=r(116);const s={};t.VISITOR_KEYS=s;const o={};t.ALIAS_KEYS=o;const u={};t.FLIPPED_ALIAS_KEYS=u;const l={};t.NODE_FIELDS=l;const c={};t.BUILDER_KEYS=c;const p={};function f(e){return Array.isArray(e)?"array":null===e?"null":void 0===e?"undefined":typeof e}function d(e){return{validate:e}}function h(e){return"string"==typeof e?g(e):g(...e)}function y(e){return E(T("array"),v(e))}function m(e){return y(h(e))}function v(e){function t(t,r,n){if(Array.isArray(n))for(let i=0;i<n.length;i++)e(t,`${r}[${i}]`,n[i])}return t.each=e,t}function g(...e){function t(t,r,n){let a=!1;for(const t of e)if((0,i.default)(t,n)){a=!0;break}if(!a)throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} `+`but instead got ${JSON.stringify(n&&n.type)}`)}return t.oneOfNodeTypes=e,t}function T(e){function t(t,r,n){if(!(f(n)===e))throw new TypeError(`Property ${r} expected type of ${e} but got ${f(n)}`)}return t.type=e,t}function E(...e){function t(...t){for(const r of e)r(...t)}return t.chainOf=e,t}t.DEPRECATED_KEYS=p;const S={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validate=d,t.typeIs=h,t.validateType=function(e){return d(h(e))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(e){return{validate:h(e),optional:!0}},t.arrayOf=y,t.arrayOfType=m,t.validateArrayOfType=function(e){return d(m(e))},t.assertEach=v,t.assertOneOf=function(...e){function t(t,r,n){if(e.indexOf(n)<0)throw new TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}return t.oneOf=e,t},t.assertNodeType=g,t.assertNodeOrValueType=function(...e){function t(t,r,n){let a=!1;for(const t of e)if(f(n)===t||(0,i.default)(t,n)){a=!0;break}if(!a)throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} `+`but instead got ${JSON.stringify(n&&n.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertValueType=T,t.assertShape=function(e){function t(t,r,n){const i=[];for(const r of Object.keys(e))try{(0,a.validateField)(t,r,n[r],e[r])}catch(e){if(e instanceof TypeError){i.push(e.message);continue}throw e}if(i.length)throw new TypeError(`Property ${r} of ${t.type} expected to have the following:\n${i.join("\n")}`)}return t.shapeOf=e,t},t.chain=E,t.default=function(e,t={}){const r=t.inherits&&S[t.inherits]||{},n=t.fields||r.fields||{},i=t.visitor||r.visitor||[],a=t.aliases||r.aliases||[],d=t.builder||r.builder||t.visitor||[];t.deprecatedAlias&&(p[t.deprecatedAlias]=e);for(const e of i.concat(d))n[e]=n[e]||{};for(const e of Object.keys(n)){const t=n[e];-1===d.indexOf(e)&&(t.optional=!0),void 0===t.default?t.default=null:t.validate||(t.validate=T(f(t.default)))}s[e]=t.visitor=i,c[e]=t.builder=d,l[e]=t.fields=n,o[e]=t.aliases=a,a.forEach(t=>{u[t]=u[t]||[],u[t].push(e)}),S[e]=t},t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n,i=(n=r(122))&&n.__esModule?n:{default:n},a=r(124);const s={};t.VISITOR_KEYS=s;const o={};t.ALIAS_KEYS=o;const u={};t.FLIPPED_ALIAS_KEYS=u;const l={};t.NODE_FIELDS=l;const c={};t.BUILDER_KEYS=c;const p={};function f(e){return Array.isArray(e)?"array":null===e?"null":void 0===e?"undefined":typeof e}function d(e){return{validate:e}}function h(e){return"string"==typeof e?g(e):g(...e)}function y(e){return E(T("array"),v(e))}function m(e){return y(h(e))}function v(e){function t(t,r,n){if(Array.isArray(n))for(let i=0;i<n.length;i++)e(t,`${r}[${i}]`,n[i])}return t.each=e,t}function g(...e){function t(t,r,n){let a=!1;for(const t of e)if((0,i.default)(t,n)){a=!0;break}if(!a)throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} `+`but instead got ${JSON.stringify(n&&n.type)}`)}return t.oneOfNodeTypes=e,t}function T(e){function t(t,r,n){if(!(f(n)===e))throw new TypeError(`Property ${r} expected type of ${e} but got ${f(n)}`)}return t.type=e,t}function E(...e){function t(...t){for(const r of e)r(...t)}return t.chainOf=e,t}t.DEPRECATED_KEYS=p;const S={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validate=d,t.typeIs=h,t.validateType=function(e){return d(h(e))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(e){return{validate:h(e),optional:!0}},t.arrayOf=y,t.arrayOfType=m,t.validateArrayOfType=function(e){return d(m(e))},t.assertEach=v,t.assertOneOf=function(...e){function t(t,r,n){if(e.indexOf(n)<0)throw new TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}return t.oneOf=e,t},t.assertNodeType=g,t.assertNodeOrValueType=function(...e){function t(t,r,n){let a=!1;for(const t of e)if(f(n)===t||(0,i.default)(t,n)){a=!0;break}if(!a)throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} `+`but instead got ${JSON.stringify(n&&n.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertValueType=T,t.assertShape=function(e){function t(t,r,n){const i=[];for(const r of Object.keys(e))try{(0,a.validateField)(t,r,n[r],e[r])}catch(e){if(e instanceof TypeError){i.push(e.message);continue}throw e}if(i.length)throw new TypeError(`Property ${r} of ${t.type} expected to have the following:\n${i.join("\n")}`)}return t.shapeOf=e,t},t.chain=E,t.default=function(e,t={}){const r=t.inherits&&S[t.inherits]||{},n=t.fields||r.fields||{},i=t.visitor||r.visitor||[],a=t.aliases||r.aliases||[],d=t.builder||r.builder||t.visitor||[];t.deprecatedAlias&&(p[t.deprecatedAlias]=e);for(const e of i.concat(d))n[e]=n[e]||{};for(const e of Object.keys(n)){const t=n[e];-1===d.indexOf(e)&&(t.optional=!0),void 0===t.default?t.default=null:t.validate||(t.validate=T(f(t.default)))}s[e]=t.visitor=i,c[e]=t.builder=d,l[e]=t.fields=n,o[e]=t.aliases=a,a.forEach(t=>{u[t]=u[t]||[],u[t].push(e)}),S[e]=t},t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n,i=(n=r(130))&&n.__esModule?n:{default:n},a=r(132);const s={};t.VISITOR_KEYS=s;const o={};t.ALIAS_KEYS=o;const u={};t.FLIPPED_ALIAS_KEYS=u;const l={};t.NODE_FIELDS=l;const c={};t.BUILDER_KEYS=c;const p={};function f(e){return Array.isArray(e)?"array":null===e?"null":void 0===e?"undefined":typeof e}function d(e){return{validate:e}}function h(e){return"string"==typeof e?g(e):g(...e)}function y(e){return E(T("array"),v(e))}function m(e){return y(h(e))}function v(e){function t(t,r,n){if(Array.isArray(n))for(let i=0;i<n.length;i++)e(t,`${r}[${i}]`,n[i])}return t.each=e,t}function g(...e){function t(t,r,n){let a=!1;for(const t of e)if((0,i.default)(t,n)){a=!0;break}if(!a)throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} `+`but instead got ${JSON.stringify(n&&n.type)}`)}return t.oneOfNodeTypes=e,t}function T(e){function t(t,r,n){if(!(f(n)===e))throw new TypeError(`Property ${r} expected type of ${e} but got ${f(n)}`)}return t.type=e,t}function E(...e){function t(...t){for(const r of e)r(...t)}return t.chainOf=e,t}t.DEPRECATED_KEYS=p;const S={}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validate=f,t.typeIs=d,t.validateType=function(e){return f(d(e))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(e){return{validate:d(e),optional:!0}},t.arrayOf=h,t.arrayOfType=y,t.validateArrayOfType=function(e){return f(y(e))},t.assertEach=m,t.assertOneOf=function(...e){function t(t,r,n){if(e.indexOf(n)<0)throw new TypeError(`Property ${r} expected value to be one of ${JSON.stringify(e)} but got ${JSON.stringify(n)}`)}return t.oneOf=e,t},t.assertNodeType=v,t.assertNodeOrValueType=function(...e){function t(t,r,n){let a=!1;for(const t of e)if(p(n)===t||(0,i.default)(t,n)){a=!0;break}if(!a)throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} `+`but instead got ${JSON.stringify(n&&n.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertValueType=g,t.chain=T,t.default=function(e,t={}){const r=t.inherits&&E[t.inherits]||{},n=t.fields||r.fields||{},i=t.visitor||r.visitor||[],f=t.aliases||r.aliases||[],d=t.builder||r.builder||t.visitor||[];t.deprecatedAlias&&(c[t.deprecatedAlias]=e);for(const e of i.concat(d))n[e]=n[e]||{};for(const e in n){const t=n[e];-1===d.indexOf(e)&&(t.optional=!0),void 0===t.default?t.default=null:t.validate||(t.validate=g(p(t.default)))}a[e]=t.visitor=i,l[e]=t.builder=d,u[e]=t.fields=n,s[e]=t.aliases=f,f.forEach(t=>{o[t]=o[t]||[],o[t].push(e)}),E[e]=t},t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var n,i=(n=r(104))&&n.__esModule?n:{default:n};const a={};t.VISITOR_KEYS=a;const s={};t.ALIAS_KEYS=s;const o={};t.FLIPPED_ALIAS_KEYS=o;const u={};t.NODE_FIELDS=u;const l={};t.BUILDER_KEYS=l;const c={};function p(e){return Array.isArray(e)?"array":null===e?"null":void 0===e?"undefined":typeof e}function f(e){return{validate:e}}function d(e){return"string"==typeof e?v(e):v(...e)}function h(e){return T(g("array"),m(e))}function y(e){return h(d(e))}function m(e){function t(t,r,n){if(Array.isArray(n))for(let i=0;i<n.length;i++)e(t,`${r}[${i}]`,n[i])}return t.each=e,t}function v(...e){function t(t,r,n){let a=!1;for(const t of e)if((0,i.default)(t,n)){a=!0;break}if(!a)throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} `+`but instead got ${JSON.stringify(n&&n.type)}`)}return t.oneOfNodeTypes=e,t}function g(e){function t(t,r,n){if(!(p(n)===e))throw new TypeError(`Property ${r} expected type of ${e} but got ${p(n)}`)}return t.type=e,t}function T(...e){function t(...t){for(const r of e)r(...t)}return t.chainOf=e,t}t.DEPRECATED_KEYS=c;const E={}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(86),i=r(62);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"];t.FLATTENABLE_KEYS=["body","expressions"];t.FOR_INIT_KEYS=["left","init"];t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];t.LOGICAL_OPERATORS=["||","&&","??"];t.UPDATE_OPERATORS=["++","--"];const n=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=n;const i=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=i;const a=[...i,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=a;const s=[...a,...n];t.BOOLEAN_BINARY_OPERATORS=s;const o=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=o;const u=["+",...o,...s];t.BINARY_OPERATORS=u;const l=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=l;const c=["+","-","~"];t.NUMBER_UNARY_OPERATORS=c;const p=["typeof"];t.STRING_UNARY_OPERATORS=p;const f=["void","throw",...l,...c,...p];t.UNARY_OPERATORS=f;t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};const d=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=d;const h=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=d,Object.defineProperty(t,"NodePath",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return c.default}}),t.visitors=void 0;var n=f(r(402)),i=p(r(612));function a(){const e=f(r(110));return a=function(){return e},e}function s(){const e=p(r(3));return s=function(){return e},e}t.visitors=i;var o=p(r(79)),u=f(r(45)),l=f(r(195)),c=f(r(613));function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function f(e){return e&&e.__esModule?e:{default:e}}function d(e,t,r,n,a){if(e){if(t||(t={}),!t.noScope&&!r&&"Program"!==e.type&&"File"!==e.type)throw new Error("You must pass a scope and parentPath unless traversing a Program/File. "+`Instead of that you tried to traverse a ${e.type} node without `+"passing scope and parentPath.");i.explode(t),d.node(e,t,r,n,a)}}function h(e,t){e.node.type===t.type&&(t.has=!0,e.stop())}d.visitors=i,d.verify=i.verify,d.explode=i.explode,d.cheap=function(e,t){return s().traverseFast(e,t)},d.node=function(e,t,r,i,a,o){const u=s().VISITOR_KEYS[e.type];if(!u)return;const l=new n.default(r,t,i,a);for(const t of u)if((!o||!o[t])&&l.visit(e,t))return},d.clearNode=function(e,t){s().removeProperties(e,t),o.path.delete(e)},d.removeProperties=function(e,t){return s().traverseFast(e,d.clearNode,t),e},d.hasType=function(e,t,r){if((0,a().default)(r,e.type))return!1;if(e.type===t)return!0;const n={has:!1,type:t};return d(e,{noScope:!0,blacklist:r,enter:h},null,n),n.has},d.cache=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"];t.FLATTENABLE_KEYS=["body","expressions"];t.FOR_INIT_KEYS=["left","init"];t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];t.LOGICAL_OPERATORS=["||","&&","??"];t.UPDATE_OPERATORS=["++","--"];const n=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=n;const i=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=i;const a=[...i,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=a;const s=[...a,...n];t.BOOLEAN_BINARY_OPERATORS=s;const o=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=o;const u=["+",...o,...s];t.BINARY_OPERATORS=u;const l=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=l;const c=["+","-","~"];t.NUMBER_UNARY_OPERATORS=c;const p=["typeof"];t.STRING_UNARY_OPERATORS=p;const f=["void","throw",...l,...c,...p];t.UNARY_OPERATORS=f;t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};const d=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=d;const h=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"];t.FLATTENABLE_KEYS=["body","expressions"];t.FOR_INIT_KEYS=["left","init"];t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];t.LOGICAL_OPERATORS=["||","&&","??"];t.UPDATE_OPERATORS=["++","--"];const n=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=n;const i=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=i;const a=[...i,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=a;const s=[...a,...n];t.BOOLEAN_BINARY_OPERATORS=s;const o=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=o;const u=["+",...o,...s];t.BINARY_OPERATORS=u;const l=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=l;const c=["+","-","~"];t.NUMBER_UNARY_OPERATORS=c;const p=["typeof"];t.STRING_UNARY_OPERATORS=p;const f=["void","throw",...l,...c,...p];t.UNARY_OPERATORS=f;t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};const d=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=d;const h=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;t.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"];t.FLATTENABLE_KEYS=["body","expressions"];t.FOR_INIT_KEYS=["left","init"];t.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];t.LOGICAL_OPERATORS=["||","&&","??"];t.UPDATE_OPERATORS=["++","--"];const n=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=n;const i=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=i;const a=[...i,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=a;const s=[...a,...n];t.BOOLEAN_BINARY_OPERATORS=s;const o=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=o;const u=["+",...o,...s];t.BINARY_OPERATORS=u;const l=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=l;const c=["+","-","~"];t.NUMBER_UNARY_OPERATORS=c;const p=["typeof"];t.STRING_UNARY_OPERATORS=p;const f=["void","throw",...l,...c,...p];t.UNARY_OPERATORS=f;t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};const d=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=d;const h=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=h},function(e,t,r){var n=r(10).Symbol;e.exports=n},function(e,t){var r,n,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var u,l=[],c=!1,p=-1;function f(){c&&u&&(c=!1,u.length?l=u.concat(l):p=-1,l.length&&d())}function d(){if(!c){var e=o(f);c=!0;for(var t=l.length;t;){for(u=l,l=[];++p<t;)u&&u[p].run();p=-1,t=l.length}u=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function y(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];l.push(new h(e,t)),1!==l.length||c||o(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=y,i.addListener=y,i.once=y,i.off=y,i.removeListener=y,i.removeAllListeners=y,i.emit=y,i.prependListener=y,i.prependOnceListener=y,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,r){var n=r(92),i=r(43),a=r(64),s=r(14),o=r(34),u=r(47),l=r(46),c=r(65),p="[object Map]",f="[object Set]",d=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(o(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||c(e)||a(e)))return!e.length;var t=i(e);if(t==p||t==f)return!e.size;if(l(e))return!n(e).length;for(var r in e)if(d.call(e,r))return!1;return!0}},function(e,t,r){var n=r(143),i=r(63),a=r(150),s=r(94),o=r(151),u=r(24),l=r(88),c=l(n),p=l(i),f=l(a),d=l(s),h=l(o),y=u;(n&&"[object DataView]"!=y(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=y(new i)||a&&"[object Promise]"!=y(a.resolve())||s&&"[object Set]"!=y(new s)||o&&"[object WeakMap]"!=y(new o))&&(y=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case c:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=y},function(e,t,r){var n=r(168),i=r(92),a=r(34);e.exports=function(e){return a(e)?n(e):i(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=b(r(194));function i(){const e=S(r(403));return i=function(){return e},e}var a=S(r(36)),s=S(r(195));function o(){const e=b(r(3));return o=function(){return e},e}var u=r(79);function l(){const e=S(r(467));return l=function(){return e},e}var c=b(r(538)),p=b(r(539)),f=b(r(542)),d=b(r(553)),h=b(r(554)),y=b(r(604)),m=b(r(605)),v=b(r(606)),g=b(r(608)),T=b(r(610)),E=b(r(611));function S(e){return e&&e.__esModule?e:{default:e}}function b(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}const x=(0,i().default)("babel");class D{constructor(e,t){this.parent=t,this.hub=e,this.contexts=[],this.data={},this.shouldSkip=!1,this.shouldStop=!1,this.removed=!1,this.state=null,this.opts=null,this.skipKeys=null,this.parentPath=null,this.context=null,this.container=null,this.listKey=null,this.inList=!1,this.parentKey=null,this.key=null,this.node=null,this.scope=null,this.type=null,this.typeAnnotation=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:i,key:a}){if(!e&&t&&(e=t.hub),!r)throw new Error("To get a node path the parent needs to exist");const s=n[a],o=u.path.get(r)||[];let l;u.path.has(r)||u.path.set(r,o);for(let e=0;e<o.length;e++){const t=o[e];if(t.node===s){l=t;break}}return l||(l=new D(e,r),o.push(l)),l.setup(t,n,i,a),l}getScope(e){return this.isScope()?new s.default(this):e}setData(e,t){return this.data[e]=t}getData(e,t){let r=this.data[e];return!r&&t&&(r=this.data[e]=t),r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,a.default)(this.node,e,this.scope,t,this)}set(e,t){o().validate(this.node,e,t),this.node[e]=t}getPathLocation(){const e=[];let t=this;do{let r=t.key;t.inList&&(r=`${t.listKey}[${r}]`),e.unshift(r)}while(t=t.parentPath);return e.join(".")}debug(e){x.enabled&&x(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,l().default)(this.node).code}}t.default=D,Object.assign(D.prototype,c,p,f,d,h,y,m,v,g,T,E);for(const e of o().TYPES){const t=`is${e}`,r=o()[t];D.prototype[t]=function(e){return r(this.node,e)},D.prototype[`assert${e}`]=function(t){if(!r(this.node,t))throw new TypeError(`Expected node path of type ${e}`)}}for(const e in n){if("_"===e[0])continue;o().TYPES.indexOf(e)<0&&o().TYPES.push(e);const t=n[e];D.prototype[`is${e}`]=function(e){return t.checkPath(this,e)}}},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,r){(function(e){var n=r(10),i=r(153),a=t&&!t.nodeType&&t,s=a&&"object"==typeof e&&e&&!e.nodeType&&e,o=s&&s.exports===a?n.Buffer:void 0,u=(o?o.isBuffer:void 0)||i;e.exports=u}).call(this,r(33)(e))},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){var n=r(87),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i&&n.process,o=function(){try{var e=a&&a.require&&a.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=o}).call(this,r(33)(e))},function(e,t,r){var n=r(305),i=4;e.exports=function(e){return n(e,i)}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){"use strict";function n(){const e=(t=r(53))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&!n().default.keyword.isReservedWordES6(e,!0)&&("await"!==e&&n().default.keyword.isIdentifierNameES6(e))}},function(e,t,r){!function(){"use strict";t.ast=r(352),t.code=r(175),t.keyword=r(353)}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(26);const i=Function.call.bind(Object.prototype.hasOwnProperty);function a(e,t){return e&&"string"==typeof e.type&&"CommentLine"!==e.type&&"CommentBlock"!==e.type?o(e,t):e}function s(e,t){return Array.isArray(e)?e.map(e=>a(e,t)):a(e,t)}function o(e,t=!0){if(!e)return e;const{type:r}=e,a={type:r};if("Identifier"===r)a.name=e.name,i(e,"typeAnnotation")&&(a.typeAnnotation=t?s(e.typeAnnotation,!0):e.typeAnnotation);else{if(!i(n.NODE_FIELDS,r))throw new Error(`Unknown node type: "${r}"`);for(const o of Object.keys(n.NODE_FIELDS[r]))i(e,o)&&(a[o]=t?s(e[o],!0):e[o])}return i(e,"loc")&&(a.loc=e.loc),i(e,"leadingComments")&&(a.leadingComments=e.leadingComments),i(e,"innerComments")&&(a.innerComments=e.innerCmments),i(e,"trailingComments")&&(a.trailingComments=e.trailingComments),i(e,"extra")&&(a.extra=Object.assign({},e.extra)),a}},function(e,t,r){"use strict";function n(){const e=(t=r(53))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&!n().default.keyword.isReservedWordES6(e,!0)&&("await"!==e&&n().default.keyword.isIdentifierNameES6(e))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(15);const i=Function.call.bind(Object.prototype.hasOwnProperty);function a(e,t){return e&&"string"==typeof e.type&&"CommentLine"!==e.type&&"CommentBlock"!==e.type?o(e,t):e}function s(e,t){return Array.isArray(e)?e.map(e=>a(e,t)):a(e,t)}function o(e,t=!0){if(!e)return e;const{type:r}=e,a={type:r};if("Identifier"===r)a.name=e.name,i(e,"optional")&&"boolean"==typeof e.optional&&(a.optional=e.optional),i(e,"typeAnnotation")&&(a.typeAnnotation=t?s(e.typeAnnotation,!0):e.typeAnnotation);else{if(!i(n.NODE_FIELDS,r))throw new Error(`Unknown node type: "${r}"`);for(const o of Object.keys(n.NODE_FIELDS[r]))i(e,o)&&(a[o]=t?s(e[o],!0):e[o])}return i(e,"loc")&&(a.loc=e.loc),i(e,"leadingComments")&&(a.leadingComments=e.leadingComments),i(e,"innerComments")&&(a.innerComments=e.innerComments),i(e,"trailingComments")&&(a.trailingComments=e.trailingComments),i(e,"extra")&&(a.extra=Object.assign({},e.extra)),a}},function(e,t){t.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,n=/^data:.+\,.+$/;function i(e){var t=e.match(r);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function a(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function s(e){var r=e,n=i(e);if(n){if(!n.path)return e;r=n.path}for(var s,o=t.isAbsolute(r),u=r.split(/\/+/),l=0,c=u.length-1;c>=0;c--)"."===(s=u[c])?u.splice(c,1):".."===s?l++:l>0&&(""===s?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return""===(r=u.join("/"))&&(r=o?"/":"."),n?(n.path=r,a(n)):r}t.urlParse=i,t.urlGenerate=a,t.normalize=s,t.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var r=i(t),o=i(e);if(o&&(e=o.path||"/"),r&&!r.scheme)return o&&(r.scheme=o.scheme),a(r);if(r||t.match(n))return t;if(o&&!o.host&&!o.path)return o.host=t,a(o);var u="/"===t.charAt(0)?t:s(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=u,a(o)):u},t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(r)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return t;if((e=e.slice(0,n)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var o=!("__proto__"in Object.create(null));function u(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function c(e,t){return e===t?0:e>t?1:-1}t.toSetString=o?u:function(e){return l(e)?"$"+e:e},t.fromSetString=o?u:function(e){return l(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var n=e.source-t.source;return 0!==n?n:0!==(n=e.originalLine-t.originalLine)?n:0!==(n=e.originalColumn-t.originalColumn)||r?n:0!==(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=e.generatedLine-t.generatedLine)?n:e.name-t.name},t.compareByGeneratedPositionsDeflated=function(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!==(n=e.generatedColumn-t.generatedColumn)||r?n:0!==(n=e.source-t.source)?n:0!==(n=e.originalLine-t.originalLine)?n:0!==(n=e.originalColumn-t.originalColumn)?n:e.name-t.name},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!==(r=e.generatedColumn-t.generatedColumn)?r:0!==(r=c(e.source,t.source))?r:0!==(r=e.originalLine-t.originalLine)?r:0!==(r=e.originalColumn-t.originalColumn)?r:c(e.name,t.name)}},function(e,t,r){"use strict";function n(){const e=(t=r(53))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&!n().default.keyword.isReservedWordES6(e,!0)&&("await"!==e&&n().default.keyword.isIdentifierNameES6(e))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(16);const i=Function.call.bind(Object.prototype.hasOwnProperty);function a(e,t){return e&&"string"==typeof e.type&&"CommentLine"!==e.type&&"CommentBlock"!==e.type?o(e,t):e}function s(e,t){return Array.isArray(e)?e.map(e=>a(e,t)):a(e,t)}function o(e,t=!0){if(!e)return e;const{type:r}=e,a={type:r};if("Identifier"===r)a.name=e.name,i(e,"optional")&&"boolean"==typeof e.optional&&(a.optional=e.optional),i(e,"typeAnnotation")&&(a.typeAnnotation=t?s(e.typeAnnotation,!0):e.typeAnnotation);else{if(!i(n.NODE_FIELDS,r))throw new Error(`Unknown node type: "${r}"`);for(const o of Object.keys(n.NODE_FIELDS[r]))i(e,o)&&(a[o]=t?s(e[o],!0):e[o])}return i(e,"loc")&&(a.loc=e.loc),i(e,"leadingComments")&&(a.leadingComments=e.leadingComments),i(e,"innerComments")&&(a.innerComments=e.innerComments),i(e,"trailingComments")&&(a.trailingComments=e.trailingComments),i(e,"extra")&&(a.extra=Object.assign({},e.extra)),a}},function(e,t,r){"use strict";function n(){const e=(t=r(53))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e&&!n().default.keyword.isReservedWordES6(e,!0)&&("await"!==e&&n().default.keyword.isIdentifierNameES6(e))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(17);const i=Function.call.bind(Object.prototype.hasOwnProperty);function a(e,t){return e&&"string"==typeof e.type&&"CommentLine"!==e.type&&"CommentBlock"!==e.type?o(e,t):e}function s(e,t){return Array.isArray(e)?e.map(e=>a(e,t)):a(e,t)}function o(e,t=!0){if(!e)return e;const{type:r}=e,a={type:r};if("Identifier"===r)a.name=e.name,i(e,"optional")&&"boolean"==typeof e.optional&&(a.optional=e.optional),i(e,"typeAnnotation")&&(a.typeAnnotation=t?s(e.typeAnnotation,!0):e.typeAnnotation);else{if(!i(n.NODE_FIELDS,r))throw new Error(`Unknown node type: "${r}"`);for(const o of Object.keys(n.NODE_FIELDS[r]))i(e,o)&&(a[o]=t?s(e[o],!0):e[o])}return i(e,"loc")&&(a.loc=e.loc),i(e,"leadingComments")&&(a.leadingComments=e.leadingComments),i(e,"innerComments")&&(a.innerComments=e.innerComments),i(e,"trailingComments")&&(a.trailingComments=e.trailingComments),i(e,"extra")&&(a.extra=Object.assign({},e.extra)),a}},function(e,t){var r=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}},function(e,t,r){var n=r(25)(r(10),"Map");e.exports=n},function(e,t,r){var n=r(152),i=r(13),a=Object.prototype,s=a.hasOwnProperty,o=a.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&s.call(e,"callee")&&!o.call(e,"callee")};e.exports=u},function(e,t,r){var n=r(154),i=r(48),a=r(49),s=a&&a.isTypedArray,o=s?i(s):n;e.exports=o},function(e,t,r){var n=r(306),i=r(307),a=r(308),s=r(309),o=r(310);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=o,e.exports=u},function(e,t,r){var n=r(51);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(25)(Object,"create");e.exports=n},function(e,t,r){var n=r(324);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){var n=r(165),i=r(166);e.exports=function(e,t,r,a){var s=!r;r||(r={});for(var o=-1,u=t.length;++o<u;){var l=t[o],c=a?a(r[l],e[l],l,r,e):void 0;void 0===c&&(c=e[l]),s?i(r,l,c):n(r,l,c)}return r}},function(e,t,r){"use strict";let n=null;function i(e){if(null!==n&&(n.property,1)){const e=n;return n=i.prototype=null,e}return n=i.prototype=null==e?Object.create(null):e,new i}i(),e.exports=function(e){return i(e)}},function(e,t,r){var n=r(366);e.exports=function(e){return e&&e.length?n(e):[]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(6);function i(e,t,r){let a=[].concat(e);const s=Object.create(null);for(;a.length;){const e=a.shift();if(!e)continue;const o=i.keys[e.type];if((0,n.isIdentifier)(e))if(t){(s[e.name]=s[e.name]||[]).push(e)}else s[e.name]=e;else if((0,n.isExportDeclaration)(e))(0,n.isDeclaration)(e.declaration)&&a.push(e.declaration);else{if(r){if((0,n.isFunctionDeclaration)(e)){a.push(e.id);continue}if((0,n.isFunctionExpression)(e))continue}if(o)for(let t=0;t<o.length;t++){const r=o[t];e[r]&&(a=a.concat(e[r]))}}}return s}i.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},function(e,t,r){var n=r(24),i=r(101),a=r(13),s="[object Object]",o=Function.prototype,u=Object.prototype,l=o.toString,c=u.hasOwnProperty,p=l.call(Object);e.exports=function(e){if(!a(e)||n(e)!=s)return!1;var t=i(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==p}},function(e,t,r){var n=r(386),i=r(48),a=r(49),s=a&&a.isRegExp,o=s?i(s):n;e.exports=o},function(e,t,r){var n=r(407);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},function(e,t,r){var n=r(24),i=r(13),a="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&n(e)==a}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(7);function i(e,t,r){let a=[].concat(e);const s=Object.create(null);for(;a.length;){const e=a.shift();if(!e)continue;const o=i.keys[e.type];if((0,n.isIdentifier)(e))if(t){(s[e.name]=s[e.name]||[]).push(e)}else s[e.name]=e;else if((0,n.isExportDeclaration)(e))(0,n.isDeclaration)(e.declaration)&&a.push(e.declaration);else{if(r){if((0,n.isFunctionDeclaration)(e)){a.push(e.id);continue}if((0,n.isFunctionExpression)(e))continue}if(o)for(let t=0;t<o.length;t++){const r=o[t];e[r]&&(a=a.concat(e[r]))}}}return s}i.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){a(),s()},t.clearPath=a,t.clearScope=s,t.scope=t.path=void 0;let n=new WeakMap;t.path=n;let i=new WeakMap;function a(){t.path=n=new WeakMap}function s(){t.scope=i=new WeakMap}t.scope=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(8);function i(e,t,r){let a=[].concat(e);const s=Object.create(null);for(;a.length;){const e=a.shift();if(!e)continue;const o=i.keys[e.type];if((0,n.isIdentifier)(e))if(t){(s[e.name]=s[e.name]||[]).push(e)}else s[e.name]=e;else if((0,n.isExportDeclaration)(e))(0,n.isDeclaration)(e.declaration)&&a.push(e.declaration);else{if(r){if((0,n.isFunctionDeclaration)(e)){a.push(e.id);continue}if((0,n.isFunctionExpression)(e))continue}if(o)for(let t=0;t<o.length;t++){const r=o[t];e[r]&&(a=a.concat(e[r]))}}}return s}i.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(9);function i(e,t,r){let a=[].concat(e);const s=Object.create(null);for(;a.length;){const e=a.shift();if(!e)continue;const o=i.keys[e.type];if((0,n.isIdentifier)(e))if(t){(s[e.name]=s[e.name]||[]).push(e)}else s[e.name]=e;else if((0,n.isExportDeclaration)(e))(0,n.isDeclaration)(e.declaration)&&a.push(e.declaration);else{if(r){if((0,n.isFunctionDeclaration)(e)){a.push(e.id);continue}if((0,n.isFunctionExpression)(e))continue}if(o)for(let t=0;t<o.length;t++){const r=o[t];e[r]&&(a=a.concat(e[r]))}}}return s}i.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},function(e,t,r){var n=r(77),i=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},function(e,t,r){(function(t){var r;r=function(){"use strict";var e="Prettier is an opinionated code formatter",r={prettier:"./bin/prettier.js"},n={node:">=6"},i={"@angular/compiler":"7.2.9","@babel/code-frame":"7.0.0","@babel/parser":"7.2.0","@glimmer/syntax":"0.30.3","@iarna/toml":"2.0.0","@typescript-eslint/typescript-estree":"1.6.0","angular-estree-parser":"1.1.5","angular-html-parser":"1.2.0",camelcase:"4.1.0",chalk:"2.1.0","cjk-regex":"2.0.0",cosmiconfig:"5.0.7",dashify:"0.2.2",dedent:"0.7.0",diff:"3.2.0",editorconfig:"0.15.2","editorconfig-to-prettier":"0.1.1","escape-string-regexp":"1.0.5",esutils:"2.0.2","find-parent-dir":"0.3.0","find-project-root":"1.1.1","flow-parser":"0.84.0","get-stream":"3.0.0",globby:"6.1.0",graphql:"14.2.0","html-element-attributes":"2.0.0","html-styles":"1.0.0","html-tag-names":"1.1.2",ignore:"4.0.6","is-ci":"2.0.0","jest-docblock":"23.2.0","json-stable-stringify":"1.0.1",leven:"2.1.0","lines-and-columns":"1.1.6","linguist-languages":"6.2.1-dev.20180706","lodash.uniqby":"4.7.0",mem:"1.1.0",minimatch:"3.0.4",minimist:"1.2.0","n-readlines":"1.0.0","normalize-path":"3.0.0","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","postcss-less":"1.1.5","postcss-media-query-parser":"0.2.3","postcss-scss":"2.0.0","postcss-selector-parser":"2.2.3","postcss-values-parser":"1.5.0","regexp-util":"1.2.2","remark-math":"1.0.4","remark-parse":"5.0.0",resolve:"1.5.0",semver:"5.4.1","string-width":"3.0.0",typescript:"3.4.1","unicode-regex":"2.0.0",unified:"6.1.6",vnopts:"1.0.2",yaml:"1.0.2","yaml-unist-parser":"1.0.0"},a={"@babel/cli":"7.2.0","@babel/core":"7.2.0","@babel/preset-env":"7.2.0","babel-loader":"8.0.4",benchmark:"2.1.4","builtin-modules":"2.0.0",codecov:"codecov/codecov-node#e427d900309adb50746a39a50aa7d80071a5ddd0","cross-env":"5.0.5",eslint:"4.18.2","eslint-config-prettier":"2.9.0","eslint-friendly-formatter":"3.0.0","eslint-plugin-import":"2.9.0","eslint-plugin-prettier":"2.6.0","eslint-plugin-react":"7.7.0",execa:"0.10.0",jest:"23.3.0","jest-junit":"5.0.0","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.1.0","jest-watch-typeahead":"0.1.0",mkdirp:"0.5.1",prettier:"1.17.0",prettylint:"1.0.0",rimraf:"2.6.2",rollup:"0.47.6","rollup-plugin-alias":"1.4.0","rollup-plugin-babel":"4.0.0-beta.4","rollup-plugin-commonjs":"8.2.6","rollup-plugin-json":"2.1.1","rollup-plugin-node-builtins":"2.0.0","rollup-plugin-node-globals":"1.1.0","rollup-plugin-node-resolve":"2.0.0","rollup-plugin-replace":"1.2.1","rollup-plugin-uglify":"3.0.0",shelljs:"0.8.1","snapshot-diff":"0.4.0","strip-ansi":"4.0.0",tempy:"0.2.1",webpack:"3.12.0"},s={prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dist":"node ./scripts/test-dist.js","test-integration":"jest tests_integration","perf-repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf-repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf-benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"cross-env EFF_NO_LINK_RULES=true eslint . --format node_modules/eslint-friendly-formatter","lint-docs":"prettylint {.,docs,website,website/blog}/*.md","lint-dist":'eslint --no-eslintrc --no-ignore --env=browser "dist/!(bin-prettier|index|third-party).js"',build:"node --max-old-space-size=2048 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js","check-deps":"node ./scripts/check-deps.js"},o={name:"prettier",version:"1.17.1",description:e,bin:r,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",engines:n,dependencies:i,devDependencies:a,scripts:s},u=Object.freeze({name:"prettier",version:"1.17.1",description:e,bin:r,repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",engines:n,dependencies:i,devDependencies:a,scripts:s,default:o}),l="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function p(e,t){return e(t={exports:{}},t.exports),t.exports}var f=p((function(e,t){function r(){}function n(e,t,r,n,i){for(var a=0,s=t.length,o=0,u=0;a<s;a++){var l=t[a];if(l.removed){if(l.value=e.join(n.slice(u,u+l.count)),u+=l.count,a&&t[a-1].added){var c=t[a-1];t[a-1]=t[a],t[a]=c}}else{if(!l.added&&i){var p=r.slice(o,o+l.count);p=p.map((function(e,t){var r=n[u+t];return r.length>e.length?r:e})),l.value=e.join(p)}else l.value=e.join(r.slice(o,o+l.count));o+=l.count,l.added||(u+=l.count)}}var f=t[s-1];return s>1&&(f.added||f.removed)&&e.equals("",f.value)&&(t[s-2].value+=f.value,t.pop()),t}function i(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=r,r.prototype={diff:function(e,t){var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],a=r.callback;"function"==typeof r&&(a=r,r={}),this.options=r;var s=this;function o(e){return a?(setTimeout((function(){a(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var u=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,p=u+l,f=[{newPos:-1,components:[]}],d=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=u&&d+1>=l)return o([{value:this.join(t),count:t.length}]);function h(){for(var r=-1*c;r<=c;r+=2){var a=void 0,p=f[r-1],d=f[r+1],h=(d?d.newPos:0)-r;p&&(f[r-1]=void 0);var y=p&&p.newPos+1<u,m=d&&0<=h&&h<l;if(y||m){if(!y||m&&p.newPos<d.newPos?(a=i(d),s.pushComponent(a.components,void 0,!0)):((a=p).newPos++,s.pushComponent(a.components,!0,void 0)),h=s.extractCommon(a,t,e,r),a.newPos+1>=u&&h+1>=l)return o(n(s,a.components,t,e,s.useLongestToken));f[r]=a}else f[r]=void 0}c++}if(a)!function e(){setTimeout((function(){if(c>p)return a();h()||e()}),0)}();else for(;c<=p;){var y=h();if(y)return y}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){for(var i=t.length,a=r.length,s=e.newPos,o=s-n,u=0;s+1<i&&o+1<a&&this.equals(t[s+1],r[o+1]);)s++,o++,u++;return u&&e.components.push({count:u}),e.newPos=s,o},equals:function(e,t){return e===t},removeEmpty:function(e){for(var t=[],r=0;r<e.length;r++)e[r]&&t.push(e[r]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}}));c(f);var d=p((function(e,t){t.__esModule=!0,t.characterDiff=void 0,t.diffChars=function(e,t,r){return i.diff(e,t,r)};var r,n=(r=f)&&r.__esModule?r:{default:r},i=t.characterDiff=new n.default}));c(d);var h=p((function(e,t){t.__esModule=!0,t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}}));c(h);var y=p((function(e,t){t.__esModule=!0,t.wordDiff=void 0,t.diffWords=function(e,t,r){var n=(0,h.generateOptions)(r,{ignoreWhitespace:!0});return s.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,r){return s.diff(e,t,r)};var r,n=(r=f)&&r.__esModule?r:{default:r},i=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,a=/\S/,s=t.wordDiff=new n.default;s.equals=function(e,t){return e===t||this.options.ignoreWhitespace&&!a.test(e)&&!a.test(t)},s.tokenize=function(e){for(var t=e.split(/(\s+|\b)/),r=0;r<t.length-1;r++)!t[r+1]&&t[r+2]&&i.test(t[r])&&i.test(t[r+2])&&(t[r]+=t[r+2],t.splice(r+1,2),r--);return t}}));c(y);var m=p((function(e,t){t.__esModule=!0,t.lineDiff=void 0,t.diffLines=function(e,t,r){return i.diff(e,t,r)},t.diffTrimmedLines=function(e,t,r){var n=(0,h.generateOptions)(r,{ignoreWhitespace:!0});return i.diff(e,t,n)};var r,n=(r=f)&&r.__esModule?r:{default:r},i=t.lineDiff=new n.default;i.tokenize=function(e){var t=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(var n=0;n<r.length;n++){var i=r[n];n%2&&!this.options.newlineIsToken?t[t.length-1]+=i:(this.options.ignoreWhitespace&&(i=i.trim()),t.push(i))}return t}}));c(m);var v=p((function(e,t){t.__esModule=!0,t.sentenceDiff=void 0,t.diffSentences=function(e,t,r){return i.diff(e,t,r)};var r,n=(r=f)&&r.__esModule?r:{default:r},i=t.sentenceDiff=new n.default;i.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}}));c(v);var g=p((function(e,t){t.__esModule=!0,t.cssDiff=void 0,t.diffCss=function(e,t,r){return i.diff(e,t,r)};var r,n=(r=f)&&r.__esModule?r:{default:r},i=t.cssDiff=new n.default;i.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}}));function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&S(e.prototype,t),r&&S(e,r),e}function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&C(e,t)}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,t){return(C=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t,r){return(P=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&C(i,r.prototype),i}).apply(null,arguments)}function w(e){var t="function"==typeof Map?new Map:void 0;return(w=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return P(e,arguments,A(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),C(n,e)})(e)}function _(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function O(e,t,r){return(O="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=A(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}})(e,t,r||e)}function F(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function N(e,t){return k(e)||function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(n=(s=o.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}return r}(e,t)||M()}function I(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||L(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function k(e){if(Array.isArray(e))return e}function L(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function M(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}c(g);var B=p((function(e,t){t.__esModule=!0,t.jsonDiff=void 0;var r="function"==typeof Symbol&&"symbol"===T(Symbol.iterator)?function(e){return T(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":T(e)};t.diffJson=function(e,t,r){return s.diff(e,t,r)},t.canonicalize=o;var n,i=(n=f)&&n.__esModule?n:{default:n},a=Object.prototype.toString,s=t.jsonDiff=new i.default;function o(e,t,n){t=t||[],n=n||[];var i=void 0;for(i=0;i<t.length;i+=1)if(t[i]===e)return n[i];var s=void 0;if("[object Array]"===a.call(e)){for(t.push(e),s=new Array(e.length),n.push(s),i=0;i<e.length;i+=1)s[i]=o(e[i],t,n);return t.pop(),n.pop(),s}if(e&&e.toJSON&&(e=e.toJSON()),"object"===(void 0===e?"undefined":r(e))&&null!==e){t.push(e),s={},n.push(s);var u=[],l=void 0;for(l in e)e.hasOwnProperty(l)&&u.push(l);for(u.sort(),i=0;i<u.length;i+=1)s[l=u[i]]=o(e[l],t,n);t.pop(),n.pop()}else s=e;return s}s.useLongestToken=!0,s.tokenize=m.lineDiff.tokenize,s.castInput=function(e){var t=this.options.undefinedReplacement;return"string"==typeof e?e:JSON.stringify(o(e),(function(e,r){return void 0===r?t:r})," ")},s.equals=function(e,t){return i.default.prototype.equals(e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}}));c(B);var j=p((function(e,t){t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=function(e,t,r){return i.diff(e,t,r)};var r,n=(r=f)&&r.__esModule?r:{default:r},i=t.arrayDiff=new n.default;i.tokenize=i.join=function(e){return e.slice()}}));c(j);var R=p((function(e,t){t.__esModule=!0,t.parsePatch=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=e.split(/\r\n|[\n\v\f\r\x85]/),n=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],i=[],a=0;function s(){var e={};for(i.push(e);a<r.length;){var n=r[a];if(/^(\-\-\-|\+\+\+|@@)\s/.test(n))break;var s=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(n);s&&(e.index=s[1]),a++}for(o(e),o(e),e.hunks=[];a<r.length;){var l=r[a];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(l))break;if(/^@@/.test(l))e.hunks.push(u());else{if(l&&t.strict)throw new Error("Unknown line "+(a+1)+" "+JSON.stringify(l));a++}}}function o(e){var t=/^(---|\+\+\+)\s+([\S ]*)(?:\t(.*?)\s*)?$/.exec(r[a]);if(t){var n="---"===t[1]?"old":"new";e[n+"FileName"]=t[2],e[n+"Header"]=t[3],a++}}function u(){for(var e=a,i=r[a++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),s={oldStart:+i[1],oldLines:+i[2]||1,newStart:+i[3],newLines:+i[4]||1,lines:[],linedelimiters:[]},o=0,u=0;a<r.length&&!(0===r[a].indexOf("--- ")&&a+2<r.length&&0===r[a+1].indexOf("+++ ")&&0===r[a+2].indexOf("@@"));a++){var l=r[a][0];if("+"!==l&&"-"!==l&&" "!==l&&"\\"!==l)break;s.lines.push(r[a]),s.linedelimiters.push(n[a]||"\n"),"+"===l?o++:"-"===l?u++:" "===l&&(o++,u++)}if(o||1!==s.newLines||(s.newLines=0),u||1!==s.oldLines||(s.oldLines=0),t.strict){if(o!==s.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(u!==s.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return s}for(;a<r.length;)s();return i}}));c(R);var V=p((function(e,t){t.__esModule=!0,t.default=function(e,t,r){var n=!0,i=!1,a=!1,s=1;return function o(){if(n&&!a){if(i?s++:n=!1,e+s<=r)return s;a=!0}if(!i)return a||(n=!0),t<=e-s?-s++:(i=!0,o())}}}));c(V);var q=p((function(e,t){t.__esModule=!0,t.applyPatch=i,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,R.parsePatch)(e));var r=0;!function n(){var a=e[r++];if(!a)return t.complete();t.loadFile(a,(function(e,r){if(e)return t.complete(e);var s=i(r,a,t);t.patched(a,s,(function(e){if(e)return t.complete(e);n()}))}))}()};var r,n=(r=V)&&r.__esModule?r:{default:r};function i(e,t){var r=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if("string"==typeof t&&(t=(0,R.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var i=e.split(/\r\n|[\n\v\f\r\x85]/),a=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,o=r.compareLine||function(e,t,r,n){return t===n},u=0,l=r.fuzzFactor||0,c=0,p=0,f=void 0,d=void 0;function h(e,t){for(var r=0;r<e.lines.length;r++){var n=e.lines[r],a=n[0],s=n.substr(1);if(" "===a||"-"===a){if(!o(t+1,i[t],a,s)&&++u>l)return!1;t++}}return!0}for(var y=0;y<s.length;y++){for(var m=s[y],v=i.length-m.oldLines,g=0,T=p+m.oldStart-1,E=(0,n.default)(T,c,v);void 0!==g;g=E())if(h(m,T+g)){m.offset=p+=g;break}if(void 0===g)return!1;c=m.offset+m.oldStart+m.oldLines}for(var S=0;S<s.length;S++){var b=s[S],x=b.offset+b.newStart-1;0==b.newLines&&x++;for(var D=0;D<b.lines.length;D++){var A=b.lines[D],C=A[0],P=A.substr(1),w=b.linedelimiters[D];if(" "===C)x++;else if("-"===C)i.splice(x,1),a.splice(x,1);else if("+"===C)i.splice(x,0,P),a.splice(x,0,w),x++;else if("\\"===C){var _=b.lines[D-1]?b.lines[D-1][0]:null;"+"===_?f=!0:"-"===_&&(d=!0)}}}if(f)for(;!i[i.length-1];)i.pop(),a.pop();else d&&(i.push(""),a.push("\n"));for(var O=0;O<i.length-1;O++)i[O]=i[O]+a[O];return i.join("")}}));c(q);var U=p((function(e,t){function r(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}function n(e,t,n,i,a,s,o){o||(o={}),void 0===o.context&&(o.context=4);var u=(0,m.diffLines)(n,i,o);function l(e){return e.map((function(e){return" "+e}))}u.push({value:"",lines:[]});for(var c=[],p=0,f=0,d=[],h=1,y=1,v=function(e){var t=u[e],a=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=a,t.added||t.removed){var s;if(!p){var m=u[e-1];p=h,f=y,m&&(d=o.context>0?l(m.lines.slice(-o.context)):[],p-=d.length,f-=d.length)}(s=d).push.apply(s,r(a.map((function(e){return(t.added?"+":"-")+e})))),t.added?y+=a.length:h+=a.length}else{if(p)if(a.length<=2*o.context&&e<u.length-2){var v;(v=d).push.apply(v,r(l(a)))}else{var g,T=Math.min(a.length,o.context);(g=d).push.apply(g,r(l(a.slice(0,T))));var E={oldStart:p,oldLines:h-p+T,newStart:f,newLines:y-f+T,lines:d};if(e>=u.length-2&&a.length<=o.context){var S=/\n$/.test(n),b=/\n$/.test(i);0!=a.length||S?S&&b||d.push("\\ No newline at end of file"):d.splice(E.oldLines,0,"\\ No newline at end of file")}c.push(E),p=0,f=0,d=[]}h+=a.length,y+=a.length}},g=0;g<u.length;g++)v(g);return{oldFileName:e,newFileName:t,oldHeader:a,newHeader:s,hunks:c}}function i(e,t,r,i,a,s,o){var u=n(e,t,r,i,a,s,o),l=[];e==t&&l.push("Index: "+e),l.push("==================================================================="),l.push("--- "+u.oldFileName+(void 0===u.oldHeader?"":"\t"+u.oldHeader)),l.push("+++ "+u.newFileName+(void 0===u.newHeader?"":"\t"+u.newHeader));for(var c=0;c<u.hunks.length;c++){var p=u.hunks[c];l.push("@@ -"+p.oldStart+","+p.oldLines+" +"+p.newStart+","+p.newLines+" @@"),l.push.apply(l,p.lines)}return l.join("\n")+"\n"}t.__esModule=!0,t.structuredPatch=n,t.createTwoFilesPatch=i,t.createPatch=function(e,t,r,n,a,s){return i(e,e,t,r,n,a,s)}}));c(U);var K=p((function(e,t){t.__esModule=!0,t.convertChangesToDMP=function(e){for(var t=[],r=void 0,n=void 0,i=0;i<e.length;i++)r=e[i],n=r.added?1:r.removed?-1:0,t.push([n,r.value]);return t}}));c(K);var X=p((function(e,t){t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];n.added?t.push("<ins>"):n.removed&&t.push("<del>"),t.push((i=n.value,void 0,i.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"))),n.added?t.push("</ins>"):n.removed&&t.push("</del>")}var i;return t.join("")}}));c(X);var J=p((function(e,t){t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,n=(r=f)&&r.__esModule?r:{default:r};t.Diff=n.default,t.diffChars=d.diffChars,t.diffWords=y.diffWords,t.diffWordsWithSpace=y.diffWordsWithSpace,t.diffLines=m.diffLines,t.diffTrimmedLines=m.diffTrimmedLines,t.diffSentences=v.diffSentences,t.diffCss=g.diffCss,t.diffJson=B.diffJson,t.diffArrays=j.diffArrays,t.structuredPatch=U.structuredPatch,t.createTwoFilesPatch=U.createTwoFilesPatch,t.createPatch=U.createPatch,t.applyPatch=q.applyPatch,t.applyPatches=q.applyPatches,t.parsePatch=R.parsePatch,t.convertChangesToDMP=K.convertChangesToDMP,t.convertChangesToXML=X.convertChangesToXML,t.canonicalize=B.canonicalize}));c(J);var Y={},W=Object.freeze({default:Y}),$=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var r=e.length;if(r<=1)return e;var n="";if(r>4&&"\\"===e[3]){var i=e[2];"?"!==i&&"."!==i||"\\\\"!==e.slice(0,2)||(e=e.slice(2),n="//")}var a=e.split(/[/\\]+/);return!1!==t&&""===a[a.length-1]&&a.pop(),n+a.join("/")},H=void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},z=[],G=[],Q="undefined"!=typeof Uint8Array?Uint8Array:Array,Z=!1;function ee(){Z=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)z[t]=e[t],G[e.charCodeAt(t)]=t;G["-".charCodeAt(0)]=62,G["_".charCodeAt(0)]=63}function te(e,t,r){for(var n,i,a=[],s=t;s<r;s+=3)n=(e[s]<<16)+(e[s+1]<<8)+e[s+2],a.push(z[(i=n)>>18&63]+z[i>>12&63]+z[i>>6&63]+z[63&i]);return a.join("")}function re(e){var t;Z||ee();for(var r=e.length,n=r%3,i="",a=[],s=0,o=r-n;s<o;s+=16383)a.push(te(e,s,s+16383>o?o:s+16383));return 1===n?(t=e[r-1],i+=z[t>>2],i+=z[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=z[t>>10],i+=z[t>>4&63],i+=z[t<<2&63],i+="="),a.push(i),a.join("")}function ne(e,t,r,n,i){var a,s,o=8*i-n-1,u=(1<<o)-1,l=u>>1,c=-7,p=r?i-1:0,f=r?-1:1,d=e[t+p];for(p+=f,a=d&(1<<-c)-1,d>>=-c,c+=o;c>0;a=256*a+e[t+p],p+=f,c-=8);for(s=a&(1<<-c)-1,a>>=-c,c+=n;c>0;s=256*s+e[t+p],p+=f,c-=8);if(0===a)a=1-l;else{if(a===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),a-=l}return(d?-1:1)*s*Math.pow(2,a-n)}function ie(e,t,r,n,i,a){var s,o,u,l=8*a-i-1,c=(1<<l)-1,p=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,h=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(s++,u/=2),s+p>=c?(o=0,s=c):s+p>=1?(o=(t*u-1)*Math.pow(2,i),s+=p):(o=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&o,d+=h,o/=256,i-=8);for(s=s<<i|o,l+=i;l>0;e[r+d]=255&s,d+=h,s/=256,l-=8);e[r+d-h]|=128*y}var ae={}.toString,se=Array.isArray||function(e){return"[object Array]"==ae.call(e)};function oe(){return le.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ue(e,t){if(oe()<t)throw new RangeError("Invalid typed array length");return le.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=le.prototype:(null===e&&(e=new le(t)),e.length=t),e}function le(e,t,r){if(!(le.TYPED_ARRAY_SUPPORT||this instanceof le))return new le(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return fe(this,e)}return ce(this,e,t,r)}function ce(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n),le.TYPED_ARRAY_SUPPORT?(e=t).__proto__=le.prototype:e=de(e,t),e}(e,t,r,n):"string"==typeof t?function(e,t,r){if("string"==typeof r&&""!==r||(r="utf8"),!le.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|me(t,r),i=(e=ue(e,n)).write(t,r);return i!==n&&(e=e.slice(0,i)),e}(e,t,r):function(e,t){if(ye(t)){var r=0|he(t.length);return 0===(e=ue(e,r)).length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?ue(e,0):de(e,t);if("Buffer"===t.type&&se(t.data))return de(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function pe(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function fe(e,t){if(pe(t),e=ue(e,t<0?0:0|he(t)),!le.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function de(e,t){var r=t.length<0?0:0|he(t.length);e=ue(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function he(e){if(e>=oe())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+oe().toString(16)+" bytes");return 0|e}function ye(e){return!(null==e||!e._isBuffer)}function me(e,t){if(ye(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Ue(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Ke(e).length;default:if(n)return Ue(e).length;t=(""+t).toLowerCase(),n=!0}}function ve(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ne(this,t,r);case"utf8":case"utf-8":return we(this,t,r);case"ascii":return Oe(this,t,r);case"latin1":case"binary":return Fe(this,t,r);case"base64":return Pe(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ie(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function ge(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function Te(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=le.from(t,n)),ye(t))return 0===t.length?-1:Ee(e,t,r,n,i);if("number"==typeof t)return t&=255,le.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Ee(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Ee(e,t,r,n,i){var a,s=1,o=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,o/=2,u/=2,r/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(a=r;a<o;a++)if(l(e,a)===l(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===u)return c*s}else-1!==c&&(a-=a-c),c=-1}else for(r+u>o&&(r=o-u),a=r;a>=0;a--){for(var p=!0,f=0;f<u;f++)if(l(e,a+f)!==l(t,f)){p=!1;break}if(p)return a}return-1}function Se(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var s=0;s<n;++s){var o=parseInt(t.substr(2*s,2),16);if(isNaN(o))return s;e[r+s]=o}return s}function be(e,t,r,n){return Xe(Ue(t,e.length-r),e,r,n)}function xe(e,t,r,n){return Xe(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function De(e,t,r,n){return xe(e,t,r,n)}function Ae(e,t,r,n){return Xe(Ke(t),e,r,n)}function Ce(e,t,r,n){return Xe(function(e,t){for(var r,n,i,a=[],s=0;s<e.length&&!((t-=2)<0);++s)r=e.charCodeAt(s),n=r>>8,i=r%256,a.push(i),a.push(n);return a}(t,e.length-r),e,r,n)}function Pe(e,t,r){return 0===t&&r===e.length?re(e):re(e.slice(t,r))}function we(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,s,o,u,l=e[i],c=null,p=l>239?4:l>223?3:l>191?2:1;if(i+p<=r)switch(p){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=e[i+1],s=e[i+2],128==(192&a)&&128==(192&s)&&(u=(15&l)<<12|(63&a)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+1],s=e[i+2],o=e[i+3],128==(192&a)&&128==(192&s)&&128==(192&o)&&(u=(15&l)<<18|(63&a)<<12|(63&s)<<6|63&o)>65535&&u<1114112&&(c=u)}null===c?(c=65533,p=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=p}return function(e){var t=e.length;if(t<=_e)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=_e));return r}(n)}le.TYPED_ARRAY_SUPPORT=void 0===H.TYPED_ARRAY_SUPPORT||H.TYPED_ARRAY_SUPPORT,le.poolSize=8192,le._augment=function(e){return e.__proto__=le.prototype,e},le.from=function(e,t,r){return ce(null,e,t,r)},le.TYPED_ARRAY_SUPPORT&&(le.prototype.__proto__=Uint8Array.prototype,le.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&le[Symbol.species]),le.alloc=function(e,t,r){return function(e,t,r,n){return pe(t),t<=0?ue(e,t):void 0!==r?"string"==typeof n?ue(e,t).fill(r,n):ue(e,t).fill(r):ue(e,t)}(null,e,t,r)},le.allocUnsafe=function(e){return fe(null,e)},le.allocUnsafeSlow=function(e){return fe(null,e)},le.isBuffer=function(e){return null!=e&&(!!e._isBuffer||Je(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&Je(e.slice(0,0))}(e))},le.compare=function(e,t){if(!ye(e)||!ye(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},le.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},le.concat=function(e,t){if(!se(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return le.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=le.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!ye(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},le.byteLength=me,le.prototype._isBuffer=!0,le.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)ge(this,t,t+1);return this},le.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)ge(this,t,t+3),ge(this,t+1,t+2);return this},le.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)ge(this,t,t+7),ge(this,t+1,t+6),ge(this,t+2,t+5),ge(this,t+3,t+4);return this},le.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?we(this,0,e):ve.apply(this,arguments)},le.prototype.equals=function(e){if(!ye(e))throw new TypeError("Argument must be a Buffer");return this===e||0===le.compare(this,e)},le.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},le.prototype.compare=function(e,t,r,n,i){if(!ye(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),o=Math.min(a,s),u=this.slice(n,i),l=e.slice(t,r),c=0;c<o;++c)if(u[c]!==l[c]){a=u[c],s=l[c];break}return a<s?-1:s<a?1:0},le.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},le.prototype.indexOf=function(e,t,r){return Te(this,e,t,r,!0)},le.prototype.lastIndexOf=function(e,t,r){return Te(this,e,t,r,!1)},le.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return Se(this,e,t,r);case"utf8":case"utf-8":return be(this,e,t,r);case"ascii":return xe(this,e,t,r);case"latin1":case"binary":return De(this,e,t,r);case"base64":return Ae(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},le.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var _e=4096;function Oe(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function Fe(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function Ne(e,t,r){var n,i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var a="",s=t;s<r;++s)a+=(n=e[s])<16?"0"+n.toString(16):n.toString(16);return a}function Ie(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function ke(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function Le(e,t,r,n,i,a){if(!ye(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function Me(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i<a;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function Be(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i<a;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function je(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Re(e,t,r,n,i){return i||je(e,0,r,4),ie(e,t,r,n,23,4),r+4}function Ve(e,t,r,n,i){return i||je(e,0,r,8),ie(e,t,r,n,52,8),r+8}le.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),le.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=le.prototype;else{var i=t-e;r=new le(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r},le.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||ke(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},le.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||ke(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},le.prototype.readUInt8=function(e,t){return t||ke(e,1,this.length),this[e]},le.prototype.readUInt16LE=function(e,t){return t||ke(e,2,this.length),this[e]|this[e+1]<<8},le.prototype.readUInt16BE=function(e,t){return t||ke(e,2,this.length),this[e]<<8|this[e+1]},le.prototype.readUInt32LE=function(e,t){return t||ke(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},le.prototype.readUInt32BE=function(e,t){return t||ke(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},le.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||ke(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},le.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||ke(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},le.prototype.readInt8=function(e,t){return t||ke(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},le.prototype.readInt16LE=function(e,t){t||ke(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},le.prototype.readInt16BE=function(e,t){t||ke(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},le.prototype.readInt32LE=function(e,t){return t||ke(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},le.prototype.readInt32BE=function(e,t){return t||ke(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},le.prototype.readFloatLE=function(e,t){return t||ke(e,4,this.length),ne(this,e,!0,23,4)},le.prototype.readFloatBE=function(e,t){return t||ke(e,4,this.length),ne(this,e,!1,23,4)},le.prototype.readDoubleLE=function(e,t){return t||ke(e,8,this.length),ne(this,e,!0,52,8)},le.prototype.readDoubleBE=function(e,t){return t||ke(e,8,this.length),ne(this,e,!1,52,8)},le.prototype.writeUIntLE=function(e,t,r,n){e=+e,t|=0,r|=0,n||Le(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},le.prototype.writeUIntBE=function(e,t,r,n){e=+e,t|=0,r|=0,n||Le(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},le.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||Le(this,e,t,1,255,0),le.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},le.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||Le(this,e,t,2,65535,0),le.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Me(this,e,t,!0),t+2},le.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||Le(this,e,t,2,65535,0),le.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Me(this,e,t,!1),t+2},le.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||Le(this,e,t,4,4294967295,0),le.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Be(this,e,t,!0),t+4},le.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||Le(this,e,t,4,4294967295,0),le.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Be(this,e,t,!1),t+4},le.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);Le(this,e,t,r,i-1,-i)}var a=0,s=1,o=0;for(this[t]=255&e;++a<r&&(s*=256);)e<0&&0===o&&0!==this[t+a-1]&&(o=1),this[t+a]=(e/s>>0)-o&255;return t+r},le.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);Le(this,e,t,r,i-1,-i)}var a=r-1,s=1,o=0;for(this[t+a]=255&e;--a>=0&&(s*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/s>>0)-o&255;return t+r},le.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||Le(this,e,t,1,127,-128),le.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},le.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||Le(this,e,t,2,32767,-32768),le.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Me(this,e,t,!0),t+2},le.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||Le(this,e,t,2,32767,-32768),le.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Me(this,e,t,!1),t+2},le.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||Le(this,e,t,4,2147483647,-2147483648),le.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Be(this,e,t,!0),t+4},le.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||Le(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),le.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Be(this,e,t,!1),t+4},le.prototype.writeFloatLE=function(e,t,r){return Re(this,e,t,!0,r)},le.prototype.writeFloatBE=function(e,t,r){return Re(this,e,t,!1,r)},le.prototype.writeDoubleLE=function(e,t,r){return Ve(this,e,t,!0,r)},le.prototype.writeDoubleBE=function(e,t,r){return Ve(this,e,t,!1,r)},le.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,a=n-r;if(this===e&&r<t&&t<n)for(i=a-1;i>=0;--i)e[i+t]=this[i+r];else if(a<1e3||!le.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),t);return a},le.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!le.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var s=ye(e)?e:Ue(new le(e,n).toString()),o=s.length;for(a=0;a<r-t;++a)this[a+t]=s[a%o]}return this};var qe=/[^+\/0-9A-Za-z-_]/g;function Ue(e,t){var r;t=t||1/0;for(var n=e.length,i=null,a=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function Ke(e){return function(e){var t,r,n,i,a,s;Z||ee();var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a="="===e[o-2]?2:"="===e[o-1]?1:0,s=new Q(3*o/4-a),n=a>0?o-4:o;var u=0;for(t=0,r=0;t<n;t+=4,r+=3)i=G[e.charCodeAt(t)]<<18|G[e.charCodeAt(t+1)]<<12|G[e.charCodeAt(t+2)]<<6|G[e.charCodeAt(t+3)],s[u++]=i>>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===a?(i=G[e.charCodeAt(t)]<<2|G[e.charCodeAt(t+1)]>>4,s[u++]=255&i):1===a&&(i=G[e.charCodeAt(t)]<<10|G[e.charCodeAt(t+1)]<<4|G[e.charCodeAt(t+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(qe,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Xe(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Je(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Ye=W&&Y||W,We=function(){function e(t,r){E(this,e),(r=r||{}).readChunk||(r.readChunk=1024),r.newLineCharacter?r.newLineCharacter=r.newLineCharacter.charCodeAt(0):r.newLineCharacter=10,this.fd="number"==typeof t?t:Ye.openSync(t,"r"),this.options=r,this.newLineCharacter=r.newLineCharacter,this.reset()}return b(e,[{key:"_searchInBuffer",value:function(e,t){for(var r=-1,n=0;n<=e.length;n++)if(e[n]===t){r=n;break}return r}},{key:"reset",value:function(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}},{key:"close",value:function(){Ye.closeSync(this.fd),this.fd=null}},{key:"_extractLines",value:function(e){for(var t,r=[],n=0,i=0;;){var a=e[n++];if(a===this.newLineCharacter)t=e.slice(i,n),r.push(t),i=n;else if(!a)break}var s=e.slice(i,n);return s.length&&r.push(s),r}},{key:"_readChunk",value:function(e){var t,r=0,n=[];do{var i=new le(this.options.readChunk);r+=t=Ye.readSync(this.fd,i,0,this.options.readChunk,this.fdPosition),this.fdPosition=this.fdPosition+t,n.push(i)}while(t&&-1===this._searchInBuffer(n[n.length-1],this.options.newLineCharacter));var a=le.concat(n);return t<this.options.readChunk&&(this.eofReached=!0,a=a.slice(0,r)),r&&(this.linesCache=this._extractLines(a),e&&(this.linesCache[0]=le.concat([e,this.linesCache[0]]))),r}},{key:"next",value:function(){if(!this.fd)return!1;var e=!1;return this.eofReached&&0===this.linesCache.length?e:(this.linesCache.length||this._readChunk(),this.linesCache.length&&10!==(e=this.linesCache.shift())[e.length-1]&&this._readChunk(e)&&(e=this.linesCache.shift()),this.eofReached&&0===this.linesCache.length&&this.close(),e&&e[e.length-1]===this.newLineCharacter&&(e=e.slice(0,e.length-1)),e)}}]),e}(),$e={ConfigError:function(e){function t(){return E(this,t),_(this,A(t).apply(this,arguments))}return D(t,e),t}(w(Error)),DebugError:function(e){function t(){return E(this,t),_(this,A(t).apply(this,arguments))}return D(t,e),t}(w(Error)),UndefinedParserError:function(e){function t(){return E(this,t),_(this,A(t).apply(this,arguments))}return D(t,e),t}(w(Error))};function He(){throw new Error("setTimeout has not been defined")}function ze(){throw new Error("clearTimeout has not been defined")}var Ge=He,Qe=ze;function Ze(e){if(Ge===setTimeout)return setTimeout(e,0);if((Ge===He||!Ge)&&setTimeout)return Ge=setTimeout,setTimeout(e,0);try{return Ge(e,0)}catch(t){try{return Ge.call(null,e,0)}catch(t){return Ge.call(this,e,0)}}}"function"==typeof H.setTimeout&&(Ge=setTimeout),"function"==typeof H.clearTimeout&&(Qe=clearTimeout);var et,tt=[],rt=!1,nt=-1;function it(){rt&&et&&(rt=!1,et.length?tt=et.concat(tt):nt=-1,tt.length&&at())}function at(){if(!rt){var e=Ze(it);rt=!0;for(var t=tt.length;t;){for(et=tt,tt=[];++nt<t;)et&&et[nt].run();nt=-1,t=tt.length}et=null,rt=!1,function(e){if(Qe===clearTimeout)return clearTimeout(e);if((Qe===ze||!Qe)&&clearTimeout)return Qe=clearTimeout,clearTimeout(e);try{Qe(e)}catch(t){try{return Qe.call(null,e)}catch(t){return Qe.call(this,e)}}}(e)}}function st(e,t){this.fun=e,this.array=t}function ot(){}st.prototype.run=function(){this.fun.apply(null,this.array)};var ut=ot,lt=ot,ct=ot,pt=ot,ft=ot,dt=ot,ht=ot,yt=H.performance||{},mt=yt.now||yt.mozNow||yt.msNow||yt.oNow||yt.webkitNow||function(){return(new Date).getTime()},vt=new Date,gt={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];tt.push(new st(e,t)),1!==tt.length||rt||Ze(at)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:ut,addListener:lt,once:ct,off:pt,removeListener:ft,removeAllListeners:dt,emit:ht,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*mt.call(yt),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-vt)/1e3}},Tt=p((function(e,t){var r;t=e.exports=W,r="object"===T(gt)&&gt.env&&gt.env.NODE_DEBUG&&/\bsemver\b/i.test(gt.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var n=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,a=t.re=[],s=t.src=[],o=0,u=o++;s[u]="0|[1-9]\\d*";var l=o++;s[l]="[0-9]+";var c=o++;s[c]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var p=o++;s[p]="("+s[u]+")\\.("+s[u]+")\\.("+s[u]+")";var f=o++;s[f]="("+s[l]+")\\.("+s[l]+")\\.("+s[l]+")";var d=o++;s[d]="(?:"+s[u]+"|"+s[c]+")";var h=o++;s[h]="(?:"+s[l]+"|"+s[c]+")";var y=o++;s[y]="(?:-("+s[d]+"(?:\\."+s[d]+")*))";var m=o++;s[m]="(?:-?("+s[h]+"(?:\\."+s[h]+")*))";var v=o++;s[v]="[0-9A-Za-z-]+";var g=o++;s[g]="(?:\\+("+s[v]+"(?:\\."+s[v]+")*))";var E=o++,S="v?"+s[p]+s[y]+"?"+s[g]+"?";s[E]="^"+S+"$";var b="[v=\\s]*"+s[f]+s[m]+"?"+s[g]+"?",x=o++;s[x]="^"+b+"$";var D=o++;s[D]="((?:<|>)?=?)";var A=o++;s[A]=s[l]+"|x|X|\\*";var C=o++;s[C]=s[u]+"|x|X|\\*";var P=o++;s[P]="[v=\\s]*("+s[C]+")(?:\\.("+s[C]+")(?:\\.("+s[C]+")(?:"+s[y]+")?"+s[g]+"?)?)?";var w=o++;s[w]="[v=\\s]*("+s[A]+")(?:\\.("+s[A]+")(?:\\.("+s[A]+")(?:"+s[m]+")?"+s[g]+"?)?)?";var _=o++;s[_]="^"+s[D]+"\\s*"+s[P]+"$";var O=o++;s[O]="^"+s[D]+"\\s*"+s[w]+"$";var F=o++;s[F]="(?:~>?)";var N=o++;s[N]="(\\s*)"+s[F]+"\\s+",a[N]=new RegExp(s[N],"g");var I=o++;s[I]="^"+s[F]+s[P]+"$";var k=o++;s[k]="^"+s[F]+s[w]+"$";var L=o++;s[L]="(?:\\^)";var M=o++;s[M]="(\\s*)"+s[L]+"\\s+",a[M]=new RegExp(s[M],"g");var B=o++;s[B]="^"+s[L]+s[P]+"$";var j=o++;s[j]="^"+s[L]+s[w]+"$";var R=o++;s[R]="^"+s[D]+"\\s*("+b+")$|^$";var V=o++;s[V]="^"+s[D]+"\\s*("+S+")$|^$";var q=o++;s[q]="(\\s*)"+s[D]+"\\s*("+b+"|"+s[P]+")",a[q]=new RegExp(s[q],"g");var U=o++;s[U]="^\\s*("+s[P]+")\\s+-\\s+("+s[P]+")\\s*$";var K=o++;s[K]="^\\s*("+s[w]+")\\s+-\\s+("+s[w]+")\\s*$";var X=o++;s[X]="(<|>)?=?\\s*\\*";for(var J=0;J<34;J++)r(J,s[J]),a[J]||(a[J]=new RegExp(s[J]));function Y(e,t){if(e instanceof W)return e;if("string"!=typeof e)return null;if(e.length>n)return null;if(!(t?a[x]:a[E]).test(e))return null;try{return new W(e,t)}catch(e){return null}}function W(e,t){if(e instanceof W){if(e.loose===t)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>n)throw new TypeError("version is longer than "+n+" characters");if(!(this instanceof W))return new W(e,t);r("SemVer",e,t),this.loose=t;var s=e.trim().match(t?a[x]:a[E]);if(!s)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<i)return t}return e})):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}t.parse=Y,t.valid=function(e,t){var r=Y(e,t);return r?r.version:null},t.clean=function(e,t){var r=Y(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null},t.SemVer=W,W.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},W.prototype.toString=function(){return this.version},W.prototype.compare=function(e){return r("SemVer.compare",this.version,this.loose,e),e instanceof W||(e=new W(e,this.loose)),this.compareMain(e)||this.comparePre(e)},W.prototype.compareMain=function(e){return e instanceof W||(e=new W(e,this.loose)),H(this.major,e.major)||H(this.minor,e.minor)||H(this.patch,e.patch)},W.prototype.comparePre=function(e){if(e instanceof W||(e=new W(e,this.loose)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return H(n,i)}while(++t)},W.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new W(e,r).inc(t,n).version}catch(e){return null}},t.diff=function(e,t){if(Z(e,t))return null;var r=Y(e),n=Y(t);if(r.prerelease.length||n.prerelease.length){for(var i in r)if(("major"===i||"minor"===i||"patch"===i)&&r[i]!==n[i])return"pre"+i;return"prerelease"}for(var i in r)if(("major"===i||"minor"===i||"patch"===i)&&r[i]!==n[i])return i},t.compareIdentifiers=H;var $=/^[0-9]+$/;function H(e,t){var r=$.test(e),n=$.test(t);return r&&n&&(e=+e,t=+t),r&&!n?-1:n&&!r?1:e<t?-1:e>t?1:0}function z(e,t,r){return new W(e,r).compare(new W(t,r))}function G(e,t,r){return z(e,t,r)>0}function Q(e,t,r){return z(e,t,r)<0}function Z(e,t,r){return 0===z(e,t,r)}function ee(e,t,r){return 0!==z(e,t,r)}function te(e,t,r){return z(e,t,r)>=0}function re(e,t,r){return z(e,t,r)<=0}function ne(e,t,r,n){var i;switch(t){case"===":"object"===T(e)&&(e=e.version),"object"===T(r)&&(r=r.version),i=e===r;break;case"!==":"object"===T(e)&&(e=e.version),"object"===T(r)&&(r=r.version),i=e!==r;break;case"":case"=":case"==":i=Z(e,r,n);break;case"!=":i=ee(e,r,n);break;case">":i=G(e,r,n);break;case">=":i=te(e,r,n);break;case"<":i=Q(e,r,n);break;case"<=":i=re(e,r,n);break;default:throw new TypeError("Invalid operator: "+t)}return i}function ie(e,t){if(e instanceof ie){if(e.loose===t)return e;e=e.value}if(!(this instanceof ie))return new ie(e,t);r("comparator",e,t),this.loose=t,this.parse(e),this.semver===ae?this.value="":this.value=this.operator+this.semver.version,r("comp",this)}t.rcompareIdentifiers=function(e,t){return H(t,e)},t.major=function(e,t){return new W(e,t).major},t.minor=function(e,t){return new W(e,t).minor},t.patch=function(e,t){return new W(e,t).patch},t.compare=z,t.compareLoose=function(e,t){return z(e,t,!0)},t.rcompare=function(e,t,r){return z(t,e,r)},t.sort=function(e,r){return e.sort((function(e,n){return t.compare(e,n,r)}))},t.rsort=function(e,r){return e.sort((function(e,n){return t.rcompare(e,n,r)}))},t.gt=G,t.lt=Q,t.eq=Z,t.neq=ee,t.gte=te,t.lte=re,t.cmp=ne,t.Comparator=ie;var ae={};function se(e,t){if(e instanceof se)return e.loose===t?e:new se(e.raw,t);if(e instanceof ie)return new se(e.value,t);if(!(this instanceof se))return new se(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function oe(e){return!e||"x"===e.toLowerCase()||"*"===e}function ue(e,t,r,n,i,a,s,o,u,l,c,p,f){return((t=oe(r)?"":oe(n)?">="+r+".0.0":oe(i)?">="+r+"."+n+".0":">="+t)+" "+(o=oe(u)?"":oe(l)?"<"+(+u+1)+".0.0":oe(c)?"<"+u+"."+(+l+1)+".0":p?"<="+u+"."+l+"."+c+"-"+p:"<="+o)).trim()}function le(e,t){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length){for(n=0;n<e.length;n++)if(r(e[n].semver),e[n].semver!==ae&&e[n].semver.prerelease.length>0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function ce(e,t,r){try{t=new se(t,r)}catch(e){return!1}return t.test(e)}function pe(e,t,r,n){var i,a,s,o,u;switch(e=new W(e,n),t=new se(t,n),r){case">":i=G,a=re,s=Q,o=">",u=">=";break;case"<":i=Q,a=te,s=G,o="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ce(e,t,n))return!1;for(var l=0;l<t.set.length;++l){var c=t.set[l],p=null,f=null;if(c.forEach((function(e){e.semver===ae&&(e=new ie(">=0.0.0")),p=p||e,f=f||e,i(e.semver,p.semver,n)?p=e:s(e.semver,f.semver,n)&&(f=e)})),p.operator===o||p.operator===u)return!1;if((!f.operator||f.operator===o)&&a(e,f.semver))return!1;if(f.operator===u&&s(e,f.semver))return!1}return!0}ie.prototype.parse=function(e){var t=this.loose?a[R]:a[V],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=r[1],"="===this.operator&&(this.operator=""),r[2]?this.semver=new W(r[2],this.loose):this.semver=ae},ie.prototype.toString=function(){return this.value},ie.prototype.test=function(e){return r("Comparator.test",e,this.loose),this.semver===ae||("string"==typeof e&&(e=new W(e,this.loose)),ne(e,this.operator,this.semver,this.loose))},ie.prototype.intersects=function(e,t){if(!(e instanceof ie))throw new TypeError("a Comparator is required");var r;if(""===this.operator)return r=new se(e.value,t),ce(this.value,r,t);if(""===e.operator)return r=new se(this.value,t),ce(e.semver,r,t);var n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),o=ne(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=ne(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||a&&s||o||u},t.Range=se,se.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},se.prototype.toString=function(){return this.range},se.prototype.parseRange=function(e){var t=this.loose;e=e.trim(),r("range",e,t);var n=t?a[K]:a[U];e=e.replace(n,ue),r("hyphen replace",e),e=e.replace(a[q],"$1$2$3"),r("comparator trim",e,a[q]),e=(e=(e=e.replace(a[N],"$1~")).replace(a[M],"$1^")).split(/\s+/).join(" ");var i=t?a[R]:a[V],s=e.split(" ").map((function(e){return function(e,t){return r("comp",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){r("caret",e,t);var n=t?a[j]:a[B];return e.replace(n,(function(t,n,i,a,s){var o;return r("caret",e,t,n,i,a,s),oe(n)?o="":oe(i)?o=">="+n+".0.0 <"+(+n+1)+".0.0":oe(a)?o="0"===n?">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0":">="+n+"."+i+".0 <"+(+n+1)+".0.0":s?(r("replaceCaret pr",s),"-"!==s.charAt(0)&&(s="-"+s),o="0"===n?"0"===i?">="+n+"."+i+"."+a+s+" <"+n+"."+i+"."+(+a+1):">="+n+"."+i+"."+a+s+" <"+n+"."+(+i+1)+".0":">="+n+"."+i+"."+a+s+" <"+(+n+1)+".0.0"):(r("no pr"),o="0"===n?"0"===i?">="+n+"."+i+"."+a+" <"+n+"."+i+"."+(+a+1):">="+n+"."+i+"."+a+" <"+n+"."+(+i+1)+".0":">="+n+"."+i+"."+a+" <"+(+n+1)+".0.0"),r("caret return",o),o}))}(e,t)})).join(" ")}(e,t),r("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var n=t?a[k]:a[I];return e.replace(n,(function(t,n,i,a,s){var o;return r("tilde",e,t,n,i,a,s),oe(n)?o="":oe(i)?o=">="+n+".0.0 <"+(+n+1)+".0.0":oe(a)?o=">="+n+"."+i+".0 <"+n+"."+(+i+1)+".0":s?(r("replaceTilde pr",s),"-"!==s.charAt(0)&&(s="-"+s),o=">="+n+"."+i+"."+a+s+" <"+n+"."+(+i+1)+".0"):o=">="+n+"."+i+"."+a+" <"+n+"."+(+i+1)+".0",r("tilde return",o),o}))}(e,t)})).join(" ")}(e,t),r("tildes",e),e=function(e,t){return r("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var n=t?a[O]:a[_];return e.replace(n,(function(t,n,i,a,s,o){r("xRange",e,t,n,i,a,s,o);var u=oe(i),l=u||oe(a),c=l||oe(s);return"="===n&&c&&(n=""),u?t=">"===n||"<"===n?"<0.0.0":"*":n&&c?(l&&(a=0),c&&(s=0),">"===n?(n=">=",l?(i=+i+1,a=0,s=0):c&&(a=+a+1,s=0)):"<="===n&&(n="<",l?i=+i+1:a=+a+1),t=n+i+"."+a+"."+s):l?t=">="+i+".0.0 <"+(+i+1)+".0.0":c&&(t=">="+i+"."+a+".0 <"+i+"."+(+a+1)+".0"),r("xRange return",t),t}))}(e,t)})).join(" ")}(e,t),r("xrange",e),e=function(e,t){return r("replaceStars",e,t),e.trim().replace(a[X],"")}(e,t),r("stars",e),e}(e,t)})).join(" ").split(/\s+/);return this.loose&&(s=s.filter((function(e){return!!e.match(i)}))),s=s.map((function(e){return new ie(e,t)}))},se.prototype.intersects=function(e,t){if(!(e instanceof se))throw new TypeError("a Range is required");return this.set.some((function(r){return r.every((function(r){return e.set.some((function(e){return e.every((function(e){return r.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new se(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},se.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new W(e,this.loose));for(var t=0;t<this.set.length;t++)if(le(this.set[t],e))return!0;return!1},t.satisfies=ce,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var a=new se(t,r)}catch(e){return null}return e.forEach((function(e){a.test(e)&&(n&&-1!==i.compare(e)||(i=new W(n=e,r)))})),n},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var a=new se(t,r)}catch(e){return null}return e.forEach((function(e){a.test(e)&&(n&&1!==i.compare(e)||(i=new W(n=e,r)))})),n},t.validRange=function(e,t){try{return new se(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,r){return pe(e,t,"<",r)},t.gtr=function(e,t,r){return pe(e,t,">",r)},t.outside=pe,t.prerelease=function(e,t){var r=Y(e,t);return r&&r.prerelease.length?r.prerelease:null},t.intersects=function(e,t,r){return e=new se(e,r),t=new se(t,r),e.intersects(t)}})),Et=function(e,t){return Object.keys(e).reduce((function(r,n){return r.concat(Object.assign(x({},t,n),e[n]))}),[])},St=p((function(e){e.exports=function(e){var t=void 0;t="string"==typeof e?[e]:e.raw;for(var r="",n=0;n<t.length;n++)r+=t[n].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),n<(arguments.length<=1?0:arguments.length-1)&&(r+=arguments.length<=n+1?void 0:arguments[n+1]);var i=r.split("\n"),a=null;return i.forEach((function(e){var t=e.match(/^(\s+)\S+/);if(t){var r=t[1].length;a=a?Math.min(a,r):r}})),null!==a&&(r=i.map((function(e){return" "===e[0]?e.slice(a):e})).join("\n")),(r=r.trim()).replace(/\\n/g,"\n")}}));function bt(){var e=F(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]);return bt=function(){return e},e}function xt(){var e=F(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return xt=function(){return e},e}function Dt(){var e=F(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]);return Dt=function(){return e},e}function At(){var e=F(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]);return At=function(){return e},e}function Ct(){var e=F(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "]);return Ct=function(){return e},e}function Pt(){var e=F(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]);return Pt=function(){return e},e}var wt={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:{cursorOffset:{since:"1.4.0",category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:St(Pt()),cliCategory:"Editor"},endOfLine:{since:"1.15.0",category:"Global",type:"choice",default:"auto",description:"Which end of line characters to apply.",choices:[{value:"auto",description:St(Ct())},{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"}]},filepath:{since:"1.4.0",category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{since:"0.0.10",category:"Global",type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:function(e){return"string"==typeof e||"function"==typeof e},choices:[{value:"flow",description:"Flow"},{value:"babylon",description:"JavaScript",deprecated:"1.16.0",redirect:"babel"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"postcss",since:"1.4.0",description:"CSS/Less/SCSS",deprecated:"1.7.1",redirect:"css"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:null,description:"Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:function(e){return"string"==typeof e||"object"===T(e)},cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:St(At()),exception:function(e){return"string"==typeof e||"object"===T(e)},cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:St(Dt()),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:St(xt()),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:St(bt()),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useFlowParser:{since:"0.0.0",category:"Global",type:"boolean",default:[{since:"0.0.0",value:!1},{since:"1.15.0",value:void 0}],deprecated:"0.0.10",description:"Use flow parser.",redirect:{option:"parser",value:"flow"},cliName:"flow-parser"},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."}}},_t=u&&o||u,Ot=_t.version,Ft=wt.options,Nt={getSupportInfo:function(e,t){t=Object.assign({plugins:[],showUnreleased:!1,showDeprecated:!1,showInternal:!1},t),e||(e=Ot.split("-",1)[0]);var r=t.plugins,n=Et(Object.assign(r.reduce((function(e,t){return Object.assign(e,t.options)}),{}),Ft),"name").sort((function(e,t){return e.name===t.name?0:e.name<t.name?-1:1})).filter(s).filter(o).map(u).map((function(e){if(t.showInternal)return e;var r=Object.assign({},e);return delete r.cliName,delete r.cliCategory,delete r.cliDescription,r})).map((function(e){var t=Object.assign({},e);return Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(s).sort((function(e,t){return Tt.compare(t.since,e.since)}))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(s).filter(o).map(u)),t})).map((function(e){var t=r.filter((function(t){return t.defaultOptions&&t.defaultOptions[e.name]})).reduce((function(t,r){return t[r.name]=r.defaultOptions[e.name],t}),{});return Object.assign(e,{pluginDefaults:t})})),i=Tt.lt(e,"1.7.1"),a=Tt.lt(e,"1.16.0");return{languages:r.reduce((function(e,t){return e.concat(t.languages||[])}),[]).filter(s).map((function(e){return"Markdown"===e.name?Object.assign({},e,{parsers:["markdown"]}):"TypeScript"===e.name?Object.assign({},e,{parsers:["typescript"]}):a&&-1!==e.parsers.indexOf("babel")?Object.assign({},e,{parsers:e.parsers.map((function(e){return"babel"===e?"babylon":e}))}):!i||"CSS"!==e.name&&"CSS"!==e.group?e:Object.assign({},e,{parsers:["postcss"]})})),options:n};function s(r){return t.showUnreleased||!("since"in r)||r.since&&Tt.gte(e,r.since)}function o(r){return t.showDeprecated||!("deprecated"in r)||r.deprecated&&Tt.lt(e,r.deprecated)}function u(e){if(!e.deprecated||t.showDeprecated)return e;var r=Object.assign({},e);return delete r.deprecated,delete r.redirect,r}}},It=function(e,t){return(It=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},kt=function(){return(kt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Lt(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function Mt(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return s}function Bt(e){return this instanceof Bt?(this.v=e,this):new Bt(e)}var jt=Object.freeze({__extends:function(e,t){function r(){this.constructor=e}It(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},get __assign(){return kt},__rest:function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&(r[n[i]]=e[n[i]])}return r},__decorate:function(e,t,r,n){var i,a=arguments.length,s=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===("undefined"==typeof Reflect?"undefined":T(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(s=(a<3?i(s):a>3?i(t,r,s):i(t,r))||s);return a>3&&s&&Object.defineProperty(t,r,s),s},__param:function(e,t){return function(r,n){t(r,n,e)}},__metadata:function(e,t){if("object"===("undefined"==typeof Reflect?"undefined":T(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function s(e){try{u(n.next(e))}catch(e){a(e)}}function o(e){try{u(n.throw(e))}catch(e){a(e)}}function u(e){e.done?i(e.value):new r((function(t){t(e.value)})).then(s,o)}u((n=n.apply(e,t||[])).next())}))},__generator:function(e,t){var r,n,i,a,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,o])}}},__exportStar:function(e,t){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])},__values:Lt,__read:Mt,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Mt(arguments[t]));return e},__await:Bt,__asyncGenerator:function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),a=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||o(e,t)}))})}function o(e,t){try{(r=i[e](t)).value instanceof Bt?Promise.resolve(r.value.v).then(u,l):c(a[0][2],r)}catch(e){c(a[0][3],e)}var r}function u(e){o("next",e)}function l(e){o("throw",e)}function c(e,t){e(t),a.shift(),a.length&&o(a[0][0],a[0][1])}},__asyncDelegator:function(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:Bt(e[n](t)),done:"return"===n}:i?i(t):t}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=Lt(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}}}),Rt=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:function(e){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e)},value:function(e){if(null===e||"object"!==T(e))return JSON.stringify(e);if(Array.isArray(e))return"[".concat(e.map((function(e){return t.apiDescriptor.value(e)})).join(", "),"]");var r=Object.keys(e);return 0===r.length?"{}":"{ ".concat(r.map((function(r){return"".concat(t.apiDescriptor.key(r),": ").concat(t.apiDescriptor.value(e[r]))})).join(", ")," }")},pair:function(e){var r=e.key,n=e.value;return t.apiDescriptor.value(x({},r,n))}}}));c(Rt);var Vt=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),jt.__exportStar(Rt,t)}));c(Vt);var qt=/[|\\{}()[\]^$+*?.]/g,Ut=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(qt,"\\$&")},Kt={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Xt=p((function(e){var t={};for(var r in Kt)Kt.hasOwnProperty(r)&&(t[Kt[r]]=r);var n=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in n)if(n.hasOwnProperty(i)){if(!("channels"in n[i]))throw new Error("missing channels property: "+i);if(!("labels"in n[i]))throw new Error("missing channel labels property: "+i);if(n[i].labels.length!==n[i].channels)throw new Error("channel and label counts mismatch: "+i);var a=n[i].channels,s=n[i].labels;delete n[i].channels,delete n[i].labels,Object.defineProperty(n[i],"channels",{value:a}),Object.defineProperty(n[i],"labels",{value:s})}n.rgb.hsl=function(e){var t,r,n=e[0]/255,i=e[1]/255,a=e[2]/255,s=Math.min(n,i,a),o=Math.max(n,i,a),u=o-s;return o===s?t=0:n===o?t=(i-a)/u:i===o?t=2+(a-n)/u:a===o&&(t=4+(n-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),r=(s+o)/2,[t,100*(o===s?0:r<=.5?u/(o+s):u/(2-o-s)),100*r]},n.rgb.hsv=function(e){var t,r,n=e[0],i=e[1],a=e[2],s=Math.min(n,i,a),o=Math.max(n,i,a),u=o-s;return r=0===o?0:u/o*1e3/10,o===s?t=0:n===o?t=(i-a)/u:i===o?t=2+(a-n)/u:a===o&&(t=4+(n-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),[t,r,o/255*1e3/10]},n.rgb.hwb=function(e){var t=e[0],r=e[1],i=e[2];return[n.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(r,i))*100,100*(i=1-1/255*Math.max(t,Math.max(r,i)))]},n.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-i)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},n.rgb.keyword=function(e){var r=t[e];if(r)return r;var n,i,a,s=1/0;for(var o in Kt)if(Kt.hasOwnProperty(o)){var u=Kt[o],l=(i=e,a=u,Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)+Math.pow(i[2]-a[2],2));l<s&&(s=l,n=o)}return n},n.keyword.rgb=function(e){return Kt[e]},n.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},n.rgb.lab=function(e){var t=n.rgb.xyz(e),r=t[0],i=t[1],a=t[2];return i/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(r-i),200*(i-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},n.hsl.rgb=function(e){var t,r,n,i,a,s=e[0]/360,o=e[1]/100,u=e[2]/100;if(0===o)return[a=255*u,a,a];t=2*u-(r=u<.5?u*(1+o):u+o-u*o),i=[0,0,0];for(var l=0;l<3;l++)(n=s+1/3*-(l-1))<0&&n++,n>1&&n--,a=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,i[l]=255*a;return i},n.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=r,a=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,i*=a<=1?a:2-a,[t,100*(0===n?2*i/(a+i):2*r/(n+r)),(n+r)/2*100]},n.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),s=255*n*(1-r),o=255*n*(1-r*a),u=255*n*(1-r*(1-a));switch(n*=255,i){case 0:return[n,u,s];case 1:return[o,n,s];case 2:return[s,n,u];case 3:return[s,o,n];case 4:return[u,s,n];case 5:return[n,s,o]}},n.hsv.hsl=function(e){var t,r,n,i=e[0],a=e[1]/100,s=e[2]/100,o=Math.max(s,.01);return n=(2-a)*s,r=a*o,[i,100*(r=(r/=(t=(2-a)*o)<=1?t:2-t)||0),100*(n/=2)]},n.hwb.rgb=function(e){var t,r,n,i,a,s,o,u=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),n=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(n=1-n),i=l+n*((r=1-c)-l),t){default:case 6:case 0:a=r,s=i,o=l;break;case 1:a=i,s=r,o=l;break;case 2:a=l,s=r,o=i;break;case 3:a=l,s=i,o=r;break;case 4:a=i,s=l,o=r;break;case 5:a=r,s=l,o=i}return[255*a,255*s,255*o]},n.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},n.xyz.rgb=function(e){var t,r,n,i=e[0]/100,a=e[1]/100,s=e[2]/100;return r=-.9689*i+1.8758*a+.0415*s,n=.0557*i+-.204*a+1.057*s,t=(t=3.2406*i+-1.5372*a+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},n.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},n.lab.xyz=function(e){var t,r,n,i=e[0];t=e[1]/500+(r=(i+16)/116),n=r-e[2]/200;var a=Math.pow(r,3),s=Math.pow(t,3),o=Math.pow(n,3);return r=a>.008856?a:(r-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},n.lab.lch=function(e){var t,r=e[0],n=e[1],i=e[2];return(t=360*Math.atan2(i,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+i*i),t]},n.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},n.rgb.ansi16=function(e){var t=e[0],r=e[1],i=e[2],a=1 in arguments?arguments[1]:n.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===a&&(s+=60),s},n.hsv.ansi16=function(e){return n.rgb.ansi16(n.hsv.rgb(e),e[2])},n.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},n.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},n.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},n.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},n.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map((function(e){return e+e})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},n.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,i=e[2]/255,a=Math.max(Math.max(r,n),i),s=Math.min(Math.min(r,n),i),o=a-s;return t=o<=0?0:a===r?(n-i)/o%6:a===n?2+(i-r)/o:4+(r-n)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?s/(1-o):0)]},n.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,i=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(i=(r-.5*n)/(1-n)),[e[0],100*n,100*i]},n.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},n.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var i,a=[0,0,0],s=t%1*6,o=s%1,u=1-o;switch(Math.floor(s)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=u,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=u,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=u}return i=(1-r)*n,[255*(r*a[0]+i),255*(r*a[1]+i),255*(r*a[2]+i)]},n.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},n.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},n.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},n.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},n.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},n.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},n.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},n.gray.hsl=n.gray.hsv=function(e){return[0,0,e[0]]},n.gray.hwb=function(e){return[0,100,e[0]]},n.gray.cmyk=function(e){return[0,0,0,e[0]]},n.gray.lab=function(e){return[e[0],0,0]},n.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},n.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}})),Jt=Object.keys(Xt);function Yt(e){var t=function(){for(var e={},t=Jt.length,r=0;r<t;r++)e[Jt[r]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var n=r.pop(),i=Object.keys(Xt[n]),a=i.length,s=0;s<a;s++){var o=i[s],u=t[o];-1===u.distance&&(u.distance=t[n].distance+1,u.parent=n,r.unshift(o))}return t}function Wt(e,t){return function(r){return t(e(r))}}function $t(e,t){for(var r=[t[e].parent,e],n=Xt[t[e].parent][e],i=t[e].parent;t[i].parent;)r.unshift(t[i].parent),n=Wt(Xt[t[i].parent][i],n),i=t[i].parent;return n.conversion=r,n}var Ht={};Object.keys(Xt).forEach((function(e){Ht[e]={},Object.defineProperty(Ht[e],"channels",{value:Xt[e].channels}),Object.defineProperty(Ht[e],"labels",{value:Xt[e].labels});var t=function(e){for(var t=Yt(e),r={},n=Object.keys(t),i=n.length,a=0;a<i;a++){var s=n[a];null!==t[s].parent&&(r[s]=$t(s,t))}return r}(e);Object.keys(t).forEach((function(r){var n=t[r];Ht[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"===T(r))for(var n=r.length,i=0;i<n;i++)r[i]=Math.round(r[i]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(n),Ht[e][r].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))}));var zt,Gt=Ht,Qt=p((function(e){var t=function(e,t){return function(){var r=e.apply(Gt,arguments);return"[".concat(r+t,"m")}},r=function(e,t){return function(){var r=e.apply(Gt,arguments);return"[".concat(38+t,";5;").concat(r,"m")}},n=function(e,t){return function(){var r=e.apply(Gt,arguments);return"[".concat(38+t,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")}};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){var e=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(var a=Object.keys(i),s=0;s<a.length;s++){for(var o=a[s],u=i[o],l=Object.keys(u),c=0;c<l.length;c++){var p=l[c],f=u[p];i[p]={open:"[".concat(f[0],"m"),close:"[".concat(f[1],"m")},u[p]=i[p],e.set(f[0],f[1])}Object.defineProperty(i,o,{value:u,enumerable:!1}),Object.defineProperty(i,"codes",{value:e,enumerable:!1})}var d=function(e){return e},h=function(e,t,r){return[e,t,r]};i.color.close="",i.bgColor.close="",i.color.ansi={ansi:t(d,0)},i.color.ansi256={ansi256:r(d,0)},i.color.ansi16m={rgb:n(h,0)},i.bgColor.ansi={ansi:t(d,10)},i.bgColor.ansi256={ansi256:r(d,10)},i.bgColor.ansi16m={rgb:n(h,10)};for(var y=Object.keys(Gt),m=0;m<y.length;m++){var v=y[m];if("object"===T(Gt[v])){var g=Gt[v];"ansi16"===v&&(v="ansi"),"ansi16"in g&&(i.color.ansi[v]=t(g.ansi16,0),i.bgColor.ansi[v]=t(g.ansi16,10)),"ansi256"in g&&(i.color.ansi256[v]=r(g.ansi256,0),i.bgColor.ansi256[v]=r(g.ansi256,10)),"rgb"in g&&(i.color.ansi16m[v]=n(g.rgb,0),i.bgColor.ansi16m[v]=n(g.rgb,10))}}return i}})})),Zt={EOL:"\n"},er=Object.freeze({default:Zt}),tr=p((function(e){e.exports=function(e,t){t=t||gt.argv;var r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return-1!==n&&(-1===i||n<i)}})),rr=er&&Zt||er,nr=gt.env;function ir(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===zt)return 0;if(tr("color=16m")||tr("color=full")||tr("color=truecolor"))return 3;if(tr("color=256"))return 2;if(e&&!e.isTTY&&!0!==zt)return 0;var t=zt?1:0;if("win32"===gt.platform){var r=rr.release().split(".");return Number(gt.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in nr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in nr}))||"codeship"===nr.CI_NAME?1:t;if("TEAMCITY_VERSION"in nr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(nr.TEAMCITY_VERSION)?1:0;if("truecolor"===nr.COLORTERM)return 3;if("TERM_PROGRAM"in nr){var n=parseInt((nr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(nr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(nr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(nr.TERM)?1:"COLORTERM"in nr?1:(nr.TERM,t)}(e))}tr("no-color")||tr("no-colors")||tr("color=false")?zt=!1:(tr("color")||tr("colors")||tr("color=true")||tr("color=always"))&&(zt=!0),"FORCE_COLOR"in nr&&(zt=0===nr.FORCE_COLOR.length||0!==parseInt(nr.FORCE_COLOR,10));var ar={supportsColor:ir,stdout:ir(gt.stdout),stderr:ir(gt.stderr)},sr=p((function(e){var t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function s(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):a.get(e)||e}function o(e,t){var r,a=[],o=t.trim().split(/\s*,\s*/g),u=!0,l=!1,c=void 0;try{for(var p,f=o[Symbol.iterator]();!(u=(p=f.next()).done);u=!0){var d=p.value;if(isNaN(d)){if(!(r=d.match(n)))throw new Error("Invalid Chalk template style argument: ".concat(d," (in style '").concat(e,"')"));a.push(r[2].replace(i,(function(e,t,r){return t?s(t):r})))}else a.push(Number(d))}}catch(e){l=!0,c=e}finally{try{u||null==f.return||f.return()}finally{if(l)throw c}}return a}function u(e){r.lastIndex=0;for(var t,n=[];null!==(t=r.exec(e));){var i=t[1];if(t[2]){var a=o(i,t[2]);n.push([i].concat(a))}else n.push([i])}return n}function l(e,t){var r={},n=!0,i=!1,a=void 0;try{for(var s,o=t[Symbol.iterator]();!(n=(s=o.next()).done);n=!0){var u=s.value,l=!0,c=!1,p=void 0;try{for(var f,d=u.styles[Symbol.iterator]();!(l=(f=d.next()).done);l=!0){var h=f.value;r[h[0]]=u.inverse?null:h.slice(1)}}catch(e){c=!0,p=e}finally{try{l||null==d.return||d.return()}finally{if(c)throw p}}}}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}for(var y=e,m=Object.keys(r),v=0;v<m.length;v++){var g=m[v];if(Array.isArray(r[g])){if(!(g in y))throw new Error("Unknown Chalk style: ".concat(g));y=r[g].length>0?y[g].apply(y,r[g]):y[g]}}return y}e.exports=function(e,r){var n=[],i=[],a=[];if(r.replace(t,(function(t,r,o,c,p,f){if(r)a.push(s(r));else if(c){var d=a.join("");a=[],i.push(0===n.length?d:l(e,n)(d)),n.push({inverse:o,styles:u(c)})}else if(p){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");i.push(l(e,n)(a.join(""))),a=[],n.pop()}else a.push(f)})),i.push(a.join("")),n.length>0){var o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(o)}return i.join("")}})),or=p((function(e){var t=ar.stdout,r="win32"===gt.platform&&!(gt.env.TERM||"").toLowerCase().startsWith("xterm"),n=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),a=Object.create(null);function s(e,r){r=r||{};var n=t?t.level:0;e.level=void 0===r.level?n:r.level,e.enabled="enabled"in r?r.enabled:e.level>0}function o(e){if(!this||!(this instanceof o)||this.template){var t={};return s(t,e),t.template=function(){var e=[].slice.call(arguments);return E.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,o.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=o,t.template}s(this,e)}r&&(Qt.blue.open="");for(var u=Object.keys(Qt),l=function(){var e=u[c];Qt[e].closeRe=new RegExp(Ut(Qt[e].close),"g"),a[e]={get:function(){var t=Qt[e];return g.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},c=0;c<u.length;c++)l();a.visible={get:function(){return g.call(this,this._styles||[],!0,"visible")}},Qt.color.closeRe=new RegExp(Ut(Qt.color.close),"g");for(var p=Object.keys(Qt.color.ansi),f=function(){var e=p[d];if(i.has(e))return"continue";a[e]={get:function(){var t=this.level;return function(){var r=Qt.color[n[t]][e].apply(null,arguments),i={open:r,close:Qt.color.close,closeRe:Qt.color.closeRe};return g.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}},d=0;d<p.length;d++)f();Qt.bgColor.closeRe=new RegExp(Ut(Qt.bgColor.close),"g");for(var h=Object.keys(Qt.bgColor.ansi),y=function(){var e=h[m];if(i.has(e))return"continue";var t="bg"+e[0].toUpperCase()+e.slice(1);a[t]={get:function(){var t=this.level;return function(){var r=Qt.bgColor[n[t]][e].apply(null,arguments),i={open:r,close:Qt.bgColor.close,closeRe:Qt.bgColor.closeRe};return g.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}},m=0;m<h.length;m++)y();var v=Object.defineProperties((function(){}),a);function g(e,t,r){var n=function e(){return T.apply(e,arguments)};n._styles=e,n._empty=t;var i=this;return Object.defineProperty(n,"level",{enumerable:!0,get:function(){return i.level},set:function(e){i.level=e}}),Object.defineProperty(n,"enabled",{enumerable:!0,get:function(){return i.enabled},set:function(e){i.enabled=e}}),n.hasGrey=this.hasGrey||"gray"===r||"grey"===r,n.__proto__=v,n}function T(){var e=arguments,t=e.length,n=String(arguments[0]);if(0===t)return"";if(t>1)for(var i=1;i<t;i++)n+=" "+e[i];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;var a=Qt.dim.open;r&&this.hasGrey&&(Qt.dim.open="");var s=!0,o=!1,u=void 0;try{for(var l,c=this._styles.slice().reverse()[Symbol.iterator]();!(s=(l=c.next()).done);s=!0){var p=l.value;n=(n=p.open+n.replace(p.closeRe,p.open)+p.close).replace(/\r?\n/g,"".concat(p.close,"$&").concat(p.open))}}catch(e){o=!0,u=e}finally{try{s||null==c.return||c.return()}finally{if(o)throw u}}return Qt.dim.open=a,n}function E(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");for(var r=[].slice.call(arguments,2),n=[t.raw[0]],i=1;i<t.length;i++)n.push(String(r[i-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[i]));return sr(e,n.join(""))}Object.defineProperties(o.prototype,a),e.exports=o(),e.exports.supportsColor=t,e.exports.default=e.exports})),ur=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonDeprecatedHandler=function(e,t,r){var n=r.descriptor,i=["".concat(or.default.yellow("string"==typeof e?n.key(e):n.pair(e))," is deprecated")];return t&&i.push("we now treat it as ".concat(or.default.blue("string"==typeof t?n.key(t):n.pair(t)))),i.join("; ")+"."}}));c(ur);var lr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),jt.__exportStar(ur,t)}));c(lr);var cr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.commonInvalidHandler=function(e,t,r){return["Invalid ".concat(or.default.red(r.descriptor.key(e))," value."),"Expected ".concat(or.default.blue(r.schemas[e].expected(r)),","),"but received ".concat(or.default.red(r.descriptor.value(t)),".")].join(" ")}}));c(cr);var pr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),jt.__exportStar(cr,t)}));c(pr);var fr=[],dr=[],hr=function(e,t){if(e===t)return 0;var r=e;e.length>t.length&&(e=t,t=r);var n=e.length,i=t.length;if(0===n)return i;if(0===i)return n;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-i);)n--,i--;if(0===n)return i;for(var a,s,o,u,l=0;l<n&&e.charCodeAt(l)===t.charCodeAt(l);)l++;if(i-=l,0==(n-=l))return i;for(var c=0,p=0;c<n;)dr[l+c]=e.charCodeAt(l+c),fr[c]=++c;for(;p<i;)for(a=t.charCodeAt(l+p),o=p++,s=p,c=0;c<n;c++)u=a===dr[l+c]?o:o+1,o=fr[c],s=fr[c]=o>s?u>s?s+1:u:u>o?o+1:u;return s},yr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.levenUnknownHandler=function(e,t,r){var n=r.descriptor,i=r.logger,a=r.schemas,s=["Ignored unknown option ".concat(or.default.yellow(n.pair({key:e,value:t})),".")],o=Object.keys(a).sort().find((function(t){return hr(e,t)<3}));o&&s.push("Did you mean ".concat(or.default.blue(n.key(o)),"?")),i.warn(s.join(" "))}}));c(yr);var mr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),jt.__exportStar(yr,t)}));c(mr);var vr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),jt.__exportStar(lr,t),jt.__exportStar(pr,t),jt.__exportStar(mr,t)}));c(vr);var gr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function n(e,t){for(var n=new e(t),s=Object.create(n),o=0;o<r.length;o++){var u=r[o];u in t&&(s[u]=a(t[u],n,i.prototype[u].length))}return s}t.createSchema=n;var i=function(){function e(t){E(this,e),this.name=t.name}return b(e,[{key:"default",value:function(e){}},{key:"expected",value:function(e){return"nothing"}},{key:"validate",value:function(e,t){return!1}},{key:"deprecated",value:function(e,t){return!1}},{key:"forward",value:function(e,t){}},{key:"redirect",value:function(e,t){}},{key:"overlap",value:function(e,t,r){return e}},{key:"preprocess",value:function(e,t){return e}},{key:"postprocess",value:function(e,t){return e}}],[{key:"create",value:function(e){return n(this,e)}}]),e}();function a(e,t,r){return"function"==typeof e?function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e.apply(void 0,I(i.slice(0,r-1)).concat([t],I(i.slice(r-1))))}:function(){return e}}t.Schema=i}));c(gr);var Tr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(e){var r;return E(this,t),(r=_(this,A(t).call(this,e)))._sourceName=e.sourceName,r}return D(t,e),b(t,[{key:"expected",value:function(e){return e.schemas[this._sourceName].expected(e)}},{key:"validate",value:function(e,t){return t.schemas[this._sourceName].validate(e,t)}},{key:"redirect",value:function(e,t){return this._sourceName}}]),t}(gr.Schema);t.AliasSchema=r}));c(Tr);var Er=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){return E(this,t),_(this,A(t).apply(this,arguments))}return D(t,e),b(t,[{key:"expected",value:function(){return"anything"}},{key:"validate",value:function(){return!0}}]),t}(gr.Schema);t.AnySchema=r}));c(Er);var Sr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(e){var r;E(this,t);var n=e.valueSchema,i=e.name,a=void 0===i?n.name:i,s=jt.__rest(e,["valueSchema","name"]);return(r=_(this,A(t).call(this,Object.assign({},s,{name:a}))))._valueSchema=n,r}return D(t,e),b(t,[{key:"expected",value:function(e){return"an array of ".concat(this._valueSchema.expected(e))}},{key:"validate",value:function(e,t){if(!Array.isArray(e))return!1;var r=[],n=!0,i=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(n=(s=o.next()).done);n=!0){var u=s.value,l=t.normalizeValidateResult(this._valueSchema.validate(u,t),u);!0!==l&&r.push(l.value)}}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}return 0===r.length||{value:r}}},{key:"deprecated",value:function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(n=(s=o.next()).done);n=!0){var u=s.value,l=t.normalizeDeprecatedResult(this._valueSchema.deprecated(u,t),u);!1!==l&&r.push.apply(r,I(l.map((function(e){return{value:[e.value]}}))))}}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}return r}},{key:"forward",value:function(e,t){var r=[],i=!0,a=!1,s=void 0;try{for(var o,u=e[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){var l=o.value,c=t.normalizeForwardResult(this._valueSchema.forward(l,t),l);r.push.apply(r,I(c.map(n)))}}catch(e){a=!0,s=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw s}}return r}},{key:"redirect",value:function(e,t){var r=[],i=[],a=!0,s=!1,o=void 0;try{for(var u,l=e[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var c=u.value,p=t.normalizeRedirectResult(this._valueSchema.redirect(c,t),c);"remain"in p&&r.push(p.remain),i.push.apply(i,I(p.redirect.map(n)))}}catch(e){s=!0,o=e}finally{try{a||null==l.return||l.return()}finally{if(s)throw o}}return 0===r.length?{redirect:i}:{redirect:i,remain:r}}},{key:"overlap",value:function(e,t){return e.concat(t)}}]),t}(gr.Schema);function n(e){return{from:[e.from],to:e.to}}t.ArraySchema=r}));c(Sr);var br=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){return E(this,t),_(this,A(t).apply(this,arguments))}return D(t,e),b(t,[{key:"expected",value:function(){return"true or false"}},{key:"validate",value:function(e){return"boolean"==typeof e}}]),t}(gr.Schema);t.BooleanSchema=r}));c(br);var xr=p((function(e,t){function r(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function n(e,t){return void 0===e?[]:Array.isArray(e)?e.map((function(e){return r(e,t)})):[r(e,t)]}Object.defineProperty(t,"__esModule",{value:!0}),t.recordFromArray=function(e,t){var r=Object.create(null),n=!0,i=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(n=(s=o.next()).done);n=!0){var u=s.value,l=u[t];if(r[l])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(l)));r[l]=u}}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}return r},t.mapFromArray=function(e,t){var r=new Map,n=!0,i=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(n=(s=o.next()).done);n=!0){var u=s.value,l=u[t];if(r.has(l))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(l)));r.set(l,u)}}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}return r},t.createAutoChecklist=function(){var e=Object.create(null);return function(t){var r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}},t.partition=function(e,t){var r=[],n=[],i=!0,a=!1,s=void 0;try{for(var o,u=e[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){var l=o.value;t(l)?r.push(l):n.push(l)}}catch(e){a=!0,s=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw s}}return[r,n]},t.isInt=function(e){return e===Math.floor(e)},t.comparePrimitive=function(e,t){if(e===t)return 0;var r=T(e),n=T(t),i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):"string"!==r?Number(e)-Number(t):e.localeCompare(t)},t.normalizeDefaultResult=function(e){return void 0===e?{}:e},t.normalizeValidateResult=function(e,t){return!0===e||(!1===e?{value:t}:e)},t.normalizeDeprecatedResult=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!1!==e&&(!0===e?!!r||[{value:t}]:"value"in e?[e]:0!==e.length&&e)},t.normalizeTransferResult=r,t.normalizeForwardResult=n,t.normalizeRedirectResult=function(e,t){var r=n("object"===T(e)&&"redirect"in e?e.redirect:e,t);return 0===r.length?{remain:t,redirect:r}:"object"===T(e)&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}}));c(xr);var Dr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(e){var r;return E(this,t),(r=_(this,A(t).call(this,e)))._choices=xr.mapFromArray(e.choices.map((function(e){return e&&"object"===T(e)?e:{value:e}})),"value"),r}return D(t,e),b(t,[{key:"expected",value:function(e){var t=this,r=e.descriptor,n=Array.from(this._choices.keys()).map((function(e){return t._choices.get(e)})).filter((function(e){return!e.deprecated})).map((function(e){return e.value})).sort(xr.comparePrimitive).map(r.value),i=n.slice(0,-2),a=n.slice(-2);return i.concat(a.join(" or ")).join(", ")}},{key:"validate",value:function(e){return this._choices.has(e)}},{key:"deprecated",value:function(e){var t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}},{key:"forward",value:function(e){var t=this._choices.get(e);return t?t.forward:void 0}},{key:"redirect",value:function(e){var t=this._choices.get(e);return t?t.redirect:void 0}}]),t}(gr.Schema);t.ChoiceSchema=r}));c(Dr);var Ar=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){return E(this,t),_(this,A(t).apply(this,arguments))}return D(t,e),b(t,[{key:"expected",value:function(){return"a number"}},{key:"validate",value:function(e,t){return"number"==typeof e}}]),t}(gr.Schema);t.NumberSchema=r}));c(Ar);var Cr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){return E(this,t),_(this,A(t).apply(this,arguments))}return D(t,e),b(t,[{key:"expected",value:function(){return"an integer"}},{key:"validate",value:function(e,r){return!0===r.normalizeValidateResult(O(A(t.prototype),"validate",this).call(this,e,r),e)&&xr.isInt(e)}}]),t}(Ar.NumberSchema);t.IntegerSchema=r}));c(Cr);var Pr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){return E(this,t),_(this,A(t).apply(this,arguments))}return D(t,e),b(t,[{key:"expected",value:function(){return"a string"}},{key:"validate",value:function(e){return"string"==typeof e}}]),t}(gr.Schema);t.StringSchema=r}));c(Pr);var wr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),jt.__exportStar(Tr,t),jt.__exportStar(Er,t),jt.__exportStar(Sr,t),jt.__exportStar(br,t),jt.__exportStar(Dr,t),jt.__exportStar(Cr,t),jt.__exportStar(Ar,t),jt.__exportStar(Pr,t)}));c(wr);var _r=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.defaultDescriptor=Rt.apiDescriptor,t.defaultUnknownHandler=yr.levenUnknownHandler,t.defaultInvalidHandler=pr.commonInvalidHandler,t.defaultDeprecatedHandler=ur.commonDeprecatedHandler}));c(_r);var Or=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=function(e,t,n){return new r(t,n).normalize(e)};var r=function(){function e(t,r){E(this,e);var n=r||{},i=n.logger,a=void 0===i?console:i,s=n.descriptor,o=void 0===s?_r.defaultDescriptor:s,u=n.unknown,l=void 0===u?_r.defaultUnknownHandler:u,c=n.invalid,p=void 0===c?_r.defaultInvalidHandler:c,f=n.deprecated,d=void 0===f?_r.defaultDeprecatedHandler:f;this._utils={descriptor:o,logger:a||{warn:function(){}},schemas:xr.recordFromArray(t,"name"),normalizeDefaultResult:xr.normalizeDefaultResult,normalizeDeprecatedResult:xr.normalizeDeprecatedResult,normalizeForwardResult:xr.normalizeForwardResult,normalizeRedirectResult:xr.normalizeRedirectResult,normalizeValidateResult:xr.normalizeValidateResult},this._unknownHandler=l,this._invalidHandler=p,this._deprecatedHandler=d,this.cleanHistory()}return b(e,[{key:"cleanHistory",value:function(){this._hasDeprecationWarned=xr.createAutoChecklist()}},{key:"normalize",value:function(e){var t=this,r={},n=[e],i=function(){for(;0!==n.length;){var e=n.shift(),i=t._applyNormalization(e,r);n.push.apply(n,I(i))}};i();for(var a=Object.keys(this._utils.schemas),s=0;s<a.length;s++){var o=a[s],u=this._utils.schemas[o];if(!(o in r)){var l=xr.normalizeDefaultResult(u.default(this._utils));"value"in l&&n.push(x({},o,l.value))}}i();for(var c=Object.keys(this._utils.schemas),p=0;p<c.length;p++){var f=c[p],d=this._utils.schemas[f];f in r&&(r[f]=d.postprocess(r[f],this._utils))}return r}},{key:"_applyNormalization",value:function(e,t){var r=this,n=[],i=N(xr.partition(Object.keys(e),(function(e){return e in r._utils.schemas})),2),a=i[0],s=i[1],o=!0,u=!1,l=void 0;try{for(var c,p=function(){var i=c.value,a=r._utils.schemas[i],s=a.preprocess(e[i],r._utils),o=xr.normalizeValidateResult(a.validate(s,r._utils),s);if(!0!==o){var u=o.value,l=r._invalidHandler(i,u,r._utils);throw"string"==typeof l?new Error(l):l}var p=function(e){var t=e.from,r=e.to;n.push("string"==typeof r?x({},r,t):x({},r.key,r.value))},f=function(e){var t=e.value,n=e.redirectTo,o=xr.normalizeDeprecatedResult(a.deprecated(t,r._utils),s,!0);if(!1!==o)if(!0===o)r._hasDeprecationWarned(i)||r._utils.logger.warn(r._deprecatedHandler(i,n,r._utils));else{var u=!0,l=!1,c=void 0;try{for(var p,f=o[Symbol.iterator]();!(u=(p=f.next()).done);u=!0){var d=p.value.value,h={key:i,value:d};if(!r._hasDeprecationWarned(h)){var y="string"==typeof n?{key:n,value:d}:n;r._utils.logger.warn(r._deprecatedHandler(h,y,r._utils))}}}catch(e){l=!0,c=e}finally{try{u||null==f.return||f.return()}finally{if(l)throw c}}}};xr.normalizeForwardResult(a.forward(s,r._utils),s).forEach(p);var d=xr.normalizeRedirectResult(a.redirect(s,r._utils),s);if(d.redirect.forEach(p),"remain"in d){var h=d.remain;t[i]=i in t?a.overlap(t[i],h,r._utils):h,f({value:h})}var y=!0,m=!1,v=void 0;try{for(var g,T=d.redirect[Symbol.iterator]();!(y=(g=T.next()).done);y=!0){var E=g.value;f({value:E.from,redirectTo:E.to})}}catch(e){m=!0,v=e}finally{try{y||null==T.return||T.return()}finally{if(m)throw v}}},f=a[Symbol.iterator]();!(o=(c=f.next()).done);o=!0)p()}catch(e){u=!0,l=e}finally{try{o||null==f.return||f.return()}finally{if(u)throw l}}var d=!0,h=!1,y=void 0;try{for(var m,v=s[Symbol.iterator]();!(d=(m=v.next()).done);d=!0){var g=m.value,T=e[g],E=this._unknownHandler(g,T,this._utils);if(E)for(var S=Object.keys(E),b=0;b<S.length;b++){var D=S[b],A=x({},D,E[D]);D in this._utils.schemas?n.push(A):Object.assign(t,A)}}}catch(e){h=!0,y=e}finally{try{d||null==v.return||v.return()}finally{if(h)throw y}}return n}}]),e}();t.Normalizer=r}));c(Or);var Fr=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),jt.__exportStar(Vt,t),jt.__exportStar(vr,t),jt.__exportStar(wr,t),jt.__exportStar(Or,t),jt.__exportStar(gr,t)}));c(Fr);var Nr=function(e,t){var r=(t=t||gt.argv).indexOf("--"),n=/^-{1,2}/.test(e)?"":"--",i=t.indexOf(n+e);return-1!==i&&(-1===r||i<r)},Ir=p((function(e){var t,r=gt.env,n=function(){if(Nr("no-color")||Nr("no-colors")||Nr("color=false"))return 0;if(Nr("color=16m")||Nr("color=full")||Nr("color=truecolor"))return 3;if(Nr("color=256"))return 2;if(Nr("color")||Nr("colors")||Nr("color=true")||Nr("color=always"))return 1;if(gt.stdout&&!gt.stdout.isTTY)return 0;if("win32"===gt.platform){var e=rr.release().split(".");return Number(gt.versions.node.split(".")[0])>=8&&Number(e[0])>=10&&Number(e[2])>=10586?2:1}if("CI"in r)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in r}))||"codeship"===r.CI_NAME?1:0;if("TEAMCITY_VERSION"in r)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(r.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in r){var t=parseInt((r.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(r.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(r.TERM)?2:/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(r.TERM)?1:"COLORTERM"in r?1:(r.TERM,0)}();"FORCE_COLOR"in r&&(n=0===parseInt(r.FORCE_COLOR,10)?0:n||1),e.exports=gt&&0!==(t=n)&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}})),kr=p((function(e){var t=/(?:\\(u[a-f0-9]{4}|x[a-f0-9]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u[0-9a-f]{4}|x[0-9a-f]{2}|.)|([^\\])/gi,a={n:"\n",r:"\r",t:"\t",b:"\b",f:"\f",v:"\v",0:"\0","\\":"\\",e:"",a:""};function s(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):a[e]||e}function o(e,t){var r,a=[],o=t.trim().split(/\s*,\s*/g),u=!0,l=!1,c=void 0;try{for(var p,f=o[Symbol.iterator]();!(u=(p=f.next()).done);u=!0){var d=p.value;if(isNaN(d)){if(!(r=d.match(n)))throw new Error("Invalid Chalk template style argument: ".concat(d," (in style '").concat(e,"')"));a.push(r[2].replace(i,(function(e,t,r){return t?s(t):r})))}else a.push(Number(d))}}catch(e){l=!0,c=e}finally{try{u||null==f.return||f.return()}finally{if(l)throw c}}return a}function u(e){r.lastIndex=0;for(var t,n=[];null!==(t=r.exec(e));){var i=t[1];if(t[2]){var a=o(i,t[2]);n.push([i].concat(a))}else n.push([i])}return n}function l(e,t){var r={},n=!0,i=!1,a=void 0;try{for(var s,o=t[Symbol.iterator]();!(n=(s=o.next()).done);n=!0){var u=s.value,l=!0,c=!1,p=void 0;try{for(var f,d=u.styles[Symbol.iterator]();!(l=(f=d.next()).done);l=!0){var h=f.value;r[h[0]]=u.inverse?null:h.slice(1)}}catch(e){c=!0,p=e}finally{try{l||null==d.return||d.return()}finally{if(c)throw p}}}}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}for(var y=e,m=Object.keys(r),v=0;v<m.length;v++){var g=m[v];if(Array.isArray(r[g])){if(!(g in y))throw new Error("Unknown Chalk style: ".concat(g));y=r[g].length>0?y[g].apply(y,r[g]):y[g]}}return y}e.exports=function(e,r){var n=[],i=[],a=[];if(r.replace(t,(function(t,r,o,c,p,f){if(r)a.push(s(r));else if(c){var d=a.join("");a=[],i.push(0===n.length?d:l(e,n)(d)),n.push({inverse:o,styles:u(c)})}else if(p){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");i.push(l(e,n)(a.join(""))),a=[],n.pop()}else a.push(f)})),i.push(a.join("")),n.length>0){var o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(o)}return i.join("")}})),Lr="win32"===gt.platform&&!(gt.env.TERM||"").toLowerCase().startsWith("xterm"),Mr=["ansi","ansi","ansi256","ansi16m"],Br=new Set(["gray"]),jr=Object.create(null);function Rr(e,t){t=t||{};var r=Ir?Ir.level:0;e.level=void 0===t.level?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function Vr(e){if(!this||!(this instanceof Vr)||this.template){var t={};return Rr(t,e),t.template=function(){var e=[].slice.call(arguments);return Zr.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,Vr.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=Vr,t.template}Rr(this,e)}Lr&&(Qt.blue.open="");for(var qr=Object.keys(Qt),Ur=function(){var e=qr[Kr];Qt[e].closeRe=new RegExp(Ut(Qt[e].close),"g"),jr[e]={get:function(){var t=Qt[e];return Gr.call(this,this._styles?this._styles.concat(t):[t],e)}}},Kr=0;Kr<qr.length;Kr++)Ur();Qt.color.closeRe=new RegExp(Ut(Qt.color.close),"g");for(var Xr=Object.keys(Qt.color.ansi),Jr=function(){var e=Xr[Yr];if(Br.has(e))return"continue";jr[e]={get:function(){var t=this.level;return function(){var r=Qt.color[Mr[t]][e].apply(null,arguments),n={open:r,close:Qt.color.close,closeRe:Qt.color.closeRe};return Gr.call(this,this._styles?this._styles.concat(n):[n],e)}}}},Yr=0;Yr<Xr.length;Yr++)Jr();Qt.bgColor.closeRe=new RegExp(Ut(Qt.bgColor.close),"g");for(var Wr=Object.keys(Qt.bgColor.ansi),$r=function(){var e=Wr[Hr];if(Br.has(e))return"continue";var t="bg"+e[0].toUpperCase()+e.slice(1);jr[t]={get:function(){var t=this.level;return function(){var r=Qt.bgColor[Mr[t]][e].apply(null,arguments),n={open:r,close:Qt.bgColor.close,closeRe:Qt.bgColor.closeRe};return Gr.call(this,this._styles?this._styles.concat(n):[n],e)}}}},Hr=0;Hr<Wr.length;Hr++)$r();var zr=Object.defineProperties((function(){}),jr);function Gr(e,t){var r=function e(){return Qr.apply(e,arguments)};r._styles=e;var n=this;return Object.defineProperty(r,"level",{enumerable:!0,get:function(){return n.level},set:function(e){n.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:function(){return n.enabled},set:function(e){n.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===t||"grey"===t,r.__proto__=zr,r}function Qr(){var e=arguments,t=e.length,r=String(arguments[0]);if(0===t)return"";if(t>1)for(var n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return r;var i=Qt.dim.open;Lr&&this.hasGrey&&(Qt.dim.open="");var a=!0,s=!1,o=void 0;try{for(var u,l=this._styles.slice().reverse()[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var c=u.value;r=(r=c.open+r.replace(c.closeRe,c.open)+c.close).replace(/\r?\n/g,"".concat(c.close,"$&").concat(c.open))}}catch(e){s=!0,o=e}finally{try{a||null==l.return||l.return()}finally{if(s)throw o}}return Qt.dim.open=i,r}function Zr(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");for(var r=[].slice.call(arguments,2),n=[t.raw[0]],i=1;i<t.length;i++)n.push(String(r[i-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[i]));return kr(e,n.join(""))}Object.defineProperties(Vr.prototype,jr);var en=Vr(),tn=Ir;en.supportsColor=tn;var rn,nn={key:function(e){return 1===e.length?"-".concat(e):"--".concat(e)},value:function(e){return Fr.apiDescriptor.value(e)},pair:function(e){var t=e.key,r=e.value;return!1===r?"--no-".concat(t):!0===r?nn.key(t):""===r?"".concat(nn.key(t)," without an argument"):"".concat(nn.key(t),"=").concat(r)}},an=function(e){function t(e){var r,n=e.name,i=e.flags;return E(this,t),(r=_(this,A(t).call(this,{name:n,choices:i})))._flags=i.slice().sort(),r}return D(t,e),b(t,[{key:"preprocess",value:function(e,t){if("string"==typeof e&&0!==e.length&&-1===this._flags.indexOf(e)){var r=this._flags.find((function(t){return hr(t,e)<3}));if(r)return t.logger.warn(["Unknown flag ".concat(en.yellow(t.descriptor.value(e)),","),"did you mean ".concat(en.blue(t.descriptor.value(r)),"?")].join(" ")),r}return e}},{key:"expected",value:function(){return"a flag"}}]),t}(Fr.ChoiceSchema);function sn(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.logger,i=r.isCLI,a=void 0!==i&&i,s=r.passThrough,o=void 0!==s&&s,u=o?Array.isArray(o)?function(e,t){return-1===o.indexOf(e)?void 0:x({},e,t)}:function(e,t){return x({},e,t)}:Fr.levenUnknownHandler,l=a?nn:Fr.apiDescriptor,c=function(e,t){var r=t.isCLI,n=[];r&&n.push(Fr.AnySchema.create({name:"_"}));var i=!0,a=!1,s=void 0;try{for(var o,u=e[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){var l=o.value;n.push(on(l,{isCLI:r,optionInfos:e})),l.alias&&r&&n.push(Fr.AliasSchema.create({name:l.alias,sourceName:l.name}))}}catch(e){a=!0,s=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw s}}return n}(t,{isCLI:a}),p=new Fr.Normalizer(c,{logger:n,unknown:u,descriptor:l}),f=!1!==n;f&&rn&&(p._hasDeprecationWarned=rn);var d=p.normalize(e);return f&&(rn=p._hasDeprecationWarned),d}function on(e,t){var r,n=t.isCLI,i=t.optionInfos,a={name:e.name},s={};switch(e.type){case"int":r=Fr.IntegerSchema,n&&(a.preprocess=function(e){return Number(e)});break;case"choice":r=Fr.ChoiceSchema,a.choices=e.choices.map((function(t){return"object"===T(t)&&t.redirect?Object.assign({},t,{redirect:{to:{key:e.name,value:t.redirect}}}):t}));break;case"boolean":r=Fr.BooleanSchema;break;case"flag":r=an,a.flags=i.map((function(e){return[].concat(e.alias||[],e.description?e.name:[],e.oppositeDescription?"no-".concat(e.name):[])})).reduce((function(e,t){return e.concat(t)}),[]);break;case"path":r=Fr.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?a.validate=function(t,r,n){return e.exception(t)||r.validate(t,n)}:a.validate=function(e,t,r){return void 0===e||t.validate(e,r)},e.redirect&&(s.redirect=function(t){return t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0}),e.deprecated&&(s.deprecated=!0),n&&!e.array){var o=a.preprocess||function(e){return e};a.preprocess=function(e,t,r){return t.preprocess(o(Array.isArray(e)?e[e.length-1]:e),r)}}return e.array?Fr.ArraySchema.create(Object.assign(n?{preprocess:function(e){return[].concat(e)}}:{},s,{valueSchema:r.create(a)})):r.create(Object.assign({},a,s))}var un={normalizeApiOptions:function(e,t,r){return sn(e,t,r)},normalizeCliOptions:function(e,t,r){return sn(e,t,Object.assign({isCLI:!0},r))}},ln=function(e){return e.length>0?e[e.length-1]:null},cn=function e(t,r){return!(r=r||{}).ignoreDecorators&&t.declaration&&t.declaration.decorators&&t.declaration.decorators.length>0?e(t.declaration.decorators[0]):!r.ignoreDecorators&&t.decorators&&t.decorators.length>0?e(t.decorators[0]):t.__location?t.__location.startOffset:t.range?t.range[0]:"number"==typeof t.start?t.start:t.loc?t.loc.start:null},pn=function e(t){var r=t.nodes&&ln(t.nodes);if(r&&t.source&&!t.source.end&&(t=r),t.__location)return t.__location.endOffset;var n=t.range?t.range[1]:"number"==typeof t.end?t.end:null;return t.typeAnnotation?Math.max(n,e(t.typeAnnotation)):t.loc&&!n?t.loc.end:n},fn=p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}}));c(fn);var dn,hn=p((function(e){!function(){function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function r(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=r(t)}while(t);return!1},trailingStatement:r}}()})),yn=p((function(e){!function(){var t,r,n,i,a,s;function o(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(r={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-\u08B2\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\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\u0C59\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\u0D60\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-\u13F4\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\u19C1-\u19C7\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\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-\uAB5F\uAB64\uAB65\uABC0-\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B2\u08E4-\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\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\u0C59\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\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\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-\uAB5F\uAB64\uAB65\uABC0-\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-\uFE2D\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]/},t={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-\u08B2\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\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\u0C59\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\u0D60\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-\u13F4\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\u19C1-\u19C7\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\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-\uAB5F\uAB64\uAB65\uABC0-\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\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]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDE00-\uDE11\uDE13-\uDE2B\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDE00-\uDE2F\uDE44\uDE80-\uDEAA]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\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]|\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-\u08B2\u08E4-\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\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\u0C59\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\u0D60-\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-\u13F4\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-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA69D\uA69F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\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-\uAB5F\uAB64\uAB65\uABC0-\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-\uFE2D\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\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]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDD0-\uDDDA\uDE00-\uDE11\uDE13-\uDE37\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF01-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF98]|\uD809[\uDC00-\uDC6E]|[\uD80C\uD840-\uD868\uD86A-\uD86C][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\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]|\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]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||36===s||95===s;for(a=new Array(128),s=0;s<128;++s)a[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||36===s||95===s;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:r.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES5:function(e){return e<128?a[e]:r.NonAsciiIdentifierPart.test(o(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES6:function(e){return e<128?a[e]:t.NonAsciiIdentifierPart.test(o(e))}}}()})),mn=p((function(e){!function(){var t=yn;function r(e,t){return!(!t&&"yield"===e)&&n(e,t)}function n(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function i(e,t){return"null"===e||"true"===e||"false"===e||r(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function s(e){var r,n,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(r=1,n=e.length;r<n;++r)if(i=e.charCodeAt(r),!t.isIdentifierPartES5(i))return!1;return!0}function o(e){var r,n,i,a,s;if(0===e.length)return!1;for(s=t.isIdentifierStartES6,r=0,n=e.length;r<n;++r){if(55296<=(i=e.charCodeAt(r))&&i<=56319){if(++r>=n)return!1;if(!(56320<=(a=e.charCodeAt(r))&&a<=57343))return!1;i=1024*(i-55296)+(a-56320)+65536}if(!s(i))return!1;s=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:i,isReservedWordES6:a,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:s,isIdentifierNameES6:o,isIdentifierES5:function(e,t){return s(e)&&!i(e,t)},isIdentifierES6:function(e,t){return o(e)&&!a(e,t)}}}()})),vn=p((function(e,t){t.ast=hn,t.code=yn,t.keyword=mn})),gn=p((function(e){e.exports=function(e,t){t=t||gt.argv;var r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return-1!==n&&(-1===i||n<i)}})),Tn=gt.env;function En(e){return function(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}(function(e){if(!1===dn)return 0;if(gn("color=16m")||gn("color=full")||gn("color=truecolor"))return 3;if(gn("color=256"))return 2;if(e&&!e.isTTY&&!0!==dn)return 0;var t=dn?1:0;if("win32"===gt.platform){var r=rr.release().split(".");return Number(gt.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in Tn)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((function(e){return e in Tn}))||"codeship"===Tn.CI_NAME?1:t;if("TEAMCITY_VERSION"in Tn)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Tn.TEAMCITY_VERSION)?1:0;if("truecolor"===Tn.COLORTERM)return 3;if("TERM_PROGRAM"in Tn){var n=parseInt((Tn.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Tn.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Tn.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Tn.TERM)?1:"COLORTERM"in Tn?1:(Tn.TERM,t)}(e))}gn("no-color")||gn("no-colors")||gn("color=false")?dn=!1:(gn("color")||gn("colors")||gn("color=true")||gn("color=always"))&&(dn=!0),"FORCE_COLOR"in Tn&&(dn=0===Tn.FORCE_COLOR.length||0!==parseInt(Tn.FORCE_COLOR,10));var Sn={supportsColor:En,stdout:En(gt.stdout),stderr:En(gt.stderr)},bn=p((function(e){var t=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,r=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,n=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,a=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function s(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):a.get(e)||e}function o(e,t){var r,a=[],o=t.trim().split(/\s*,\s*/g),u=!0,l=!1,c=void 0;try{for(var p,f=o[Symbol.iterator]();!(u=(p=f.next()).done);u=!0){var d=p.value;if(isNaN(d)){if(!(r=d.match(n)))throw new Error("Invalid Chalk template style argument: ".concat(d," (in style '").concat(e,"')"));a.push(r[2].replace(i,(function(e,t,r){return t?s(t):r})))}else a.push(Number(d))}}catch(e){l=!0,c=e}finally{try{u||null==f.return||f.return()}finally{if(l)throw c}}return a}function u(e){r.lastIndex=0;for(var t,n=[];null!==(t=r.exec(e));){var i=t[1];if(t[2]){var a=o(i,t[2]);n.push([i].concat(a))}else n.push([i])}return n}function l(e,t){var r={},n=!0,i=!1,a=void 0;try{for(var s,o=t[Symbol.iterator]();!(n=(s=o.next()).done);n=!0){var u=s.value,l=!0,c=!1,p=void 0;try{for(var f,d=u.styles[Symbol.iterator]();!(l=(f=d.next()).done);l=!0){var h=f.value;r[h[0]]=u.inverse?null:h.slice(1)}}catch(e){c=!0,p=e}finally{try{l||null==d.return||d.return()}finally{if(c)throw p}}}}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}for(var y=e,m=Object.keys(r),v=0;v<m.length;v++){var g=m[v];if(Array.isArray(r[g])){if(!(g in y))throw new Error("Unknown Chalk style: ".concat(g));y=r[g].length>0?y[g].apply(y,r[g]):y[g]}}return y}e.exports=function(e,r){var n=[],i=[],a=[];if(r.replace(t,(function(t,r,o,c,p,f){if(r)a.push(s(r));else if(c){var d=a.join("");a=[],i.push(0===n.length?d:l(e,n)(d)),n.push({inverse:o,styles:u(c)})}else if(p){if(0===n.length)throw new Error("Found extraneous } in Chalk template literal");i.push(l(e,n)(a.join(""))),a=[],n.pop()}else a.push(f)})),i.push(a.join("")),n.length>0){var o="Chalk template literal is missing ".concat(n.length," closing bracket").concat(1===n.length?"":"s"," (`}`)");throw new Error(o)}return i.join("")}})),xn=p((function(e){var t=Sn.stdout,r="win32"===gt.platform&&!(gt.env.TERM||"").toLowerCase().startsWith("xterm"),n=["ansi","ansi","ansi256","ansi16m"],i=new Set(["gray"]),a=Object.create(null);function s(e,r){r=r||{};var n=t?t.level:0;e.level=void 0===r.level?n:r.level,e.enabled="enabled"in r?r.enabled:e.level>0}function o(e){if(!this||!(this instanceof o)||this.template){var t={};return s(t,e),t.template=function(){var e=[].slice.call(arguments);return E.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,o.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=o,t.template}s(this,e)}r&&(Qt.blue.open="");for(var u=Object.keys(Qt),l=function(){var e=u[c];Qt[e].closeRe=new RegExp(Ut(Qt[e].close),"g"),a[e]={get:function(){var t=Qt[e];return g.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}}},c=0;c<u.length;c++)l();a.visible={get:function(){return g.call(this,this._styles||[],!0,"visible")}},Qt.color.closeRe=new RegExp(Ut(Qt.color.close),"g");for(var p=Object.keys(Qt.color.ansi),f=function(){var e=p[d];if(i.has(e))return"continue";a[e]={get:function(){var t=this.level;return function(){var r=Qt.color[n[t]][e].apply(null,arguments),i={open:r,close:Qt.color.close,closeRe:Qt.color.closeRe};return g.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}},d=0;d<p.length;d++)f();Qt.bgColor.closeRe=new RegExp(Ut(Qt.bgColor.close),"g");for(var h=Object.keys(Qt.bgColor.ansi),y=function(){var e=h[m];if(i.has(e))return"continue";var t="bg"+e[0].toUpperCase()+e.slice(1);a[t]={get:function(){var t=this.level;return function(){var r=Qt.bgColor[n[t]][e].apply(null,arguments),i={open:r,close:Qt.bgColor.close,closeRe:Qt.bgColor.closeRe};return g.call(this,this._styles?this._styles.concat(i):[i],this._empty,e)}}}},m=0;m<h.length;m++)y();var v=Object.defineProperties((function(){}),a);function g(e,t,r){var n=function e(){return T.apply(e,arguments)};n._styles=e,n._empty=t;var i=this;return Object.defineProperty(n,"level",{enumerable:!0,get:function(){return i.level},set:function(e){i.level=e}}),Object.defineProperty(n,"enabled",{enumerable:!0,get:function(){return i.enabled},set:function(e){i.enabled=e}}),n.hasGrey=this.hasGrey||"gray"===r||"grey"===r,n.__proto__=v,n}function T(){var e=arguments,t=e.length,n=String(arguments[0]);if(0===t)return"";if(t>1)for(var i=1;i<t;i++)n+=" "+e[i];if(!this.enabled||this.level<=0||!n)return this._empty?"":n;var a=Qt.dim.open;r&&this.hasGrey&&(Qt.dim.open="");var s=!0,o=!1,u=void 0;try{for(var l,c=this._styles.slice().reverse()[Symbol.iterator]();!(s=(l=c.next()).done);s=!0){var p=l.value;n=(n=p.open+n.replace(p.closeRe,p.open)+p.close).replace(/\r?\n/g,"".concat(p.close,"$&").concat(p.open))}}catch(e){o=!0,u=e}finally{try{s||null==c.return||c.return()}finally{if(o)throw u}}return Qt.dim.open=a,n}function E(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");for(var r=[].slice.call(arguments,2),n=[t.raw[0]],i=1;i<t.length;i++)n.push(String(r[i-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[i]));return bn(e,n.join(""))}Object.defineProperties(o.prototype,a),e.exports=o(),e.exports.supportsColor=t,e.exports.default=e.exports})),Dn=p((function(e,t){function r(){var e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(fn);return r=function(){return e},e}function n(){var e=a(vn);return n=function(){return e},e}function i(){var e=a(xn);return i=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldHighlight=c,t.getChalk=p,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c(t)?function(e,t){return t.replace(r().default,(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=l(r),a=e[i];return a?r[0].split(s).map((function(e){return a(e)})).join("\n"):r[0]}))}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(p(t)),e):e};var s=/\r\n|[\n\r\u2028\u2029]/,o=/^[a-z][\w-]*$/i,u=/^[()[\]{}]$/;function l(e){var t=N(e.slice(-2),2),i=t[0],a=t[1],s=(0,r().matchToToken)(e);if("name"===s.type){if(n().default.keyword.isReservedWordES6(s.value))return"keyword";if(o.test(s.value)&&("<"===a[i-1]||"</"==a.substr(i-2,2)))return"jsx_tag";if(s.value[0]!==s.value[0].toLowerCase())return"capitalized"}return"punctuator"===s.type&&u.test(s.value)?"bracket":"invalid"!==s.type||"@"!==s.value&&"#"!==s.value?s.type:"punctuator"}function c(e){return i().default.supportsColor||e.forceColor}function p(e){var t=i().default;return e.forceColor&&(t=new(i().default.constructor)({enabled:!0,level:1})),t}}));c(Dn);var An=p((function(e,t){function r(){var e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(Dn);return r=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=a,t.default=function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!n){n=!0;var s="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";gt.emitWarning?gt.emitWarning(s,"DeprecationWarning"):(new Error(s).name="DeprecationWarning",console.warn(new Error(s)))}return r=Math.max(r,0),a(e,{start:{column:r,line:t}},i)};var n=!1,i=/\r\n|[\n\r\u2028\u2029]/;function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(n.highlightCode||n.forceColor)&&(0,r().shouldHighlight)(n),s=(0,r().getChalk)(n),o=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(s),u=function(e,t){return a?e(t):t};a&&(e=(0,r().default)(e,n));var l=e.split(i),c=function(e,t,r){var n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),a=r||{},s=a.linesAbove,o=void 0===s?2:s,u=a.linesBelow,l=void 0===u?3:u,c=n.line,p=n.column,f=i.line,d=i.column,h=Math.max(c-(o+1),0),y=Math.min(t.length,f+l);-1===c&&(h=0),-1===f&&(y=t.length);var m=f-c,v={};if(m)for(var g=0;g<=m;g++){var T=g+c;if(p)if(0===g){var E=t[T-1].length;v[T]=[p,E-p]}else if(g===m)v[T]=[0,d];else{var S=t[T-g].length;v[T]=[0,S]}else v[T]=!0}else v[c]=p===d?!p||[p,0]:[p,d-p];return{start:h,end:y,markerLines:v}}(t,l,n),p=c.start,f=c.end,d=c.markerLines,h=t.start&&"number"==typeof t.start.column,y=String(f).length,m=l.slice(p,f).map((function(e,t){var r=p+1+t,i=" ".concat(r).slice(-y),a=" ".concat(i," | "),s=d[r],l=!d[r+1];if(s){var c="";if(Array.isArray(s)){var f=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),h=s[1]||1;c=["\n ",u(o.gutter,a.replace(/\d/g," ")),f,u(o.marker,"^").repeat(h)].join(""),l&&n.message&&(c+=" "+u(o.message,n.message))}return[u(o.marker,">"),u(o.gutter,a),e,c].join("")}return" ".concat(u(o.gutter,a)).concat(e)})).join("\n");return n.message&&!h&&(m="".concat(" ".repeat(y+1)).concat(n.message,"\n").concat(m)),a?s.reset(m):m}}));c(An);var Cn=$e.ConfigError,Pn=cn,wn=pn,_n=Object.getOwnPropertyNames,On=Object.getOwnPropertyDescriptor;function Fn(e){var t={},r=!0,n=!1,i=void 0;try{for(var a,s=e.plugins[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var o=a.value;if(o.parsers){var u=!0,l=!1,c=void 0;try{for(var p,f=_n(o.parsers)[Symbol.iterator]();!(u=(p=f.next()).done);u=!0){var d=p.value;Object.defineProperty(t,d,On(o.parsers,d))}}catch(e){l=!0,c=e}finally{try{u||null==f.return||f.return()}finally{if(l)throw c}}}}}catch(e){n=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}return t}function Nn(e,t){if(t=t||Fn(e),"function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:Pn,locEnd:wn};if("string"==typeof e.parser){if(t.hasOwnProperty(e.parser))return t[e.parser];throw new Cn("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}var In={parse:function(e,t){var r=Fn(t),n=Object.keys(r).reduce((function(e,t){return Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t].parse}})}),{}),i=Nn(t,r);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,n,t)}}catch(t){var a=t.loc;if(a){var s=An;throw t.codeFrame=s.codeFrameColumns(e,a,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}},resolveParser:Nn},kn=$e.UndefinedParserError,Ln=Nt.getSupportInfo,Mn=In.resolveParser,Bn={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function jn(e,t){var r=$(e).split("/"),n=r[r.length-1].toLowerCase(),i=Ln(null,{plugins:t}).languages.find((function(t){return null!==t.since&&(t.extensions&&t.extensions.some((function(e){return n.endsWith(e)}))||t.filenames&&t.filenames.find((function(e){return e.toLowerCase()===n}))||-1===n.indexOf(".")&&t.interpreters&&-1!==t.interpreters.indexOf(function(e){if("string"!=typeof e)return"";var t;try{t=Ye.openSync(e,"r")}catch(e){return""}try{var r=new We(t).next().toString("utf8"),n=r.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(n)return n[1];var i=r.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return i?i[1]:""}catch(e){return""}finally{try{Ye.closeSync(t)}catch(e){}}}(e)))}));return i&&i.parsers[0]}var Rn=function(e,t){t=t||{};var r=Object.assign({},e),n=Ln(null,{plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,i=n.reduce((function(e,t){return void 0!==t.default?Object.assign(e,x({},t.name,t.default)):e}),Object.assign({},Bn));if(!r.parser)if(r.filepath){if(r.parser=jn(r.filepath,r.plugins),!r.parser)throw new kn("No parser could be inferred for file: ".concat(r.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),r.parser="babel";var a=Mn(un.normalizeApiOptions(r,[n.find((function(e){return"parser"===e.name}))],{passThrough:!0,logger:!1}));r.astFormat=a.astFormat,r.locEnd=a.locEnd,r.locStart=a.locStart;var s=function(e){var t=e.astFormat;if(!t)throw new Error("getPlugin() requires astFormat to be set");var r=e.plugins.find((function(e){return e.printers&&e.printers[t]}));if(!r)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return r}(r);r.printer=s.printers[r.astFormat];var o=n.filter((function(e){return e.pluginDefaults&&e.pluginDefaults[s.name]})).reduce((function(e,t){return Object.assign(e,x({},t.name,t.pluginDefaults[s.name]))}),{}),u=Object.assign({},i,o);return Object.keys(u).forEach((function(e){null==r[e]&&(r[e]=u[e])})),"json"===r.parser&&(r.trailingComma="none"),un.normalizeApiOptions(r,n,Object.assign({passThrough:Object.keys(Bn)},t))},Vn=function e(t,r,n){if(Array.isArray(t))return t.map((function(t){return e(t,r,n)})).filter((function(e){return e}));if(!t||"object"!==T(t))return t;for(var i={},a=Object.keys(t),s=0;s<a.length;s++){var o=a[s];"function"!=typeof t[o]&&(i[o]=e(t[o],r,t))}if(r.printer.massageAstNode){var u=r.printer.massageAstNode(t,i,n);if(null===u)return;if(u)return u}return i};function qn(){}qn.ok=function(){},qn.strictEqual=function(){};var Un=Object.freeze({default:qn});function Kn(e){return{type:"concat",parts:e}}function Xn(e){return{type:"indent",contents:e}}function Jn(e,t){return{type:"align",contents:t,n:e}}function Yn(e,t){return{type:"group",id:(t=t||{}).id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}var Wn={type:"break-parent"},$n=Kn([{type:"line",hard:!0},Wn]),Hn=Kn([{type:"line",hard:!0,literal:!0},Wn]),zn={concat:Kn,join:function(e,t){for(var r=[],n=0;n<t.length;n++)0!==n&&r.push(e),r.push(t[n]);return Kn(r)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:$n,literalline:Hn,group:Yn,conditionalGroup:function(e,t){return Yn(e[0],Object.assign(t||{},{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:Wn,ifBreak:function(e,t,r){return{type:"if-break",breakContents:e,flatContents:t,groupId:(r=r||{}).groupId}},trim:{type:"trim"},indent:Xn,align:Jn,addAlignmentToDoc:function(e,t,r){var n=e;if(t>0){for(var i=0;i<Math.floor(t/r);++i)n=Xn(n);n=Jn(t%r,n),n=Jn(-1/0,n)}return n},markAsRoot:function(e){return Jn({type:"root"},e)},dedentToRoot:function(e){return Jn(-1/0,e)},dedent:function(e){return Jn(-1,e)}},Gn=p((function(e){e.exports=function(e){e=Object.assign({onlyFirst:!1},e);var t=["[\\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(t,e.onlyFirst?void 0:"g")}})),Qn=p((function(e){e.exports=function(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}})),Zn=p((function(e){var t=/\uD83C\uDFF4(?:\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74)\uDB40\uDC7F|\u200D\u2620\uFE0F)|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC68(?:\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])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3]))|\uD83D\uDC69\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[\uDDB0-\uDDB3])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\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\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83D\uDC69\u200D[\u2695\u2696\u2708])\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC68(?:\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3])|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|(?:\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\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\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDD1-\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\uDEEB\uDEEC\uDEF4-\uDEF9]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD70\uDD73-\uDD76\uDD7A\uDD7C-\uDDA2\uDDB0-\uDDB9\uDDC0-\uDDC2\uDDD0-\uDDFF])|(?:[#\*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\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF9]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD70\uDD73-\uDD76\uDD7A\uDD7C-\uDDA2\uDDB0-\uDDB9\uDDC0-\uDDC2\uDDD0-\uDDFF])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDD1-\uDDDD])/g;e.exports=function(e){if("string"!=typeof(e=e.replace(t," "))||0===e.length)return 0;e=function(e){return"string"==typeof e?e.replace(Gn(),""):e}(e);for(var r=0,n=0;n<e.length;n++){var i=e.codePointAt(n);i<=31||i>=127&&i<=159||i>=768&&i<=879||(i>65535&&n++,r+=Qn(i)?2:1)}return r}})),ei=/[^\x20-\x7F]/;function ti(e){if(e)switch(e.type){case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}function ri(e){return function(t,r,n){var i=n&&n.backwards;if(!1===r)return!1;for(var a=t.length,s=r;s>=0&&s<a;){var o=t.charAt(s);if(e instanceof RegExp){if(!e.test(o))return s}else if(-1===e.indexOf(o))return s;i?s--:s++}return(-1===s||s===a)&&s}}var ni=ri(/\s/),ii=ri(" \t"),ai=ri(",; \t"),si=ri(/[^\r\n]/);function oi(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(var r=t+2;r<e.length;++r)if("*"===e.charAt(r)&&"/"===e.charAt(r+1))return r+2;return t}function ui(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?si(e,t):t)}function li(e,t,r){var n=r&&r.backwards;if(!1===t)return!1;var i=e.charAt(t);if(n){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}function ci(e,t,r){var n=ii(e,(r=r||{}).backwards?t-1:t,r);return n!==li(e,n,r)}function pi(e,t){for(var r=null,n=t;n!==r;)r=n,n=oi(e,n=ai(e,n)),n=ii(e,n);return ci(e,n=li(e,n=ui(e,n)))}function fi(e,t){for(var r=null;t!==r;)r=t,t=li(e,t=ui(e,t=oi(e,t=ii(e,t))));return t}function di(e,t,r){return fi(e,r(t))}var hi={};function yi(e){return hi[e]}[["|>"],["||","??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((function(e,t){e.forEach((function(e){hi[e]=t}))}));var mi={"==":!0,"!=":!0,"===":!0,"!==":!0},vi={"*":!0,"/":!0,"%":!0},gi={">>":!0,">>>":!0,"<<":!0};function Ti(e,t,r){for(var n=0,i=r=r||0;i<e.length;++i)"\t"===e[i]?n=n+t-n%t:n++;return n}function Ei(e,t){var r=e.slice(1,-1),n={quote:'"',regex:/"/g},i={quote:"'",regex:/'/g},a="'"===t?i:n,s=a===i?n:i,o=a.quote;return(r.includes(a.quote)||r.includes(s.quote))&&(o=(r.match(a.regex)||[]).length>(r.match(s.regex)||[]).length?s.quote:a.quote),o}function Si(e,t,r){var n='"'===t?"'":'"',i=e.replace(/\\([\s\S])|(['"])/g,(function(e,i,a){return i===n?i:a===t?"\\"+a:a||(r&&/^[^\\nrvtbfux\r\n\u2028\u2029"'0-7]$/.test(i)?i:"\\"+i)}));return t+i+t}function bi(e){return e&&e.comments&&e.comments.length>0&&e.comments.some((function(e){return"prettier-ignore"===e.value.trim()}))}function xi(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,"JSXText"===e.type&&(t.printed=!0)}var Di,Ai={replaceEndOfLineWith:function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var s,o=e.split("\n")[Symbol.iterator]();!(n=(s=o.next()).done);n=!0){var u=s.value;0!==r.length&&r.push(t),r.push(u)}}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}return r},getStringWidth:function(e){return e?ei.test(e)?Zn(e):e.length:0},getMaxContinuousCount:function(e,t){var r=e.match(new RegExp("(".concat(Ut(t),")+"),"g"));return null===r?0:r.reduce((function(e,r){return Math.max(e,r.length/t.length)}),0)},getPrecedence:yi,shouldFlatten:function(e,t){return!(yi(t)!==yi(e)||"**"===e||mi[e]&&mi[t]||"%"===t&&vi[e]||"%"===e&&vi[t]||t!==e&&vi[t]&&vi[e]||gi[e]&&gi[t])},isBitwiseOperator:function(e){return!!gi[e]||"|"===e||"^"===e||"&"===e},isExportDeclaration:ti,getParentExportDeclaration:function(e){var t=e.getParentNode();return"declaration"===e.getName()&&ti(t)?t:null},getPenultimate:function(e){return e.length>1?e[e.length-2]:null},getLast:ln,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:fi,getNextNonSpaceNonCommentCharacterIndex:di,getNextNonSpaceNonCommentCharacter:function(e,t,r){return e.charAt(di(e,t,r))},skip:ri,skipWhitespace:ni,skipSpaces:ii,skipToLineEnd:ai,skipEverythingButNewLine:si,skipInlineComment:oi,skipTrailingComment:ui,skipNewline:li,isNextLineEmptyAfterIndex:pi,isNextLineEmpty:function(e,t,r){return pi(e,r(t))},isPreviousLineEmpty:function(e,t,r){var n=r(t)-1;return n=li(e,n=ii(e,n,{backwards:!0}),{backwards:!0}),(n=ii(e,n,{backwards:!0}))!==li(e,n,{backwards:!0})},hasNewline:ci,hasNewlineInRange:function(e,t,r){for(var n=t;n<r;++n)if("\n"===e.charAt(n))return!0;return!1},hasSpaces:function(e,t,r){return ii(e,(r=r||{}).backwards?t-1:t,r)!==t},setLocStart:function(e,t){e.range?e.range[0]=t:e.start=t},setLocEnd:function(e,t){e.range?e.range[1]=t:e.end=t},startsWithNoLookaheadToken:function e(t,r){switch((t=function e(t){return t.left?e(t.left):t}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return r;case"ObjectExpression":return!0;case"MemberExpression":return e(t.object,r);case"TaggedTemplateExpression":return"FunctionExpression"!==t.tag.type&&e(t.tag,r);case"CallExpression":return"FunctionExpression"!==t.callee.type&&e(t.callee,r);case"ConditionalExpression":return e(t.test,r);case"UpdateExpression":return!t.prefix&&e(t.argument,r);case"BindExpression":return t.object&&e(t.object,r);case"SequenceExpression":return e(t.expressions[0],r);case"TSAsExpression":return e(t.expression,r);default:return!1}},getAlignmentSize:Ti,getIndentSize:function(e,t){var r=e.lastIndexOf("\n");return-1===r?0:Ti(e.slice(r+1).match(/^[ \t]*/)[0],t)},getPreferredQuote:Ei,printString:function(e,t,r){var n=e.slice(1,-1),i=!n.includes('"')&&!n.includes("'"),a="json"===t.parser?'"':t.__isInHtmlAttribute?"'":Ei(e,t.singleQuote?"'":'"');return r?i?a+n+a:e:Si(n,a,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||"html"===t.parentParser||"vue"===t.parentParser||"angular"===t.parentParser||"lwc"===t.parentParser))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},hasIgnoreComment:function(e){return bi(e.getValue())},hasNodeIgnoreComment:bi,makeString:Si,matchAncestorTypes:function(e,t,r){for(r=r||0,t=t.slice();t.length;){var n=e.getParentNode(r),i=t.shift();if(!n||n.type!==i)return!1;r++}return!0},addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,xi(e,t)},addDanglingComment:function(e,t){t.leading=!1,t.trailing=!1,xi(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,xi(e,t)},isWithinParentArrayProperty:function(e,t){var r=e.getValue(),n=e.getParentNode();if(null==n)return!1;if(!Array.isArray(n[t]))return!1;var i=e.getName();return n[t][i]===r}},Ci=function(e){var t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"},Pi=function(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}},wi=Ai.getStringWidth,_i=Pi,Oi=zn.concat,Fi=zn.fill,Ni=zn.cursor,Ii=1,ki=2;function Li(e,t){return Bi(e,{type:"indent"},t)}function Mi(e,t,r){return t===-1/0?e.root||{value:"",length:0,queue:[]}:t<0?Bi(e,{type:"dedent"},r):t?"root"===t.type?Object.assign({},e,{root:e}):Bi(e,"string"==typeof t?{type:"stringAlign",n:t}:{type:"numberAlign",n:t},r):e}function Bi(e,t,r){var n="dedent"===t.type?e.queue.slice(0,-1):e.queue.concat(t),i="",a=0,s=0,o=0,u=!0,l=!1,c=void 0;try{for(var p,f=n[Symbol.iterator]();!(u=(p=f.next()).done);u=!0){var d=p.value;switch(d.type){case"indent":m(),r.useTabs?h(1):y(r.tabWidth);break;case"stringAlign":m(),i+=d.n,a+=d.n.length;break;case"numberAlign":s+=1,o+=d.n;break;default:throw new Error("Unexpected type '".concat(d.type,"'"))}}}catch(e){l=!0,c=e}finally{try{u||null==f.return||f.return()}finally{if(l)throw c}}return v(),Object.assign({},e,{value:i,length:a,queue:n});function h(e){i+="\t".repeat(e),a+=r.tabWidth*e}function y(e){i+=" ".repeat(e),a+=e}function m(){r.useTabs?(s>0&&h(s),g()):v()}function v(){o>0&&y(o),g()}function g(){s=0,o=0}}function ji(e){if(0===e.length)return 0;for(var t=0;e.length>0&&"string"==typeof e[e.length-1]&&e[e.length-1].match(/^[ \t]*$/);)t+=e.pop().length;if(e.length&&"string"==typeof e[e.length-1]){var r=e[e.length-1].replace(/[ \t]*$/,"");t+=e[e.length-1].length-r.length,e[e.length-1]=r}return t}function Ri(e,t,r,n,i){for(var a=t.length,s=[e],o=[];r>=0;)if(0!==s.length){var u=s.pop(),l=u[0],c=u[1],p=u[2];if("string"==typeof p)o.push(p),r-=wi(p);else switch(p.type){case"concat":for(var f=p.parts.length-1;f>=0;f--)s.push([l,c,p.parts[f]]);break;case"indent":s.push([Li(l,n),c,p.contents]);break;case"align":s.push([Mi(l,p.n,n),c,p.contents]);break;case"trim":r+=ji(o);break;case"group":if(i&&p.break)return!1;s.push([l,p.break?Ii:c,p.contents]),p.id&&(Di[p.id]=s[s.length-1][1]);break;case"fill":for(var d=p.parts.length-1;d>=0;d--)s.push([l,c,p.parts[d]]);break;case"if-break":var h=p.groupId?Di[p.groupId]:c;h===Ii&&p.breakContents&&s.push([l,c,p.breakContents]),h===ki&&p.flatContents&&s.push([l,c,p.flatContents]);break;case"line":switch(c){case ki:if(!p.hard){p.soft||(o.push(" "),r-=1);break}return!0;case Ii:return!0}}}else{if(0===a)return!0;s.push(t[a-1]),a--}return!1}var Vi={};function qi(e,t,r,n){for(var i=[e];0!==i.length;){var a=i.pop();if(a!==Vi){var s=!0;if(t&&!1===t(a)&&(s=!1),r&&(i.push(a),i.push(Vi)),s)if("concat"===a.type||"fill"===a.type)for(var o=a.parts.length-1;o>=0;--o)i.push(a.parts[o]);else if("if-break"===a.type)a.flatContents&&i.push(a.flatContents),a.breakContents&&i.push(a.breakContents);else if("group"===a.type&&a.expandedStates)if(n)for(var u=a.expandedStates.length-1;u>=0;--u)i.push(a.expandedStates[u]);else i.push(a.contents);else a.contents&&i.push(a.contents)}else r(i.pop())}}function Ui(e,t){if("concat"===e.type||"fill"===e.type){var r=e.parts.map((function(e){return Ui(e,t)}));return t(Object.assign({},e,{parts:r}))}if("if-break"===e.type){var n=e.breakContents&&Ui(e.breakContents,t),i=e.flatContents&&Ui(e.flatContents,t);return t(Object.assign({},e,{breakContents:n,flatContents:i}))}if(e.contents){var a=Ui(e.contents,t);return t(Object.assign({},e,{contents:a}))}return t(e)}function Ki(e,t,r){var n=r,i=!1;return qi(e,(function(e){var r=t(e);if(void 0!==r&&(i=!0,n=r),i)return!1})),n}function Xi(e){return"string"!=typeof e&&("line"===e.type||void 0)}function Ji(e){return!("group"!==e.type||!e.break)||!("line"!==e.type||!e.hard)||"break-parent"===e.type||void 0}function Yi(e){if(e.length>0){var t=e[e.length-1];t.expandedStates||(t.break=!0)}return null}function Wi(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function $i(e){if("concat"===e.type){for(var t=[],r=0;r<e.parts.length;++r){var n=e.parts[r];if("string"!=typeof n&&"concat"===n.type)[].push.apply(t,$i(n).parts);else{var i=$i(n);""!==i&&t.push(i)}}return Object.assign({},e,{parts:t})}return"if-break"===e.type?Object.assign({},e,{breakContents:null!=e.breakContents?$i(e.breakContents):null,flatContents:null!=e.flatContents?$i(e.flatContents):null}):"group"===e.type?Object.assign({},e,{contents:$i(e.contents),expandedStates:e.expandedStates?e.expandedStates.map($i):e.expandedStates}):e.contents?Object.assign({},e,{contents:$i(e.contents)}):e}function Hi(e){if("string"==typeof e)return JSON.stringify(e);if("line"===e.type)return e.literal?"literalline":e.hard?"hardline":e.soft?"softline":"line";if("break-parent"===e.type)return"breakParent";if("trim"===e.type)return"trim";if("concat"===e.type)return"["+e.parts.map(Hi).join(", ")+"]";if("indent"===e.type)return"indent("+Hi(e.contents)+")";if("align"===e.type)return e.n===-1/0?"dedentToRoot("+Hi(e.contents)+")":e.n<0?"dedent("+Hi(e.contents)+")":"root"===e.n.type?"markAsRoot("+Hi(e.contents)+")":"align("+JSON.stringify(e.n)+", "+Hi(e.contents)+")";if("if-break"===e.type)return"ifBreak("+Hi(e.breakContents)+(e.flatContents?", "+Hi(e.flatContents):"")+")";if("group"===e.type)return e.expandedStates?"conditionalGroup(["+e.expandedStates.map(Hi).join(",")+"])":(e.break?"wrappedGroup":"group")+"("+Hi(e.contents)+")";if("fill"===e.type)return"fill("+e.parts.map(Hi).join(", ")+")";if("line-suffix"===e.type)return"lineSuffix("+Hi(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";throw new Error("Unknown doc type "+e.type)}var zi={builders:zn,printer:{printDocToString:function(e,t){Di={};for(var r=t.printWidth,n=_i(t.endOfLine),i=0,a=[[{value:"",length:0,queue:[]},Ii,e]],s=[],o=!1,u=[];0!==a.length;){var l=a.pop(),c=l[0],p=l[1],f=l[2];if("string"==typeof f)s.push(f),i+=wi(f);else switch(f.type){case"cursor":s.push(Ni.placeholder);break;case"concat":for(var d=f.parts.length-1;d>=0;d--)a.push([c,p,f.parts[d]]);break;case"indent":a.push([Li(c,t),p,f.contents]);break;case"align":a.push([Mi(c,f.n,t),p,f.contents]);break;case"trim":i-=ji(s);break;case"group":switch(p){case ki:if(!o){a.push([c,f.break?Ii:ki,f.contents]);break}case Ii:o=!1;var h=[c,ki,f.contents],y=r-i;if(!f.break&&Ri(h,a,y,t))a.push(h);else if(f.expandedStates){var m=f.expandedStates[f.expandedStates.length-1];if(f.break){a.push([c,Ii,m]);break}for(var v=1;v<f.expandedStates.length+1;v++){if(v>=f.expandedStates.length){a.push([c,Ii,m]);break}var g=f.expandedStates[v],T=[c,ki,g];if(Ri(T,a,y,t)){a.push(T);break}}}else a.push([c,Ii,f.contents])}f.id&&(Di[f.id]=a[a.length-1][1]);break;case"fill":var E=r-i,S=f.parts;if(0===S.length)break;var b=S[0],x=[c,ki,b],D=[c,Ii,b],A=Ri(x,[],E,t,!0);if(1===S.length){A?a.push(x):a.push(D);break}var C=S[1],P=[c,ki,C],w=[c,Ii,C];if(2===S.length){A?(a.push(P),a.push(x)):(a.push(w),a.push(D));break}S.splice(0,2);var _=[c,p,Fi(S)],O=S[0];Ri([c,ki,Oi([b,C,O])],[],E,t,!0)?(a.push(_),a.push(P),a.push(x)):A?(a.push(_),a.push(w),a.push(x)):(a.push(_),a.push(w),a.push(D));break;case"if-break":var F=f.groupId?Di[f.groupId]:p;F===Ii&&f.breakContents&&a.push([c,p,f.breakContents]),F===ki&&f.flatContents&&a.push([c,p,f.flatContents]);break;case"line-suffix":u.push([c,p,f.contents]);break;case"line-suffix-boundary":u.length>0&&a.push([c,p,{type:"line",hard:!0}]);break;case"line":switch(p){case ki:if(!f.hard){f.soft||(s.push(" "),i+=1);break}o=!0;case Ii:if(u.length){a.push([c,p,f]),[].push.apply(a,u.reverse()),u=[];break}f.literal?c.root?(s.push(n,c.root.value),i=c.root.length):(s.push(n),i=0):(i-=ji(s),s.push(n+c.value),i=c.length)}}}var N=s.indexOf(Ni.placeholder);if(-1!==N){var I=s.indexOf(Ni.placeholder,N+1),k=s.slice(0,N).join(""),L=s.slice(N+1,I).join("");return{formatted:k+L+s.slice(I+1).join(""),cursorNodeStart:k.length,cursorNodeText:L}}return{formatted:s.join("")}}},utils:{isEmpty:function(e){return"string"==typeof e&&0===e.length},willBreak:function(e){return Ki(e,Ji,!1)},isLineNext:function(e){return Ki(e,Xi,!1)},traverseDoc:qi,mapDoc:Ui,propagateBreaks:function(e){var t=new Set,r=[];qi(e,(function(e){if("break-parent"===e.type&&Yi(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}}),(function(e){"group"===e.type&&r.pop().break&&Yi(r)}),!0)},removeLines:function(e){return Ui(e,Wi)},stripTrailingHardline:function e(t){if("concat"===t.type&&0!==t.parts.length){var r=t.parts[t.parts.length-1];if("concat"===r.type)return 2===r.parts.length&&r.parts[0].hard&&"break-parent"===r.parts[1].type?{type:"concat",parts:t.parts.slice(0,-1)}:{type:"concat",parts:t.parts.slice(0,-1).concat(e(r))}}return t}},debug:{printDocToDebug:function(e){return Hi($i(e))}}},Gi=zi.utils.mapDoc,Qi={getMaxContinuousCount:Ai.getMaxContinuousCount,getStringWidth:Ai.getStringWidth,getAlignmentSize:Ai.getAlignmentSize,getIndentSize:Ai.getIndentSize,skip:Ai.skip,skipWhitespace:Ai.skipWhitespace,skipSpaces:Ai.skipSpaces,skipNewline:Ai.skipNewline,skipToLineEnd:Ai.skipToLineEnd,skipEverythingButNewLine:Ai.skipEverythingButNewLine,skipInlineComment:Ai.skipInlineComment,skipTrailingComment:Ai.skipTrailingComment,hasNewline:Ai.hasNewline,hasNewlineInRange:Ai.hasNewlineInRange,hasSpaces:Ai.hasSpaces,isNextLineEmpty:function(e,t,r){return Ai.isNextLineEmpty(e,t,r.locEnd)},isNextLineEmptyAfterIndex:Ai.isNextLineEmptyAfterIndex,isPreviousLineEmpty:function(e,t,r){return Ai.isPreviousLineEmpty(e,t,r.locStart)},getNextNonSpaceNonCommentCharacterIndex:function(e,t,r){return Ai.getNextNonSpaceNonCommentCharacterIndex(e,t,r.locEnd)},mapDoc:Gi,makeString:Ai.makeString,addLeadingComment:Ai.addLeadingComment,addDanglingComment:Ai.addDanglingComment,addTrailingComment:Ai.addTrailingComment},Zi=Un&&qn||Un,ea=zi.builders,ta=ea.concat,ra=ea.hardline,na=ea.breakParent,ia=ea.indent,aa=ea.lineSuffix,sa=ea.join,oa=ea.cursor,ua=Ai.hasNewline,la=Ai.skipNewline,ca=Ai.isPreviousLineEmpty,pa=Qi.addLeadingComment,fa=Qi.addDanglingComment,da=Qi.addTrailingComment,ha=Symbol("child-nodes");function ya(e,t,r){if(e){var n,i=t.printer,a=t.locStart,s=t.locEnd;if(r){if(e&&i.canAttachComment&&i.canAttachComment(e)){var o;for(o=r.length-1;o>=0&&!(a(r[o])<=a(e)&&s(r[o])<=s(e));--o);return void r.splice(o+1,0,e)}}else if(e[ha])return e[ha];if(i.getCommentChildNodes?n=i.getCommentChildNodes(e):e&&"object"===T(e)&&(n=Object.keys(e).filter((function(e){return"enclosingNode"!==e&&"precedingNode"!==e&&"followingNode"!==e})).map((function(t){return e[t]}))),n)return r||Object.defineProperty(e,ha,{value:r=[],enumerable:!1}),n.forEach((function(e){ya(e,t,r)})),r}}function ma(e,t,r){var n=e.length;if(0!==n){var i,a=e[0],s=a.precedingNode,o=a.followingNode,u=r.locStart(o);for(i=n;i>0;--i){var l=e[i-1];Zi.strictEqual(l.precedingNode,s),Zi.strictEqual(l.followingNode,o);var c=t.slice(r.locEnd(l),u).trim();if(""!==c&&!/^\(+$/.test(c))break;u=r.locStart(l)}e.forEach((function(e,t){t<i?da(s,e):pa(o,e)})),e.length=0}}function va(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function ga(e,t,r){for(var n=r.locStart(t)-1,i=1;i<e.length;++i)if(n<(a=e[i],void 0!==a.start?{start:a.start,end:a.end}:{start:a.range[0],end:a.range[1]}).start)return i-1;var a;return 0}function Ta(e,t,r){return e.getNode()===t.cursorNode&&e.getValue()?ta([oa,r,oa]):r}var Ea={attach:function(e,t,r,n){if(Array.isArray(e)){var i=[],a=n.locStart,s=n.locEnd;e.forEach((function(o,u){if("json"===n.parser||"json5"===n.parser||"__js_expression"===n.parser||"__vue_expression"===n.parser){if(a(o)-a(t)<=0)return void pa(t,o);if(s(o)-s(t)>=0)return void da(t,o)}!function e(t,r,n){for(var i,a,s=n.locStart,o=n.locEnd,u=ya(t,n),l=0,c=u.length;l<c;){var p=l+c>>1,f=u[p];if(s(f)-s(r)<=0&&o(r)-o(f)<=0)return r.enclosingNode=f,void e(f,r,n);if(o(f)-s(r)<=0)i=f,l=p+1;else{if(!(o(r)-s(f)<=0))throw new Error("Comment location overlaps with node location");a=f,c=p}}if(r.enclosingNode&&"TemplateLiteral"===r.enclosingNode.type){var d=r.enclosingNode.quasis,h=ga(d,r,n);i&&ga(d,i,n)!==h&&(i=null),a&&ga(d,a,n)!==h&&(a=null)}i&&(r.precedingNode=i),a&&(r.followingNode=a)}(t,o,n);var l=o.precedingNode,c=o.enclosingNode,p=o.followingNode,f=n.printer.handleComments&&n.printer.handleComments.ownLine?n.printer.handleComments.ownLine:function(){return!1},d=n.printer.handleComments&&n.printer.handleComments.endOfLine?n.printer.handleComments.endOfLine:function(){return!1},h=n.printer.handleComments&&n.printer.handleComments.remaining?n.printer.handleComments.remaining:function(){return!1},y=e.length-1===u;if(ua(r,a(o),{backwards:!0}))f(o,r,n,t,y)||(p?pa(p,o):l?da(l,o):fa(c||t,o));else if(ua(r,s(o)))d(o,r,n,t,y)||(l?da(l,o):p?pa(p,o):fa(c||t,o));else if(h(o,r,n,t,y));else if(l&&p){var m=i.length;m>0&&i[m-1].followingNode!==o.followingNode&&ma(i,r,n),i.push(o)}else l?da(l,o):p?pa(p,o):fa(c||t,o)})),ma(i,r,n),e.forEach((function(e){delete e.precedingNode,delete e.enclosingNode,delete e.followingNode}))}},printComments:function(e,t,r,n){var i=e.getValue(),a=t(e),s=i&&i.comments;if(!s||0===s.length)return Ta(e,r,a);var o=[],u=[n?";":"",a];return e.each((function(e){var t=e.getValue(),n=t.leading,i=t.trailing;if(n){var a=function(e,t,r){var n=e.getValue(),i=va(e,r);if(!i)return"";var a=r.printer.isBlockComment&&r.printer.isBlockComment(n);return ta(a?[i,ua(r.originalText,r.locEnd(n))?ra:" "]:[i,ra])}(e,0,r);if(!a)return;o.push(a);var s=r.originalText;ua(s,la(s,r.locEnd(t)))&&o.push(ra)}else i&&u.push(function(e,t,r){var n=e.getValue(),i=va(e,r);if(!i)return"";var a=r.printer.isBlockComment&&r.printer.isBlockComment(n),s=e.getNode(1),o=e.getNode(2),u=o&&("ClassDeclaration"===o.type||"ClassExpression"===o.type)&&o.superClass===s;if(ua(r.originalText,r.locStart(n),{backwards:!0})){var l=ca(r.originalText,n,r.locStart);return aa(ta([ra,l?ra:"",i]))}return ta(a||u?[" ",i]:[aa(ta([" ",i])),a?"":na])}(e,0,r))}),"comments"),Ta(e,r,ta(o.concat(u)))},printDanglingComments:function(e,t,r,n){var i=[],a=e.getValue();return a&&a.comments?(e.each((function(e){var r=e.getValue();!r||r.leading||r.trailing||n&&!n(r)||i.push(va(e,t))}),"comments"),0===i.length?"":r?sa(ra,i):ia(ta([ra,sa(ra,i)]))):""},getSortedChildNodes:ya};function Sa(e){Zi.ok(this instanceof Sa),this.stack=[e]}function ba(e,t){var r=xa(e.stack,t);return-1===r?null:e.stack[r]}function xa(e,t){for(var r=e.length-1;r>=0;r-=2){var n=e[r];if(n&&!Array.isArray(n)&&--t<0)return r}return-1}Sa.prototype.getName=function(){var e=this.stack,t=e.length;return t>1?e[t-2]:null},Sa.prototype.getValue=function(){var e=this.stack;return e[e.length-1]},Sa.prototype.getNode=function(e){return ba(this,~~e)},Sa.prototype.getParentNode=function(e){return ba(this,1+~~e)},Sa.prototype.call=function(e){for(var t=this.stack,r=t.length,n=t[r-1],i=arguments.length,a=1;a<i;++a){var s=arguments[a];n=n[s],t.push(s,n)}var o=e(this);return t.length=r,o},Sa.prototype.callParent=function(e,t){var r=xa(this.stack,1+~~t),n=this.stack.splice(r+1),i=e(this);return Array.prototype.push.apply(this.stack,n),i},Sa.prototype.each=function(e){for(var t=this.stack,r=t.length,n=t[r-1],i=arguments.length,a=1;a<i;++a){var s=arguments[a];n=n[s],t.push(s,n)}for(var o=0;o<n.length;++o)o in n&&(t.push(o,n[o]),e(this),t.length-=2);t.length=r},Sa.prototype.map=function(e){for(var t=this.stack,r=t.length,n=t[r-1],i=arguments.length,a=1;a<i;++a){var s=arguments[a];n=n[s],t.push(s,n)}for(var o=new Array(n.length),u=0;u<n.length;++u)u in n&&(t.push(u,n[u]),o[u]=e(this,u),t.length-=2);return t.length=r,o};var Da=Sa,Aa=Rn,Ca={printSubtree:function(e,t,r,n){if(r.printer.embed)return r.printer.embed(e,t,(function(e,t){return function(e,t,r,n){var i=Aa(Object.assign({},r,t,{parentParser:r.parser,originalText:e}),{passThrough:!0}),a=In.parse(e,i),s=a.ast;e=a.text;var o=s.comments;return delete s.comments,Ea.attach(o,s,e,i),n(s,i)}(e,t,r,n)}),r)}},Pa=zi,wa=Pa.builders,_a=wa.concat,Oa=wa.hardline,Fa=wa.addAlignmentToDoc,Na=Pa.utils;function Ia(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=t.printer;n.preprocess&&(e=n.preprocess(e,t));var i=new Map,a=function e(r,a){var s,o=r.getValue(),u=o&&"object"===T(o)&&void 0===a;return u&&i.has(o)?i.get(o):(s=n.willPrintOwnComments&&n.willPrintOwnComments(r)?ka(r,t,e,a):Ea.printComments(r,(function(r){return ka(r,t,e,a)}),t,a&&a.needsSemi),u&&i.set(o,s),s)}(new Da(e));return r>0&&(a=Fa(_a([Oa,a]),r,t.tabWidth)),Na.propagateBreaks(a),a}function ka(e,t,r,n){Zi.ok(e instanceof Da);var i=e.getValue(),a=t.printer;if(a.hasPrettierIgnore&&a.hasPrettierIgnore(e))return t.originalText.slice(t.locStart(i),t.locEnd(i));if(i)try{var s=Ca.printSubtree(e,r,t,Ia);if(s)return s}catch(e){if(l.PRETTIER_DEBUG)throw e}return a.print(e,t,r,n)}var La=Ia;function Ma(e,t,r,n,i){n=n||function(){return!0},i=i||[];var a=r.locStart(e,r.locStart),s=r.locEnd(e,r.locEnd);if(a<=t&&t<=s){var o=!0,u=!1,l=void 0;try{for(var c,p=Ea.getSortedChildNodes(e,r)[Symbol.iterator]();!(o=(c=p.next()).done);o=!0){var f=Ma(c.value,t,r,n,[e].concat(i));if(f)return f}}catch(e){u=!0,l=e}finally{try{o||null==p.return||p.return()}finally{if(u)throw l}}if(n(e))return{node:e,parentNodes:i}}}function Ba(e,t){if(null==t)return!1;switch(e.parser){case"flow":case"babel":case"typescript":return["FunctionDeclaration","BlockStatement","BreakStatement","ContinueStatement","DebuggerStatement","DoWhileStatement","EmptyStatement","ExpressionStatement","ForInStatement","ForStatement","IfStatement","LabeledStatement","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","VariableDeclaration","WhileStatement","WithStatement","ClassDeclaration","ImportDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","TypeAlias","InterfaceDeclaration","TypeAliasDeclaration","ExportAssignment","ExportDeclaration"].indexOf(t.type)>-1;case"json":return["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral"].indexOf(t.type)>-1;case"graphql":return["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"].indexOf(t.kind)>-1;case"vue":return"root"!==t.tag}return!1}var ja={calculateRange:function(e,t,r){var n,i=e.slice(t.rangeStart,t.rangeEnd),a=Math.max(t.rangeStart+i.search(/\S/),t.rangeStart);for(n=t.rangeEnd;n>t.rangeStart&&!e[n-1].match(/\S/);--n);var s=Ma(r,a,t,(function(e){return Ba(t,e)})),o=Ma(r,n,t,(function(e){return Ba(t,e)}));if(!s||!o)return{rangeStart:0,rangeEnd:0};var u=function(e,t,r){var n=e.node,i=t.node;if(n===i)return{startNode:n,endNode:i};var a=!0,s=!1,o=void 0;try{for(var u,l=t.parentNodes[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var c=u.value;if(!("Program"!==c.type&&"File"!==c.type&&r.locStart(c)>=r.locStart(e.node)))break;i=c}}catch(e){s=!0,o=e}finally{try{a||null==l.return||l.return()}finally{if(s)throw o}}var p=!0,f=!1,d=void 0;try{for(var h,y=e.parentNodes[Symbol.iterator]();!(p=(h=y.next()).done);p=!0){var m=h.value;if(!("Program"!==m.type&&"File"!==m.type&&r.locEnd(m)<=r.locEnd(t.node)))break;n=m}}catch(e){f=!0,d=e}finally{try{p||null==y.return||y.return()}finally{if(f)throw d}}return{startNode:n,endNode:i}}(s,o,t),l=u.startNode,c=u.endNode;return{rangeStart:Math.min(t.locStart(l,t.locStart),t.locStart(c,t.locStart)),rangeEnd:Math.max(t.locEnd(l,t.locEnd),t.locEnd(c,t.locEnd))}},findNodeAtOffset:Ma},Ra=Rn,Va=Ci,qa=Pi,Ua=zi.utils.mapDoc,Ka=zi.printer.printDocToString,Xa=zi.debug.printDocToDebug,Ja=65279,Ya=Symbol("cursor"),Wa={cursorOffset:"<<<PRETTIER_CURSOR>>>",rangeStart:"<<<PRETTIER_RANGE_START>>>",rangeEnd:"<<<PRETTIER_RANGE_END>>>"};function $a(e,t,r){var n=t.comments;return n&&(delete t.comments,Ea.attach(n,t,e,r)),t.tokens=[],r.originalText="yaml"===r.parser?e:e.trimRight(),n}function Ha(e,t,r){if(!e||!e.trim().length)return{formatted:"",cursorOffset:0};r=r||0;var n=In.parse(e,t),i=n.ast;if(e=n.text,t.cursorOffset>=0){var a=ja.findNodeAtOffset(i,t.cursorOffset,t);a&&a.node&&(t.cursorNode=a.node)}var s=$a(e,i,t),o=La(i,t,r),u=qa(t.endOfLine),l=Ka("lf"===t.endOfLine?o:Ua(o,(function(e){return"string"==typeof e&&-1!==e.indexOf("\n")?e.replace(/\n/g,u):e})),t);if(function(e){if(e){for(var t=0;t<e.length;++t)if("prettier-ignore"===e[t].value.trim())return;e.forEach((function(e){if(!e.printed)throw new Error('Comment "'+e.value.trim()+'" was not printed. Please report this error!');delete e.printed}))}}(s),r>0){var c=l.formatted.trim();void 0!==l.cursorNodeStart&&(l.cursorNodeStart-=l.formatted.indexOf(c)),l.formatted=c+qa(t.endOfLine)}if(t.cursorOffset>=0){var p,f,d,h,y;if(t.cursorNode&&l.cursorNodeText?(p=t.locStart(t.cursorNode),f=e.slice(p,t.locEnd(t.cursorNode)),d=t.cursorOffset-p,h=l.cursorNodeStart,y=l.cursorNodeText):(p=0,f=e,d=t.cursorOffset,h=0,y=l.formatted),f===y)return{formatted:l.formatted,cursorOffset:h+d};var m=f.split("");m.splice(d,0,Ya);var v=y.split(""),g=J.diffArrays(m,v),T=h,E=!0,S=!1,b=void 0;try{for(var x,D=g[Symbol.iterator]();!(E=(x=D.next()).done);E=!0){var A=x.value;if(A.removed){if(A.value.indexOf(Ya)>-1)break}else T+=A.count}}catch(e){S=!0,b=e}finally{try{E||null==D.return||D.return()}finally{if(S)throw b}}return{formatted:l.formatted,cursorOffset:T}}return{formatted:l.formatted}}function za(e,t){var r=In.resolveParser(t),n=!r.hasPragma||r.hasPragma(e);if(t.requirePragma&&!n)return{formatted:e};"auto"===t.endOfLine&&(t.endOfLine=Va(e));var i=t.cursorOffset>=0,a=t.rangeStart>0,s=t.rangeEnd<e.length;if(-1!==e.indexOf("\r")){for(var o=[i&&"cursorOffset",a&&"rangeStart",s&&"rangeEnd"].filter(Boolean).sort((function(e,r){return t[e]-t[r]})),u=o.length-1;u>=0;u--){var l=o[u];e=e.slice(0,t[l])+Wa[l]+e.slice(t[l])}e=e.replace(/\r\n?/g,"\n");for(var c=function(r){var n=o[r];e=e.replace(Wa[n],(function(e,r){return t[n]=r,""}))},p=0;p<o.length;p++)c(p)}var f=e.charCodeAt(0)===Ja;f&&(e=e.substring(1),i&&t.cursorOffset++,a&&t.rangeStart++,s&&t.rangeEnd++),i||(t.cursorOffset=-1),t.rangeStart<0&&(t.rangeStart=0),t.rangeEnd>e.length&&(t.rangeEnd=e.length);var d=a||s?function(e,t){var r=In.parse(e,t),n=r.ast;e=r.text;var i,a=ja.calculateRange(e,t,n),s=a.rangeStart,o=a.rangeEnd,u=e.slice(s,o),l=Math.min(s,e.lastIndexOf("\n",s)+1),c=e.slice(l,s),p=Ai.getAlignmentSize(c,t.tabWidth),f=Ha(u,Object.assign({},t,{rangeStart:0,rangeEnd:1/0,cursorOffset:t.cursorOffset>=s&&t.cursorOffset<o?t.cursorOffset-s:-1}),p),d=f.formatted.trimRight(),h=e.slice(0,s),y=e.slice(o),m=t.cursorOffset;if(t.cursorOffset>=o?m=t.cursorOffset-o+(s+d.length):void 0!==f.cursorOffset&&(m=f.cursorOffset+s),"lf"===t.endOfLine)i=h+d+y;else{var v=qa(t.endOfLine);if(m>=0){for(var g=[h,d,y],T=0,E=m;T<g.length;){var S=g[T];if(E<S.length){g[T]=g[T].slice(0,E)+Wa.cursorOffset+g[T].slice(E);break}T++,E-=S.length}var b=g[0],x=g[1],D=g[2];i=(b.replace(/\n/g,v)+x+D.replace(/\n/g,v)).replace(Wa.cursorOffset,(function(e,t){return m=t,""}))}else i=h.replace(/\n/g,v)+d+y.replace(/\n/g,v)}return{formatted:i,cursorOffset:m}}(e,t):Ha(t.insertPragma&&t.printer.insertPragma&&!n?t.printer.insertPragma(e):e,t);return f&&(d.formatted=String.fromCharCode(Ja)+d.formatted,i&&d.cursorOffset++),d}var Ga=function(e,t){return za(e,t=Ra(t))},Qa=function(e,t,r){t=Ra(t),-1!==e.indexOf("\r")&&(e=e.replace(/\r\n?/g,"\n"));var n=In.parse(e,t);return r&&(n.ast=Vn(n.ast,t)),n},Za=function(e,t){t=Ra(t);var r=La(e,t);return Ka(r,t)},es=function(e,t){return za(Xa(e),t=Ra(Object.assign({},t,{parser:"babel"}))).formatted},ts=function(e,t){t=Ra(t);var r=In.parse(e,t),n=r.ast;return $a(e=r.text,n,t),La(n,t)},rs=function(e,t){return Ka(e,Ra(t))},ns=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"],is=Object.freeze({default:ns}),as=is&&ns||is,ss=function(e,t,r){if(["raw","raws","sourceIndex","source","before","after","trailingComma"].forEach((function(e){delete t[e]})),"yaml"===e.type&&delete t.value,"css-comment"===e.type&&"css-root"===r.type&&0!==r.nodes.length&&(r.nodes[0]===e||("yaml"===r.nodes[0].type||"toml"===r.nodes[0].type)&&r.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text)))return null;if("media-query"!==e.type&&"media-query-list"!==e.type&&"media-feature-expression"!==e.type||delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||-1!==["initial","inherit","unset","revert"].indexOf(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),"css-atrule"!==e.type&&"css-import"!==e.type||(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),"media-feature"!==e.type&&"media-keyword"!==e.type&&"media-type"!==e.type&&"media-unknown"!==e.type&&"media-url"!==e.type&&"media-value"!==e.type&&"selector-attribute"!==e.type&&"selector-string"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"value-string"!==e.type||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^a-fA-F\d])/g,"$1")),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^['"]|['"]$/g,""),delete t.quoted)),"media-value"!==e.type&&"media-type"!==e.type&&"value-number"!==e.type&&"selector-root-invalid"!==e.type&&"selector-class"!==e.type&&"selector-combinator"!==e.type&&"selector-tag"!==e.type||!t.value||(t.value=t.value.replace(/([\d.eE+-]+)([a-zA-Z]*)/g,(function(e,t,r){var n=Number(t);return isNaN(n)?e:n+r.toLowerCase()}))),"selector-tag"===e.type){var n=e.value.toLowerCase();-1!==as.indexOf(n)&&(t.value=n),-1!==["from","to"].indexOf(n)&&(t.value=n)}"css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value},os=zi.builders,us=os.hardline,ls=os.literalline,cs=os.concat,ps=os.markAsRoot,fs=zi.utils.mapDoc,ds=function(e,t,r){var n,i=e.getValue();return"yaml"===i.type?ps(cs(["---",us,i.value.trim()?(n=r(i.value,{parser:"yaml"}),fs(n,(function(e){return"string"==typeof e&&e.includes("\n")?cs(e.split(/(\n)/g).map((function(e,t){return t%2==0?e:ls}))):e}))):"","---",us])):null},hs=p((function(e){e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return null;var r=t.filter((function(e){return"\r\n"===e})).length;return r>t.length-r?"\r\n":"\n"},e.exports.graceful=function(t){return e.exports(t)||"\n"}})),ys=p((function(e,t){var r,n;function i(){return r=(e=hs)&&e.__esModule?e:{default:e};var e}function a(){return n=rr}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){var t=e.match(u);return t?t[0].trimLeft():""},t.strip=function(e){var t=e.match(u);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return h(e).pragmas},t.parseWithComments=h,t.print=function(e){var t=e.comments,s=void 0===t?"":t,o=e.pragmas,u=void 0===o?{}:o,l=(0,(r||i()).default)(s)||(n||a()).EOL,c=Object.keys(u),p=c.map((function(e){return y(e,u[e])})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return" * "+e+l})).join("");if(!s){if(0===c.length)return"";if(1===c.length&&!Array.isArray(u[c[0]])){var f=u[c[0]];return"".concat("/**"," ").concat(y(c[0],f)[0]).concat(" */")}}var d=s.split(l).map((function(e){return"".concat(" *"," ").concat(e)})).join(l)+l;return"/**"+l+(s?d:"")+(s&&c.length?" *"+l:"")+p+" */"};var s=/\*\/$/,o=/^\/\*\*/,u=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,l=/(^|\s+)\/\/([^\r\n]*)/g,c=/^(\r?\n)+/,p=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,f=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,d=/(\r?\n|^) *\* ?/g;function h(e){var t=(0,(r||i()).default)(e)||(n||a()).EOL;e=e.replace(o,"").replace(s,"").replace(d,"$1");for(var u="";u!==e;)u=e,e=e.replace(p,"".concat(t,"$1 $2").concat(t));e=e.replace(c,"").trimRight();for(var h,y=Object.create(null),m=e.replace(f,"").replace(c,"").trimRight();h=f.exec(e);){var v=h[2].replace(l,"");"string"==typeof y[h[1]]||Array.isArray(y[h[1]])?y[h[1]]=[].concat(y[h[1]],v):y[h[1]]=v}return{comments:m,pragmas:y}}function y(e,t){return[].concat(t).map((function(t){return"@".concat(e," ").concat(t).trim()}))}}));c(ys);var ms={hasPragma:function(e){var t=Object.keys(ys.parse(ys.extract(e)));return-1!==t.indexOf("prettier")||-1!==t.indexOf("format")},insertPragma:function(e){var t=ys.parseWithComments(ys.extract(e)),r=Object.assign({format:""},t.pragmas),n=ys.print({pragmas:r,comments:t.comments.replace(/^(\s+?\r?\n)+/,"")}).replace(/(\r\n|\r)/g,"\n"),i=ys.strip(e);return n+(i.startsWith("\n")?"\n":"\n\n")+i}},vs={"---":"yaml","+++":"toml"},gs=function(e){var t=Object.keys(vs).map(Ut).join("|"),r=e.match(new RegExp("^(".concat(t,")[^\\n\\S]*\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===r)return{frontMatter:null,content:e};var n=r[0].replace(/\n$/,""),i=r[1],a=r[2];return{frontMatter:{type:vs[i],value:a,raw:n},content:r[0].replace(/[^\n]/g," ")+e.slice(r[0].length)}},Ts=["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"];function Es(e,t){for(var r,n=[].concat(t),i=-1;r=e.getParentNode(++i);)if(-1!==n.indexOf(r.type))return i;return-1}function Ss(e,t){var r=Es(e,t);return-1===r?null:e.getParentNode(r)}function bs(e){return"value-operator"===e.type&&"*"===e.value}function xs(e){return"value-operator"===e.type&&"/"===e.value}function Ds(e){return"value-operator"===e.type&&"+"===e.value}function As(e){return"value-operator"===e.type&&"-"===e.value}function Cs(e){return"value-operator"===e.type&&"%"===e.value}function Ps(e){return"value-comma_group"===e.type&&e.groups&&e.groups[1]&&"value-colon"===e.groups[1].type}function ws(e){return"value-paren_group"===e.type&&e.groups&&e.groups[0]&&Ps(e.groups[0])}var _s=Ss,Os=function(e){var t=Ss(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},Fs=function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},Ns=function(e,t){var r=Ss(e,"value-func");return r&&r.value&&r.value.toLowerCase()===t},Is=function(e){var t=Ss(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},ks=function(e,t){var r=[].concat(t),n=Ss(e,"css-atrule");return n&&-1!==r.indexOf(n.name.toLowerCase())},Ls=function(e){var t=e.getValue(),r=Ss(e,"css-atrule");return r&&"import"===r.name&&"url"===t.groups[0].value&&2===t.groups.length},Ms=function(e,t){var r=Ss(e,"css-atrule");return r&&r.name&&r.name.toLowerCase().endsWith("keyframes")&&-1!==["from","to"].indexOf(t.toLowerCase())},Bs=function(e){return-1!==as.indexOf(e.toLowerCase())},js=function(e){return-1!==["initial","inherit","unset","revert"].indexOf(e.toLowerCase())},Rs=function(e,t){return"less"===e||"scss"===e?"scss"===e:/(\w\s*: [^}:]+|#){|@import[^\n]+(url|,)/.test(t)},Vs=function(e,t){var r=e.getParentNode();if(!r)return!1;var n=r.nodes;return n&&n.indexOf(t)===n.length-1},qs=function(e){return"css-atrule"===e.type&&-1!==["if","else","for","each","while"].indexOf(e.name)},Us=function(e){return!!e.selector&&("string"==typeof e.selector&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},Ks=function(e){return"value-word"===e.type&&-1!==["<",">","<=",">="].indexOf(e.value)},Xs=function(e){return"value-word"===e.type&&-1!==["==","!="].indexOf(e.value)},Js=bs,Ys=xs,Ws=Ds,$s=As,Hs=function(e){return bs(e)||xs(e)||Ds(e)||As(e)||Cs(e)},zs=function(e){return"value-word"===e.type&&"in"===e.value},Gs=function(e){return"value-word"===e.type&&-1!==["from","through","end"].indexOf(e.value)},Qs=function(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()},Zs=function(e){return"value-word"===e.type&&-1!==["and","or","not"].indexOf(e.value)},eo=function(e){return e.value&&"value-root"===e.value.type&&e.value.group&&"value-value"===e.value.group.type&&"composes"===e.prop.toLowerCase()},to=function(e){return e.value&&e.value.group&&e.value.group.group&&"value-paren_group"===e.value.group.group.type&&null!==e.value.group.group.open&&null!==e.value.group.group.close},ro=function(e){return e.raws&&""===e.raws.before},no=function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},io=function(e){return e.name.startsWith("prettier-placeholder")},ao=function(e){return e.prop.startsWith("@prettier-placeholder")},so=function(e,t){return"$$"===e.value&&"value-func"===e.type&&t&&"value-word"===t.type&&!t.raws.before},oo=Ps,uo=function(e){var t=e.getValue();if(0===t.groups.length)return!1;var r=e.getParentNode(1);if(!(ws(t)||r&&ws(r)))return!1;var n=Ss(e,"css-decl");return!!(n&&n.prop&&n.prop.startsWith("$"))||!!ws(r)||"value-func"===r.type},lo=function(e){return"value-comment"===e.type&&e.inline},co=function(e){return"value-word"===e.type&&"#"===e.value},po=function(e){return"value-word"===e.type&&"{"===e.value},fo=function(e){return"value-word"===e.type&&"}"===e.value},ho=function(e){return-1!==["value-word","value-atword"].indexOf(e.type)},yo=function(e){return"value-colon"===e.type},mo=function(e){return e.value&&-1!==["not","and","or"].indexOf(e.value.toLowerCase())},vo=function(e){return"value-func"===e.type&&-1!==Ts.indexOf(e.value.toLowerCase())},go=function(e){var t=gs(e),r=t.frontMatter,n=t.content;return(r?r.raw+"\n\n":"")+ms.insertPragma(n)},To=Ai.printNumber,Eo=Ai.printString,So=Ai.hasIgnoreComment,bo=Ai.hasNewline,xo=Qi.isNextLineEmpty,Do=zi.builders,Ao=Do.concat,Co=Do.join,Po=Do.line,wo=Do.hardline,_o=Do.softline,Oo=Do.group,Fo=Do.fill,No=Do.indent,Io=Do.dedent,ko=Do.ifBreak,Lo=zi.utils.removeLines,Mo=_s,Bo=Os,jo=Fs,Ro=Ns,Vo=Is,qo=ks,Uo=Ls,Ko=Ms,Xo=Bs,Jo=js,Yo=Rs,Wo=Vs,$o=qs,Ho=Us,zo=Ks,Go=Xs,Qo=Js,Zo=Ys,eu=Ws,tu=$s,ru=Hs,nu=zs,iu=Gs,au=Qs,su=Zs,ou=eo,uu=to,lu=ro,cu=oo,pu=no,fu=io,du=ao,hu=so,yu=uo,mu=lo,vu=co,gu=po,Tu=fo,Eu=ho,Su=yo,bu=mo,xu=vo;function Du(e){switch(e.trailingComma){case"all":case"es5":return!0;case"none":default:return!1}}function Au(e,t,r){var n=e.getValue(),i=[],a=0;return e.map((function(e){var s=n.nodes[a-1];if(s&&"css-comment"===s.type&&"prettier-ignore"===s.text.trim()){var o=e.getValue();i.push(t.originalText.slice(t.locStart(o),t.locEnd(o)))}else i.push(e.call(r));a!==n.nodes.length-1&&("css-comment"===n.nodes[a+1].type&&!bo(t.originalText,t.locStart(n.nodes[a+1]),{backwards:!0})&&"yaml"!==n.nodes[a].type&&"toml"!==n.nodes[a].type||"css-atrule"===n.nodes[a+1].type&&"else"===n.nodes[a+1].name&&"css-comment"!==n.nodes[a].type?i.push(" "):(i.push(wo),xo(t.originalText,e.getValue(),t)&&"yaml"!==n.nodes[a].type&&"toml"!==n.nodes[a].type&&i.push(wo))),a++}),"nodes"),Ao(i)}var Cu=/(['"])(?:(?!\1)[^\\]|\\[\s\S])*\1/g,Pu=RegExp(Cu.source+"|"+"(".concat(/[$@]?[a-zA-Z_\u0080-\uFFFF][\w\-\u0080-\uFFFF]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?/g.source,")")+"(".concat(/[a-zA-Z]+/g.source,")?"),"g");function wu(e,t){return e.replace(Cu,(function(e){return Eo(e,t)}))}function _u(e,t){var r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function Ou(e){return e.replace(Pu,(function(e,t,r,n,i){return!r&&n?(r||"")+Fu(n)+jo(i||""):e}))}function Fu(e){return To(e).replace(/\.0(?=$|e)/,"")}var Nu={print:function(e,t,r){var n=e.getValue();if(!n)return"";if("string"==typeof n)return n;switch(n.type){case"yaml":case"toml":return Ao([n.raw,wo]);case"css-root":var i=Au(e,t,r);return i.parts.length?Ao([i,wo]):i;case"css-comment":if(n.raws.content)return n.raws.content;var a=t.originalText.slice(t.locStart(n),t.locEnd(n)),s=n.raws.text||n.text;return-1===a.indexOf(s)?n.raws.inline?Ao(["// ",s]):Ao(["/* ",s," */"]):a;case"css-rule":return Ao([e.call(r,"selector"),n.important?" !important":"",n.nodes?Ao([" {",n.nodes.length>0?No(Ao([wo,Au(e,t,r)])):"",wo,"}",Ho(n)?";":""]):";"]);case"css-decl":var o=e.getParentNode();return Ao([n.raws.before.replace(/[\s;]/g,""),Vo(e)?n.prop:jo(n.prop),":"===n.raws.between.trim()?":":n.raws.between.trim(),n.extend?"":" ",ou(n)?Lo(e.call(r,"value")):e.call(r,"value"),n.raws.important?n.raws.important.replace(/\s*!\s*important/i," !important"):n.important?" !important":"",n.raws.scssDefault?n.raws.scssDefault.replace(/\s*!default/i," !default"):n.scssDefault?" !default":"",n.raws.scssGlobal?n.raws.scssGlobal.replace(/\s*!global/i," !global"):n.scssGlobal?" !global":"",n.nodes?Ao([" {",No(Ao([_o,Au(e,t,r)])),_o,"}"]):du(n)&&!o.raws.semicolon&&";"!==t.originalText[t.locEnd(n)-1]?"":";"]);case"css-atrule":var u=e.getParentNode();return Ao(["@",pu(n)||n.name.endsWith(":")?n.name:jo(n.name),n.params?Ao([pu(n)?"":fu(n)&&/^\s*\n/.test(n.raws.afterName)?/^\s*\n\s*\n/.test(n.raws.afterName)?Ao([wo,wo]):wo:" ",e.call(r,"params")]):"",n.selector?No(Ao([" ",e.call(r,"selector")])):"",n.value?Oo(Ao([" ",e.call(r,"value"),$o(n)?uu(n)?" ":Po:""])):"else"===n.name?" ":"",n.nodes?Ao([$o(n)?"":" ","{",No(Ao([n.nodes.length>0?_o:"",Au(e,t,r)])),_o,"}"]):fu(n)&&!u.raws.semicolon&&";"!==t.originalText[t.locEnd(n)-1]?"":";"]);case"media-query-list":var l=[];return e.each((function(e){var t=e.getValue();"media-query"===t.type&&""===t.value||l.push(e.call(r))}),"nodes"),Oo(No(Co(Po,l)));case"media-query":return Ao([Co(" ",e.map(r,"nodes")),Wo(e,n)?"":","]);case"media-type":return Ou(wu(n.value,t));case"media-feature-expression":return n.nodes?Ao(["(",Ao(e.map(r,"nodes")),")"]):n.value;case"media-feature":return jo(wu(n.value.replace(/ +/g," "),t));case"media-colon":return Ao([n.value," "]);case"media-value":return Ou(wu(n.value,t));case"media-keyword":return wu(n.value,t);case"media-url":return wu(n.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return n.value;case"selector-root":return Oo(Ao([qo(e,"custom-selector")?Ao([Mo(e,"css-atrule").customSelector,Po]):"",Co(Ao([",",qo(e,["extend","custom-selector","nest"])?Po:wo]),e.map(r,"nodes"))]));case"selector-selector":return Oo(No(Ao(e.map(r,"nodes"))));case"selector-comment":return n.value;case"selector-string":return wu(n.value,t);case"selector-tag":var c=e.getParentNode(),p=c&&c.nodes.indexOf(n),f=p&&c.nodes[p-1];return Ao([n.namespace?Ao([!0===n.namespace?"":n.namespace.trim(),"|"]):"","selector-nesting"===f.type?n.value:Ou(Xo(n.value)||Ko(e,n.value)?n.value.toLowerCase():n.value)]);case"selector-id":return Ao(["#",n.value]);case"selector-class":return Ao([".",Ou(wu(n.value,t))]);case"selector-attribute":return Ao(["[",n.namespace?Ao([!0===n.namespace?"":n.namespace.trim(),"|"]):"",n.attribute.trim(),n.operator?n.operator:"",n.value?_u(wu(n.value.trim(),t),t):"",n.insensitive?" i":"","]"]);case"selector-combinator":if("+"===n.value||">"===n.value||"~"===n.value||">>>"===n.value){var d=e.getParentNode(),h="selector-selector"===d.type&&d.nodes[0]===n?"":Po;return Ao([h,n.value,Wo(e,n)?"":" "])}var y=n.value.trim().startsWith("(")?Po:"",m=Ou(wu(n.value.trim(),t))||Po;return Ao([y,m]);case"selector-universal":return Ao([n.namespace?Ao([!0===n.namespace?"":n.namespace.trim(),"|"]):"",n.value]);case"selector-pseudo":return Ao([jo(n.value),n.nodes&&n.nodes.length>0?Ao(["(",Co(", ",e.map(r,"nodes")),")"]):""]);case"selector-nesting":return n.value;case"selector-unknown":var v=Mo(e,"css-rule");return v&&v.isSCSSNesterProperty?Ou(wu(jo(n.value),t)):n.value;case"value-value":case"value-root":return e.call(r,"group");case"value-comment":return Ao([n.inline?"//":"/*",n.value,n.inline?"":"*/"]);case"value-comma_group":for(var g=e.getParentNode(),T=e.getParentNode(1),E=Bo(e),S=E&&"value-value"===g.type&&("grid"===E||E.startsWith("grid-template")),b=Mo(e,"css-atrule"),x=b&&$o(b),D=e.map(r,"groups"),A=[],C=Ro(e,"url"),P=!1,w=!1,_=0;_<n.groups.length;++_)if(A.push(D[_]),!C){var O=n.groups[_-1],F=n.groups[_],N=n.groups[_+1],I=n.groups[_+2];if(N){var k="value-string"===F.type&&F.value.startsWith("#{"),L=P&&"value-string"===N.type&&N.value.endsWith("}");if(k||L)P=!P;else if(!P&&!(Su(F)||Su(N)||"value-atword"===F.type&&""===F.value||"~"===F.value||F.value&&-1!==F.value.indexOf("\\")&&N&&"value-comment"!==N.type||O&&O.value&&O.value.indexOf("\\")===O.value.length-1&&"value-operator"===F.type&&"/"===F.value||"\\"===F.value||hu(F,N)||vu(F)||gu(F)||Tu(N)||gu(N)&&lu(N)||Tu(F)&&lu(N)||"--"===F.value&&vu(N))){var M=ru(F),B=ru(N);if(!((M&&vu(N)||B&&Tu(F))&&lu(N)||Ro(e,"calc")&&(eu(F)||eu(N)||tu(F)||tu(N))&&lu(N))){var j=(eu(F)||tu(F))&&0===_&&("value-number"===N.type||N.isHex)&&T&&xu(T)&&!lu(N),R=I&&"value-func"===I.type||I&&Eu(I)||"value-func"===F.type||Eu(F),V="value-func"===N.type||Eu(N)||O&&"value-func"===O.type||O&&Eu(O);(Qo(N)||Qo(F)||Ro(e,"calc")||j||!(Zo(N)&&!R||Zo(F)&&!V||eu(N)&&!R||eu(F)&&!V||tu(N)||tu(F))||!(lu(N)||M&&(!O||O&&ru(O))))&&(mu(F)?A.push(wo):x&&(Go(N)||zo(N)||su(N)||nu(F)||iu(F))?A.push(" "):b&&"namespace"===b.name.toLowerCase()?A.push(" "):S?F.source&&N.source&&F.source.start.line!==N.source.start.line?(A.push(wo),w=!0):A.push(" "):B?A.push(" "):A.push(Po))}}}}return w&&A.unshift(wo),x?Oo(No(Ao(A))):Uo(e)?Oo(Fo(A)):Oo(No(Fo(A)));case"value-paren_group":var q=e.getParentNode();if(q&&au(q)&&(1===n.groups.length||n.groups.length>0&&"value-comma_group"===n.groups[0].type&&n.groups[0].groups.length>0&&"value-word"===n.groups[0].groups[0].type&&n.groups[0].groups[0].value.startsWith("data:")))return Ao([n.open?e.call(r,"open"):"",Co(",",e.map(r,"groups")),n.close?e.call(r,"close"):""]);if(!n.open){for(var U=e.map(r,"groups"),K=[],X=0;X<U.length;X++)0!==X&&K.push(Ao([",",Po])),K.push(U[X]);return Oo(No(Fo(K)))}var J=yu(e);return Oo(Ao([n.open?e.call(r,"open"):"",No(Ao([_o,Co(Ao([",",Po]),e.map((function(e){var t=e.getValue(),n=r(e);return cu(t)&&"value-comma_group"===t.type&&t.groups&&t.groups[2]&&"value-paren_group"===t.groups[2].type?(n.contents.contents.parts[1]=Oo(n.contents.contents.parts[1]),Oo(Io(n))):n}),"groups"))])),ko(Yo(t.parser,t.originalText)&&J&&Du(t)?",":""),_o,n.close?e.call(r,"close"):""]),{shouldBreak:J});case"value-func":return Ao([n.value,qo(e,"supports")&&bu(n)?" ":"",e.call(r,"group")]);case"value-paren":return n.value;case"value-number":return Ao([Fu(n.value),jo(n.unit)]);case"value-operator":return n.value;case"value-word":return n.isColor&&n.isHex||Jo(n.value)?n.value.toLowerCase():n.value;case"value-colon":return Ao([n.value,Ro(e,"url")?"":Po]);case"value-comma":return Ao([n.value," "]);case"value-string":return Eo(n.raws.quote+n.value+n.raws.quote,t);case"value-atword":return Ao(["@",n.value]);case"value-unicode-range":case"value-unknown":return n.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(n.type)))}},embed:ds,insertPragma:go,hasPrettierIgnore:So,massageAstNode:ss},Iu={bracketSpacing:{since:"0.0.0",category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:"Common",type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."},{value:!1,deprecated:"1.9.0",redirect:"never"},{value:!0,deprecated:"1.9.0",redirect:"always"}]}},ku={singleQuote:Iu.singleQuote},Lu=function(e,t){var r=t.extend,n=t.override,i={};for(var a in e)i["languageId"===a?"linguistLanguageId":a]=e[a];if(r)for(var s in r)i[s]=(i[s]||[]).concat(r[s]);for(var o in n)i[o]=n[o];return i},Mu=[".css"],Bu={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:Mu,languageId:50},ju=Object.freeze({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:Mu,languageId:50,default:Bu}),Ru=[".pcss"],Vu={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:Ru,aceMode:"text",languageId:262764437},qu=Object.freeze({name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:Ru,aceMode:"text",languageId:262764437,default:Vu}),Uu=[".less"],Ku={name:"Less",type:"markup",group:"CSS",extensions:Uu,tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},Xu=Object.freeze({name:"Less",type:"markup",group:"CSS",extensions:Uu,tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198,default:Ku}),Ju=[".scss"],Yu={name:"SCSS",type:"markup",tmScope:"source.scss",group:"CSS",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:Ju,languageId:329},Wu=Object.freeze({name:"SCSS",type:"markup",tmScope:"source.scss",group:"CSS",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:Ju,languageId:329,default:Yu}),$u=qu&&Vu||qu,Hu=Xu&&Ku||Xu,zu=Wu&&Yu||Wu,Gu={languages:[Lu(ju&&Bu||ju,{override:{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"]}}),Lu($u,{override:{since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]},extend:{extensions:[".postcss"]}}),Lu(Hu,{override:{since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}}),Lu(zu,{override:{since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}})],options:ku,printers:{postcss:Nu}},Qu=function(e){return"# @format\n\n"+e},Zu=zi.builders,el=Zu.concat,tl=Zu.join,rl=Zu.hardline,nl=Zu.line,il=Zu.softline,al=Zu.group,sl=Zu.indent,ol=Zu.ifBreak,ul=Ai.hasIgnoreComment,ll=Qi.isNextLineEmpty;function cl(e,t,r){return 0===r.directives.length?"":el([" ",al(sl(el([il,tl(el([ol(""," "),il]),e.map(t,"directives"))])))])}function pl(e,t,r){var n=e.getValue().length;return e.map((function(e,i){var a=r(e);return ll(t.originalText,e.getValue(),t)&&i<n-1?el([a,rl]):a}))}function fl(e){var t=e.indexOf("implements");if(-1===t)throw new Error("Must implement interfaces: "+e);var r=e.indexOf("{");return-1===r&&(r=e.length),e.substr(t,r).includes("&")?" & ":", "}var dl={print:function(e,t,r){var n=e.getValue();if(!n)return"";if("string"==typeof n)return n;switch(n.kind){case"Document":var i=[];return e.map((function(e,a){i.push(el([e.call(r)])),a!==n.definitions.length-1&&(i.push(rl),ll(t.originalText,e.getValue(),t)&&i.push(rl))}),"definitions"),el([el(i),rl]);case"OperationDefinition":var a="{"!==t.originalText[t.locStart(n)],s=!!n.name;return el([a?n.operation:"",a&&s?el([" ",e.call(r,"name")]):"",n.variableDefinitions&&n.variableDefinitions.length?al(el(["(",sl(el([il,tl(el([ol("",", "),il]),e.map(r,"variableDefinitions"))])),il,")"])):"",cl(e,r,n),n.selectionSet&&(a||s)?" ":"",e.call(r,"selectionSet")]);case"FragmentDefinition":return el(["fragment ",e.call(r,"name"),n.variableDefinitions&&n.variableDefinitions.length?al(el(["(",sl(el([il,tl(el([ol("",", "),il]),e.map(r,"variableDefinitions"))])),il,")"])):""," on ",e.call(r,"typeCondition"),cl(e,r,n)," ",e.call(r,"selectionSet")]);case"SelectionSet":return el(["{",sl(el([rl,tl(rl,e.call((function(e){return pl(e,t,r)}),"selections"))])),rl,"}"]);case"Field":return al(el([n.alias?el([e.call(r,"alias"),": "]):"",e.call(r,"name"),n.arguments.length>0?al(el(["(",sl(el([il,tl(el([ol("",", "),il]),e.call((function(e){return pl(e,t,r)}),"arguments"))])),il,")"])):"",cl(e,r,n),n.selectionSet?" ":"",e.call(r,"selectionSet")]));case"Name":return n.value;case"StringValue":return n.block?el(['"""',rl,tl(rl,n.value.replace(/"""/g,"\\$&").split("\n")),rl,'"""']):el(['"',n.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']);case"IntValue":case"FloatValue":case"EnumValue":return n.value;case"BooleanValue":return n.value?"true":"false";case"NullValue":return"null";case"Variable":return el(["$",e.call(r,"name")]);case"ListValue":return al(el(["[",sl(el([il,tl(el([ol("",", "),il]),e.map(r,"values"))])),il,"]"]));case"ObjectValue":return al(el(["{",t.bracketSpacing&&n.fields.length>0?" ":"",sl(el([il,tl(el([ol("",", "),il]),e.map(r,"fields"))])),il,ol("",t.bracketSpacing&&n.fields.length>0?" ":""),"}"]));case"ObjectField":case"Argument":return el([e.call(r,"name"),": ",e.call(r,"value")]);case"Directive":return el(["@",e.call(r,"name"),n.arguments.length>0?al(el(["(",sl(el([il,tl(el([ol("",", "),il]),e.call((function(e){return pl(e,t,r)}),"arguments"))])),il,")"])):""]);case"NamedType":return e.call(r,"name");case"VariableDefinition":return el([e.call(r,"variable"),": ",e.call(r,"type"),n.defaultValue?el([" = ",e.call(r,"defaultValue")]):"",cl(e,r,n)]);case"TypeExtensionDefinition":return el(["extend ",e.call(r,"definition")]);case"ObjectTypeExtension":case"ObjectTypeDefinition":return el([e.call(r,"description"),n.description?rl:"","ObjectTypeExtension"===n.kind?"extend ":"","type ",e.call(r,"name"),n.interfaces.length>0?el([" implements ",tl(fl(t.originalText.substr(t.locStart(n),t.locEnd(n))),e.map(r,"interfaces"))]):"",cl(e,r,n),n.fields.length>0?el([" {",sl(el([rl,tl(rl,e.call((function(e){return pl(e,t,r)}),"fields"))])),rl,"}"]):""]);case"FieldDefinition":return el([e.call(r,"description"),n.description?rl:"",e.call(r,"name"),n.arguments.length>0?al(el(["(",sl(el([il,tl(el([ol("",", "),il]),e.call((function(e){return pl(e,t,r)}),"arguments"))])),il,")"])):"",": ",e.call(r,"type"),cl(e,r,n)]);case"DirectiveDefinition":return el([e.call(r,"description"),n.description?rl:"","directive ","@",e.call(r,"name"),n.arguments.length>0?al(el(["(",sl(el([il,tl(el([ol("",", "),il]),e.call((function(e){return pl(e,t,r)}),"arguments"))])),il,")"])):"",el([" on ",tl(" | ",e.map(r,"locations"))])]);case"EnumTypeExtension":case"EnumTypeDefinition":return el([e.call(r,"description"),n.description?rl:"","EnumTypeExtension"===n.kind?"extend ":"","enum ",e.call(r,"name"),cl(e,r,n),n.values.length>0?el([" {",sl(el([rl,tl(rl,e.call((function(e){return pl(e,t,r)}),"values"))])),rl,"}"]):""]);case"EnumValueDefinition":return el([e.call(r,"description"),n.description?rl:"",e.call(r,"name"),cl(e,r,n)]);case"InputValueDefinition":return el([e.call(r,"description"),n.description?n.description.block?rl:nl:"",e.call(r,"name"),": ",e.call(r,"type"),n.defaultValue?el([" = ",e.call(r,"defaultValue")]):"",cl(e,r,n)]);case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return el([e.call(r,"description"),n.description?rl:"","InputObjectTypeExtension"===n.kind?"extend ":"","input ",e.call(r,"name"),cl(e,r,n),n.fields.length>0?el([" {",sl(el([rl,tl(rl,e.call((function(e){return pl(e,t,r)}),"fields"))])),rl,"}"]):""]);case"SchemaDefinition":return el(["schema",cl(e,r,n)," {",n.operationTypes.length>0?sl(el([rl,tl(rl,e.call((function(e){return pl(e,t,r)}),"operationTypes"))])):"",rl,"}"]);case"OperationTypeDefinition":return el([e.call(r,"operation"),": ",e.call(r,"type")]);case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return el([e.call(r,"description"),n.description?rl:"","InterfaceTypeExtension"===n.kind?"extend ":"","interface ",e.call(r,"name"),cl(e,r,n),n.fields.length>0?el([" {",sl(el([rl,tl(rl,e.call((function(e){return pl(e,t,r)}),"fields"))])),rl,"}"]):""]);case"FragmentSpread":return el(["...",e.call(r,"name"),cl(e,r,n)]);case"InlineFragment":return el(["...",n.typeCondition?el([" on ",e.call(r,"typeCondition")]):"",cl(e,r,n)," ",e.call(r,"selectionSet")]);case"UnionTypeExtension":case"UnionTypeDefinition":return al(el([e.call(r,"description"),n.description?rl:"",al(el(["UnionTypeExtension"===n.kind?"extend ":"","union ",e.call(r,"name"),cl(e,r,n),n.types.length>0?el([" =",ol(""," "),sl(el([ol(el([nl," "])),tl(el([nl,"| "]),e.map(r,"types"))]))]):""]))]));case"ScalarTypeExtension":case"ScalarTypeDefinition":return el([e.call(r,"description"),n.description?rl:"","ScalarTypeExtension"===n.kind?"extend ":"","scalar ",e.call(r,"name"),cl(e,r,n)]);case"NonNullType":return el([e.call(r,"type"),"!"]);case"ListType":return el(["[",e.call(r,"type"),"]"]);default:throw new Error("unknown graphql type: "+JSON.stringify(n.kind))}},massageAstNode:function(e,t){delete t.loc,delete t.comments},hasPrettierIgnore:ul,insertPragma:Qu,printComment:function(e){var t=e.getValue();if("Comment"===t.kind)return"#"+t.value.trimRight();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&"Comment"!==e.kind}},hl={bracketSpacing:Iu.bracketSpacing},yl=[".graphql",".gql"],ml={name:"GraphQL",type:"data",extensions:yl,tmScope:"source.graphql",aceMode:"text",languageId:139},vl=Object.freeze({name:"GraphQL",type:"data",extensions:yl,tmScope:"source.graphql",aceMode:"text",languageId:139,default:ml}),gl={languages:[Lu(vl&&ml||vl,{override:{since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}})],options:hl,printers:{graphql:dl}},Tl=zi.builders,El=Tl.concat,Sl=Tl.join,bl=Tl.softline,xl=Tl.hardline,Dl=Tl.line,Al=Tl.group,Cl=Tl.indent,Pl=Tl.ifBreak,wl=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function _l(e,t){return e.call(t,"path")}function Ol(e,t){var r=e.getValue(),n=[];return r.params.length>0&&(n=n.concat(e.map(t,"params"))),r.hash&&r.hash.pairs.length>0&&n.push(e.call(t,"hash")),n}function Fl(e,t){var r=[];return r.push(_l(e,t)),r=r.concat(Ol(e,t)),Cl(Al(Sl(Dl,r)))}function Nl(e){var t=e.getValue();return t.program&&t.program.blockParams.length?El([" as |",t.program.blockParams.join(" "),"|"]):""}function Il(e,t){return Al(El(["{{#",Fl(e,t),Nl(e),bl,"}}"]))}function kl(e,t){return El(["{{/",e.call(t,"path"),"}}"])}var Ll={print:function(e,t,r){var n=e.getValue();if(!n)return"";switch(n.type){case"Program":return Al(Sl(bl,e.map(r,"body").filter((function(e){return""!==e}))));case"ElementNode":var i=n.tag[0],a=-1!==n.tag.indexOf("."),s=i.toUpperCase()===i||a,o=n.children.length>0,u=s&&!o||-1!==wl.indexOf(n.tag),l=u?El([" />",bl]):">";return El([Al(El(["<",n.tag,function(e,t){return Cl(El([n.attributes.length?Dl:"",Sl(Dl,e.map(t,"attributes")),n.modifiers.length?Dl:"",Sl(Dl,e.map(t,"modifiers")),n.comments.length?Dl:"",Sl(Dl,e.map(t,"comments"))]))}(e,r),n.blockParams.length?" as |".concat(n.blockParams.join(" "),"|"):"",Pl(bl,""),l])),Al(El([Cl(Sl(bl,[""].concat(e.map(r,"children")))),Pl(o?xl:"",""),u?"":El(["</",n.tag,">"])]))]);case"BlockStatement":var c=e.getParentNode(1),p=c&&c.inverse&&1===c.inverse.body.length&&c.inverse.body[0]===n&&"if"===c.inverse.body[0].path.parts[0],f=n.inverse&&1===n.inverse.body.length&&"BlockStatement"===n.inverse.body[0].type&&"if"===n.inverse.body[0].path.parts[0],d=f?function(e){return e}:Cl;if(n.inverse)return El([p?El(["{{else ",Fl(e,r),"}}"]):Il(e,r),Cl(El([xl,e.call(r,"program")])),n.inverse&&!f?El([xl,"{{else}}"]):"",n.inverse?d(El([xl,e.call(r,"inverse")])):"",p?"":El([xl,kl(e,r)])]);if(p)return El([El(["{{else ",Fl(e,r),"}}"]),Cl(El([xl,e.call(r,"program")]))]);var h=n.params.length>0||n.hash.pairs.length>0,y=n.program.body.length>0;return El([Il(e,r),Al(El([Cl(El([bl,e.call(r,"program")])),h&&y?xl:bl,kl(e,r)]))]);case"ElementModifierStatement":case"MustacheStatement":var m=e.getParentNode(1),v=m&&"ConcatStatement"===m.type;return Al(El([!1===n.escaped?"{{{":"{{",Fl(e,r),v?"":bl,!1===n.escaped?"}}}":"}}"]));case"SubExpression":var g=Ol(e,r),T=g.length>0?Cl(El([Dl,Al(Sl(Dl,g))])):"";return Al(El(["(",_l(e,r),T,bl,")"]));case"AttrNode":var E="TextNode"===n.value.type;if(E&&n.value.loc.start.column===n.value.loc.end.column)return El([n.name]);var S=E?'"':"";return El([n.name,"=",S,e.call(r,"value"),S]);case"ConcatStatement":return El(['"',Al(Cl(Sl(bl,e.map((function(e){return r(e)}),"parts").filter((function(e){return""!==e}))))),'"']);case"Hash":return El([Sl(Dl,e.map(r,"pairs"))]);case"HashPair":return El([n.key,"=",e.call(r,"value")]);case"TextNode":var b="",x="";if(e.stack.indexOf("attributes")>=0){var D=e.getParentNode(0);if("ConcatStatement"===D.type){var A=D.parts,C=A.indexOf(n);C>0&&"MustacheStatement"===A[C-1].type&&(b=" "),C<A.length-1&&"MustacheStatement"===A[C+1].type&&(x=" ")}}return n.chars.replace(/^\s+/,b).replace(/\s+$/,x);case"MustacheCommentStatement":var P=n.value.indexOf("}}")>-1?"--":"";return El(["{{!",P,n.value,P,"}}"]);case"PathExpression":return n.original;case"BooleanLiteral":return String(n.value);case"CommentStatement":return El(["\x3c!--",n.value,"--\x3e"]);case"StringLiteral":return function(e,t){var r={quote:'"',regex:/"/g},n={quote:"'",regex:/'/g},i=t.singleQuote?n:r,a=i===n?r:n,s=!1;if(e.includes(i.quote)||e.includes(a.quote)){var o=(e.match(i.regex)||[]).length,u=(e.match(a.regex)||[]).length;s=o>u}var l=s?a:i,c=e.replace(l.regex,"\\".concat(l.quote));return"".concat(l.quote).concat(c).concat(l.quote)}(n.value,t);case"NumberLiteral":return String(n.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(n.type))}},massageAstNode:function(e,t){if(delete t.loc,"TextNode"===e.type){if(""===e.chars.replace(/\s+/,""))return null;t.chars=e.chars.replace(/^\s+/,"").replace(/\s+$/,"")}}},Ml=["hbs","htmlbars"],Bl=[".handlebars",".hbs"],jl={name:"Handlebars",type:"markup",group:"HTML",aliases:Ml,extensions:Bl,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},Rl=Object.freeze({name:"Handlebars",type:"markup",group:"HTML",aliases:Ml,extensions:Bl,tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155,default:jl}),Vl={languages:[Lu(Rl&&jl||Rl,{override:{since:null,parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}})],printers:{glimmer:Ll}},ql=["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],Ul=["title"],Kl=["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],Xl=["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],Jl=["autoplay","controls","crossorigin","loop","muted","preload","src"],Yl=["href","target"],Wl=["color","face","size"],$l=["dir"],Hl=["cite"],zl=["alink","background","bgcolor","link","text","vlink"],Gl=["clear"],Ql=["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],Zl=["height","width"],ec=["align"],tc=["align","char","charoff","span","valign","width"],rc=["align","char","charoff","span","valign","width"],nc=["value"],ic=["cite","datetime"],ac=["open"],sc=["title"],oc=["open"],uc=["compact"],lc=["align"],cc=["compact"],pc=["height","src","type","width"],fc=["disabled","form","name"],dc=["color","face","size"],hc=["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],yc=["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],mc=["cols","rows"],vc=["align"],gc=["align"],Tc=["align"],Ec=["align"],Sc=["align"],bc=["align"],xc=["profile"],Dc=["align","noshade","size","width"],Ac=["manifest","version"],Cc=["align","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],Pc=["align","alt","border","crossorigin","decoding","height","hspace","ismap","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],wc=["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],_c=["cite","datetime"],Oc=["prompt"],Fc=["accesskey","for","form"],Nc=["accesskey","align"],Ic=["type","value"],kc=["as","charset","color","crossorigin","href","hreflang","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],Lc=["name"],Mc=["compact"],Bc=["charset","content","http-equiv","name","scheme"],jc=["high","low","max","min","optimum","value"],Rc=["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],Vc=["compact","reversed","start","type"],qc=["disabled","label"],Uc=["disabled","label","selected","value"],Kc=["for","form","name"],Xc=["align"],Jc=["name","type","value","valuetype"],Yc=["width"],Wc=["max","value"],$c=["cite"],Hc=["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],zc=["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],Gc=["name"],Qc=["media","sizes","src","srcset","type"],Zc=["media","nonce","title","type"],ep=["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tp=["align","char","charoff","valign"],rp=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],np=["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],ip=["align","char","charoff","valign"],ap=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],sp=["align","char","charoff","valign"],op=["datetime"],up=["align","bgcolor","char","charoff","valign"],lp=["default","kind","label","src","srclang"],cp=["compact","type"],pp=["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"],fp={a:ql,abbr:Ul,applet:Kl,area:Xl,audio:Jl,base:Yl,basefont:Wl,bdo:$l,blockquote:Hl,body:zl,br:Gl,button:Ql,canvas:Zl,caption:ec,col:tc,colgroup:rc,data:nc,del:ic,details:ac,dfn:sc,dialog:oc,dir:uc,div:lc,dl:cc,embed:pc,fieldset:fc,font:dc,form:hc,frame:yc,frameset:mc,h1:vc,h2:gc,h3:Tc,h4:Ec,h5:Sc,h6:bc,head:xc,hr:Dc,html:Ac,iframe:Cc,img:Pc,input:wc,ins:_c,isindex:Oc,label:Fc,legend:Nc,li:Ic,link:kc,map:Lc,menu:Mc,meta:Bc,meter:jc,object:Rc,ol:Vc,optgroup:qc,option:Uc,output:Kc,p:Xc,param:Jc,pre:Yc,progress:Wc,q:$c,script:Hc,select:zc,slot:Gc,source:Qc,style:Zc,table:ep,tbody:tp,td:rp,textarea:np,tfoot:ip,th:ap,thead:sp,time:op,tr:up,track:lp,ul:cp,video:pp,"*":["accesskey","autocapitalize","class","contenteditable","dir","draggable","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"]},dp=Object.freeze({a:ql,abbr:Ul,applet:Kl,area:Xl,audio:Jl,base:Yl,basefont:Wl,bdo:$l,blockquote:Hl,body:zl,br:Gl,button:Ql,canvas:Zl,caption:ec,col:tc,colgroup:rc,data:nc,del:ic,details:ac,dfn:sc,dialog:oc,dir:uc,div:lc,dl:cc,embed:pc,fieldset:fc,font:dc,form:hc,frame:yc,frameset:mc,h1:vc,h2:gc,h3:Tc,h4:Ec,h5:Sc,h6:bc,head:xc,hr:Dc,html:Ac,iframe:Cc,img:Pc,input:wc,ins:_c,isindex:Oc,label:Fc,legend:Nc,li:Ic,link:kc,map:Lc,menu:Mc,meta:Bc,meter:jc,object:Rc,ol:Vc,optgroup:qc,option:Uc,output:Kc,p:Xc,param:Jc,pre:Yc,progress:Wc,q:$c,script:Hc,select:zc,slot:Gc,source:Qc,style:Zc,table:ep,tbody:tp,td:rp,textarea:np,tfoot:ip,th:ap,thead:sp,time:op,tr:up,track:lp,ul:cp,video:pp,default:fp}),hp=dp&&fp||dp,yp={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"none",rp:"none",script:"none",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",video:"inline-block",audio:"inline-block"},mp="inline",vp={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},gp="normal";function Tp(e){var t=Object.create(null),r=!0,n=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)t[a.value]=!0}catch(e){n=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}return t}function Ep(e,t){return!("element"!==e.type||"template"!==e.fullName||!e.attrMap.lang||"html"===e.attrMap.lang)||!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&-1===["template","style","script","html"].indexOf(e.fullName)||!(!Ip(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type})))}function Sp(e){return"attribute"!==e.type&&!bp(e)&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function bp(e){return"text"===e.type||"comment"===e.type}function xp(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName)}function Dp(e){return"yaml"===e.type||"toml"===e.type}function Ap(e){return kp(e).startsWith("pre")}function Cp(e){return"element"===e.type&&0!==e.children.length&&(-1!==["html","head","ul","ol","select"].indexOf(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function Pp(e){return Fp(e)||"element"===e.type&&"br"===e.fullName||wp(e)}function wp(e){return _p(e)&&Op(e)}function _p(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function Op(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Fp(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return-1!==["script","select"].indexOf(e.name)}return!1}function Np(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Ip(e){return kp(e).startsWith("pre")}function kp(e){return"element"===e.type&&!e.namespace&&vp[e.name]||gp}Tp(as),function(e,t){for(var r=Object.create(null),n=Object.keys(e),i=0;i<n.length;i++){var a=n[i];r[a]=t(e[a],a)}}(hp,Tp);var Lp=function(e){return e.children&&!xp(e)},Mp=function(e,t){for(var r=0,n=0;n<e.length;n++)e[n]===t&&r++;return r},Bp=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},r=0,n=e.stack.length-1;n>=0;n--){var i=e.stack[n];i&&"object"===T(i)&&!Array.isArray(i)&&t(i)&&r++}return r},jp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var t=1/0,r=!0,n=!1,i=void 0;try{for(var a,s=e.split("\n")[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var o=a.value;if(0!==o.length){if(/\S/.test(o[0]))return 0;var u=o.match(/^\s*/)[0].length;o.length!==u&&u<t&&(t=u)}}}catch(e){n=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}return t===1/0?0:t}(e);return 0===t?e:e.split("\n").map((function(e){return e.slice(t)})).join("\n")},Rp=Cp,Vp=function(e){return Cp(e)||"element"===e.type&&0!==e.children.length&&(-1!==["body","template","script","style"].indexOf(e.name)||e.children.some((function(e){return function(e){return e.children&&e.children.some((function(e){return"text"!==e.type}))}(e)})))||e.firstChild&&e.firstChild===e.lastChild&&_p(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Op(e.lastChild))},qp=function(e){return Dp(e)||e.next&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},Up=function e(t){return t.lastChild?e(t.lastChild):t},Kp=function(e){var t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},Xp=Sp,Jp=function(e){if("script"===e.name&&!e.attrMap.src){if(!e.attrMap.lang&&!e.attrMap.type||"module"===e.attrMap.type||"text/javascript"===e.attrMap.type||"text/babel"===e.attrMap.type||"application/javascript"===e.attrMap.type)return"babel";if("application/x-typescript"===e.attrMap.type||"ts"===e.attrMap.lang||"tsx"===e.attrMap.lang)return"typescript";if("text/markdown"===e.attrMap.type)return"markdown";if("application/ld+json"===e.attrMap.type)return"json"}if("style"===e.name){if(!e.attrMap.lang||"postcss"===e.attrMap.lang)return"css";if("scss"===e.attrMap.lang)return"scss";if("less"===e.attrMap.lang)return"less"}return null},Yp=function(e){return!Np(t=e.cssDisplay)&&"inline-block"!==t&&!xp(e);var t},Wp=function(e){var t,r=!(Dp(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!Ip(e.parent)&&(!e.prev&&("root"===e.parent.type||xp(e.parent)||(t=e.parent.cssDisplay,Np(t)||"inline-block"===t))||e.prev&&!function(e){return!Np(e)}(e.prev.cssDisplay))));return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r},$p=xp,Hp=bp,zp=function(e){for(var t=[],r=e.slice();0!==r.length;){var n=r.shift();n&&("concat"!==n.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof n?t.push(n):t.push(t.pop()+n):Array.prototype.unshift.apply(r,n.parts))}return t},Gp=function(e){return Fp(e)||e.prev&&Pp(e.prev)||wp(e)},Qp=function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Sp(e)||Ep(e.parent,t))},Zp=Ep,ef=function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')},tf=Lp,rf=function(e,t){if(e.prev&&"comment"===e.prev.type){var r=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(r)return r[1]}var n=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){for(var r=e;r;){if(t(r))return!0;r=r.parent}return!1}(e,(function(e){return"svg:foreignObject"===e.fullName})))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"element"===e.type&&(!e.namespace||n)&&yp[e.name]||mp}},nf=Yp,af=Ap,sf=Wp,of=function(e){return!(Dp(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!Ip(e.parent)&&(!e.next&&("root"===e.parent.type||xp(e.parent)||(t=e.parent.cssDisplay,Np(t)||"inline-block"===t))||e.next&&!function(e){return!Np(e)}(e.next.cssDisplay))));var t},uf=function(e){return xp(e)||"interpolation"===e.type||Ap(e)},lf=[function(e){return e.map((function(e){if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&0!==e.children.length&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){var t=e.children[0];return e.clone({children:1===t.value.length?e.children.slice(1):[].concat(t.clone({value:t.value.slice(1)}),e.children.slice(1))})}return e}))},function(e){var t=function(e){return"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset};return e.map((function(e){if(e.children){var r=e.children.map(t);if(r.some(Boolean)){for(var n=[],i=0;i<e.children.length;i++){var a=e.children[i];if(!r[i+1])if(r[i]){var s=a.prev,o=a.firstChild,u=a.sourceSpan.constructor,l=new u(s.sourceSpan.start,o.sourceSpan.end),c=new u(l.start,a.sourceSpan.end);n.push(a.clone({condition:s.condition,sourceSpan:c,startSourceSpan:l,children:a.children.slice(1)}))}else n.push(a)}return e.clone({children:n})}}return e}))},function(e){return function(e,t,r){return e.map((function(e){if(e.children){var n=e.children.map(t);if(n.some(Boolean)){for(var i=[],a=0;a<e.children.length;a++){var s=e.children[a];if("text"===s.type||n[a]){var o="text"===s.type?s:s.clone({type:"text",value:r(s)});if(0!==i.length&&"text"===i[i.length-1].type){var u=i.pop(),l=u.sourceSpan.constructor;i.push(u.clone({value:u.value+o.value,sourceSpan:new l(u.sourceSpan.start,o.sourceSpan.end)}))}else i.push(o)}else i.push(s)}return e.clone({children:i})}}return e}))}(e,(function(e){return"cdata"===e.type}),(function(e){return"<![CDATA[".concat(e.value,"]]>")}))},function(e,t){if("html"===t.parser)return e;var r=/\{\{([\s\S]+?)\}\}/g;return e.map((function(e){if(!tf(e))return e;var t=[],n=!0,i=!1,a=void 0;try{for(var s,o=e.children[Symbol.iterator]();!(n=(s=o.next()).done);n=!0){var u=s.value;if("text"===u.type)for(var l=u.sourceSpan.constructor,c=u.sourceSpan.start,p=null,f=u.value.split(r),d=0;d<f.length;d++,c=p){var h=f[d];d%2!=0?(p=c.moveBy(h.length+4),t.push({type:"interpolation",sourceSpan:new l(c,p),children:0===h.length?[]:[{type:"text",value:h,sourceSpan:new l(c.moveBy(2),p.moveBy(-2))}]})):(p=c.moveBy(h.length),0!==h.length&&t.push({type:"text",value:h,sourceSpan:new l(c,p)}))}else t.push(u)}}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}return e.clone({children:t})}))},function(e){return e.map((function(e){if(!e.children)return e;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===e.children[0].value.trim().length)return e.clone({children:[],hasDanglingSpaces:0!==e.children.length});var t=uf(e),r=af(e);return e.clone({isWhitespaceSensitive:t,isIndentationSensitive:r,children:e.children.reduce((function(e,r){if("text"!==r.type||t)return e.concat(r);var n=[],i=N(r.value.match(/^(\s*)([\s\S]*?)(\s*)$/),4),a=i[1],s=i[2],o=i[3];a&&n.push({type:"whitespace"});var u=r.sourceSpan.constructor;return s&&n.push({type:"text",value:s,sourceSpan:new u(r.sourceSpan.start.moveBy(a.length),r.sourceSpan.end.moveBy(-o.length))}),o&&n.push({type:"whitespace"}),e.concat(n)}),[]).reduce((function(e,t,r,n){if("whitespace"===t.type)return e;var i=0!==r&&"whitespace"===n[r-1].type,a=r!==n.length-1&&"whitespace"===n[r+1].type;return e.concat(Object.assign({},t,{hasLeadingSpaces:i,hasTrailingSpaces:a}))}),[])})}))},function(e,t){return e.map((function(e){return Object.assign(e,{cssDisplay:rf(e,t)})}))},function(e){return e.map((function(e){return Object.assign(e,{isSelfClosing:!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)})}))},function(e,t){return e.map((function(e){return"element"!==e.type?e:Object.assign(e,{hasHtmComponentClosingTag:e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset))})}))},function(e){return e.map((function(e){return e.children?0===e.children.length?e.clone({isDanglingSpaceSensitive:nf(e)}):e.clone({children:e.children.map((function(e){return Object.assign({},e,{isLeadingSpaceSensitive:sf(e),isTrailingSpaceSensitive:of(e)})})).map((function(e,t,r){return Object.assign({},e,{isLeadingSpaceSensitive:0===t?e.isLeadingSpaceSensitive:r[t-1].isTrailingSpaceSensitive&&e.isLeadingSpaceSensitive,isTrailingSpaceSensitive:t===r.length-1?e.isTrailingSpaceSensitive:r[t+1].isLeadingSpaceSensitive&&e.isTrailingSpaceSensitive})}))}):e}))},function(e){var t=function(e){return"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!/[^\S\xA0]/.test(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type};return e.map((function(e){if(e.children){var r=e.children.map(t);if(r.some(Boolean)){for(var n=[],i=0;i<e.children.length;i++){var a=e.children[i];if(r[i]){var s=n.pop(),o=e.children[++i],u=e.sourceSpan.constructor,l=o.isTrailingSpaceSensitive,c=o.hasTrailingSpaces;n.push(s.clone({value:s.value+"<".concat(a.rawName,">")+a.firstChild.value+"</".concat(a.rawName,">")+o.value,sourceSpan:new u(s.sourceSpan.start,o.sourceSpan.end),isTrailingSpaceSensitive:l,hasTrailingSpaces:c}))}else n.push(a)}return e.clone({children:n})}}return e}))}],cf=function(e,t){for(var r=0;r<lf.length;r++)e=(0,lf[r])(e,t);return e},pf=function(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")},ff=zi.builders,df=ff.concat,hf=ff.group,yf=function(e){var t=e.trim();return/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/.test(t)},mf=function(e,t){var r=function(e){var t=/,([^,}\]]*)(?:,([^,}\]]*))?$/,r=e.match(/([^]*?)\s+(in|of)\s+([^]*)/);if(r){var n={};n.for=r[3].trim();var i=r[1].trim().replace(/^\(|\)$/g,""),a=i.match(t);return a?(n.alias=i.replace(t,""),n.iterator1=a[1].trim(),a[2]&&(n.iterator2=a[2].trim())):n.alias=i,{left:"".concat([n.alias,n.iterator1,n.iterator2].filter(Boolean).join(",")),operator:r[2],right:n.for}}}(e),n=r.left,i=r.operator,a=r.right;return df([hf(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",i," ",t(a,{parser:"__js_expression"})])},vf=function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueSlotScope:!0})},gf=p((function(e){var t,r;t=l,r=function(){return function(e,t){var r=t&&t.logger||console;function n(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var r,n=t.exec(e.substring(v));if(n)return r=n[0],v+=r.length,r}for(var a,s,o,u,l,c=e.length,p=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,y=/^\d+$/,m=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=0,g=[];;){if(i(f),v>=c)return g;a=i(d),s=[],","===a.slice(-1)?(a=a.replace(h,""),E()):T()}function T(){for(i(p),o="",u="in descriptor";;){if(l=e.charAt(v),"in descriptor"===u)if(n(l))o&&(s.push(o),o="",u="after descriptor");else{if(","===l)return v+=1,o&&s.push(o),void E();if("("===l)o+=l,u="in parens";else{if(""===l)return o&&s.push(o),void E();o+=l}}else if("in parens"===u)if(")"===l)o+=l,u="in descriptor";else{if(""===l)return s.push(o),void E();o+=l}else if("after descriptor"===u)if(n(l));else{if(""===l)return void E();u="in descriptor",v-=1}v+=1}}function E(){var t,n,i,o,u,l,c,p,f,d=!1,h={};for(o=0;o<s.length;o++)l=(u=s[o])[u.length-1],c=u.substring(0,u.length-1),p=parseInt(c,10),f=parseFloat(c),y.test(c)&&"w"===l?((t||n)&&(d=!0),0===p?d=!0:t=p):m.test(c)&&"x"===l?((t||n||i)&&(d=!0),f<0?d=!0:n=f):y.test(c)&&"h"===l?((i||n)&&(d=!0),0===p?d=!0:i=p):d=!0;d?r&&r.error&&r.error("Invalid srcset descriptor found in '"+e+"' at '"+u+"'."):(h.url=a,t&&(h.w=t),n&&(h.d=n),i&&(h.h=i),g.push(h))}}},e.exports?e.exports=r():t.parseSrcset=r()})),Tf=zi.builders,Ef=Tf.concat,Sf=Tf.ifBreak,bf=Tf.join,xf=Tf.line,Df=function(e){var t=gf(e,{logger:{error:function(e){throw new Error(e)}}}),r=t.some((function(e){return e.w})),n=t.some((function(e){return e.h}));if(r+n+t.some((function(e){return e.d}))!==1)throw new Error("Mixed descriptor in srcset is not supported");var i=r?"w":n?"h":"d",a=r?"w":n?"h":"x",s=function(e){return Math.max.apply(Math,e)},o=t.map((function(e){return e.url})),u=s(o.map((function(e){return e.length}))),l=t.map((function(e){return e[i]})).map((function(e){return e?e.toString():""})),c=l.map((function(e){var t=e.indexOf(".");return-1===t?e.length:t})),p=s(c);return bf(Ef([",",xf]),o.map((function(e,t){var r=[e],n=l[t];if(n){var i=u-e.length+1,s=p-c[t],o=" ".repeat(i+s);r.push(Sf(o," "),n+a)}return Ef(r)})))},Af=zi.builders,Cf=zi.utils,Pf=Cf.stripTrailingHardline,wf=Cf.mapDoc,_f=Af.breakParent,Of=Af.dedentToRoot,Ff=Af.fill,Nf=Af.group,If=Af.hardline,kf=Af.ifBreak,Lf=Af.indent,Mf=Af.join,Bf=Af.line,jf=Af.literalline,Rf=Af.markAsRoot,Vf=Af.softline,qf=Mp,Uf=Bp,Kf=jp,Xf=Rp,Jf=Vp,Yf=qp,Wf=Up,$f=Kp,Hf=Xp,zf=Jp,Gf=$p,Qf=Hp,Zf=zp,ed=Gp,td=Qp,rd=Zp,nd=ef,id=Ai.replaceEndOfLineWith,ad=mf,sd=vf,od=yf,ud=Df;function ld(e){var t=Zf(e);return 0===t.length?"":1===t.length?t[0]:Af.concat(t)}function cd(e,t,r){var n=e.getValue();if(Xf(n))return ld([_f,ld(e.map((function(e){var t=e.getValue(),r=t.prev?s(t.prev,t):"";return ld([r?ld([r,Yf(t.prev)?If:""]):"",a(e)])}),"children"))]);var i=n.children.map((function(){return Symbol("")}));return ld(e.map((function(e,t){var r=e.getValue();if(Qf(r)){if(r.prev&&Qf(r.prev)){var n=s(r.prev,r);if(n)return Yf(r.prev)?ld([If,If,a(e)]):ld([n,a(e)])}return a(e)}var o=[],u=[],l=[],c=[],p=r.prev?s(r.prev,r):"",f=r.next?s(r,r.next):"";return p&&(Yf(r.prev)?o.push(If,If):p===If?o.push(If):Qf(r.prev)?u.push(p):u.push(kf("",Vf,{groupId:i[t-1]}))),f&&(Yf(r)?Qf(r.next)&&c.push(If,If):f===If?Qf(r.next)&&c.push(If):l.push(f)),ld([].concat(o,Nf(ld([ld(u),Nf(ld([a(e),ld(l)]),{id:i[t]})])),c))}),"children"));function a(e){var n=e.getValue();return Hf(n)?ld([].concat(bd(n,t),id(t.originalText.slice(t.locStart(n)+(n.prev&&vd(n.prev)?Ad(n).length:0),t.locEnd(n)-(n.next&&Td(n.next)?wd(n,t).length:0)),jf),Dd(n,t))):rd(n,t)?ld([].concat(bd(n,t),Nf(pd(e,t,r)),id(t.originalText.slice(n.startSourceSpan.end.offset+(n.firstChild&&gd(n.firstChild)?-Cd(n).length:0),n.endSourceSpan.start.offset+(n.lastChild&&Sd(n.lastChild)?Pd(n,t).length:Ed(n)?-wd(n.lastChild,t).length:0)),jf),hd(n,t),Dd(n,t))):r(e)}function s(e,t){return Qf(e)&&Qf(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?ed(t)?If:Bf:"":ed(t)?If:Vf:vd(e)&&(t.firstChild||t.isSelfClosing||"element"===t.type&&0!==t.attrs.length)||"element"===e.type&&e.isSelfClosing&&Td(t)?"":!t.isLeadingSpaceSensitive||ed(t)||Td(t)&&e.lastChild&&Sd(e.lastChild)&&e.lastChild.lastChild&&Sd(e.lastChild.lastChild)?If:t.hasLeadingSpaces?Bf:Vf}}function pd(e,t,r){var n,i,a=e.getValue(),s="element"===a.type&&"script"===a.fullName&&1===a.attrs.length&&"src"===a.attrs[0].fullName&&0===a.children.length;return ld([fd(a,t),a.attrs&&0!==a.attrs.length?ld([Lf(ld([s?" ":Bf,Mf(Bf,(n=a.prev&&"comment"===a.prev.type&&$f(a.prev.value),i="boolean"==typeof n?function(){return n}:Array.isArray(n)?function(e){return-1!==n.indexOf(e.rawName)}:function(){return!1},e.map((function(e){var n=e.getValue();return i(n)?ld(id(t.originalText.slice(t.locStart(n),t.locEnd(n)),jf)):r(e)}),"attrs")))])),a.firstChild&&gd(a.firstChild)||a.isSelfClosing&&Ed(a.parent)?"":a.isSelfClosing?s?" ":Bf:s?"":Vf]):a.isSelfClosing?" ":"",a.isSelfClosing?"":dd(a)])}function fd(e,t){return e.prev&&vd(e.prev)?"":ld([bd(e,t),Ad(e)])}function dd(e){return e.firstChild&&gd(e.firstChild)?"":Cd(e)}function hd(e,t){return ld([e.isSelfClosing?"":yd(e,t),md(e,t)])}function yd(e,t){return e.lastChild&&Sd(e.lastChild)?"":ld([xd(e,t),Pd(e,t)])}function md(e,t){return(e.next?Td(e.next):Ed(e.parent))?"":ld([wd(e,t),Dd(e,t)])}function vd(e){return e.next&&!Qf(e.next)&&Qf(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function gd(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Td(e){return e.prev&&!Qf(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Ed(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!Qf(Wf(e.lastChild))}function Sd(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Qf(Wf(e))}function bd(e,t){return gd(e)?Cd(e.parent):Td(e)?wd(e.prev,t):""}function xd(e,t){return Ed(e)?wd(e.lastChild,t):""}function Dd(e,t){return Sd(e)?Pd(e.parent,t):vd(e)?Ad(e.next):""}function Ad(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return"\x3c!--[if ".concat(e.condition,"]>\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function Cd(e){switch(Zi(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}function Pd(e,t){if(Zi(!e.isSelfClosing),td(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}function wd(e,t){if(td(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}var _d={preprocess:cf,print:function(e,t,r){var n,i=e.getValue();switch(i.type){case"root":return Af.concat([Nf(cd(e,t,r)),If]);case"element":case"ieConditionalComment":var a=1===i.children.length&&"interpolation"===i.firstChild.type&&i.firstChild.isLeadingSpaceSensitive&&!i.firstChild.hasLeadingSpaces&&i.lastChild.isTrailingSpaceSensitive&&!i.lastChild.hasTrailingSpaces,s=Symbol("element-attr-group-id");return ld([Nf(ld([Nf(pd(e,t,r),{id:s}),0===i.children.length?i.hasDanglingSpaces&&i.isDanglingSpaceSensitive?Bf:"":ld([Jf(i)?_f:"",(n=ld([a?kf(Vf,"",{groupId:s}):i.firstChild.hasLeadingSpaces&&i.firstChild.isLeadingSpaceSensitive?Bf:"text"===i.firstChild.type&&i.isWhitespaceSensitive&&i.isIndentationSensitive?Of(Vf):Vf,cd(e,t,r)]),a?kf(Lf(n),n,{groupId:s}):Gf(i)&&"root"===i.parent.type&&"vue"===t.parser?n:Lf(n)),(i.next?Td(i.next):Ed(i.parent))?i.lastChild.hasTrailingSpaces&&i.lastChild.isTrailingSpaceSensitive?" ":"":a?kf(Vf,"",{groupId:s}):i.lastChild.hasTrailingSpaces&&i.lastChild.isTrailingSpaceSensitive?Bf:("comment"===i.lastChild.type||"text"===i.lastChild.type&&i.isWhitespaceSensitive&&i.isIndentationSensitive)&&new RegExp("\\n\\s{".concat(t.tabWidth*Uf(e,(function(e){return e.parent&&"root"!==e.parent.type})),"}$")).test(i.lastChild.value)?"":Vf])])),hd(i,t)]);case"ieConditionalStartComment":case"ieConditionalEndComment":return ld([fd(i),md(i)]);case"interpolation":return ld([fd(i,t),ld(e.map(r,"children")),md(i,t)]);case"text":if("interpolation"===i.parent.type){var o=/\n[^\S\n]*?$/,u=o.test(i.value),l=u?i.value.replace(o,""):i.value;return ld([ld(id(l,jf)),u?If:""])}return Ff(Zf([].concat(bd(i,t),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?id(t,jf):id(Kf(t.replace(/^\s*?\n|\n\s*?$/g,"")),If):Mf(Bf,t.split(/[\t\n\f\r ]+/)).parts}(i),Dd(i,t))));case"docType":return ld([Nf(ld([fd(i,t)," ",i.value.replace(/^html\b/i,"html").replace(/\s+/g," ")])),md(i,t)]);case"comment":return ld([bd(i,t),ld(id(t.originalText.slice(t.locStart(i),t.locEnd(i)),jf)),Dd(i,t)]);case"attribute":if(null===i.value)return i.rawName;var c=nd(i.value),p=qf(c,"'")<qf(c,'"')?"'":'"';return ld([i.rawName,ld(["=",p,ld(id('"'===p?c.replace(/"/g,"&quot;"):c.replace(/'/g,"&apos;"),jf)),p])]);case"yaml":case"toml":return ld(id(i.raw,jf));default:throw new Error("Unexpected node type ".concat(i.type))}},insertPragma:pf,massageAstNode:function(e,t){return delete t.sourceSpan,delete t.startSourceSpan,delete t.endSourceSpan,delete t.nameSpan,delete t.valueSpan,"text"===e.type||"comment"===e.type?null:"yaml"===e.type||"toml"===e.type?null:("attribute"===e.type&&delete t.value,void("docType"===e.type&&delete t.value))},embed:function(e,t,r,n){var i=e.getValue();switch(i.type){case"text":if(Gf(i.parent)){var a=zf(i.parent);if(a){var s="markdown"===a?Kf(i.value.replace(/^[^\S\n]*?\n/,"")):i.value;return Af.concat([ld([_f,bd(i,n),Pf(r(s,{parser:a})),Dd(i,n)])])}}else if("interpolation"===i.parent.type)return ld([Lf(ld([Bf,r(i.value,Object.assign({__isInHtmlInterpolation:!0},"angular"===n.parser?{parser:"__ng_interpolation",trailingComma:"none"}:"vue"===n.parser?{parser:"__vue_expression"}:{parser:"__js_expression"}))])),i.parent.next&&Td(i.parent.next)?" ":Bf]);break;case"attribute":if(!i.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_IN_JS$/.test(n.originalText.slice(i.valueSpan.start.offset,i.valueSpan.end.offset)))return ld([i.rawName,"=",i.value]);if("lwc"===n.parser&&/^\{[\s\S]*\}$/.test(n.originalText.slice(i.valueSpan.start.offset,i.valueSpan.end.offset)))return ld([i.rawName,"=",i.value]);var o=function(e,t,r){var n=function(t){return new RegExp(t.join("|")).test(e.fullName)},i=function(){return nd(e.value)},a=!1,s=function(e){var t="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;!t||"ObjectExpression"!==t.type&&"ArrayExpression"!==t.type||(a=!0)},o=function(e){return Nf(ld([Lf(ld([Vf,e])),Vf]))},u=function(e){return a?function(e){return Nf(e)}(e):o(e)},l=function(e,r){return t(e,Object.assign({__onHtmlBindingRoot:s},r))};if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return o(ud(i()));if("vue"===r.parser){if("v-for"===e.fullName)return ad(i(),l);if("slot-scope"===e.fullName)return sd(i(),l);if(n(["^@","^v-on:"])){var c=i();return u(od(c)?l(c,{parser:"__js_expression"}):Pf(l(c,{parser:"__vue_event_binding"})))}if(n(["^:","^v-bind:"]))return u(l(i(),{parser:"__vue_expression"}));if(n(["^v-"]))return u(l(i(),{parser:"__js_expression"}))}if("angular"===r.parser){var p=function(e,t){return l(e,Object.assign({trailingComma:"none"},t))};if(n(["^\\(.+\\)$","^on-"]))return u(p(i(),{parser:"__ng_action"}));if(n(["^\\[.+\\]$","^bind(on)?-"]))return u(p(i(),{parser:"__ng_binding"}));if(n(["^\\*"]))return u(p(i(),{parser:"__ng_directive"}));var f=/\{\{([\s\S]+?)\}\}/g,d=i();if(f.test(d)){var h=[];return d.split(f).forEach((function(e,t){if(t%2==0)h.push(ld(id(e,jf)));else try{h.push(Nf(ld(["{{",Lf(ld([Bf,p(e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})])),Bf,"}}"])))}catch(t){h.push("{{",ld(id(e,jf)),"}}")}})),Nf(ld(h))}}return null}(i,(function(e,t){return r(e,Object.assign({__isInHtmlAttribute:!0},t))}),n);if(o)return ld([i.rawName,'="',Nf(wf(o,(function(e){return"string"==typeof e?e.replace(/"/g,"&quot;"):e}))),'"']);break;case"yaml":return Rf(ld(["---",If,0===i.value.trim().length?"":r(i.value,{parser:"yaml"}),"---"]))}}},Od={htmlWhitespaceSensitivity:{since:"1.15.0",category:"HTML",type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]}},Fd=["xhtml"],Nd=[".html",".htm",".html.hl",".inc",".st",".xht",".xhtml"],Id={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:Fd,extensions:Nd,languageId:146},kd=Object.freeze({name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:Fd,extensions:Nd,languageId:146,default:Id}),Ld=[".vue"],Md={name:"Vue",type:"markup",color:"#2c3e50",extensions:Ld,tmScope:"text.html.vue",aceMode:"html",languageId:391},Bd=Object.freeze({name:"Vue",type:"markup",color:"#2c3e50",extensions:Ld,tmScope:"text.html.vue",aceMode:"html",languageId:391,default:Md}),jd=kd&&Id||kd,Rd=Bd&&Md||Bd,Vd={languages:[Lu(jd,{override:{name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}}),Lu(jd,{override:{since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"]},extend:{extensions:[".mjml"]}}),Lu(jd,{override:{name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}}),Lu(Rd,{override:{since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}})],printers:{html:_d},options:Od},qd=Qi.addLeadingComment,Ud=Qi.addTrailingComment,Kd=Qi.addDanglingComment;function Xd(e,t){var r=e.body.filter((function(e){return"EmptyStatement"!==e.type}));0===r.length?Kd(e,t):qd(r[0],t)}function Jd(e,t){"BlockStatement"===e.type?Xd(e,t):qd(e,t)}function Yd(e,t,r,n,i,a){return!(!r||"IfStatement"!==r.type||!n||(")"===Ai.getNextNonSpaceNonCommentCharacter(e,i,a.locEnd)?(Ud(t,i),0):t===r.consequent&&n===r.alternate?("BlockStatement"===t.type?Ud(t,i):Kd(r,i),0):"BlockStatement"===n.type?(Xd(n,i),0):"IfStatement"===n.type?(Jd(n.consequent,i),0):r.consequent!==n||(qd(n,i),0)))}function Wd(e,t,r,n,i,a){return!(!r||"WhileStatement"!==r.type||!n||(")"===Ai.getNextNonSpaceNonCommentCharacter(e,i,a.locEnd)?(Ud(t,i),0):"BlockStatement"!==n.type||(Xd(n,i),0)))}function $d(e,t,r,n){return!(!e||"TryStatement"!==e.type&&"CatchClause"!==e.type||!r||("CatchClause"===e.type&&t?(Ud(t,n),0):"BlockStatement"===r.type?(Xd(r,n),0):"TryStatement"===r.type?(Jd(r.finalizer,n),0):"CatchClause"!==r.type||(Jd(r.body,n),0)))}function Hd(e,t,r,n){return!(!(e&&("ClassDeclaration"===e.type||"ClassExpression"===e.type)&&e.decorators&&e.decorators.length>0)||r&&"Decorator"===r.type||(e.decorators&&0!==e.decorators.length?Ud(e.decorators[e.decorators.length-1],n):qd(e,n),0))}function zd(e,t,r,n,i){return t&&r&&("Property"===t.type||"MethodDefinition"===t.type)&&"Identifier"===r.type&&t.key===r&&":"!==Ai.getNextNonSpaceNonCommentCharacter(e,r,i.locEnd)?(Ud(r,n),!0):!(!r||!t||"Decorator"!==r.type||"ClassMethod"!==t.type&&"ClassProperty"!==t.type&&"TSAbstractClassProperty"!==t.type&&"TSAbstractMethodDefinition"!==t.type&&"MethodDefinition"!==t.type||(Ud(r,n),0))}function Gd(e,t,r,n,i,a){if(t&&"FunctionTypeParam"===t.type&&r&&"FunctionTypeAnnotation"===r.type&&n&&"FunctionTypeParam"!==n.type)return Ud(t,i),!0;if(t&&("Identifier"===t.type||"AssignmentPattern"===t.type)&&r&&("ArrowFunctionExpression"===r.type||"FunctionExpression"===r.type||"FunctionDeclaration"===r.type||"ObjectMethod"===r.type||"ClassMethod"===r.type)&&")"===Ai.getNextNonSpaceNonCommentCharacter(e,i,a.locEnd))return Ud(t,i),!0;if(r&&"FunctionDeclaration"===r.type&&n&&"BlockStatement"===n.type){var s=function(){if(0!==r.params.length)return Ai.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,a.locEnd(Ai.getLast(r.params)));var t=Ai.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,a.locEnd(r.id));return Ai.getNextNonSpaceNonCommentCharacterIndexWithStartIndex(e,t+1)}();if(a.locStart(i)>s)return Xd(n,i),!0}return!1}function Qd(e,t){return!(!e||"ImportSpecifier"!==e.type||(qd(e,t),0))}function Zd(e,t,r,n){return t&&t.body&&0===t.body.length?(n?Kd(t,r):qd(t,r),!0):!(!e||"Program"!==e.type||0!==e.body.length||!e.directives||0!==e.directives.length||(n?Kd(e,r):qd(e,r),0))}var eh={handleOwnLineComment:function(e,t,r,n,i){var a=e.precedingNode,s=e.enclosingNode,o=e.followingNode;return!!(Gd(t,a,s,o,e,r)||function(e,t,r){return!(!e||"MemberExpression"!==e.type||!t||"Identifier"!==t.type)&&(qd(e,r),!0)}(s,o,e)||Yd(t,a,s,o,e,r)||Wd(t,a,s,o,e,r)||$d(s,a,o,e)||Hd(s,0,o,e)||Qd(s,e)||function(e,t,r){return!(!e||"ForInStatement"!==e.type&&"ForOfStatement"!==e.type)&&(qd(e,r),!0)}(s,0,e)||function(e,t,r,n){return!(!t||"UnionTypeAnnotation"!==t.type&&"TSUnionType"!==t.type)&&(Ud(e,n),!0)}(a,s,0,e)||Zd(s,n,e,i)||function(e,t,r,n,i){return!!(r&&"ImportSpecifier"===r.type&&t&&"ImportDeclaration"===t.type&&Ai.hasNewline(e,i.locEnd(n)))&&(Ud(r,n),!0)}(t,s,a,e,r)||function(e,t){return!(!e||"AssignmentPattern"!==e.type)&&(qd(e,t),!0)}(s,e)||zd(t,s,a,e,r))},handleEndOfLineComment:function(e,t,r,n,i){var a=e.precedingNode,s=e.enclosingNode,o=e.followingNode;return!!(Gd(t,a,s,o,e,r)||function(e,t,r,n,i,a){var s=t&&!Ai.hasNewlineInRange(i,a.locEnd(t),a.locStart(n));return!(t&&s||!e||"ConditionalExpression"!==e.type||!r)&&(qd(r,n),!0)}(s,a,o,e,t,r)||Qd(s,e)||Yd(t,a,s,o,e,r)||Wd(t,a,s,o,e,r)||$d(s,a,o,e)||Hd(s,0,o,e)||function(e,t){return!(!e||"LabeledStatement"!==e.type)&&(qd(e,t),!0)}(s,e)||function(e,t,r){return!!(t&&"CallExpression"===t.type&&e&&t.callee===e&&t.arguments.length>0)&&(qd(t.arguments[0],r),!0)}(a,s,e)||function(e,t){return!(!e||"Property"!==e.type&&"ObjectProperty"!==e.type)&&(qd(e,t),!0)}(s,e)||Zd(s,n,e,i)||function(e,t,r){return!(!e||"TypeAlias"!==e.type)&&(qd(e,r),!0)}(s,0,e)||function(e,t,r){return!(!e||"VariableDeclarator"!==e.type&&"AssignmentExpression"!==e.type||!t||"ObjectExpression"!==t.type&&"ArrayExpression"!==t.type&&"TemplateLiteral"!==t.type&&"TaggedTemplateExpression"!==t.type)&&(qd(t,r),!0)}(s,o,e))},handleRemainingComment:function(e,t,r,n,i){var a=e.precedingNode,s=e.enclosingNode,o=e.followingNode;return!!(Yd(t,a,s,o,e,r)||Wd(t,a,s,o,e,r)||function(e,t,r){return!(!e||"ObjectProperty"!==e.type&&"Property"!==e.type||!e.shorthand||e.key!==t||"AssignmentPattern"!==e.value.type)&&(Ud(e.value.left,r),!0)}(s,a,e)||function(e,t,r,n){return")"===Ai.getNextNonSpaceNonCommentCharacter(e,r,n.locEnd)&&(!t||("FunctionDeclaration"!==t.type&&"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"CallExpression"===t.body.type&&0!==t.body.arguments.length)&&"ClassMethod"!==t.type&&"ObjectMethod"!==t.type||0!==t.params.length)&&("CallExpression"!==t.type&&"NewExpression"!==t.type||0!==t.arguments.length)?!(!t||"MethodDefinition"!==t.type||0!==t.value.params.length)&&(Kd(t.value,r),!0):(Kd(t,r),!0))}(t,s,e,r)||zd(t,s,a,e,r)||Zd(s,n,e,i)||function(e,t,r,n){if(!t||"ArrowFunctionExpression"!==t.type)return!1;var i=Qi.getNextNonSpaceNonCommentCharacterIndex(e,r,n);return"=>"===e.substr(i,2)&&(Kd(t,r),!0)}(t,s,e,r)||function(e,t,r,n,i){return"("===Ai.getNextNonSpaceNonCommentCharacter(e,n,i.locEnd)&&(!(!r||!t||"FunctionDeclaration"!==t.type&&"FunctionExpression"!==t.type&&"ClassMethod"!==t.type&&"MethodDefinition"!==t.type&&"ObjectMethod"!==t.type)&&(Ud(r,n),!0))}(t,s,a,e,r)||function(e,t,r,n,i){return!(!t||"TSMappedType"!==t.type)&&(n&&"TSTypeParameter"===n.type&&n.name?(qd(n.name,i),!0):!(!r||"TSTypeParameter"!==r.type||!r.constraint)&&(Ud(r.constraint,i),!0))}(0,s,a,o,e)||function(e,t){return!(!e||"ContinueStatement"!==e.type&&"BreakStatement"!==e.type||e.label)&&(Ud(e,t),!0)}(s,e))},hasLeadingComment:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};return e.leadingComments?e.leadingComments.some(t):!!e.comments&&e.comments.some((function(e){return e.leading&&t(e)}))},isBlockComment:function(e){return"Block"===e.type||"CommentBlock"===e.type}},th=eh.isBlockComment,rh=eh.hasLeadingComment,nh=zi.builders,ih=nh.indent,ah=nh.join,sh=nh.hardline,oh=nh.softline,uh=nh.literalline,lh=nh.concat,ch=nh.group,ph=nh.dedentToRoot,fh=zi.utils,dh=fh.mapDoc,hh=fh.stripTrailingHardline;function yh(e,t){return dh(e,(function(e){if(!e.parts)return e;var r=[];return e.parts.forEach((function(e){"string"==typeof e?r.push(t?e.replace(/(\\*)`/g,"$1$1\\`"):e.replace(/([\\`]|\$\{)/g,"\\$1")):r.push(e)})),Object.assign({},e,{parts:r})}))}function mh(e){var t=[],r=!1;return e.map((function(e){return e.trim()})).forEach((function(e,n,i){""!==e&&(""===i[n-1]&&r?t.push(lh([sh,e])):t.push(e),r=!0)})),0===t.length?null:ah(sh,t)}function vh(e){var t=e.getValue(),r=e.getParentNode(),n=e.getParentNode(1);return n&&t.quasis&&"JSXExpressionContainer"===r.type&&"JSXElement"===n.type&&"style"===n.openingElement.name.name&&n.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))}function gh(e){return Dh(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"ArrayExpression"===e.type&&"elements"===t},function(e,t){return"Property"===e.type&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t}].concat([function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}]))}function Th(e){var t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;var r=t.tag;switch(r.type){case"MemberExpression":return Sh(r.object)||bh(r);case"CallExpression":return Sh(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(Sh(r.callee.object.object)||bh(r.callee.object))||"CallExpression"===r.callee.object.type&&Sh(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}function Eh(e){var t=e.getParentNode(),r=e.getParentNode(1);return r&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===r.type&&"JSXIdentifier"===r.name.type&&"css"===r.name.name}function Sh(e){return"Identifier"===e.type&&"styled"===e.name}function bh(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function xh(e,t){return rh(e,(function(e){return th(e)&&e.value===" ".concat(t," ")}))}function Dh(e,t){var r=e.stack.slice(),n=null,i=r.pop(),a=!0,s=!1,o=void 0;try{for(var u,l=t[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var c=u.value;if(void 0===i)return!1;if("number"==typeof n&&(n=r.pop(),i=r.pop()),!c(i,n))return!1;n=r.pop(),i=r.pop()}}catch(e){s=!0,o=e}finally{try{a||null==l.return||l.return()}finally{if(s)throw o}}return!0}function Ah(e,t,r,n){var i=e.getValue(),a=i.expressions.map((function(e,t){return"PRETTIER_HTML_PLACEHOLDER_".concat(t,"_IN_JS")})),s=i.quasis.map((function(e,t,r){return t===r.length-1?e.value.raw:e.value.raw+a[t]})).join(""),o=e.map(t,"expressions");if(0===o.length&&0===s.trim().length)return"``";var u=dh(hh(r(s,{parser:n})),(function(e){var t=new RegExp("PRETTIER_HTML_PLACEHOLDER_(\\d+)_IN_JS","g");if("string"!=typeof e||!t.test(e))return e;for(var r=[],n=e.split(t),i=0;i<n.length;i++){var a=n[i];if(i%2!=0){var s=+a;r.push(lh(["${",ch(o[s]),"}"]))}else a&&r.push(a)}return lh(r)}));return ch(lh(["`",ih(lh([sh,ch(u)])),oh,"`"]))}var Ch=function(e,t,r){var n,i=e.getValue(),a=e.getParentNode(),s=e.getParentNode(1);switch(i.type){case"TemplateLiteral":if([vh,Th,Eh,gh].some((function(t){return t(e)}))){var o=i.quasis.map((function(e){return e.value.raw})),u=0,l=o.reduce((function(e,t,r){return 0==r?t:e+"@prettier-placeholder-"+u+++"-id"+t}),"");return function(e,t,r){var n=t.getValue();if(1===n.quasis.length&&!n.quasis[0].value.raw.trim())return"``";var i=n.expressions?t.map(r,"expressions"):[],a=function(e,t){if(!t||!t.length)return e;var r=t.slice(),n=0,i=dh(e,(function(e){if(!e||!e.parts||!e.parts.length)return e;var t=e.parts,i=t.indexOf("@"),a=i+1;if(i>-1&&"string"==typeof t[a]&&t[a].startsWith("prettier-placeholder")){var s=t[i],o=t[a],u=t.slice(a+1);t=t.slice(0,i).concat([s+o]).concat(u)}var l=t.findIndex((function(e){return"string"==typeof e&&e.startsWith("@prettier-placeholder")}));if(l>-1){var c=t[l],p=t.slice(l+1),f=c.match(/@prettier-placeholder-(.+)-id([\s\S]*)/),d=f[1],h=f[2],y=r[d];n++,t=t.slice(0,l).concat(["${",y,"}"+h]).concat(p)}return Object.assign({},e,{parts:t})}));return r.length===n?i:null}(e,i);if(!a)throw new Error("Couldn't insert all the expressions");return lh(["`",ih(lh([sh,hh(a)])),oh,"`"])}(r(l,{parser:"css"}),e,t)}if(function(e){var t=e.getValue(),r=e.getParentNode();return xh(t,"GraphQL")||r&&("TaggedTemplateExpression"===r.type&&("MemberExpression"===r.tag.type&&"graphql"===r.tag.object.name&&"experimental"===r.tag.property.name||"Identifier"===r.tag.type&&("gql"===r.tag.name||"graphql"===r.tag.name))||"CallExpression"===r.type&&"Identifier"===r.callee.type&&"graphql"===r.callee.name)}(e)){var c=i.expressions?e.map(t,"expressions"):[],p=i.quasis.length;if(1===p&&""===i.quasis[0].value.raw.trim())return"``";for(var f=[],d=0;d<p;d++){var h=0===d,y=d===p-1,m=i.quasis[d].value.cooked;if("string"!=typeof m)return null;var v=m.split("\n"),g=v.length,T=c[d],E=g>2&&""===v[0].trim()&&""===v[1].trim(),S=g>2&&""===v[g-1].trim()&&""===v[g-2].trim(),b=v.every((function(e){return/^\s*(?:#[^\r\n]*)?$/.test(e)}));if(!y&&/#[^\r\n]*$/.test(v[g-1]))return null;var x=null;(x=b?mh(v):hh(r(m,{parser:"graphql"})))?(x=yh(x,!1),!h&&E&&f.push(""),f.push(x),!y&&S&&f.push("")):h||y||!E||f.push(""),T&&f.push(lh(["${",T,"}"]))}return lh(["`",ih(lh([sh,ah(sh,f)])),sh,"`"])}if(function(e){return xh(e.getValue(),"HTML")||Dh(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t}])}(e))return Ah(e,t,r,"html");if(function(e){return Dh(e,[function(e){return"TemplateLiteral"===e.type},function(e,t){return"Property"===e.type&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t}].concat([function(e,t){return"ObjectExpression"===e.type&&"properties"===t},function(e,t){return"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t},function(e,t){return"Decorator"===e.type&&"expression"===t}]))}(e))return Ah(e,t,r,"angular");break;case"TemplateElement":if(s&&"TaggedTemplateExpression"===s.type&&1===a.quasis.length&&"Identifier"===s.tag.type&&("md"===s.tag.name||"markdown"===s.tag.name)){var D=a.quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(function(e,t){return"\\".repeat(t.length/2)+"`"})),A=null===(n=D.match(/^([^\S\n]*)\S/m))?"":n[1];return lh([""!==A?ih(lh([oh,C(D.replace(new RegExp("^".concat(A),"gm"),""))])):lh([uh,ph(C(D))]),oh])}}function C(e){var t=r(e,{parser:"markdown",__inJsTemplate:!0});return hh(yh(t,!0))}},Ph=function(e,t,r){if(["range","raw","comments","leadingComments","trailingComments","extra","start","end","flags"].forEach((function(e){delete t[e]})),"BigIntLiteral"===e.type&&(t.value=t.value.toLowerCase()),"EmptyStatement"===e.type)return null;if("JSXText"===e.type)return null;if("JSXExpressionContainer"===e.type&&"Literal"===e.expression.type&&" "===e.expression.value)return null;if("TSParameterProperty"===e.type&&null===e.accessibility&&!e.readonly)return{type:"Identifier",name:e.parameter.name,typeAnnotation:t.parameter.typeAnnotation,decorators:t.decorators};if("TSNamespaceExportDeclaration"===e.type&&e.specifiers&&0===e.specifiers.length&&delete t.specifiers,"TSParenthesizedType"===e.type)return t.typeAnnotation;"JSXOpeningElement"===e.type&&delete t.selfClosing,"JSXElement"===e.type&&delete t.closingElement,"Property"!==e.type&&"ObjectProperty"!==e.type&&"MethodDefinition"!==e.type&&"ClassProperty"!==e.type&&"TSPropertySignature"!==e.type&&"ObjectTypeProperty"!==e.type||"object"!==T(e.key)||!e.key||"Literal"!==e.key.type&&"StringLiteral"!==e.key.type&&"Identifier"!==e.key.type||delete t.key,"OptionalMemberExpression"===e.type&&!1===e.optional&&(t.type="MemberExpression",delete t.optional),"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((function(e){return"jsx"===e.name.name}))&&t.children.filter((function(e){return"JSXExpressionContainer"===e.type&&"TemplateLiteral"===e.expression.type})).map((function(e){return e.expression})).reduce((function(e,t){return e.concat(t.quasis)}),[]).forEach((function(e){return delete e.value})),"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&t.value.expression.quasis.forEach((function(e){return delete e.value}));var n=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===n.type&&"Component"===n.callee.name&&1===n.arguments.length){var i=e.expression.arguments[0].properties;t.expression.arguments[0].properties.forEach((function(e,t){var r=null;switch(i[t].key.name){case"styles":"ArrayExpression"===e.value.type&&(r=e.value.elements[0]);break;case"template":"TemplateLiteral"===e.value.type&&(r=e.value)}r&&r.quasis.forEach((function(e){return delete e.value}))}))}"TaggedTemplateExpression"!==e.type||"MemberExpression"!==e.tag.type&&("Identifier"!==e.tag.type||"gql"!==e.tag.name&&"graphql"!==e.tag.name&&"css"!==e.tag.name&&"md"!==e.tag.name&&"markdown"!==e.tag.name&&"html"!==e.tag.name)&&"CallExpression"!==e.tag.type||t.quasi.quasis.forEach((function(e){return delete e.value})),"TemplateLiteral"===e.type&&(e.leadingComments&&e.leadingComments.some((function(e){return"CommentBlock"===e.type&&["GraphQL","HTML"].some((function(t){return e.value===" ".concat(t," ")}))}))||"CallExpression"===r.type&&"graphql"===r.callee.name)&&t.quasis.forEach((function(e){return delete e.value}))},wh=new RegExp("^".concat("(?:(?=.)\\s)","*:")),_h=new RegExp("^".concat("(?:(?=.)\\s)","*::")),Oh=function e(t,r){if(!t||"object"!==T(t))return!1;if(Array.isArray(t))return t.some((function(t){return e(t,r)}));var n=r(t);return"boolean"==typeof n?n:Object.keys(t).some((function(n){return e(t[n],r)}))},Fh=function(e){return e.extra&&e.extra.parenthesized&&e.trailingComments&&e.trailingComments[0].value.match(wh)},Nh=function(e){return e&&e[0].value.match(_h)},Ih=Fh;function kh(e,t){var r=t.getValue();return i(r)&&(n(r)||function e(r){var a=t.getParentNode(r);return!(!a||i(a))&&(n(a)||e(r+1))}(0));function n(e){return e.comments&&e.comments.some((function(e){return e.leading&&eh.isBlockComment(e)&&function(e){var t=e.trim().split("\n").map((function(e){return e.replace(/^[\s*]+/,"")})).join(" ").trim();if(!/^@type\s+\{[^]+\}$/.test(t))return!1;var r=!1,n=0,i=!0,a=!1,s=void 0;try{for(var o,u=t[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){var l=o.value;if("{"===l){if(r)return!1;n++}else if("}"===l){if(0===n)return!1;0==--n&&(r=!0)}}}catch(e){a=!0,s=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw s}}return 0===n}(e.value)}))}function i(e){return e.extra&&e.extra.parenthesized}}function Lh(e){var t=e.getValue(),r=e.getParentNode(),n=e.getName();switch(r.type){case"NGPipeExpression":if("number"==typeof n&&r.arguments[n]===t&&r.arguments.length-1===n)return e.callParent(Lh);break;case"ObjectProperty":if("value"===n){var i=e.getParentNode(1);return i.properties[i.properties.length-1]===r}break;case"BinaryExpression":case"LogicalExpression":if("right"===n)return e.callParent(Lh);break;case"ConditionalExpression":if("alternate"===n)return e.callParent(Lh);break;case"UnaryExpression":if(r.prefix)return e.callParent(Lh)}return!1}var Mh=function(e,t){var r=e.getParentNode();if(!r)return!1;var n=e.getName(),i=e.getNode();if(e.getValue()!==i)return!1;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}(i)&&Lh(e))return!0;if(function(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForAwaitStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}(i))return!1;if(kh(t.originalText,e))return!0;if("flow"!==t.parser&&Ih(e.getValue()))return!0;if("Identifier"===i.type)return!1;if("ParenthesizedExpression"===r.type)return!1;if(!("ClassDeclaration"!==r.type&&"ClassExpression"!==r.type||r.superClass!==i||"ArrowFunctionExpression"!==i.type&&"AssignmentExpression"!==i.type&&"AwaitExpression"!==i.type&&"BinaryExpression"!==i.type&&"ConditionalExpression"!==i.type&&"LogicalExpression"!==i.type&&"NewExpression"!==i.type&&"ObjectExpression"!==i.type&&"ParenthesizedExpression"!==i.type&&"SequenceExpression"!==i.type&&"TaggedTemplateExpression"!==i.type&&"UnaryExpression"!==i.type&&"UpdateExpression"!==i.type&&"YieldExpression"!==i.type))return!0;if("Decorator"===r.type&&r.expression===i){for(var a=!1,s=!1,o=i;o;)switch(o.type){case"MemberExpression":s=!0,o=o.object;break;case"CallExpression":if(s||a)return!0;a=!0,o=o.callee;break;case"Identifier":return!1;default:return!0}return!0}if("ArrowFunctionExpression"===r.type&&r.body===i&&"SequenceExpression"!==i.type&&Ai.startsWithNoLookaheadToken(i,!1)||"ExpressionStatement"===r.type&&Ai.startsWithNoLookaheadToken(i,!0))return!0;switch(i.type){case"CallExpression":for(var u=r,l=0;u&&"MemberExpression"===u.type;)u=e.getParentNode(++l);return"NewExpression"===u.type&&u.callee===e.getParentNode(l-1)||"BindExpression"===r.type&&r.callee===i;case"SpreadElement":case"SpreadProperty":return"MemberExpression"===r.type&&"object"===n&&r.object===i;case"UpdateExpression":if("UnaryExpression"===r.type)return i.prefix&&("++"===i.operator&&"+"===r.operator||"--"===i.operator&&"-"===r.operator);case"UnaryExpression":switch(r.type){case"UnaryExpression":return i.operator===r.operator&&("+"===i.operator||"-"===i.operator);case"BindExpression":return!0;case"MemberExpression":return"object"===n&&r.object===i;case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":return"callee"===n&&r.callee===i;case"BinaryExpression":return"**"===r.operator&&"left"===n;case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if("UpdateExpression"===r.type)return!0;if("in"===i.operator&&function(t){for(var r=0;t;){var n=e.getParentNode(r++);if(!n)return!1;if("ForStatement"===n.type&&n.init===t)return!0;t=n}return!1}(i))return!0;case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(r.type){case"ConditionalExpression":return"TSAsExpression"===i.type;case"CallExpression":case"NewExpression":return"callee"===n&&r.callee===i;case"ClassExpression":case"ClassDeclaration":return"superClass"===n&&r.superClass===i;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSAsExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===n&&r.object===i;case"AssignmentExpression":return r.left===i&&("TSTypeAssertion"===i.type||"TSAsExpression"===i.type);case"BinaryExpression":case"LogicalExpression":if(!i.operator&&"TSTypeAssertion"!==i.type)return!0;var c=r.operator,p=Ai.getPrecedence(c),f=i.operator,d=Ai.getPrecedence(f);return p>d||("||"===c||"??"===c)&&"&&"===f||(p===d&&"right"===n?(Zi.strictEqual(r.right,i),!0):p===d&&!Ai.shouldFlatten(c,f)||(p<d&&"%"===f?"+"===c||"-"===c:!!Ai.isBitwiseOperator(c)));default:return!1}case"TSParenthesizedType":var h=e.getParentNode(1);return"TSFunctionType"===function e(t){return"TSParenthesizedType"===t.type?e(t.typeAnnotation):t}(i).type&&"TSTypeAnnotation"===r.type&&"ArrowFunctionExpression"===h.type&&h.returnType===r||("TSTypeParameter"!==r.type&&"TypeParameter"!==r.type&&"TSTypeAliasDeclaration"!==r.type&&"TSTypeAnnotation"!==r.type&&"TSParenthesizedType"!==r.type&&"TSTypeParameterInstantiation"!==r.type||"TSTypeOperator"===h.type||"TSOptionalType"===h.type)&&"TSParenthesizedType"!==i.typeAnnotation.type;case"SequenceExpression":switch(r.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return"expression"!==n;case"ArrowFunctionExpression":return"body"!==n;default:return!0}case"YieldExpression":if("UnaryExpression"===r.type||"AwaitExpression"===r.type||"TSAsExpression"===r.type||"TSNonNullExpression"===r.type)return!0;case"AwaitExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"BinaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"OptionalMemberExpression":return!0;case"MemberExpression":return r.object===i;case"NewExpression":case"CallExpression":return r.callee===i;case"ConditionalExpression":return r.test===i;default:return!1}case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===r.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"NullableTypeAnnotation"===r.type||"IntersectionTypeAnnotation"===r.type||"UnionTypeAnnotation"===r.type;case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===r.type;case"FunctionTypeAnnotation":var y="NullableTypeAnnotation"===r.type?e.getParentNode(1):r;return"UnionTypeAnnotation"===y.type||"IntersectionTypeAnnotation"===y.type||"ArrayTypeAnnotation"===y.type||"NullableTypeAnnotation"===y.type;case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof i.value&&"ExpressionStatement"===r.type&&("typescript"!==t.parser&&!r.directive||"typescript"===t.parser&&"("===t.originalText.substr(t.locStart(i)-1,1))){var m=e.getParentNode(1);return"Program"===m.type||"BlockStatement"===m.type}return"MemberExpression"===r.type&&"number"==typeof i.value&&"object"===n&&r.object===i;case"AssignmentExpression":var v=e.getParentNode(1);return!(("ArrowFunctionExpression"!==r.type||r.body!==i)&&("ClassProperty"===r.type&&r.key===i&&r.computed||"TSPropertySignature"===r.type&&r.name===i||"ForStatement"===r.type&&(r.init===i||r.update===i)||("ExpressionStatement"===r.type?"ObjectPattern"!==i.left.type:"TSPropertySignature"===r.type&&r.key===i||"AssignmentExpression"===r.type||"SequenceExpression"===r.type&&v&&"ForStatement"===v.type&&(v.init===r||v.update===r)||"Property"===r.type&&r.value===i||"NGChainedExpression"===r.type)));case"ConditionalExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":case"OptionalMemberExpression":return!0;case"NewExpression":case"CallExpression":return"callee"===n&&r.callee===i;case"ConditionalExpression":return"test"===n&&r.test===i;case"MemberExpression":return"object"===n&&r.object===i;default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":return"callee"===n;case"TaggedTemplateExpression":case"ExportDefaultDeclaration":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"CallExpression":case"NewExpression":return"callee"===n;case"MemberExpression":return"object"===n;case"TSAsExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"BinaryExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===n;default:return!1}case"ClassExpression":switch(r.type){case"ExportDefaultDeclaration":return!0;case"NewExpression":return"callee"===n&&r.callee===i;default:return!1}case"OptionalMemberExpression":return"MemberExpression"===r.type;case"MemberExpression":if("BindExpression"===r.type&&"callee"===n&&r.callee===i)for(var g=i.object;g;){if("CallExpression"===g.type)return!0;if("MemberExpression"!==g.type&&"BindExpression"!==g.type)break;g=g.object}return!1;case"BindExpression":return"BindExpression"===r.type&&"callee"===n&&r.callee===i||"MemberExpression"===r.type;case"NGPipeExpression":return!("NGRoot"===r.type||"NGMicrosyntaxExpression"===r.type||"ObjectProperty"===r.type||"ArrayExpression"===r.type||("CallExpression"===r.type||"OptionalCallExpression"===r.type)&&r.arguments[n]===i||"NGPipeExpression"===r.type&&"right"===n||"MemberExpression"===r.type&&"property"===n||"AssignmentExpression"===r.type)}return!1},Bh=zi.builders,jh=Bh.concat,Rh=Bh.join,Vh=Bh.line,qh=function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},Uh=function(e,t,r){var n=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(n),"File"===n.type)return t.__isVueForBindingLeft?e.call((function(e){var t=e.getValue().params;return jh([t.length>1?"(":"",Rh(jh([",",Vh]),e.map(r,"params")),t.length>1?")":""])}),"program","body",0):t.__isVueSlotScope?e.call((function(e){return Rh(jh([",",Vh]),e.map(r,"params"))}),"program","body",0):void 0},Kh=function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[]});default:return e}},Xh=Ai.getParentExportDeclaration,Jh=Ai.isExportDeclaration,Yh=Ai.shouldFlatten,Wh=Ai.getNextNonSpaceNonCommentCharacter,$h=Ai.hasNewline,Hh=Ai.hasNewlineInRange,zh=Ai.getLast,Gh=Ai.getStringWidth,Qh=Ai.printString,Zh=Ai.printNumber,ey=Ai.hasIgnoreComment,ty=Ai.skipWhitespace,ry=Ai.hasNodeIgnoreComment,ny=Ai.getPenultimate,iy=Ai.startsWithNoLookaheadToken,ay=Ai.getIndentSize,sy=Ai.matchAncestorTypes,oy=Ai.getPreferredQuote,uy=Qi.isNextLineEmpty,ly=Qi.isNextLineEmptyAfterIndex,cy=Qi.getNextNonSpaceNonCommentCharacterIndex,py=vn.keyword.isIdentifierNameES5,fy=ms.insertPragma,dy=Uh,hy=qh,yy=Oh,my=Nh,vy=Fh,gy=new WeakMap,Ty=zi.builders,Ey=Ty.concat,Sy=Ty.join,by=Ty.line,xy=Ty.hardline,Dy=Ty.softline,Ay=Ty.literalline,Cy=Ty.group,Py=Ty.indent,wy=Ty.align,_y=Ty.conditionalGroup,Oy=Ty.fill,Fy=Ty.ifBreak,Ny=Ty.breakParent,Iy=Ty.lineSuffixBoundary,ky=Ty.addAlignmentToDoc,Ly=Ty.dedent,My=zi.utils,By=My.willBreak,jy=My.isLineNext,Ry=My.isEmpty,Vy=My.removeLines,qy=zi.printer.printDocToString,Uy=0;function Ky(e,t){switch(t=t||"es5",e.trailingComma){case"all":if("all"===t)return!0;case"es5":if("es5"===t)return!0;case"none":default:return!1}}function Xy(e,t){return Hh(t.originalText,t.locStart(e.decorators[0]),t.locEnd(zh(e.decorators)))||$h(t.originalText,t.locEnd(zh(e.decorators)))}function Jy(e,t,r){var n=e.getValue();return Cy(Ey([Sy(by,e.map(r,"decorators")),Xy(n,t)?xy:by]))}function Yy(e,t,r,n){var i,a,s=e.getValue(),o=s[n.testNodePropertyName],u=s[n.consequentNodePropertyName],l=s[n.alternateNodePropertyName],c=[],p=!1,f=e.getParentNode(),d=f.type===n.conditionalNodeType,h=0;do{a=i||s,i=e.getParentNode(h),h++}while(i&&i.type===n.conditionalNodeType);var y=i||f,m=a;if(n.shouldCheckJsx&&(Em(o)||Em(u)||Em(l)||function(e){return Boolean(function(e){var t=[];return function e(r){"ConditionalExpression"===r.type?(e(r.test),e(r.consequent),e(r.alternate)):t.push(r)}(e),t}(e).find(Em))}(m))){p=!0,d=!0;var v=function(e){return Ey([Fy("(",""),Py(Ey([Dy,e])),Dy,Fy(")","")])},g=function(e){return"NullLiteral"===e.type||"Literal"===e.type&&null===e.value};c.push(" ? ",g(u)?e.call(r,n.consequentNodePropertyName):v(e.call(r,n.consequentNodePropertyName))," : ",l.type===n.conditionalNodeType||g(l)?e.call(r,n.alternateNodePropertyName):v(e.call(r,n.alternateNodePropertyName)))}else{var T=Ey([by,"? ",u.type===n.conditionalNodeType?Fy("","("):"",wy(2,e.call(r,n.consequentNodePropertyName)),u.type===n.conditionalNodeType?Fy("",")"):"",by,": ",l.type===n.conditionalNodeType?e.call(r,n.alternateNodePropertyName):wy(2,e.call(r,n.alternateNodePropertyName))]);c.push(f.type!==n.conditionalNodeType||f[n.alternateNodePropertyName]===s?T:t.useTabs?Ly(Py(T)):wy(Math.max(0,t.tabWidth-2),T))}var E,S,b=!(p||"MemberExpression"!==f.type&&"OptionalMemberExpression"!==f.type||f.computed);return E=Ey([].concat((S=Ey(n.beforeParts()),f.type===n.conditionalNodeType&&f[n.alternateNodePropertyName]===s?wy(2,S):S),d?Ey(c):Py(Ey(c)),n.afterParts(b))),n.breakNested?f===y?Cy(E):E:Cy(E)}function Wy(e,t){return"+"===e?"+"+t:"-"===e?"-"+t:t}function $y(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.body[0].value}function Hy(e,t,r){var n=[],i=e.getNode(),a="ClassBody"===i.type;return e.map((function(e,s){var o=e.getValue();if(o&&"EmptyStatement"!==o.type){var u=r(e),l=t.originalText,c=[];t.semi||a||sv(t,e)||!function(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((function(e){return function e(t,r){var n=t.getValue(),i=Mh(t,r)||"ParenthesizedExpression"===n.type||"TypeCastExpression"===n.type||"ArrowFunctionExpression"===n.type&&!sm(t,r)||"ArrayExpression"===n.type||"ArrayPattern"===n.type||"UnaryExpression"===n.type&&n.prefix&&("+"===n.operator||"-"===n.operator)||"TemplateLiteral"===n.type||"TemplateElement"===n.type||Em(n)||"BindExpression"===n.type&&!n.object||"RegExpLiteral"===n.type||"Literal"===n.type&&n.pattern||"Literal"===n.type&&n.regex;return!!i||!!Bm(n)&&t.call.apply(t,[function(t){return e(t,r)}].concat(function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side",t)}(0,n)))}(e,t)}),"expression")}(e,t)?c.push(u):o.comments&&o.comments.some((function(e){return e.leading}))?c.push(r(e,{needsSemi:!0})):c.push(";",u),!t.semi&&a&&(!function(e){var t=e.getNode();if("ClassProperty"!==t.type)return!1;var r=t.key&&t.key.name;return!("static"!==r&&"get"!==r&&"set"!==r||t.value||t.typeAnnotation)||void 0}(e)?"ClassProperty"===o.type&&function(e){if(e){if(e.static||e.accessibility)return!1;if(!e.computed){var t=e.key&&e.key.name;if("in"===t||"instanceof"===t)return!0}switch(e.type){case"ClassProperty":case"TSAbstractClassProperty":return e.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":var r=e.value?e.value.async:e.async,n=e.value?e.value.generator:e.generator;return!(r||"get"===e.kind||"set"===e.kind||!e.computed&&!n);default:return!1}}}(i.body[s+1])&&c.push(";"):c.push(";")),uy(l,o,t)&&!function(e){var t=e.getParentNode();if(!t)return!0;var r=e.getValue(),n=(t.body||t.consequent).filter((function(e){return"EmptyStatement"!==e.type}));return n&&n[n.length-1]===r}(e)&&c.push(xy),n.push(Ey(c))}})),Sy(xy,n)}function zy(e,t,r){var n=e.getNode(),i=e.getParentNode(),a=n.key;if("consistent"===t.quoteProps&&!gy.has(i)){var s=(i.properties||i.body||i.members).some((function(e){return e.key&&"Identifier"!==e.key.type&&!Qm(e,t)}));gy.set(i,s)}if("Identifier"===a.type&&!n.computed&&("json"===t.parser||"consistent"===t.quoteProps&&gy.get(i))){var o=Qh(JSON.stringify(a.name),t);return e.call((function(e){return Ea.printComments(e,(function(){return o}),t)}),"key")}return Qm(n,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!gy.get(i))?e.call((function(e){return Ea.printComments(e,(function(){return a.value}),t)}),"key"):e.call(r,"key")}function Gy(e,t,r){var n=e.getNode(),i=t.semi?";":"",a=n.kind,s=[];"ObjectMethod"!==n.type&&"ClassMethod"!==n.type&&"ClassPrivateMethod"!==n.type||(n.value=n),n.value.async&&s.push("async "),a&&"init"!==a&&"method"!==a&&"constructor"!==a?(Zi.ok("get"===a||"set"===a),s.push(a," ")):n.value.generator&&s.push("*");var o=zy(e,t,r);return n.computed&&(o=Ey(["[",o,"]"])),s.push(o,Ey(e.call((function(e){return[im(e,0,r),Cy(Ey([am(e,r,t),lm(e,r,t)]))]}),"value"))),n.value.body&&0!==n.value.body.length?s.push(" ",e.call(r,"value","body")):s.push(i),Ey(s)}function Qy(e){return"ObjectExpression"===e.type&&(e.properties.length>0||e.comments)||"ArrayExpression"===e.type&&(e.elements.length>0||e.comments)||"TSTypeAssertion"===e.type||"TSAsExpression"===e.type||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&!e.returnType&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||"CallExpression"===e.body.type||"OptionalCallExpression"===e.body.type||"ConditionalExpression"===e.body.type||Em(e.body))}function Zy(e){return e&&-1!==["AnyTypeAnnotation","NullLiteralTypeAnnotation","GenericTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation","BooleanTypeAnnotation","BooleanLiteralTypeAnnotation","StringTypeAnnotation"].indexOf(e.type)&&!("GenericTypeAnnotation"===e.type&&e.typeParameters)}var em=new Set(["pipe","pipeP","pipeK","compose","composeFlipped","composeP","composeK","flow","flowRight","connect","createSelector"]),tm=new Set(["connect"]);function rm(e,t,r){var n=e.getValue(),i=n.arguments;if(0===i.length)return Ey(["(",Ea.printDanglingComments(e,t,!0),")"]);if(2===i.length&&"ArrowFunctionExpression"===i[0].type&&0===i[0].params.length&&"BlockStatement"===i[0].body.type&&"ArrayExpression"===i[1].type&&!i.find((function(e){return e.leadingComments||e.trailingComments})))return Ey(["(",e.call(r,"arguments",0),", ",e.call(r,"arguments",1),")"]);var a=!1,s=!1,o=i.length-1,u=e.map((function(e,n){var i=e.getNode(),u=[r(e)];return n===o||(uy(t.originalText,i,t)?(0===n&&(s=!0),a=!0,u.push(",",xy,xy)):u.push(",",by)),Ey(u)}),"arguments"),l=n.callee&&"Import"===n.callee.type||!Ky(t,"all")?"":",";function c(){return Cy(Ey(["(",Py(Ey([by,Ey(u)])),l,by,")"]),{shouldBreak:!0})}if(function e(t){switch(t.type){case"OptionalMemberExpression":case"MemberExpression":return e(t.property)&&!tm.has(t.property.name);case"Identifier":return em.has(t.name);case"StringLiteral":case"Literal":return em.has(t.value)}}(n.callee)&&i.length>1)return c();var p=function(e){if(2!==e.length)return!1;var t=e[0],r=e[1];return!(t.comments&&t.comments.length||"FunctionExpression"!==t.type&&("ArrowFunctionExpression"!==t.type||"BlockStatement"!==t.body.type)||"FunctionExpression"===r.type||"ArrowFunctionExpression"===r.type||"ConditionalExpression"===r.type||Qy(r))}(i),f=function(e){var t=zh(e),r=ny(e);return!km(t)&&!Lm(t)&&Qy(t)&&(!r||r.type!==t.type)}(i);if(p||f){var d,h=(p?u.slice(1).some(By):u.slice(0,-1).some(By))||a,y=0;e.each((function(e){p&&0===y&&(d=[Ey([e.call((function(e){return r(e,{expandFirstArg:!0})})),u.length>1?",":"",s?xy:by,s?xy:""])].concat(u.slice(1))),f&&y===i.length-1&&(d=u.slice(0,-1).concat(e.call((function(e){return r(e,{expandLastArg:!0})})))),y++}),"arguments");var m=u.some(By);return Ey([m?Ny:"",_y([Ey([Fy(Py(Ey(["(",Dy,Ey(d)])),Ey(["(",Ey(d)])),m?Ey([Fy(l),Dy]):"",")"]),Ey(p?["(",Cy(d[0],{shouldBreak:!0}),Ey(d.slice(1)),")"]:["(",Ey(u.slice(0,-1)),Cy(zh(d),{shouldBreak:!0}),")"]),c()],{shouldBreak:h})])}return Cy(Ey(["(",Py(Ey([Dy,Ey(u)])),Fy(l),Dy,")"]),{shouldBreak:u.some(By)||a})}function nm(e,t,r){var n=e.getValue();if(!n.typeAnnotation)return"";var i=e.getParentNode(),a=n.definite||i&&"VariableDeclarator"===i.type&&i.definite,s="DeclareFunction"===i.type&&i.id===n;return jm(t.originalText,n.typeAnnotation,t)?Ey([" /*: ",e.call(r,"typeAnnotation")," */"]):Ey([s?"":a?"!: ":": ",e.call(r,"typeAnnotation")])}function im(e,t,r){var n=e.getValue();return n.typeArguments?e.call(r,"typeArguments"):n.typeParameters?e.call(r,"typeParameters"):""}function am(e,t,r,n,i){var a=e.getValue(),s=e.getParentNode(),o=a.parameters?"parameters":"params",u=nv(s),l=Jm(a),c=n&&!(a[o]&&a[o].some((function(e){return e.comments}))),p=i?im(e,0,t):"",f=[];if(a[o]){var d=a[o].length-1;f=e.map((function(e,n){var i=[],s=e.getValue();return i.push(t(e)),n===d?a.rest&&i.push(",",by):u||l||c?i.push(", "):uy(r.originalText,s,r)?i.push(",",xy,xy):i.push(",",by),Ey(i)}),o)}if(a.rest&&f.push(Ey(["...",e.call(t,"rest")])),0===f.length)return Ey([p,"(",Ea.printDanglingComments(e,r,!0,(function(e){return")"===Wh(r.originalText,e,r.locEnd)})),")"]);var h=zh(a[o]);if(c)return Cy(Ey([Vy(p),"(",Ey(f.map(Vy)),")"]));if(l)return Ey([p,"(",Ey(f),")"]);if(u)return Ey([p,"(",Ey(f),")"]);if((Rm(s,r)||function(e,t){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||Um(e,e.typeAnnotation,t))}(s,r)||"TypeAlias"===s.type||"UnionTypeAnnotation"===s.type||"TSUnionType"===s.type||"IntersectionTypeAnnotation"===s.type||"FunctionTypeAnnotation"===s.type&&s.returnType===a)&&1===a[o].length&&null===a[o][0].name&&a[o][0].typeAnnotation&&null===a.typeParameters&&Zy(a[o][0].typeAnnotation)&&!a.rest)return"always"===r.arrowParens?Ey(["(",Ey(f),")"]):Ey(f);var y=!(h&&"RestElement"===h.type||a.rest);return Ey([p,"(",Py(Ey([Dy,Ey(f)])),Fy(y&&Ky(r,"all")?",":""),Dy,")"])}function sm(e,t){return"always"!==t.arrowParens&&"avoid"===t.arrowParens&&function(e){return!(1!==e.params.length||e.rest||e.typeParameters||Hm(e)||"Identifier"!==e.params[0].type||e.params[0].typeAnnotation||e.params[0].comments||e.params[0].optional||e.predicate||e.returnType)}(e.getValue())}function om(e,t,r){var n=e.getValue(),i=[];return n.async&&i.push("async "),i.push("function"),n.generator&&i.push("*"),n.id&&i.push(" ",e.call(t,"id")),i.push(im(e,0,t),Cy(Ey([am(e,t,r),lm(e,t,r)])),n.body?" ":"",e.call(t,"body")),Ey(i)}function um(e,t,r){var n=e.getValue(),i=[];if(n.async&&i.push("async "),n.generator&&i.push("*"),n.method||"get"===n.kind||"set"===n.kind)return Gy(e,t,r);var a=zy(e,t,r);return n.computed?i.push("[",a,"]"):i.push(a),i.push(im(e,0,r),Cy(Ey([am(e,r,t),lm(e,r,t)]))," ",e.call(r,"body")),Ey(i)}function lm(e,t,r){var n=e.getValue(),i=e.call(t,"returnType");if(n.returnType&&jm(r.originalText,n.returnType,r))return Ey([" /*: ",i," */"]);var a=[i];return n.returnType&&n.returnType.typeAnnotation&&a.unshift(": "),n.predicate&&a.push(n.returnType?" ":": ",e.call(t,"predicate")),Ey(a)}function cm(e,t,r){var n=e.getValue(),i=t.semi?";":"",a=["export "],s=n.default||"ExportDefaultDeclaration"===n.type;if(s&&a.push("default "),a.push(Ea.printDanglingComments(e,t,!0)),zm(n)&&a.push(xy),n.declaration)a.push(e.call(r,"declaration")),s&&"ClassDeclaration"!==n.declaration.type&&"FunctionDeclaration"!==n.declaration.type&&"TSInterfaceDeclaration"!==n.declaration.type&&"DeclareClass"!==n.declaration.type&&"DeclareFunction"!==n.declaration.type&&"TSDeclareFunction"!==n.declaration.type&&a.push(i);else{if(n.specifiers&&n.specifiers.length>0){var o=[],u=[],l=[];e.each((function(t){var n=e.getValue().type;"ExportSpecifier"===n?o.push(r(t)):"ExportDefaultSpecifier"===n?u.push(r(t)):"ExportNamespaceSpecifier"===n&&l.push(Ey(["* as ",r(t)]))}),"specifiers");var c=0!==l.length&&0!==o.length,p=0!==u.length&&(0!==l.length||0!==o.length);a.push("type"===n.exportKind?"type ":"",Ey(u),Ey([p?", ":""]),Ey(l),Ey([c?", ":""]),0!==o.length?Cy(Ey(["{",Py(Ey([t.bracketSpacing?by:Dy,Sy(Ey([",",by]),o)])),Fy(Ky(t)?",":""),t.bracketSpacing?by:Dy,"}"])):"")}else a.push("{}");n.source&&a.push(" from ",e.call(r,"source")),a.push(i)}return Ey(a)}function pm(e,t){var r=Xh(e);return r?Zi.strictEqual(r.type,"DeclareExportDeclaration"):t.unshift("declare "),Ey(t)}function fm(e){if(!e.variance)return null;var t=e.variance.kind||e.variance;switch(t){case"plus":return"+";case"minus":return"-";default:return t}}function dm(e,t,r){var n=e.getValue();return n.modifiers&&n.modifiers.length?Ey([Sy(" ",e.map(r,"modifiers"))," "]):""}function hm(e,t,r,n){var i=e.getValue();if(!i[n])return"";if(!Array.isArray(i[n]))return e.call(r,n);var a=e.getNode(2);return null!=a&&nv(a)||0===i[n].length||1===i[n].length&&(Xm(i[n][0])||"GenericTypeAnnotation"===i[n][0].type&&Xm(i[n][0].id)||"TSTypeReference"===i[n][0].type&&Xm(i[n][0].typeName)||"NullableTypeAnnotation"===i[n][0].type)?Ey(["<",Sy(", ",e.map(r,n)),">"]):Cy(Ey(["<",Py(Ey([Dy,Sy(Ey([",",by]),e.map(r,n))])),Fy("typescript"!==t.parser&&Ky(t,"all")?",":""),Dy,">"]))}function ym(e,t,r){var n=e.getValue(),i=[];n.abstract&&i.push("abstract "),i.push("class"),n.id&&i.push(" ",e.call(r,"id")),i.push(e.call(r,"typeParameters"));var a=[];if(n.superClass){var s=Ey(["extends ",e.call(r,"superClass"),e.call(r,"superTypeParameters")]);n.implements&&0!==n.implements.length||n.superClass.comments&&0!==n.superClass.comments.length?a.push(Cy(Ey([by,e.call((function(e){return Ea.printComments(e,(function(){return s}),t)}),"superClass")]))):i.push(Ey([" ",e.call((function(e){return Ea.printComments(e,(function(){return s}),t)}),"superClass")]))}else n.extends&&n.extends.length>0&&i.push(" extends ",Sy(", ",e.map(r,"extends")));return n.mixins&&n.mixins.length>0&&a.push(by,"mixins ",Cy(Py(Sy(Ey([",",by]),e.map(r,"mixins"))))),n.implements&&n.implements.length>0&&a.push(by,"implements",Cy(Py(Ey([by,Sy(Ey([",",by]),e.map(r,"implements"))])))),a.length>0&&i.push(Cy(Py(Ey(a)))),n.body&&n.body.comments&&Mm(t.originalText,n.body,t)?i.push(xy):i.push(" "),i.push(e.call(r,"body")),i}function mm(e){var t=e.getValue();return t.optional?"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?":""}function vm(e,t,r){var n=e.call(r,"property"),i=e.getValue(),a=mm(e);return i.computed?!i.property||Zm(i.property)?Ey([a,"[",n,"]"]):Cy(Ey([a,"[",Py(Ey([Dy,n])),Dy,"]"])):Ey([a,".",n])}function gm(e,t,r){return Ey(["::",e.call(r,"callee")])}function Tm(e){return"CallExpression"===e.type||"OptionalCallExpression"===e.type}function Em(e){return"JSXElement"===e.type||"JSXFragment"===e.type}var Sm=new RegExp("[^ \n\r\t]"),bm=new RegExp("([ \n\r\t]+)");function xm(e){return Gm(e)&&(Sm.test(ov(e))||!/\n/.test(ov(e)))}function Dm(e,t,r,n){return e?"":"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?1===t.length?Dy:xy:Dy}function Am(e,t,r,n){return e?xy:1===t.length?"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?xy:Dy:xy}function Cm(e){return"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type}function Pm(e){return"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"BindExpression"===e.type&&e.object}function wm(e){return"LogicalExpression"===e.type&&("ObjectExpression"===e.right.type&&0!==e.right.properties.length||"ArrayExpression"===e.right.type&&0!==e.right.elements.length||!!Em(e.right))}function _m(e,t,r,n){return Mm(n.originalText,t,n)?Py(Ey([xy,r])):Cm(t)&&!wm(t)||"ConditionalExpression"===t.type&&Cm(t.test)&&!wm(t.test)||"StringLiteralTypeAnnotation"===t.type||"ClassExpression"===t.type&&t.decorators&&t.decorators.length||("Identifier"===e.type||ev(e)||"MemberExpression"===e.type)&&(ev(t)||function e(t){return("MemberExpression"===t.type||"OptionalMemberExpression"===t.type)&&("Identifier"===t.object.type||e(t.object))}(t))&&"json"!==n.parser&&"json5"!==n.parser?Cy(Py(Ey([by,r]))):Ey([" ",r])}function Om(e,t,r,n,i,a){if(!n)return t;var s=_m(e,n,i,a);return Cy(Ey([t,r,s]))}function Fm(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?Ey([" ",t]):Py(Ey([by,t]))}function Nm(e,t,r){var n=ov(e),i=r||"DirectiveLiteral"===e.type;return Qh(n,t,i)}function Im(e){var t=e.flags.split("").sort().join("");return"/".concat(e.pattern,"/").concat(t)}function km(e){return e.comments&&e.comments.some((function(e){return e.leading}))}function Lm(e){return e.comments&&e.comments.some((function(e){return e.trailing}))}function Mm(e,t,r){return Em(t)?ry(t):t.comments&&t.comments.some((function(t){return t.leading&&$h(e,r.locEnd(t))}))}function Bm(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||"CallExpression"===e.type||"OptionalCallExpression"===e.type||"MemberExpression"===e.type||"OptionalMemberExpression"===e.type||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSNonNullExpression"===e.type}function jm(e,t,r){var n=r.locStart(t),i=ty(e,r.locEnd(t));return"/*"===e.substr(n,2)&&"*/"===e.substr(i,2)}function Rm(e,t){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||Vm(e,t))}function Vm(e,t){return qm(e)||Um(e,e.value,t)}function qm(e){return"get"===e.kind||"set"===e.kind}function Um(e,t,r){return r.locStart(e)===r.locStart(t)}function Km(e,t){return("flow"===t.parser||"typescript"===t.parser)&&(t.originalText.slice(0,t.locStart(e)).match(/declare[ \t]*$/)||t.originalText.slice(e.range[0],e.range[1]).startsWith("declare "))}function Xm(e){if(Zy(e)||tv(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){var t=e.types.filter((function(e){return"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type})).length,r=e.types.filter((function(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type})).length;if(e.types.length-1===t&&r>0)return!0}return!1}function Jm(e){return e&&e.params&&1===e.params.length&&!e.params[0].comments&&("ObjectPattern"===e.params[0].type||"ArrayPattern"===e.params[0].type||"Identifier"===e.params[0].type&&e.params[0].typeAnnotation&&("TypeAnnotation"===e.params[0].typeAnnotation.type||"TSTypeAnnotation"===e.params[0].typeAnnotation.type)&&tv(e.params[0].typeAnnotation.typeAnnotation)||"FunctionTypeParam"===e.params[0].type&&tv(e.params[0].typeAnnotation)||"AssignmentPattern"===e.params[0].type&&("ObjectPattern"===e.params[0].left.type||"ArrayPattern"===e.params[0].left.type)&&("Identifier"===e.params[0].right.type||"ObjectExpression"===e.params[0].right.type&&0===e.params[0].right.properties.length||"ArrayExpression"===e.params[0].right.type&&0===e.params[0].right.elements.length))&&!e.rest}function Ym(e){return e.quasis.some((function(e){return e.value.raw.includes("\n")}))}function Wm(e,t,r){return("TemplateLiteral"===e.type&&Ym(e)||"TaggedTemplateExpression"===e.type&&Ym(e.quasi))&&!$h(t,r.locStart(e),{backwards:!0})}function $m(e,t,r,n){var i=[],a=[];return e.each((function(e){i.push(Ey(a)),i.push(Cy(n(e))),a=[",",by],e.getValue()&&uy(t.originalText,e.getValue(),t)&&a.push(Dy)}),r),Ey(i)}function Hm(e){return e.comments&&e.comments.some((function(e){return!e.leading&&!e.trailing}))}function zm(e){if(!e.comments)return!1;var t=zh(e.comments.filter((function(e){return!e.leading&&!e.trailing})));return t&&!eh.isBlockComment(t)}function Gm(e){return"BooleanLiteral"===e.type||"DirectiveLiteral"===e.type||"Literal"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"TemplateLiteral"===e.type||"TSTypeLiteral"===e.type||"JSXText"===e.type}function Qm(e,t){return ev(e.key)&&py(e.key.value)&&!e.computed&&"json"!==t.parser&&!("typescript"===t.parser&&"ClassProperty"===e.type)}function Zm(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function ev(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}function tv(e){return"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type}var rv=/^(skip|[fx]?(it|describe|test))$/;function nv(e,t){if("CallExpression"!==e.type)return!1;if(1===e.arguments.length){if(iv(e)&&t&&nv(t))return av(e.arguments[0]);if(function(e){return"Identifier"===e.callee.type&&/^(before|after)(Each|All)$/.test(e.callee.name)&&1===e.arguments.length}(e))return iv(e.arguments[0])}else if((2===e.arguments.length||3===e.arguments.length)&&("Identifier"===e.callee.type&&rv.test(e.callee.name)||("MemberExpression"===(r=e).callee.type||"OptionalMemberExpression"===r.callee.type)&&"Identifier"===r.callee.object.type&&"Identifier"===r.callee.property.type&&rv.test(r.callee.object.name)&&("only"===r.callee.property.name||"skip"===r.callee.property.name))&&(function(e){return"TemplateLiteral"===e.type}(e.arguments[0])||ev(e.arguments[0])))return!(e.arguments[2]&&!Zm(e.arguments[2]))&&((2===e.arguments.length?av(e.arguments[1]):function(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}(e.arguments[1])&&e.arguments[1].params.length<=1)||iv(e.arguments[1]));var r;return!1}function iv(e){return!("CallExpression"!==e.type&&"OptionalCallExpression"!==e.type||"Identifier"!==e.callee.type||"async"!==e.callee.name&&"inject"!==e.callee.name&&"fakeAsync"!==e.callee.name)}function av(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type}function sv(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;var r=t.getNode();if(!r.expression||!Em(r.expression))return!1;var n=t.getParentNode();return"Program"===n.type&&1==n.body.length}function ov(e){return e.extra?e.extra.raw:e.raw}function uv(e){return e}var lv={preprocess:Kh,print:function(e,t,r,n){var i=e.getValue(),a=!1,s=function(e,t,r,n){var i=e.getValue(),a=t.semi?";":"";if(!i)return"";if("string"==typeof i)return i;var s=dy(e,t,r);if(s)return s;var o=[];switch(i.type){case"JsExpressionRoot":return e.call(r,"node");case"JsonRoot":return Ey([e.call(r,"node"),xy]);case"File":return i.program&&i.program.interpreter&&o.push(e.call((function(e){return e.call(r,"interpreter")}),"program")),o.push(e.call(r,"program")),Ey(o);case"Program":return i.directives&&e.each((function(e){o.push(r(e),a,xy),uy(t.originalText,e.getValue(),t)&&o.push(xy)}),"directives"),o.push(e.call((function(e){return Hy(e,t,r)}),"body")),o.push(Ea.printDanglingComments(e,t,!0)),(i.body.length||i.comments)&&o.push(xy),Ey(o);case"EmptyStatement":return"";case"ExpressionStatement":if(i.directive)return Ey([Nm(i.expression,t,!0),a]);if("__vue_event_binding"===t.parser){var u=e.getParentNode();if("Program"===u.type&&1===u.body.length&&u.body[0]===i)return Ey([e.call(r,"expression"),hy(i.expression)?";":""])}return Ey([e.call(r,"expression"),sv(t,e)?"":a]);case"ParenthesizedExpression":return Ey(["(",e.call(r,"expression"),")"]);case"AssignmentExpression":return Om(i.left,e.call(r,"left"),Ey([" ",i.operator]),i.right,e.call(r,"right"),t);case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":var l=e.getParentNode(),c=e.getParentNode(1),p=i!==l.body&&("IfStatement"===l.type||"WhileStatement"===l.type||"DoWhileStatement"===l.type),f=function e(t,r,n,i,a){var s=[],o=t.getValue();if(Cm(o)){Yh(o.operator,o.left.operator)?s=s.concat(t.call((function(t){return e(t,r,n,!0,a)}),"left")):s.push(t.call(r,"left"));var u=wm(o),l=("|>"===o.operator||"NGPipeExpression"===o.type||"|"===o.operator&&"__vue_expression"===n.parser)&&!Mm(n.originalText,o.right,n),c="NGPipeExpression"===o.type?"|":o.operator,p="NGPipeExpression"===o.type&&0!==o.arguments.length?Cy(Py(Ey([Dy,": ",Sy(Ey([Dy,":",Fy(" ")]),t.map(r,"arguments").map((function(e){return wy(2,Cy(e))})))]))):"",f=Ey(u?[c," ",t.call(r,"right"),p]:[l?Dy:"",c,l?" ":by,t.call(r,"right"),p]),d=t.getParentNode(),h=!(a&&"LogicalExpression"===o.type)&&d.type!==o.type&&o.left.type!==o.type&&o.right.type!==o.type;s.push(" ",h?Cy(f):f),i&&o.comments&&(s=Ea.printComments(t,(function(){return Ey(s)}),n))}else s.push(t.call(r));return s}(e,r,t,!1,p);if(p)return Ey(f);if("UnaryExpression"===l.type||("MemberExpression"===l.type||"OptionalMemberExpression"===l.type)&&!l.computed)return Cy(Ey([Py(Ey([Dy,Ey(f)])),Dy]));var d="ReturnStatement"===l.type||"JSXExpressionContainer"===l.type&&"JSXAttribute"===c.type||"NGPipeExpression"!==i.type&&("NGRoot"===l.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===l.type&&"NGMicrosyntax"===c.type&&1===c.body.length)||i===l.body&&"ArrowFunctionExpression"===l.type||i!==l.body&&"ForStatement"===l.type||"ConditionalExpression"===l.type&&"ReturnStatement"!==c.type&&"CallExpression"!==c.type,h="AssignmentExpression"===l.type||"VariableDeclarator"===l.type||"ClassProperty"===l.type||"TSAbstractClassProperty"===l.type||"ClassPrivateProperty"===l.type||"ObjectProperty"===l.type||"Property"===l.type,y=Cm(i.left)&&Yh(i.operator,i.left.operator);if(d||wm(i)&&!y||!wm(i)&&h)return Cy(Ey(f));if(0===f.length)return"";var m=Em(i.right),v=Ey(m?f.slice(1,-1):f.slice(1)),g=Symbol("logicalChain-"+ ++Uy),E=Cy(Ey([f.length>0?f[0]:"",Py(v)]),{id:g});if(!m)return E;var S=zh(f);return Cy(Ey([E,Fy(Py(S),S,{groupId:g})]));case"AssignmentPattern":return Ey([e.call(r,"left")," = ",e.call(r,"right")]);case"TSTypeAssertion":var b=!("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type),x=Cy(Ey(["<",Py(Ey([Dy,e.call(r,"typeAnnotation")])),Dy,">"])),D=Ey([Fy("("),Py(Ey([Dy,e.call(r,"expression")])),Dy,Fy(")")]);return b?_y([Ey([x,e.call(r,"expression")]),Ey([x,Cy(D,{shouldBreak:!0})]),Ey([x,e.call(r,"expression")])]):Cy(Ey([x,e.call(r,"expression")]));case"OptionalMemberExpression":case"MemberExpression":var A,C=e.getParentNode(),P=0;do{A=e.getParentNode(P),P++}while(A&&("MemberExpression"===A.type||"OptionalMemberExpression"===A.type||"TSNonNullExpression"===A.type));var w=A&&("NewExpression"===A.type||"BindExpression"===A.type||"VariableDeclarator"===A.type&&"Identifier"!==A.id.type||"AssignmentExpression"===A.type&&"Identifier"!==A.left.type)||i.computed||"Identifier"===i.object.type&&"Identifier"===i.property.type&&"MemberExpression"!==C.type&&"OptionalMemberExpression"!==C.type;return Ey([e.call(r,"object"),w?vm(e,0,r):Cy(Py(Ey([Dy,vm(e,0,r)])))]);case"MetaProperty":return Ey([e.call(r,"meta"),".",e.call(r,"property")]);case"BindExpression":return i.object&&o.push(e.call(r,"object")),o.push(Cy(Py(Ey([Dy,gm(e,0,r)])))),Ey(o);case"Identifier":return Ey([i.name,mm(e),nm(e,t,r)]);case"SpreadElement":case"SpreadElementPattern":case"RestProperty":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return Ey(["...",e.call(r,"argument"),nm(e,t,r)]);case"FunctionDeclaration":case"FunctionExpression":return o.push(om(e,r,t)),i.body||o.push(a),Ey(o);case"ArrowFunctionExpression":i.async&&o.push("async "),sm(e,t)?o.push(e.call(r,"params",0)):o.push(Cy(Ey([am(e,r,t,n&&(n.expandLastArg||n.expandFirstArg),!0),lm(e,r,t)])));var _=Ea.printDanglingComments(e,t,!0,(function(e){var r=cy(t.originalText,e,t);return"=>"===t.originalText.substr(r,2)}));_&&o.push(" ",_),o.push(" =>");var O=e.call((function(e){return r(e,n)}),"body");if(!Mm(t.originalText,i.body,t)&&("ArrayExpression"===i.body.type||"ObjectExpression"===i.body.type||"BlockStatement"===i.body.type||Em(i.body)||Wm(i.body,t.originalText,t)||"ArrowFunctionExpression"===i.body.type||"DoExpression"===i.body.type))return Cy(Ey([Ey(o)," ",O]));if("SequenceExpression"===i.body.type)return Cy(Ey([Ey(o),Cy(Ey([" (",Py(Ey([Dy,O])),Dy,")"]))]));var F=(n&&n.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!(i.comments&&i.comments.length),N=n&&n.expandLastArg&&Ky(t,"all"),k="ConditionalExpression"===i.body.type&&!iy(i.body,!1);return Cy(Ey([Ey(o),Cy(Ey([Py(Ey([by,k?Fy("","("):"",O,k?Fy("",")"):""])),F?Ey([Fy(N?",":""),Dy]):""]))]));case"MethodDefinition":case"TSAbstractMethodDefinition":return i.decorators&&0!==i.decorators.length&&o.push(Jy(e,t,r)),i.accessibility&&o.push(i.accessibility+" "),i.static&&o.push("static "),"TSAbstractMethodDefinition"===i.type&&o.push("abstract "),o.push(Gy(e,t,r)),Ey(o);case"YieldExpression":return o.push("yield"),i.delegate&&o.push("*"),i.argument&&o.push(" ",e.call(r,"argument")),Ey(o);case"AwaitExpression":return Ey(["await ",e.call(r,"argument")]);case"ImportSpecifier":return i.importKind&&o.push(e.call(r,"importKind")," "),o.push(e.call(r,"imported")),i.local&&i.local.name!==i.imported.name&&o.push(" as ",e.call(r,"local")),Ey(o);case"ExportSpecifier":return o.push(e.call(r,"local")),i.exported&&i.exported.name!==i.local.name&&o.push(" as ",e.call(r,"exported")),Ey(o);case"ImportNamespaceSpecifier":return o.push("* as "),o.push(e.call(r,"local")),Ey(o);case"ImportDefaultSpecifier":return e.call(r,"local");case"TSExportAssignment":return Ey(["export = ",e.call(r,"expression"),a]);case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return cm(e,t,r);case"ExportAllDeclaration":return o.push("export "),"type"===i.exportKind&&o.push("type "),o.push("* from ",e.call(r,"source"),a),Ey(o);case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return e.call(r,"exported");case"ImportDeclaration":o.push("import "),i.importKind&&"value"!==i.importKind&&o.push(i.importKind+" ");var L=[],M=[];return i.specifiers&&i.specifiers.length>0?(e.each((function(e){var t=e.getValue();"ImportDefaultSpecifier"===t.type||"ImportNamespaceSpecifier"===t.type?L.push(r(e)):M.push(r(e))}),"specifiers"),L.length>0&&o.push(Sy(", ",L)),L.length>0&&M.length>0&&o.push(", "),1===M.length&&0===L.length&&i.specifiers&&!i.specifiers.some((function(e){return e.comments}))?o.push(Ey(["{",t.bracketSpacing?" ":"",Ey(M),t.bracketSpacing?" ":"","}"])):M.length>=1&&o.push(Cy(Ey(["{",Py(Ey([t.bracketSpacing?by:Dy,Sy(Ey([",",by]),M)])),Fy(Ky(t)?",":""),t.bracketSpacing?by:Dy,"}"]))),o.push(" from ")):(i.importKind&&"type"===i.importKind||/{\s*}/.test(t.originalText.slice(t.locStart(i),t.locStart(i.source))))&&o.push("{} from "),o.push(e.call(r,"source"),a),Ey(o);case"Import":return"import";case"TSModuleBlock":case"BlockStatement":var B=e.call((function(e){return Hy(e,t,r)}),"body"),j=i.body.find((function(e){return"EmptyStatement"!==e.type})),R=i.directives&&i.directives.length>0,V=e.getParentNode(),q=e.getParentNode(1);return j||R||Hm(i)||"ArrowFunctionExpression"!==V.type&&"FunctionExpression"!==V.type&&"FunctionDeclaration"!==V.type&&"ObjectMethod"!==V.type&&"ClassMethod"!==V.type&&"ClassPrivateMethod"!==V.type&&"ForStatement"!==V.type&&"WhileStatement"!==V.type&&"DoWhileStatement"!==V.type&&"DoExpression"!==V.type&&("CatchClause"!==V.type||q.finalizer)&&"TSModuleDeclaration"!==V.type?(o.push("{"),R&&e.each((function(e){o.push(Py(Ey([xy,r(e),a]))),uy(t.originalText,e.getValue(),t)&&o.push(xy)}),"directives"),j&&o.push(Py(Ey([xy,B]))),o.push(Ea.printDanglingComments(e,t)),o.push(xy,"}"),Ey(o)):"{}";case"ReturnStatement":return o.push("return"),i.argument&&(function(e,t){if(Mm(e.originalText,t,e))return!0;if(Bm(t))for(var r,n=t;r=(i=n).expressions?i.expressions[0]:i.left||i.test||i.callee||i.object||i.tag||i.argument||i.expression;)if(n=r,Mm(e.originalText,n,e))return!0;var i;return!1}(t,i.argument)?o.push(Ey([" (",Py(Ey([xy,e.call(r,"argument")])),xy,")"])):"LogicalExpression"===i.argument.type||"BinaryExpression"===i.argument.type||"SequenceExpression"===i.argument.type?o.push(Cy(Ey([Fy(" ("," "),Py(Ey([Dy,e.call(r,"argument")])),Dy,Fy(")")]))):o.push(" ",e.call(r,"argument"))),Hm(i)&&o.push(" ",Ea.printDanglingComments(e,t,!0)),o.push(a),Ey(o);case"NewExpression":case"OptionalCallExpression":case"CallExpression":var U="NewExpression"===i.type,K=mm(e);if(!U&&"Identifier"===i.callee.type&&("require"===i.callee.name||"define"===i.callee.name)||1===i.arguments.length&&Wm(i.arguments[0],t.originalText,t)||!U&&nv(i,e.getParentNode()))return Ey([U?"new ":"",e.call(r,"callee"),K,im(e,0,r),Ey(["(",Sy(", ",e.map(r,"arguments")),")"])]);var X="Identifier"===i.callee.type&&my(i.callee.trailingComments);return X&&(i.callee.trailingComments[0].printed=!0),!U&&Pm(i.callee)?function(e,t,r){var n=[];function i(e){var r=t.originalText,n=cy(r,e,t);return")"==r.charAt(n)?ly(r,n+1,t):uy(r,e,t)}var a=e.getValue();n.unshift({node:a,printed:Ey([mm(e),im(e,0,r),rm(e,t,r)])}),e.call((function(e){return function e(a){var s=a.getValue();"CallExpression"!==s.type&&"OptionalCallExpression"!==s.type||!Pm(s.callee)&&"CallExpression"!==s.callee.type&&"OptionalCallExpression"!==s.callee.type?Pm(s)?(n.unshift({node:s,needsParens:Mh(a,t),printed:Ea.printComments(a,(function(){return"OptionalMemberExpression"===s.type||"MemberExpression"===s.type?vm(a,0,r):gm(a,0,r)}),t)}),a.call((function(t){return e(t)}),"object")):"TSNonNullExpression"===s.type?(n.unshift({node:s,printed:Ea.printComments(a,(function(){return"!"}),t)}),a.call((function(t){return e(t)}),"expression")):n.unshift({node:s,printed:a.call(r)}):(n.unshift({node:s,printed:Ey([Ea.printComments(a,(function(){return Ey([mm(a),im(a,0,r),rm(a,t,r)])}),t),i(s)?xy:""])}),a.call((function(t){return e(t)}),"callee"))}(e)}),"callee");for(var s=[],o=[n[0]],u=1;u<n.length&&("TSNonNullExpression"===n[u].node.type||"OptionalCallExpression"===n[u].node.type||"CallExpression"===n[u].node.type||("MemberExpression"===n[u].node.type||"OptionalMemberExpression"===n[u].node.type)&&n[u].node.computed&&Zm(n[u].node.property));++u)o.push(n[u]);if("CallExpression"!==n[0].node.type&&"OptionalCallExpression"!==n[0].node.type)for(;u+1<n.length&&Pm(n[u].node)&&Pm(n[u+1].node);++u)o.push(n[u]);s.push(o),o=[];for(var l=!1;u<n.length;++u){if(l&&Pm(n[u].node)){if(n[u].node.computed&&Zm(n[u].node.property)){o.push(n[u]);continue}s.push(o),o=[],l=!1}"CallExpression"!==n[u].node.type&&"OptionalCallExpression"!==n[u].node.type||(l=!0),o.push(n[u]),n[u].node.comments&&n[u].node.comments.some((function(e){return e.trailing}))&&(s.push(o),o=[],l=!1)}function c(e){return/^[A-Z]|^[_$]+$/.test(e)}o.length>0&&s.push(o);var p=s.length>=2&&!s[1][0].node.comments&&function(r){var n=e.getParentNode(),i=n&&"ExpressionStatement"===n.type,a=r[1].length&&r[1][0].node.computed;if(1===r[0].length){var s=r[0][0].node;return"ThisExpression"===s.type||"Identifier"===s.type&&(c(s.name)||i&&function(e){return e.length<=t.tabWidth}(s.name)||a)}var o=zh(r[0]).node;return("MemberExpression"===o.type||"OptionalMemberExpression"===o.type)&&"Identifier"===o.property.type&&(c(o.property.name)||a)}(s);function f(e){var t=e.map((function(e){return e.printed}));return e.length>0&&e[e.length-1].needsParens?Ey(["("].concat(I(t),[")"])):Ey(t)}var d=s.map(f),h=Ey(d),y=p?3:2,m=s.slice(0,y).reduce((function(e,t){return e.concat(t)}),[]),v=m.slice(1,-1).some((function(e){return km(e.node)}))||m.slice(0,-1).some((function(e){return Lm(e.node)}))||s[y]&&km(s[y][0].node);if(s.length<=y&&!v)return Cy(h);var g,T=zh(p?s.slice(1,2)[0]:s[0]).node,E="CallExpression"!==T.type&&"OptionalCallExpression"!==T.type&&i(T),S=Ey([f(s[0]),p?Ey(s.slice(1,2).map(f)):"",E?xy:"",function(e){return 0===e.length?"":Py(Cy(Ey([xy,Sy(xy,e.map(f))])))}(s.slice(p?2:1))]),b=n.map((function(e){return e.node})).filter(Tm);return v||b.length>=3||d.slice(0,-1).some(By)||(g=zh(d),Tm(zh(zh(s)).node)&&By(g)&&b.slice(0,-1).some((function(e){return e.arguments.some(av)})))?Cy(S):Ey([By(h)||E?Ny:"",_y([h,S])])}(e,t,r):Ey([U?"new ":"",e.call(r,"callee"),K,X?"/*:: ".concat(i.callee.trailingComments[0].value.substring(2).trim()," */"):"",im(e,0,r),rm(e,t,r)]);case"TSInterfaceDeclaration":return Km(i,t)&&o.push("declare "),o.push(i.abstract?"abstract ":"",dm(e,0,r),"interface ",e.call(r,"id"),i.typeParameters?e.call(r,"typeParameters"):""," "),i.extends&&i.extends.length&&o.push(Cy(Py(Ey([Dy,"extends ",(1===i.extends.length?uv:Py)(Sy(Ey([",",by]),e.map(r,"extends")))," "])))),o.push(e.call(r,"body")),Ey(o);case"ObjectTypeInternalSlot":return Ey([i.static?"static ":"","[[",e.call(r,"id"),"]]",mm(e),i.method?"":": ",e.call(r,"value")]);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"TSInterfaceBody":case"TSTypeLiteral":var J;J="TSTypeLiteral"===i.type?"members":"TSInterfaceBody"===i.type?"body":"properties";var Y="ObjectTypeAnnotation"===i.type,W=[];Y&&W.push("indexers","callProperties","internalSlots"),W.push(J);var $=W.map((function(e){return i[e][0]})).sort((function(e,r){return t.locStart(e)-t.locStart(r)}))[0],H=e.getParentNode(0),z=Y&&H&&("InterfaceDeclaration"===H.type||"DeclareInterface"===H.type||"DeclareClass"===H.type)&&"body"===e.getName(),G="TSInterfaceBody"===i.type||z||"ObjectPattern"===i.type&&"FunctionDeclaration"!==H.type&&"FunctionExpression"!==H.type&&"ArrowFunctionExpression"!==H.type&&"AssignmentPattern"!==H.type&&"CatchClause"!==H.type&&i.properties.some((function(e){return e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)}))||"ObjectPattern"!==i.type&&$&&Hh(t.originalText,t.locStart(i),t.locStart($)),Q=z?";":"TSInterfaceBody"===i.type||"TSTypeLiteral"===i.type?Fy(a,";"):",",Z=i.exact?"{|":"{",ee=i.exact?"|}":"}",te=[];W.forEach((function(n){e.each((function(e){var n=e.getValue();te.push({node:n,printed:r(e),loc:t.locStart(n)})}),n)}));var re=[],ne=te.sort((function(e,t){return e.loc-t.loc})).map((function(e){var r=Ey(re.concat(Cy(e.printed)));return re=[Q,by],"TSPropertySignature"!==e.node.type&&"TSMethodSignature"!==e.node.type&&"TSConstructSignatureDeclaration"!==e.node.type||!ry(e.node)||re.shift(),uy(t.originalText,e.node,t)&&re.push(xy),r}));i.inexact&&ne.push(Ey(re.concat(Cy("..."))));var ie,ae=zh(i[J]),se=!(ae&&("RestProperty"===ae.type||"RestElement"===ae.type||ry(ae)||i.inexact));if(0!==ne.length||i.typeAnnotation)ie=Ey([Z,Py(Ey([t.bracketSpacing?by:Dy,Ey(ne)])),Fy(se&&(","!==Q||Ky(t))?Q:""),Ey([t.bracketSpacing?by:Dy,ee]),mm(e),nm(e,t,r)]);else{if(!Hm(i))return Ey([Z,ee]);ie=Cy(Ey([Z,Ea.printDanglingComments(e,t),Dy,ee,mm(e)]))}var oe=e.getParentNode(2);return"ObjectPattern"===i.type&&H&&Jm(H)&&H.params[0]===i||Xm(i)&&oe&&Jm(oe)&&oe.params[0].typeAnnotation&&oe.params[0].typeAnnotation.typeAnnotation===i?ie:Cy(ie,{shouldBreak:G});case"ObjectProperty":case"Property":return i.method||"get"===i.kind||"set"===i.kind?Gy(e,t,r):(i.shorthand?o.push(e.call(r,"value")):(ue=i.computed?Ey(["[",e.call(r,"key"),"]"]):zy(e,t,r),o.push(Om(i.key,ue,":",i.value,e.call(r,"value"),t))),Ey(o));var ue;case"ClassMethod":case"ClassPrivateMethod":return i.decorators&&0!==i.decorators.length&&o.push(Jy(e,t,r)),i.static&&o.push("static "),o=o.concat(um(e,t,r)),Ey(o);case"ObjectMethod":return um(e,t,r);case"Decorator":return Ey(["@",e.call(r,"expression"),e.call(r,"callee")]);case"ArrayExpression":case"ArrayPattern":if(0===i.elements.length)Hm(i)?o.push(Cy(Ey(["[",Ea.printDanglingComments(e,t),Dy,"]"]))):o.push("[]");else{var le=zh(i.elements),ce=!(le&&"RestElement"===le.type),pe=ce&&null===le;o.push(Cy(Ey(["[",Py(Ey([Dy,$m(e,t,"elements",r)])),pe?",":"",Fy(ce&&!pe&&Ky(t)?",":""),Ea.printDanglingComments(e,t,!0),Dy,"]"])))}return o.push(mm(e),nm(e,t,r)),Ey(o);case"SequenceExpression":var fe=e.getParentNode(0);if("ExpressionStatement"===fe.type||"ForStatement"===fe.type){var de=[];return e.each((function(e){0===e.getName()?de.push(r(e)):de.push(",",Py(Ey([by,r(e)])))}),"expressions"),Cy(Ey(de))}return Cy(Ey([Sy(Ey([",",by]),e.map(r,"expressions"))]));case"ThisExpression":return"this";case"Super":return"super";case"NullLiteral":return"null";case"RegExpLiteral":return Im(i);case"NumericLiteral":return Zh(i.extra.raw);case"BigIntLiteral":return Ey([Zh(i.extra?i.extra.rawValue:i.value),"n"]);case"BooleanLiteral":case"StringLiteral":case"Literal":if(i.regex)return Im(i.regex);if("number"==typeof i.value)return Zh(i.raw);if("string"!=typeof i.value)return""+i.value;var he=e.getParentNode(1),ye="typescript"===t.parser&&"string"==typeof i.value&&he&&("Program"===he.type||"BlockStatement"===he.type);return Nm(i,t,ye);case"Directive":return e.call(r,"value");case"DirectiveLiteral":return Nm(i,t);case"UnaryExpression":return o.push(i.operator),/[a-z]$/.test(i.operator)&&o.push(" "),o.push(e.call(r,"argument")),Ey(o);case"UpdateExpression":return o.push(e.call(r,"argument"),i.operator),i.prefix&&o.reverse(),Ey(o);case"ConditionalExpression":return Yy(e,t,r,{beforeParts:function(){return[e.call(r,"test")]},afterParts:function(e){return[e?Dy:""]},shouldCheckJsx:!0,conditionalNodeType:"ConditionalExpression",consequentNodePropertyName:"consequent",alternateNodePropertyName:"alternate",testNodePropertyName:"test",breakNested:!0});case"VariableDeclaration":var me,ve=e.map((function(e){return r(e)}),"declarations"),ge=e.getParentNode(),Te="ForStatement"===ge.type||"ForInStatement"===ge.type||"ForOfStatement"===ge.type||"ForAwaitStatement"===ge.type,Ee=i.declarations.some((function(e){return e.init}));return 1!==ve.length||i.declarations[0].comments?ve.length>0&&(me=Py(ve[0])):me=ve[0],o=[Km(i,t)?"declare ":"",i.kind,me?Ey([" ",me]):"",Py(Ey(ve.slice(1).map((function(e){return Ey([",",Ee&&!Te?xy:by,e])}))))],Te&&ge.body!==i||o.push(a),Cy(Ey(o));case"TSTypeAliasDeclaration":i.declare&&o.push("declare ");var Se=_m(i.id,i.typeAnnotation,i.typeAnnotation&&e.call(r,"typeAnnotation"),t);return o.push("type ",e.call(r,"id"),e.call(r,"typeParameters")," =",Se,a),Cy(Ey(o));case"VariableDeclarator":return Om(i.id,e.call(r,"id")," =",i.init,i.init&&e.call(r,"init"),t);case"WithStatement":return Cy(Ey(["with (",e.call(r,"object"),")",Fm(i.body,e.call(r,"body"))]));case"IfStatement":var be=Fm(i.consequent,e.call(r,"consequent")),xe=Cy(Ey(["if (",Cy(Ey([Py(Ey([Dy,e.call(r,"test")])),Dy])),")",be]));if(o.push(xe),i.alternate){var De=Lm(i.consequent)&&i.consequent.comments.some((function(e){return e.trailing&&!eh.isBlockComment(e)}))||zm(i),Ae="BlockStatement"===i.consequent.type&&!De;o.push(Ae?" ":xy),Hm(i)&&o.push(Ea.printDanglingComments(e,t,!0),De?xy:" "),o.push("else",Cy(Fm(i.alternate,e.call(r,"alternate"),"IfStatement"===i.alternate.type)))}return Ey(o);case"ForStatement":var Ce=Fm(i.body,e.call(r,"body")),Pe=Ea.printDanglingComments(e,t,!0),we=Pe?Ey([Pe,Dy]):"";return i.init||i.test||i.update?Ey([we,Cy(Ey(["for (",Cy(Ey([Py(Ey([Dy,e.call(r,"init"),";",by,e.call(r,"test"),";",by,e.call(r,"update")])),Dy])),")",Ce]))]):Ey([we,Cy(Ey(["for (;;)",Ce]))]);case"WhileStatement":return Cy(Ey(["while (",Cy(Ey([Py(Ey([Dy,e.call(r,"test")])),Dy])),")",Fm(i.body,e.call(r,"body"))]));case"ForInStatement":return Cy(Ey([i.each?"for each (":"for (",e.call(r,"left")," in ",e.call(r,"right"),")",Fm(i.body,e.call(r,"body"))]));case"ForOfStatement":case"ForAwaitStatement":var _e="ForAwaitStatement"===i.type||i.await;return Cy(Ey(["for",_e?" await":""," (",e.call(r,"left")," of ",e.call(r,"right"),")",Fm(i.body,e.call(r,"body"))]));case"DoWhileStatement":var Oe=Fm(i.body,e.call(r,"body")),Fe=Cy(Ey(["do",Oe]));return o=[Fe],"BlockStatement"===i.body.type?o.push(" "):o.push(xy),o.push("while ("),o.push(Cy(Ey([Py(Ey([Dy,e.call(r,"test")])),Dy])),")",a),Ey(o);case"DoExpression":return Ey(["do ",e.call(r,"body")]);case"BreakStatement":return o.push("break"),i.label&&o.push(" ",e.call(r,"label")),o.push(a),Ey(o);case"ContinueStatement":return o.push("continue"),i.label&&o.push(" ",e.call(r,"label")),o.push(a),Ey(o);case"LabeledStatement":return"EmptyStatement"===i.body.type?Ey([e.call(r,"label"),":;"]):Ey([e.call(r,"label"),": ",e.call(r,"body")]);case"TryStatement":return Ey(["try ",e.call(r,"block"),i.handler?Ey([" ",e.call(r,"handler")]):"",i.finalizer?Ey([" finally ",e.call(r,"finalizer")]):""]);case"CatchClause":if(i.param){var Ne=i.param.comments&&i.param.comments.some((function(e){return!eh.isBlockComment(e)||e.leading&&$h(t.originalText,t.locEnd(e))||e.trailing&&$h(t.originalText,t.locStart(e),{backwards:!0})})),Ie=e.call(r,"param");return Ey(["catch ",Ey(Ne?["(",Py(Ey([Dy,Ie])),Dy,") "]:["(",Ie,") "]),e.call(r,"body")])}return Ey(["catch ",e.call(r,"body")]);case"ThrowStatement":return Ey(["throw ",e.call(r,"argument"),a]);case"SwitchStatement":return Ey([Cy(Ey(["switch (",Py(Ey([Dy,e.call(r,"discriminant")])),Dy,")"]))," {",i.cases.length>0?Py(Ey([xy,Sy(xy,e.map((function(e){var n=e.getValue();return Ey([e.call(r),i.cases.indexOf(n)!==i.cases.length-1&&uy(t.originalText,n,t)?xy:""])}),"cases"))])):"",xy,"}"]);case"SwitchCase":i.test?o.push("case ",e.call(r,"test"),":"):o.push("default:");var ke=i.consequent.filter((function(e){return"EmptyStatement"!==e.type}));if(ke.length>0){var Le=e.call((function(e){return Hy(e,t,r)}),"consequent");o.push(1===ke.length&&"BlockStatement"===ke[0].type?Ey([" ",Le]):Py(Ey([xy,Le])))}return Ey(o);case"DebuggerStatement":return Ey(["debugger",a]);case"JSXAttribute":if(o.push(e.call(r,"name")),i.value){var Me;if(ev(i.value)){var Be=ov(i.value).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),je=oy(Be,t.jsxSingleQuote?"'":'"'),Re="'"===je?"&apos;":"&quot;";Be=Be.slice(1,-1).replace(new RegExp(je,"g"),Re),Me=Ey([je,Be,je])}else Me=e.call(r,"value");o.push("=",Me)}return Ey(o);case"JSXIdentifier":return""+i.name;case"JSXNamespacedName":return Sy(":",[e.call(r,"namespace"),e.call(r,"name")]);case"JSXMemberExpression":return Sy(".",[e.call(r,"object"),e.call(r,"property")]);case"TSQualifiedName":return Sy(".",[e.call(r,"left"),e.call(r,"right")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return Ey(["{",e.call((function(e){var n=Ey(["...",r(e)]),i=e.getValue();return i.comments&&i.comments.length?Ey([Py(Ey([Dy,Ea.printComments(e,(function(){return n}),t)])),Dy]):n}),"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]);case"JSXExpressionContainer":var Ve=e.getParentNode(0),qe=!("JSXAttribute"===Ve.type&&i.expression.comments&&i.expression.comments.length>0)&&("ArrayExpression"===i.expression.type||"ObjectExpression"===i.expression.type||"ArrowFunctionExpression"===i.expression.type||"CallExpression"===i.expression.type||"OptionalCallExpression"===i.expression.type||"FunctionExpression"===i.expression.type||"JSXEmptyExpression"===i.expression.type||"TemplateLiteral"===i.expression.type||"TaggedTemplateExpression"===i.expression.type||"DoExpression"===i.expression.type||Em(Ve)&&("ConditionalExpression"===i.expression.type||Cm(i.expression)));return Cy(Ey(qe?["{",e.call(r,"expression"),Iy,"}"]:["{",Py(Ey([Dy,e.call(r,"expression")])),Dy,Iy,"}"]));case"JSXFragment":case"JSXElement":var Ue=Ea.printComments(e,(function(){return function(e,t,r){var n=e.getValue();if("JSXElement"===n.type&&function(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;var t=e.children[0];return Gm(t)&&!xm(t)}(n))return n.openingElement.selfClosing=!0,e.call(r,"openingElement");var i="JSXElement"===n.type?e.call(r,"openingElement"):e.call(r,"openingFragment"),a="JSXElement"===n.type?e.call(r,"closingElement"):e.call(r,"closingFragment");if(1===n.children.length&&"JSXExpressionContainer"===n.children[0].type&&("TemplateLiteral"===n.children[0].expression.type||"TaggedTemplateExpression"===n.children[0].expression.type))return Ey([i,Ey(e.map(r,"children")),a]);n.children=n.children.map((function(e){return"JSXExpressionContainer"===(t=e).type&&Gm(t.expression)&&" "===t.expression.value&&!t.expression.comments?{type:"JSXText",value:" ",raw:" "}:e;var t}));for(var s=n.children.filter(Em).length>0,o=n.children.filter((function(e){return"JSXExpressionContainer"===e.type})).length>1,u="JSXElement"===n.type&&n.openingElement.attributes.length>1,l=By(i)||s||u||o,c=t.singleQuote?"{' '}":'{" "}',p=Fy(Ey([c,Dy])," "),f=n.openingElement&&n.openingElement.name&&"fbt"===n.openingElement.name.name,d=function(e,t,r,n,i){var a=e.getValue(),s=[];return e.map((function(e,t){var o=e.getValue();if(Gm(o)){var u=ov(o);if(xm(o)){var l,c=u.split(bm);if(""===c[0]){if(s.push(""),c.shift(),/\n/.test(c[0])){var p=a.children[t+1];s.push(Am(i,c[1],o,p))}else s.push(n);c.shift()}if(""===zh(c)&&(c.pop(),l=c.pop()),0===c.length)return;if(c.forEach((function(e,t){t%2==1?s.push(by):s.push(e)})),void 0!==l)if(/\n/.test(l)){var f=a.children[t+1];s.push(Am(i,zh(s),o,f))}else s.push(n);else{var d=a.children[t+1];s.push(Dm(i,zh(s),o,d))}}else/\n/.test(u)?u.match(/\n/g).length>1&&(s.push(""),s.push(xy)):(s.push(""),s.push(n))}else{var h=r(e);s.push(h);var y=a.children[t+1];if(y&&xm(y)){var m=ov(y).trim().split(bm)[0];s.push(Dm(i,m,o,y))}else s.push(xy)}}),"children"),s}(e,0,r,p,f),h=n.children.filter((function(e){return xm(e)})).length>0,y=d.length-2;y>=0;y--){var m=""===d[y]&&""===d[y+1],v=d[y]===xy&&""===d[y+1]&&d[y+2]===xy,g=(d[y]===Dy||d[y]===xy)&&""===d[y+1]&&d[y+2]===p,T=d[y]===p&&""===d[y+1]&&(d[y+2]===Dy||d[y+2]===xy),E=d[y]===p&&""===d[y+1]&&d[y+2]===p,S=d[y]===Dy&&""===d[y+1]&&d[y+2]===xy||d[y]===xy&&""===d[y+1]&&d[y+2]===Dy;v&&h||m||g||E||S?d.splice(y,2):T&&d.splice(y+1,2)}for(;d.length&&(jy(zh(d))||Ry(zh(d)));)d.pop();for(;d.length&&(jy(d[0])||Ry(d[0]))&&(jy(d[1])||Ry(d[1]));)d.shift(),d.shift();var b=[];d.forEach((function(e,t){if(e===p){if(1===t&&""===d[t-1])return 2===d.length?void b.push(c):void b.push(Ey([c,xy]));if(t===d.length-1)return void b.push(c);if(""===d[t-1]&&d[t-2]===xy)return void b.push(c)}b.push(e),By(e)&&(l=!0)}));var x=h?Oy(b):Cy(Ey(b),{shouldBreak:!0}),D=Cy(Ey([i,Py(Ey([xy,x])),xy,a]));return l?D:_y([Cy(Ey([i,Ey(d),a])),D])}(e,t,r)}),t);return function(e,t){var r=e.getParentNode();if(!r)return t;if({ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[r.type])return t;var n=sy(e,["ArrowFunctionExpression","CallExpression","JSXExpressionContainer"]);return Cy(Ey([Fy("("),Py(Ey([Dy,t])),Dy,Fy(")")]),{shouldBreak:n})}(e,Ue);case"JSXOpeningElement":var Ke=e.getValue(),Xe=Ke.name&&Ke.name.comments&&Ke.name.comments.length>0;if(Ke.selfClosing&&!Ke.attributes.length&&!Xe)return Ey(["<",e.call(r,"name"),e.call(r,"typeParameters")," />"]);if(Ke.attributes&&1===Ke.attributes.length&&Ke.attributes[0].value&&ev(Ke.attributes[0].value)&&!Ke.attributes[0].value.value.includes("\n")&&!Xe&&(!Ke.attributes[0].comments||!Ke.attributes[0].comments.length))return Cy(Ey(["<",e.call(r,"name"),e.call(r,"typeParameters")," ",Ey(e.map(r,"attributes")),Ke.selfClosing?" />":">"]));var Je=Ke.attributes.length&&Lm(zh(Ke.attributes)),Ye=!Ke.attributes.length&&!Xe||t.jsxBracketSameLine&&(!Xe||Ke.attributes.length)&&!Je,We=Ke.attributes&&Ke.attributes.some((function(e){return e.value&&ev(e.value)&&e.value.value.includes("\n")}));return Cy(Ey(["<",e.call(r,"name"),e.call(r,"typeParameters"),Ey([Py(Ey(e.map((function(e){return Ey([by,r(e)])}),"attributes"))),Ke.selfClosing?by:Ye?">":Dy]),Ke.selfClosing?"/>":Ye?"":">"]),{shouldBreak:We});case"JSXClosingElement":return Ey(["</",e.call(r,"name"),">"]);case"JSXOpeningFragment":case"JSXClosingFragment":var $e=i.comments&&i.comments.length,He=$e&&!i.comments.every(eh.isBlockComment),ze="JSXOpeningFragment"===i.type;return Ey([ze?"<":"</",Py(Ey([He?xy:$e&&!ze?" ":"",Ea.printDanglingComments(e,t,!0)])),He?xy:"",">"]);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");case"JSXEmptyExpression":var Ge=i.comments&&!i.comments.every(eh.isBlockComment);return Ey([Ea.printDanglingComments(e,t,!Ge),Ge?xy:""]);case"ClassBody":return i.comments||0!==i.body.length?Ey(["{",i.body.length>0?Py(Ey([xy,e.call((function(e){return Hy(e,t,r)}),"body")])):Ea.printDanglingComments(e,t),xy,"}"]):"{}";case"ClassProperty":case"TSAbstractClassProperty":case"ClassPrivateProperty":i.decorators&&0!==i.decorators.length&&o.push(Jy(e,t,r)),i.accessibility&&o.push(i.accessibility+" "),i.static&&o.push("static "),"TSAbstractClassProperty"===i.type&&o.push("abstract "),i.readonly&&o.push("readonly ");var Qe=fm(i);return Qe&&o.push(Qe),i.computed?o.push("[",e.call(r,"key"),"]"):o.push(zy(e,t,r)),o.push(mm(e)),o.push(nm(e,t,r)),i.value&&o.push(" =",_m(i.key,i.value,e.call(r,"value"),t)),o.push(a),Cy(Ey(o));case"ClassDeclaration":case"ClassExpression":return Km(i,t)&&o.push("declare "),o.push(Ey(ym(e,t,r))),Ey(o);case"TSInterfaceHeritage":return o.push(e.call(r,"expression")),i.typeParameters&&o.push(e.call(r,"typeParameters")),Ey(o);case"TemplateElement":return Sy(Ay,i.value.raw.split(/\r?\n/g));case"TemplateLiteral":var Ze=e.map(r,"expressions"),et=e.getParentNode(),tt=/^[xf]?(describe|it|test)$/;if("TaggedTemplateExpression"===et.type&&et.quasi===i&&"MemberExpression"===et.tag.type&&"Identifier"===et.tag.property.type&&"each"===et.tag.property.name&&("Identifier"===et.tag.object.type&&tt.test(et.tag.object.name)||"MemberExpression"===et.tag.object.type&&"Identifier"===et.tag.object.property.type&&("only"===et.tag.object.property.name||"skip"===et.tag.object.property.name)&&"Identifier"===et.tag.object.object.type&&tt.test(et.tag.object.object.name))){var rt=i.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(rt.length>1||rt.some((function(e){return 0!==e.length}))){for(var nt=Ze.map((function(e){return"${"+qy(e,Object.assign({},t,{printWidth:1/0,endOfLine:"lf"})).formatted+"}"})),it=[{hasLineBreak:!1,cells:[]}],at=1;at<i.quasis.length;at++){var st=it[it.length-1],ot=nt[at-1];st.cells.push(ot),-1!==ot.indexOf("\n")&&(st.hasLineBreak=!0),-1!==i.quasis[at].value.raw.indexOf("\n")&&it.push({hasLineBreak:!1,cells:[]})}var ut=it.reduce((function(e,t){return Math.max(e,t.cells.length)}),rt.length),lt=Array.from(new Array(ut),(function(){return 0})),ct=[{cells:rt}].concat(it.filter((function(e){return 0!==e.cells.length})));return ct.filter((function(e){return!e.hasLineBreak})).forEach((function(e){e.cells.forEach((function(e,t){lt[t]=Math.max(lt[t],Gh(e))}))})),o.push("`",Py(Ey([xy,Sy(xy,ct.map((function(e){return Sy(" | ",e.cells.map((function(t,r){return e.hasLineBreak?t:t+" ".repeat(lt[r]-Gh(t))})))})))])),xy,"`"),Ey(o)}}return o.push("`"),e.each((function(e){var n=e.getName();if(o.push(r(e)),n<Ze.length){var a=t.tabWidth,s=e.getValue(),u=ay(s.value.raw,a),l=Ze[n];(i.expressions[n].comments&&i.expressions[n].comments.length||"MemberExpression"===i.expressions[n].type||"OptionalMemberExpression"===i.expressions[n].type||"ConditionalExpression"===i.expressions[n].type)&&(l=Ey([Py(Ey([Dy,l])),Dy]));var c=0===u&&s.value.raw.endsWith("\n")?wy(-1/0,l):ky(l,u,a);o.push(Cy(Ey(["${",c,Iy,"}"])))}}),"quasis"),o.push("`"),Ey(o);case"TaggedTemplateExpression":return Ey([e.call(r,"tag"),e.call(r,"typeParameters"),e.call(r,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(i.type));case"TypeAnnotation":case"TSTypeAnnotation":return i.typeAnnotation?e.call(r,"typeAnnotation"):"";case"TSTupleType":case"TupleTypeAnnotation":var pt="TSTupleType"===i.type?"elementTypes":"types";return Cy(Ey(["[",Py(Ey([Dy,$m(e,t,pt,r)])),"TSTupleType"===i.type?"":Fy(Ky(t)?",":""),Ea.printDanglingComments(e,t,!0),Dy,"]"]));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"AnyTypeAnnotation":return"any";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return Ey([e.call(r,"elementType"),"[]"]);case"BooleanTypeAnnotation":return"boolean";case"BooleanLiteralTypeAnnotation":return""+i.value;case"DeclareClass":return pm(e,ym(e,t,r));case"TSDeclareFunction":return Ey([i.declare?"declare ":"",om(e,r,t),a]);case"DeclareFunction":return pm(e,["function ",e.call(r,"id"),i.predicate?" ":"",e.call(r,"predicate"),a]);case"DeclareModule":return pm(e,["module ",e.call(r,"id")," ",e.call(r,"body")]);case"DeclareModuleExports":return pm(e,["module.exports",": ",e.call(r,"typeAnnotation"),a]);case"DeclareVariable":return pm(e,["var ",e.call(r,"id"),a]);case"DeclareExportAllDeclaration":return Ey(["declare export * from ",e.call(r,"source")]);case"DeclareExportDeclaration":return Ey(["declare ",cm(e,t,r)]);case"DeclareOpaqueType":case"OpaqueType":return o.push("opaque type ",e.call(r,"id"),e.call(r,"typeParameters")),i.supertype&&o.push(": ",e.call(r,"supertype")),i.impltype&&o.push(" = ",e.call(r,"impltype")),o.push(a),"DeclareOpaqueType"===i.type?pm(e,o):Ey(o);case"FunctionTypeAnnotation":case"TSFunctionType":var ft=e.getParentNode(0),dt=e.getParentNode(1),ht=e.getParentNode(2),yt="TSFunctionType"===i.type||!(("ObjectTypeProperty"===ft.type||"ObjectTypeInternalSlot"===ft.type)&&!fm(ft)&&!ft.optional&&t.locStart(ft)===t.locStart(i)||"ObjectTypeCallProperty"===ft.type||ht&&"DeclareFunction"===ht.type),mt=yt&&("TypeAnnotation"===ft.type||"TSTypeAnnotation"===ft.type),vt=mt&&yt&&("TypeAnnotation"===ft.type||"TSTypeAnnotation"===ft.type)&&"ArrowFunctionExpression"===dt.type;return Rm(ft,t)&&(yt=!0,mt=!0),vt&&o.push("("),o.push(am(e,r,t,!1,!0)),(i.returnType||i.predicate||i.typeAnnotation)&&o.push(yt?" => ":": ",e.call(r,"returnType"),e.call(r,"predicate"),e.call(r,"typeAnnotation")),vt&&o.push(")"),Cy(Ey(o));case"TSRestType":return Ey(["...",e.call(r,"typeAnnotation")]);case"TSOptionalType":return Ey([e.call(r,"typeAnnotation"),"?"]);case"FunctionTypeParam":return Ey([e.call(r,"name"),mm(e),i.name?": ":"",e.call(r,"typeAnnotation")]);case"GenericTypeAnnotation":return Ey([e.call(r,"id"),e.call(r,"typeParameters")]);case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return("DeclareInterface"===i.type||Km(i,t))&&o.push("declare "),o.push("interface"),"DeclareInterface"!==i.type&&"InterfaceDeclaration"!==i.type||o.push(" ",e.call(r,"id"),e.call(r,"typeParameters")),i.extends.length>0&&o.push(Cy(Py(Ey([by,"extends ",(1===i.extends.length?uv:Py)(Sy(Ey([",",by]),e.map(r,"extends")))])))),o.push(" ",e.call(r,"body")),Cy(Ey(o));case"ClassImplements":case"InterfaceExtends":return Ey([e.call(r,"id"),e.call(r,"typeParameters")]);case"TSClassImplements":return Ey([e.call(r,"expression"),e.call(r,"typeParameters")]);case"TSIntersectionType":case"IntersectionTypeAnnotation":for(var gt=e.map(r,"types"),Tt=[],Et=!1,St=0;St<gt.length;++St)0===St?Tt.push(gt[St]):tv(i.types[St-1])&&tv(i.types[St])?Tt.push(Ey([" & ",Et?Py(gt[St]):gt[St]])):tv(i.types[St-1])||tv(i.types[St])?(St>1&&(Et=!0),Tt.push(" & ",St>1?Py(gt[St]):gt[St])):Tt.push(Py(Ey([" &",by,gt[St]])));return Cy(Ey(Tt));case"TSUnionType":case"UnionTypeAnnotation":var bt=e.getParentNode(),xt=!("TypeParameterInstantiation"===bt.type||"TSTypeParameterInstantiation"===bt.type||"GenericTypeAnnotation"===bt.type||"TSTypeReference"===bt.type||"TSTypeAssertion"===bt.type||"FunctionTypeParam"===bt.type&&!bt.name||("TypeAlias"===bt.type||"VariableDeclarator"===bt.type||"TSTypeAliasDeclaration"===bt.type)&&Mm(t.originalText,i,t)),Dt=Xm(i),At=e.map((function(e){var n=e.call(r);return Dt||(n=wy(2,n)),Ea.printComments(e,(function(){return n}),t)}),"types");if(Dt)return Sy(" | ",At);var Ct,Pt=xt&&!Mm(t.originalText,i,t),wt=Ey([Fy(Ey([Pt?by:"","| "])),Sy(Ey([by,"| "]),At)]);if("TSUnionType"===i.type){var _t=e.getParentNode(2),Ot=e.getParentNode(3);Ct=_t&&"TSParenthesizedType"===_t.type&&Ot&&("TSUnionType"===Ot.type||"TSIntersectionType"===Ot.type)}else Ct=Mh(e,t);return Cy(Ct?Ey([Py(wt),Dy]):xt?Py(wt):wt);case"NullableTypeAnnotation":return Ey(["?",e.call(r,"typeAnnotation")]);case"TSNullKeyword":case"NullLiteralTypeAnnotation":return"null";case"ThisTypeAnnotation":return"this";case"NumberTypeAnnotation":return"number";case"ObjectTypeCallProperty":return i.static&&o.push("static "),o.push(e.call(r,"value")),Ey(o);case"ObjectTypeIndexer":var Ft=fm(i);return Ey([Ft||"","[",e.call(r,"id"),i.id?": ":"",e.call(r,"key"),"]: ",e.call(r,"value")]);case"ObjectTypeProperty":var Nt=fm(i),It="";return i.proto?It="proto ":i.static&&(It="static "),Ey([It,qm(i)?i.kind+" ":"",Nt||"",zy(e,t,r),mm(e),Vm(i,t)?"":": ",e.call(r,"value")]);case"QualifiedTypeIdentifier":return Ey([e.call(r,"qualification"),".",e.call(r,"id")]);case"StringLiteralTypeAnnotation":return Nm(i,t);case"NumberLiteralTypeAnnotation":return Zi.strictEqual(T(i.value),"number"),null!=i.extra?Zh(i.extra.raw):Zh(i.raw);case"StringTypeAnnotation":return"string";case"DeclareTypeAlias":case"TypeAlias":("DeclareTypeAlias"===i.type||Km(i,t))&&o.push("declare ");var kt=_m(i.id,i.right,e.call(r,"right"),t);return o.push("type ",e.call(r,"id"),e.call(r,"typeParameters")," =",kt,a),Cy(Ey(o));case"TypeCastExpression":var Lt=e.getValue(),Mt=Lt&&Lt.typeAnnotation&&Lt.typeAnnotation.range&&t.originalText.substring(Lt.typeAnnotation.range[0]).match(/^\/\*\s*:/);return Ey(["(",e.call(r,"expression"),Mt?" /*":"",": ",e.call(r,"typeAnnotation"),Mt?" */":"",")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":var Bt=e.getValue(),jt=Bt.range?t.originalText.substring(0,Bt.range[0]).lastIndexOf("/*"):-1;return jt>=0&&t.originalText.substring(jt).match(/^\/\*\s*::/)?Ey(["/*:: ",hm(e,t,r,"params")," */"]):hm(e,t,r,"params");case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return hm(e,t,r,"params");case"TSTypeParameter":case"TypeParameter":if("TSMappedType"===e.getParentNode().type)return o.push("[",e.call(r,"name")),i.constraint&&o.push(" in ",e.call(r,"constraint")),o.push("]"),Ey(o);var Rt=fm(i);return Rt&&o.push(Rt),o.push(e.call(r,"name")),i.bound&&(o.push(": "),o.push(e.call(r,"bound"))),i.constraint&&o.push(" extends ",e.call(r,"constraint")),i.default&&o.push(" = ",e.call(r,"default")),Ey(o);case"TypeofTypeAnnotation":return Ey(["typeof ",e.call(r,"argument")]);case"VoidTypeAnnotation":return"void";case"InferredPredicate":return"%checks";case"DeclaredPredicate":return Ey(["%checks(",e.call(r,"value"),")"]);case"TSAbstractKeyword":return"abstract";case"TSAnyKeyword":return"any";case"TSAsyncKeyword":return"async";case"TSBooleanKeyword":return"boolean";case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSNumberKeyword":return"number";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSSymbolKeyword":return"symbol";case"TSStaticKeyword":return"static";case"TSStringKeyword":return"string";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSVoidKeyword":return"void";case"TSAsExpression":return Ey([e.call(r,"expression")," as ",e.call(r,"typeAnnotation")]);case"TSArrayType":return Ey([e.call(r,"elementType"),"[]"]);case"TSPropertySignature":return i.export&&o.push("export "),i.accessibility&&o.push(i.accessibility+" "),i.static&&o.push("static "),i.readonly&&o.push("readonly "),i.computed&&o.push("["),o.push(zy(e,t,r)),i.computed&&o.push("]"),o.push(mm(e)),i.typeAnnotation&&(o.push(": "),o.push(e.call(r,"typeAnnotation"))),i.initializer&&o.push(" = ",e.call(r,"initializer")),Ey(o);case"TSParameterProperty":return i.accessibility&&o.push(i.accessibility+" "),i.export&&o.push("export "),i.static&&o.push("static "),i.readonly&&o.push("readonly "),o.push(e.call(r,"parameter")),Ey(o);case"TSTypeReference":return Ey([e.call(r,"typeName"),hm(e,t,r,"typeParameters")]);case"TSTypeQuery":return Ey(["typeof ",e.call(r,"exprName")]);case"TSParenthesizedType":return e.call(r,"typeAnnotation");case"TSIndexSignature":var Vt=e.getParentNode();return Ey([i.export?"export ":"",i.accessibility?Ey([i.accessibility," "]):"",i.static?"static ":"",i.readonly?"readonly ":"","[",i.parameters?Ey(e.map(r,"parameters")):"","]: ",e.call(r,"typeAnnotation"),"ClassBody"===Vt.type?a:""]);case"TSTypePredicate":return Ey([e.call(r,"parameterName")," is ",e.call(r,"typeAnnotation")]);case"TSNonNullExpression":return Ey([e.call(r,"expression"),"!"]);case"TSThisType":return"this";case"TSImportType":return Ey([i.isTypeOf?"typeof ":"","import(",e.call(r,"parameter"),")",i.qualifier?Ey([".",e.call(r,"qualifier")]):"",hm(e,t,r,"typeParameters")]);case"TSLiteralType":return e.call(r,"literal");case"TSIndexedAccessType":return Ey([e.call(r,"objectType"),"[",e.call(r,"indexType"),"]"]);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSCallSignatureDeclaration"!==i.type&&o.push("new "),o.push(Cy(am(e,r,t,!1,!0))),i.returnType){var qt="TSConstructorType"===i.type;o.push(qt?" => ":": ",e.call(r,"returnType"))}return Ey(o);case"TSTypeOperator":return Ey([i.operator," ",e.call(r,"typeAnnotation")]);case"TSMappedType":return Cy(Ey(["{",Py(Ey([t.bracketSpacing?by:Dy,i.readonly?Ey([Wy(i.readonly,"readonly")," "]):"",dm(e,0,r),e.call(r,"typeParameter"),i.optional?Wy(i.optional,"?"):"",": ",e.call(r,"typeAnnotation")])),Ea.printDanglingComments(e,t,!0),t.bracketSpacing?by:Dy,"}"]));case"TSMethodSignature":return o.push(i.accessibility?Ey([i.accessibility," "]):"",i.export?"export ":"",i.static?"static ":"",i.readonly?"readonly ":"",i.computed?"[":"",e.call(r,"key"),i.computed?"]":"",mm(e),am(e,r,t,!1,!0)),i.returnType&&o.push(": ",e.call(r,"returnType")),Cy(Ey(o));case"TSNamespaceExportDeclaration":return o.push("export as namespace ",e.call(r,"id")),t.semi&&o.push(";"),Cy(Ey(o));case"TSEnumDeclaration":return Km(i,t)&&o.push("declare "),i.modifiers&&o.push(dm(e,0,r)),i.const&&o.push("const "),o.push("enum ",e.call(r,"id")," "),0===i.members.length?o.push(Cy(Ey(["{",Ea.printDanglingComments(e,t),Dy,"}"]))):o.push(Cy(Ey(["{",Py(Ey([xy,$m(e,t,"members",r),Ky(t,"es5")?",":""])),Ea.printDanglingComments(e,t,!0),xy,"}"]))),Ey(o);case"TSEnumMember":return o.push(e.call(r,"id")),i.initializer&&o.push(" = ",e.call(r,"initializer")),Ey(o);case"TSImportEqualsDeclaration":return i.isExport&&o.push("export "),o.push("import ",e.call(r,"id")," = ",e.call(r,"moduleReference")),t.semi&&o.push(";"),Cy(Ey(o));case"TSExternalModuleReference":return Ey(["require(",e.call(r,"expression"),")"]);case"TSModuleDeclaration":var Ut=e.getParentNode(),Kt=Gm(i.id),Xt="TSModuleDeclaration"===Ut.type,Jt=i.body&&"TSModuleDeclaration"===i.body.type;if(Xt)o.push(".");else{!0===i.declare&&o.push("declare "),o.push(dm(e,0,r));var Yt=t.originalText.slice(t.locStart(i),t.locStart(i.id));"Identifier"===i.id.type&&"global"===i.id.name&&!/namespace|module/.test(Yt)||o.push(Kt||/(^|\s)module(\s|$)/.test(Yt)?"module ":"namespace ")}return o.push(e.call(r,"id")),Jt?o.push(e.call(r,"body")):i.body?o.push(" ",Cy(e.call(r,"body"))):o.push(a),Ey(o);case"PrivateName":return Ey(["#",e.call(r,"id")]);case"TSConditionalType":return Yy(e,t,r,{beforeParts:function(){return[e.call(r,"checkType")," ","extends"," ",e.call(r,"extendsType")]},afterParts:function(){return[]},shouldCheckJsx:!1,conditionalNodeType:"TSConditionalType",consequentNodePropertyName:"trueType",alternateNodePropertyName:"falseType",testNodePropertyName:"checkType",breakNested:!0});case"TSInferType":return Ey(["infer"," ",e.call(r,"typeParameter")]);case"InterpreterDirective":return o.push("#!",i.value,xy),uy(t.originalText,i,t)&&o.push(xy),Ey(o);case"NGRoot":return Ey([].concat(e.call(r,"node"),i.node.comments&&0!==i.node.comments.length?Ey([" //",i.node.comments[0].value.trimRight()]):[]));case"NGChainedExpression":return Cy(Sy(Ey([";",by]),e.map((function(e){return function(e){return yy(e.getValue(),(function(e){switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}(e)?r(e):Ey(["(",r(e),")"])}),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return Ey([i.prefix,":",i.value]);case"NGMicrosyntax":return Ey(e.map((function(e,t){return Ey([0===t?"":$y(e.getValue(),t,i)?" ":Ey([";",by]),r(e)])}),"body"));case"NGMicrosyntaxKey":return/^[a-z_$][a-z0-9_$]*(-[a-z_$][a-z0-9_$])*$/i.test(i.name)?i.name:JSON.stringify(i.name);case"NGMicrosyntaxExpression":return Ey([e.call(r,"expression"),null===i.alias?"":Ey([" as ",e.call(r,"alias")])]);case"NGMicrosyntaxKeyedExpression":var Wt=e.getName(),$t=e.getParentNode(),Ht=$y(i,Wt,$t)||(1===Wt&&("then"===i.key.name||"else"===i.key.name)||2===Wt&&"else"===i.key.name&&"NGMicrosyntaxKeyedExpression"===$t.body[Wt-1].type&&"then"===$t.body[Wt-1].key.name)&&"NGMicrosyntaxExpression"===$t.body[0].type;return Ey([e.call(r,"key"),Ht?" ":": ",e.call(r,"expression")]);case"NGMicrosyntaxLet":return Ey(["let ",e.call(r,"key"),null===i.value?"":Ey([" = ",e.call(r,"value")])]);case"NGMicrosyntaxAs":return Ey([e.call(r,"key")," as ",e.call(r,"alias")]);default:throw new Error("unknown type: "+JSON.stringify(i.type))}}(e,t,r,n);if(!i||Ry(s))return s;var o=Xh(e),u=[];if("ClassMethod"===i.type||"ClassPrivateMethod"===i.type||"ClassProperty"===i.type||"TSAbstractClassProperty"===i.type||"ClassPrivateProperty"===i.type||"MethodDefinition"===i.type||"TSAbstractMethodDefinition"===i.type);else if(i.decorators&&i.decorators.length>0&&!(o&&t.locStart(o,{ignoreDecorators:!0})>t.locStart(i.decorators[0]))){var l="ClassExpression"===i.type||"ClassDeclaration"===i.type||Xy(i,t)?xy:by;e.each((function(e){var t=e.getValue();t=t.expression?t.expression:t.callee,u.push(r(e),l)}),"decorators"),o&&u.unshift(xy)}else Jh(i)&&i.declaration&&i.declaration.decorators&&i.declaration.decorators.length>0&&t.locStart(i,{ignoreDecorators:!0})>t.locStart(i.declaration.decorators[0])?e.each((function(e){var t="Decorator"===e.getValue().type?"":"@";u.push(t,r(e),xy)}),"declaration","decorators"):a=Mh(e,t);var c=[];if(a&&c.unshift("("),c.push(s),a){var p=e.getValue();vy(p)&&(c.push(" /*"),c.push(p.trailingComments[0].value.trimLeft()),c.push("*/"),p.trailingComments[0].printed=!0),c.push(")")}return u.length>0?Cy(Ey(u.concat(c))):Ey(c)},embed:Ch,insertPragma:fy,massageAstNode:Ph,hasPrettierIgnore:function(e){return ey(e)||function(e){var t=e.getValue(),r=e.getParentNode();if(!(r&&t&&Em(t)&&Em(r)))return!1;for(var n=r.children.indexOf(t),i=null,a=n;a>0;a--){var s=r.children[a-1];if("JSXText"!==s.type||xm(s)){i=s;break}}return i&&"JSXExpressionContainer"===i.type&&"JSXEmptyExpression"===i.expression.type&&i.expression.comments&&i.expression.comments.find((function(e){return"prettier-ignore"===e.value.trim()}))}(e)},willPrintOwnComments:function(e){var t=e.getValue(),r=e.getParentNode();return(t&&(Em(t)||vy(t)||r&&"CallExpression"===r.type&&(my(t.leadingComments)||my(t.trailingComments)))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&!ey(e)},canAttachComment:function(e){return e.type&&"CommentBlock"!==e.type&&"CommentLine"!==e.type&&"Line"!==e.type&&"Block"!==e.type&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type},printComment:function(e,t){var r=e.getValue();switch(r.type){case"CommentBlock":case"Block":if(function(e){var t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((function(e){return"*"===e.trim()[0]}))}(r)){var n=function(e){var t=e.value.split("\n");return Ey(["/*",Sy(xy,t.map((function(e,r){return 0===r?e.trimRight():" "+(r<t.length-1?e.trim():e.trimLeft())}))),"*/"])}(r);return r.trailing&&!$h(t.originalText,t.locStart(r),{backwards:!0})?Ey([xy,n]):n}var i="*-/"===t.originalText.substr(t.locEnd(r)-3,3);return"/*"+r.value+(i?"*-/":"*/");case"CommentLine":case"Line":return t.originalText.slice(t.locStart(r)).startsWith("#!")?"#!"+r.value.trimRight():"//"+r.value.trimRight();default:throw new Error("Not a comment: "+JSON.stringify(r))}},isBlockComment:eh.isBlockComment,handleComments:{ownLine:eh.handleOwnLineComment,endOfLine:eh.handleEndOfLineComment,remaining:eh.handleRemainingComment}},cv=zi.builders,pv=cv.concat,fv=cv.hardline,dv=cv.indent,hv=cv.join,yv={preprocess:Kh,print:function(e,t,r){var n=e.getValue();switch(n.type){case"JsonRoot":return pv([e.call(r,"node"),fv]);case"ArrayExpression":return 0===n.elements.length?"[]":pv(["[",dv(pv([fv,hv(pv([",",fv]),e.map(r,"elements"))])),fv,"]"]);case"ObjectExpression":return 0===n.properties.length?"{}":pv(["{",dv(pv([fv,hv(pv([",",fv]),e.map(r,"properties"))])),fv,"}"]);case"ObjectProperty":return pv([e.call(r,"key"),": ",e.call(r,"value")]);case"UnaryExpression":return pv(["+"===n.operator?"":n.operator,e.call(r,"argument")]);case"NullLiteral":return"null";case"BooleanLiteral":return n.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(n.value);case"Identifier":return JSON.stringify(n.name);default:throw new Error("unknown type: "+JSON.stringify(n.type))}},massageAstNode:function(e,t){return delete t.start,delete t.end,delete t.extra,delete t.loc,delete t.comments,"Identifier"===e.type?{type:"StringLiteral",value:e.name}:"UnaryExpression"===e.type&&"+"===e.operator?t.argument:void 0}},mv={arrowParens:{since:"1.9.0",category:"JavaScript",type:"choice",default:"avoid",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"avoid",description:"Omit parens when possible. Example: `x => x`"},{value:"always",description:"Always include parens. Example: `(x) => x`"}]},bracketSpacing:Iu.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:"JavaScript",type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:"JavaScript",type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Iu.singleQuote,jsxSingleQuote:{since:"1.15.0",category:"JavaScript",type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:"JavaScript",type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:"JavaScript",type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"none",description:"No trailing commas."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:!0,deprecated:"0.19.0",redirect:"es5"},{value:!1,deprecated:"0.19.0",redirect:"none"}]}},vv=["js","node"],gv=[".js","._js",".bones",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],Tv=["Jakefile"],Ev=["node"],Sv={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:vv,extensions:gv,filenames:Tv,interpreters:Ev,languageId:183},bv=Object.freeze({name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:vv,extensions:gv,filenames:Tv,interpreters:Ev,languageId:183,default:Sv}),xv=[".jsx"],Dv={name:"JSX",type:"programming",group:"JavaScript",extensions:xv,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178},Av=Object.freeze({name:"JSX",type:"programming",group:"JavaScript",extensions:xv,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:178,default:Dv}),Cv=["ts"],Pv=[".ts",".tsx"],wv={name:"TypeScript",type:"programming",color:"#2b7489",aliases:Cv,extensions:Pv,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},_v=Object.freeze({name:"TypeScript",type:"programming",color:"#2b7489",aliases:Cv,extensions:Pv,tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378,default:wv}),Ov=[".json",".avsc",".geojson",".gltf",".JSON-tmLanguage",".jsonl",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest"],Fv=[".arcconfig",".htmlhintrc",".tern-config",".tern-project","composer.lock","mcmod.info"],Nv={name:"JSON",type:"data",tmScope:"source.json",group:"JavaScript",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:Ov,filenames:Fv,languageId:174},Iv=Object.freeze({name:"JSON",type:"data",tmScope:"source.json",group:"JavaScript",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",searchable:!1,extensions:Ov,filenames:Fv,languageId:174,default:Nv}),kv=["jsonc"],Lv=[".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],Mv=[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","tsconfig.json"],Bv={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:kv,extensions:Lv,filenames:Mv,languageId:423},jv=Object.freeze({name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:kv,extensions:Lv,filenames:Mv,languageId:423,default:Bv}),Rv=[".json5"],Vv={name:"JSON5",type:"data",extensions:Rv,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},qv=Object.freeze({name:"JSON5",type:"data",extensions:Rv,tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175,default:Vv}),Uv=bv&&Sv||bv,Kv=Av&&Dv||Av,Xv=_v&&wv||_v,Jv=Iv&&Nv||Iv,Yv=jv&&Bv||jv,Wv=qv&&Vv||qv,$v={languages:[Lu(Uv,{override:{since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript"]},extend:{interpreters:["nodejs"]}}),Lu(Uv,{override:{name:"Flow",since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}}),Lu(Kv,{override:{since:"0.0.0",parsers:["babel","flow"],vscodeLanguageIds:["javascriptreact"]}}),Lu(Xv,{override:{since:"1.4.0",parsers:["typescript"],vscodeLanguageIds:["typescript","typescriptreact"]}}),Lu(Jv,{override:{name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]}}),Lu(Jv,{override:{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"]},extend:{filenames:[".prettierrc"]}}),Lu(Yv,{override:{since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"]},extend:{filenames:[".eslintrc"]}}),Lu(Wv,{override:{since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}})],options:mv,printers:{estree:lv,"estree-json":yv}},Hv="[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u3000-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312e\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u32fe\\u3300-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fea\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d]",zv="[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",Gv="[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\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\\u09fd\\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-\\u2e49\\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[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]",Qv=Ai.getLast,Zv=["liquidNode","inlineCode","emphasis","strong","delete","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],eg=Zv.concat(["tableCell","paragraph","heading"]),tg=new RegExp(zv),rg=new RegExp(Gv),ng={mapAst:function(e,t){return function e(r,n,i){i=i||[];var a=Object.assign({},t(r,n,i));return a.children&&(a.children=a.children.map((function(t,r){return e(t,r,[a].concat(i))}))),a}(e,null,null)},splitText:function(e,t){var r="non-cjk",n="cj-letter",i="cjk-punctuation",a=[];return("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(Hv,")\n(").concat(Hv,")"),"g"),"$1$2")).split(/([ \t\n]+)/).forEach((function(e,t,o){t%2!=1?(0!==t&&t!==o.length-1||""!==e)&&e.split(new RegExp("(".concat(Hv,")"))).forEach((function(e,t,a){(0!==t&&t!==a.length-1||""!==e)&&(t%2!=0?s(rg.test(e)?{type:"word",value:e,kind:i,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:e,kind:tg.test(e)?"k-letter":n,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):""!==e&&s({type:"word",value:e,kind:r,hasLeadingPunctuation:rg.test(e[0]),hasTrailingPunctuation:rg.test(Qv(e))}))})):a.push({type:"whitespace",value:/\n/.test(e)?"\n":" "})})),a;function s(e){var t,s,o=Qv(a);o&&"word"===o.type&&(o.kind===r&&e.kind===n&&!o.hasTrailingPunctuation||o.kind===n&&e.kind===r&&!e.hasLeadingPunctuation?a.push({type:"whitespace",value:" "}):(t=r,s=i,o.kind===t&&e.kind===s||o.kind===s&&e.kind===t||[o.value,e.value].some((function(e){return/\u3000/.test(e)}))||a.push({type:"whitespace",value:""}))),a.push(e)}},punctuationPattern:Gv,getFencedCodeBlockValue:function(e,t){var r=t.slice(e.position.start.offset,e.position.end.offset),n=r.match(/^\s*/)[0].length,i=new RegExp("^\\s{0,".concat(n,"}")),a=r.split("\n"),s=r[n],o=r.slice(n).match(new RegExp("^[".concat(s,"]+")))[0],u=new RegExp("^\\s{0,3}".concat(o)).test(a[a.length-1].slice(l(a.length-1)));return a.slice(1,u?-1:void 0).map((function(e,t){return e.slice(l(t+1)).replace(i,"")})).join("\n");function l(t){return e.position.indent[t-1]-1}},getOrderedListItemInfo:function(e,t){var r=N(t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/),4);return{numberText:r[1],marker:r[2],leadingSpaces:r[3]}},INLINE_NODE_TYPES:Zv,INLINE_NODE_WRAPPER_TYPES:eg},ig=zi.builders,ag=ig.hardline,sg=ig.literalline,og=ig.concat,ug=ig.markAsRoot,lg=zi.utils.mapDoc,cg=ng.getFencedCodeBlockValue,pg=function(e,t,r,n){var i=e.getValue();if("code"===i.type&&null!==i.lang){var a=i.lang.match(/^[A-Za-z0-9_-]+/),s=function(e){var t=Nt.getSupportInfo(null,{plugins:n.plugins}).languages.find((function(t){return t.name.toLowerCase()===e||t.aliases&&-1!==t.aliases.indexOf(e)||t.extensions&&t.extensions.find((function(t){return t.substring(1)===e}))}));return t?t.parsers[0]:null}(a?a[0]:"");if(s){var o=n.__inJsTemplate?"~":"`",u=o.repeat(Math.max(3,Ai.getMaxContinuousCount(i.value,o)+1)),l=r(cg(i,n.originalText),{parser:s});return ug(og([u,i.lang,ag,c(l),u]))}}if("yaml"===i.type)return ug(og(["---",ag,i.value&&i.value.trim()?c(r(i.value,{parser:"yaml"})):"","---"]));switch(i.type){case"importExport":return r(i.value,{parser:"babel"});case"jsx":return r(i.value,{parser:"__js_expression"})}return null;function c(e){return lg(e,(function(e){return"string"==typeof e&&e.includes("\n")?og(e.split(/(\n)/g).map((function(e,t){return t%2==0?e:sg}))):e}))}},fg=p((function(e){var t=["format","prettier"];function r(e){var r="@(".concat(t.join("|"),")"),n=new RegExp(["\x3c!--\\s*".concat(r,"\\s*--\x3e"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(r,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),i=e.match(n);return i&&0===i.index}e.exports={startWithPragma:r,hasPragma:function(e){return r(gs(e).content.trimLeft())},insertPragma:function(e){var r=gs(e),n="\x3c!-- @".concat(t[0]," --\x3e");return r.frontMatter?"".concat(r.frontMatter.raw,"\n\n").concat(n,"\n\n").concat(r.content):"".concat(n,"\n\n").concat(r.content)}}})),dg=ng.getOrderedListItemInfo,hg=ng.mapAst,yg=ng.splitText,mg=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function vg(e,t,r){return hg(e,(function(e){if(!e.children)return e;var n=e.children.reduce((function(e,n){var i=e[e.length-1];return i&&t(i,n)?e.splice(-1,1,r(i,n)):e.push(n),e}),[]);return Object.assign({},e,{children:n})}))}var gg=function(e,t){return e=function(e){return vg(e,(function(e,t){return"importExport"===e.type&&"importExport"===t.type}),(function(e,t){return{type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e=function(e){return hg(e,(function(e){return"import"!==e.type&&"export"!==e.type?e:Object.assign({},e,{type:"importExport"})}))}(e=function(e,t){return hg(e,(function(e,r,n){var i=N(n,1)[0];if("text"!==e.type)return e;var a=e.value;return"paragraph"===i.type&&(0===r&&(a=a.trimLeft()),r===i.children.length-1&&(a=a.trimRight())),{type:"sentence",position:e.position,children:yg(a,t)}}))}(e=function(e,t){return hg(e,(function(e,n,i){if("list"===e.type&&0!==e.children.length){for(var a=0;a<i.length;a++){var s=i[a];if("list"===s.type&&!s.isAligned)return e.isAligned=!1,e}e.isAligned=function(e){if(!e.ordered)return!0;var n=N(e.children,2),i=n[0],a=n[1];if(dg(i,t.originalText).leadingSpaces.length>1)return!0;var s=r(i);if(-1===s)return!1;if(1===e.children.length)return s%t.tabWidth==0;var o=r(a);return s===o&&(s%t.tabWidth==0||dg(a,t.originalText).leadingSpaces.length>1)}(e)}return e}));function r(e){return 0===e.children.length?-1:e.children[0].position.start.column-1}}(e=function(e,t){return hg(e,(function(e,r,n){if("code"===e.type){var i=/^\n?( {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=i,i)for(var a=0;a<n.length;a++){var s=n[a];if(s.hasIndentedCodeblock)break;"list"===s.type&&(s.hasIndentedCodeblock=!0)}}return e}))}(e=function(e){return hg(e,(function(e){return"inlineCode"!==e.type?e:Object.assign({},e,{value:e.value.replace(/\s+/g," ")})}))}(e=function(e){return vg(e,(function(e,t){return"text"===e.type&&"text"===t.type}),(function(e,t){return{type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}}}))}(e=function(e,t){return hg(e,(function(e){return"text"!==e.type?e:Object.assign({},e,{value:"*"!==e.value&&"_"!==e.value&&"$"!==e.value&&mg.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?t.originalText.slice(e.position.start.offset,e.position.end.offset):e.value})}))}(e,t))),t),t),t)))},Tg=zi.builders,Eg=Tg.breakParent,Sg=Tg.concat,bg=Tg.join,xg=Tg.line,Dg=Tg.literalline,Ag=Tg.markAsRoot,Cg=Tg.hardline,Pg=Tg.softline,wg=Tg.ifBreak,_g=Tg.fill,Og=Tg.align,Fg=Tg.indent,Ng=Tg.group,Ig=zi.utils.mapDoc,kg=zi.printer.printDocToString,Lg=ng.getFencedCodeBlockValue,Mg=ng.getOrderedListItemInfo,Bg=ng.splitText,jg=ng.punctuationPattern,Rg=ng.INLINE_NODE_TYPES,Vg=ng.INLINE_NODE_WRAPPER_TYPES,qg=Ai.replaceEndOfLineWith,Ug=["importExport"],Kg=["heading","tableCell","link"],Xg=["listItem","definition","footnoteDefinition"];function Jg(e,t,r,n){var i=e.getValue(),a=null===i.checked?"":i.checked?"[x] ":"[ ] ";return Sg([a,Gg(e,t,r,{processor:function(e,i){if(0===i&&"list"!==e.getValue().type)return Og(" ".repeat(a.length),e.call(r));var s,o,u,l=" ".repeat((s=t.tabWidth-n.length,u=3,s<(o=0)?o:s>u?u:s));return Sg([l,Og(l,e.call(r))])}})])}function Yg(e,t){return function(e,t,r){r=r||function(){return!0};var n=-1,i=!0,a=!1,s=void 0;try{for(var o,u=t.children[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){var l=o.value;if(l.type===e.type&&r(l)?n++:n=-1,l===e)return n}}catch(e){a=!0,s=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw s}}}(e,t,(function(t){return t.ordered===e.ordered}))}function Wg(e,t){for(var r,n=[].concat(t),i=-1;r=e.getParentNode(++i);)if(-1!==n.indexOf(r.type))return i;return-1}function $g(e,t){var r=Wg(e,t);return-1===r?null:e.getParentNode(r)}function Hg(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return Cg;var n="always"===r.proseWrap&&!$g(e,Kg);return""!==t?n?xg:" ":n?Pg:""}function zg(e,t,r){var n=[],i=null,a=e.getValue().children;return a.forEach((function(e,t){switch(Zg(e)){case"start":null===i&&(i={index:t,offset:e.position.end.offset});break;case"end":null!==i&&(n.push({start:i,end:{index:t,offset:e.position.start.offset}}),i=null)}})),Gg(e,t,r,{processor:function(e,i){if(0!==n.length){var s=n[0];if(i===s.start.index)return Sg([a[s.start.index].value,t.originalText.slice(s.start.offset,s.end.offset),a[s.end.index].value]);if(s.start.index<i&&i<s.end.index)return!1;if(i===s.end.index)return n.shift(),!1}return e.call(r)}})}function Gg(e,t,r,n){var i,a=(n=n||{}).postprocessor||Sg,s=n.processor||function(e){return e.call(r)},o=e.getValue(),u=[];return e.map((function(e,r){var n=e.getValue(),a=s(e,r);if(!1!==a){var l={parts:u,prevNode:i,parentNode:o,options:t};(function(e,t){var r=0===t.parts.length,n=-1!==Rg.indexOf(e.type),i="html"===e.type&&-1!==Vg.indexOf(t.parentNode.type);return r||n||i})(n,l)||(u.push(Cg),i&&-1!==Ug.indexOf(i.type)?eT(n,l)&&u.push(Cg):((function(e,t){var r=(t.prevNode&&t.prevNode.type)===e.type&&-1!==Xg.indexOf(e.type),n="listItem"===t.parentNode.type&&!t.parentNode.loose,i=t.prevNode&&"listItem"===t.prevNode.type&&t.prevNode.loose,a="next"===Zg(t.prevNode),s="html"===e.type&&t.prevNode&&"html"===t.prevNode.type&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(r||n||a||s)}(n,l)||eT(n,l))&&u.push(Cg),eT(n,l)&&u.push(Cg))),u.push(a),i=n}}),"children"),a(u)}function Qg(e){for(var t=e;t.children&&0!==t.children.length;)t=t.children[t.children.length-1];return t}function Zg(e){if("html"!==e.type)return!1;var t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);return null!==t&&(t[1]?t[1]:"next")}function eT(e,t){var r=t.prevNode&&"list"===t.prevNode.type,n="code"===e.type&&e.isIndented;return r&&n}function tT(e,t){var r=[" "].concat(t||[]);return new RegExp(r.map((function(e){return"\\".concat(e)})).join("|")).test(e)?"<".concat(e,">"):e}function rT(e,t,r){if(null==r&&(r=!0),!e)return"";if(r)return" "+rT(e,t,!1);if(e.includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");var n=e.split("'").length-1,i=e.split('"').length-1,a=n>i?'"':i>n?"'":t.singleQuote?"'":'"';return e=e.replace(new RegExp("(".concat(a,")"),"g"),"\\$1"),"".concat(a).concat(e).concat(a)}function nT(e){return e.reduce((function(e,t){var r=Ai.getLast(e);return"string"==typeof r&&"string"==typeof t?e.splice(-1,1,r+t):e.push(t),e}),[])}var iT={preprocess:gg,print:function(e,t,r){var n,i=e.getValue();if(function(e){var t=$g(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}(e))return Sg(Bg(t.originalText.slice(i.position.start.offset,i.position.end.offset),t).map((function(r){return"word"===r.type?r.value:""===r.value?"":Hg(e,r.value,t)})));switch(i.type){case"root":return 0===i.children.length?"":Sg([(n=zg(e,t,r),Ig(n,(function(e){if(!e.parts)return e;if("concat"===e.type&&1===e.parts.length)return e.parts[0];var t=[];return e.parts.forEach((function(e){"concat"===e.type?t.push.apply(t,e.parts):""!==e&&t.push(e)})),Object.assign({},e,{parts:nT(t)})}))),-1===Ug.indexOf(Qg(i).type)?Cg:""]);case"paragraph":return Gg(e,t,r,{postprocessor:_g});case"sentence":return Gg(e,t,r);case"word":return i.value.replace(/[*$]/g,"\\$&").replace(new RegExp(["(^|".concat(jg,")(_+)"),"(_+)(".concat(jg,"|$)")].join("|"),"g"),(function(e,t,r,n,i){return(r?"".concat(t).concat(r):"".concat(n).concat(i)).replace(/_/g,"\\_")}));case"whitespace":var a=e.getParentNode(),s=a.children.indexOf(i),o=a.children[s+1],u=o&&/^>|^([-+*]|#{1,6}|[0-9]+[.)])$/.test(o.value)?"never":t.proseWrap;return Hg(e,i.value,{proseWrap:u});case"emphasis":var l=e.getParentNode(),c=l.children.indexOf(i),p=l.children[c-1],f=l.children[c+1],d=p&&"sentence"===p.type&&p.children.length>0&&"word"===Ai.getLast(p.children).type&&!Ai.getLast(p.children).hasTrailingPunctuation||f&&"sentence"===f.type&&f.children.length>0&&"word"===f.children[0].type&&!f.children[0].hasLeadingPunctuation||$g(e,"emphasis")?"*":"_";return Sg([d,Gg(e,t,r),d]);case"strong":return Sg(["**",Gg(e,t,r),"**"]);case"delete":return Sg(["~~",Gg(e,t,r),"~~"]);case"inlineCode":var h=Ai.getMaxContinuousCount(i.value,"`"),y=1===h?"``":"`",m=h?" ":"";return Sg([y,m,i.value,m,y]);case"link":switch(t.originalText[i.position.start.offset]){case"<":var v=i.url.startsWith("mailto:")&&"mailto:"!==t.originalText.slice(i.position.start.offset+1,i.position.start.offset+1+"mailto:".length)?i.url.slice("mailto:".length):i.url;return Sg(["<",v,">"]);case"[":return Sg(["[",Gg(e,t,r),"](",tT(i.url,")"),rT(i.title,t),")"]);default:return t.originalText.slice(i.position.start.offset,i.position.end.offset)}case"image":return Sg(["![",i.alt||"","](",tT(i.url,")"),rT(i.title,t),")"]);case"blockquote":return Sg(["> ",Og("> ",Gg(e,t,r))]);case"heading":return Sg(["#".repeat(i.depth)+" ",Gg(e,t,r)]);case"code":if(i.isIndented){var g=" ".repeat(4);return Og(g,Sg([g,Sg(qg(i.value,Cg))]))}var T=t.__inJsTemplate?"~":"`",E=T.repeat(Math.max(3,Ai.getMaxContinuousCount(i.value,T)+1));return Sg([E,i.lang||"",Cg,Sg(qg(Lg(i,t.originalText),Cg)),Cg,E]);case"yaml":case"toml":return t.originalText.slice(i.position.start.offset,i.position.end.offset);case"html":var S=e.getParentNode(),b="root"===S.type&&Ai.getLast(S.children)===i?i.value.trimRight():i.value,x=/^<!--[\s\S]*-->$/.test(b);return Sg(qg(b,x?Cg:Ag(Dg)));case"list":var D=Yg(i,e.getParentNode()),A=i.ordered&&i.children.length>1&&1==+Mg(i.children[1],t.originalText).numberText;return Gg(e,t,r,{processor:function(e,n){var a,s=(a=i.ordered?(0===n?i.start:A?1:i.start+n)+(D%2==0?". ":") "):D%2==0?"- ":"* ",i.isAligned||i.hasIndentedCodeblock?function(e,t){var r,n=0==(r=e.length%t.tabWidth)?0:t.tabWidth-r;return e+" ".repeat(n>=4?0:n)}(a,t):a);return Sg([s,Og(" ".repeat(s.length),Jg(e,t,r,s))])}});case"thematicBreak":var C=Wg(e,"list");return-1===C?"---":Yg(e.getParentNode(C),e.getParentNode(C+1))%2==0?"***":"---";case"linkReference":return Sg(["[",Gg(e,t,r),"]","full"===i.referenceType?Sg(["[",i.identifier,"]"]):"collapsed"===i.referenceType?"[]":""]);case"imageReference":switch(i.referenceType){case"full":return Sg(["![",i.alt||"","][",i.identifier,"]"]);default:return Sg(["![",i.alt,"]","collapsed"===i.referenceType?"[]":""])}case"definition":var P="always"===t.proseWrap?xg:" ";return Ng(Sg([Sg(["[",i.identifier,"]:"]),Fg(Sg([P,tT(i.url),null===i.title?"":Sg([P,rT(i.title,t,!1)])]))]));case"footnote":return Sg(["[^",Gg(e,t,r),"]"]);case"footnoteReference":return Sg(["[^",i.identifier,"]"]);case"footnoteDefinition":var w=e.getParentNode().children[e.getName()+1],_=1===i.children.length&&"paragraph"===i.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&i.children[0].position.start.line===i.children[0].position.end.line);return Sg(["[^",i.identifier,"]: ",_?Gg(e,t,r):Ng(Sg([Og(" ".repeat(t.tabWidth),Gg(e,t,r,{processor:function(e,t){return 0===t?Ng(Sg([Pg,Pg,e.call(r)])):e.call(r)}})),w&&"footnoteDefinition"===w.type?Pg:""]))]);case"table":return function(e,t,r){var n=Cg.parts[0],i=e.getValue(),a=[];e.map((function(e){var n=[];e.map((function(e){n.push(kg(e.call(r),t).formatted)}),"children"),a.push(n)}),"children");var s=a.reduce((function(e,t){return e.map((function(e,r){return Math.max(e,Ai.getStringWidth(t[r]))}))}),a[0].map((function(){return 3}))),o=bg(n,[c(a[0]),l(),bg(n,a.slice(1).map((function(e){return c(e)})))]);if("never"!==t.proseWrap)return Sg([Eg,o]);var u=bg(n,[c(a[0],!0),l(!0),bg(n,a.slice(1).map((function(e){return c(e,!0)})))]);return Sg([Eg,Ng(wg(u,o))]);function l(e){return Sg(["| ",bg(" | ",s.map((function(t,r){var n=e?3:t;switch(i.align[r]){case"left":return":"+"-".repeat(n-1);case"right":return"-".repeat(n-1)+":";case"center":return":"+"-".repeat(n-2)+":";default:return"-".repeat(n)}})))," |"])}function c(e,t){return Sg(["| ",bg(" | ",t?e:e.map((function(e,t){switch(i.align[t]){case"right":return r=e,n=s[t],a=n-Ai.getStringWidth(r),Sg([" ".repeat(a),r]);case"center":return function(e,t){var r=t-Ai.getStringWidth(e),n=Math.floor(r/2),i=r-n;return Sg([" ".repeat(n),e," ".repeat(i)])}(e,s[t]);default:return function(e,t){var r=t-Ai.getStringWidth(e);return Sg([e," ".repeat(r)])}(e,s[t])}var r,n,a})))," |"])}}(e,t,r);case"tableCell":return Gg(e,t,r);case"break":return/\s/.test(t.originalText[i.position.start.offset])?Sg([" ",Ag(Dg)]):Sg(["\\",Cg]);case"liquidNode":return Sg(qg(i.value,Cg));case"importExport":case"jsx":return i.value;case"math":return Sg(["$$",Cg,i.value?Sg([Sg(qg(i.value,Cg)),Cg]):"","$$"]);case"inlineMath":return t.originalText.slice(t.locStart(i),t.locEnd(i));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(i.type)))}},embed:pg,massageAstNode:function(e,t,r){return delete t.position,delete t.raw,"code"!==e.type&&"yaml"!==e.type&&"import"!==e.type&&"export"!==e.type&&"jsx"!==e.type||delete t.value,"list"===e.type&&delete t.isAligned,"text"===e.type?null:("inlineCode"===e.type&&(t.value=e.value.replace(/[ \t\n]+/g," ")),r&&"root"===r.type&&r.children.length>0&&(r.children[0]===e||("yaml"===r.children[0].type||"toml"===r.children[0].type)&&r.children[1]===e)&&"html"===e.type&&fg.startWithPragma(e.value)?null:void 0)},hasPrettierIgnore:function(e){var t=+e.getName();return 0!==t&&"next"===Zg(e.getParentNode().children[t-1])},insertPragma:fg.insertPragma},aT={proseWrap:Iu.proseWrap,singleQuote:Iu.singleQuote},sT=["pandoc"],oT=[".md",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".workbook"],uT={name:"Markdown",type:"prose",aliases:sT,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:oT,tmScope:"source.gfm",languageId:222},lT=Object.freeze({name:"Markdown",type:"prose",aliases:sT,aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:oT,tmScope:"source.gfm",languageId:222,default:uT}),cT={languages:[Lu(lT&&uT||lT,{override:{since:"1.8.0",parsers:["remark"],vscodeLanguageIds:["markdown"]},extend:{filenames:["README"]}}),Lu({name:"MDX",extensions:[".mdx"]},{override:{since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"]}})],options:aT,printers:{mdast:iT}},pT=function(e){return/^\s*@(prettier|format)\s*$/.test(e)},fT=function(e){return"# @format\n\n".concat(e)},dT=Ai.getLast;function hT(e,t){return e&&"string"==typeof e.type&&(!t||-1!==t.indexOf(e.type))}function yT(e){return"prettier-ignore"===e.value.trim()}function mT(e){return e&&e.leadingComments&&0!==e.leadingComments.length}function vT(e){return e&&e.middleComments&&0!==e.middleComments.length}function gT(e){return e&&e.indicatorComment}function TT(e){return e&&e.trailingComment}function ET(e){return e&&e.endComments&&0!==e.endComments.length}function ST(e){var t=[],r=void 0,n=!0,i=!1,a=void 0;try{for(var s,o=e.split(/( +)/g)[Symbol.iterator]();!(n=(s=o.next()).done);n=!0){var u=s.value;" "!==u?" "===r?t.push(u):t.push((t.pop()||"")+u):void 0===r&&t.unshift(""),r=u}}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}return" "===r&&t.push((t.pop()||"")+" "),""===t[0]&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}var bT={getLast:dT,getAncestorCount:function(e,t){for(var r=0,n=e.stack.length-1,i=0;i<n;i++){var a=e.stack[i];hT(a)&&t(a)&&r++}return r},isNode:hT,isEmptyNode:function(e){return!(e.children&&0!==e.children.length||function(e){return mT(e)||vT(e)||gT(e)||TT(e)||ET(e)}(e))},mapNode:function e(t,r,n){return r("children"in t?Object.assign({},t,{children:t.children.map((function(n){return e(n,r,t)}))}):t,n)},defineShortcut:function(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})},isNextLineEmpty:function(e,t){for(var r=0,n=t.length,i=e.position.end.offset-1;i<n;i++){var a=t[i];if("\n"===a&&r++,1===r&&/\S/.test(a))return!1;if(2===r)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}for(var t=e.stack.length,r=1;r<t;r++){var n=e.stack[r],i=e.stack[r-1];if(Array.isArray(i)&&"number"==typeof n&&n!==i.length-1)return!1}return!0},getBlockValueLineContents:function(e,t){var r,n=t.parentIndent,i=t.isLastDescendant,a=t.options,s=e.position.start.line===e.position.end.line?"":a.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*?\n([\s\S]*)$/)[1],o=null===e.indent?(r=s.match(/^( *)\S/m))?r[1].length:1/0:e.indent-1+n,u=s.split("\n").map((function(e){return e.slice(o)}));return"preserve"===a.proseWrap||"blockLiteral"===e.type?l(u.map((function(e){return 0===e.length?[]:[e]}))):l(u.map((function(e){return 0===e.length?[]:ST(e)})).reduce((function(e,t,r){return 0===r||0===u[r-1].length||0===t.length||/^\s/.test(t[0])||/^\s|\s$/.test(dT(e))?e.concat([t]):e.concat([e.pop().concat(t)])}),[]).map((function(e){return e.reduce((function(e,t){return 0!==e.length&&/\s$/.test(dT(e))?e.concat(e.pop()+" "+t):e.concat(t)}),[])})).map((function(e){return"never"===a.proseWrap?[e.join(" ")]:e})));function l(t){if("keep"===e.chomping)return 0===dT(t).length?t.slice(0,-1):t;for(var r=0,n=t.length-1;n>=0&&0===t[n].length;n--)r++;return 0===r?t:r>=2&&!i?t.slice(0,-(r-1)):t.slice(0,-r)}},getFlowScalarLineContents:function(e,t,r){var n=t.split("\n").map((function(e,t,r){return 0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimRight():e.trimLeft()}));return"preserve"===r.proseWrap?n.map((function(e){return 0===e.length?[]:[e]})):n.map((function(e){return 0===e.length?[]:ST(e)})).reduce((function(t,r,i){return 0===i||0===n[i-1].length||0===r.length||"quoteDouble"===e&&dT(dT(t)).endsWith("\\")?t.concat([r]):t.concat([t.pop().concat(r)])}),[]).map((function(e){return"never"===r.proseWrap?[e.join(" ")]:e}))},getLastDescendantNode:function e(t){return"children"in t&&0!==t.children.length?e(dT(t.children)):t},hasPrettierIgnore:function(e){var t=e.getValue();if("documentBody"===t.type){var r=e.getParentNode();return ET(r.head)&&yT(dT(r.head.endComments))}return mT(t)&&yT(dT(t.leadingComments))},hasLeadingComments:mT,hasMiddleComments:vT,hasIndicatorComment:gT,hasTrailingComment:TT,hasEndComments:ET},xT=fT,DT=pT,AT=bT.getAncestorCount,CT=bT.getBlockValueLineContents,PT=bT.getFlowScalarLineContents,wT=bT.getLast,_T=bT.getLastDescendantNode,OT=bT.hasLeadingComments,FT=bT.hasMiddleComments,NT=bT.hasIndicatorComment,IT=bT.hasTrailingComment,kT=bT.hasEndComments,LT=bT.hasPrettierIgnore,MT=bT.isLastDescendantNode,BT=bT.isNextLineEmpty,jT=bT.isNode,RT=bT.isEmptyNode,VT=bT.defineShortcut,qT=bT.mapNode,UT=zi.builders,KT=UT.conditionalGroup,XT=UT.breakParent,JT=UT.concat,YT=UT.dedent,WT=UT.dedentToRoot,$T=UT.fill,HT=UT.group,zT=UT.hardline,GT=UT.ifBreak,QT=UT.join,ZT=UT.line,eE=UT.lineSuffix,tE=UT.literalline,rE=UT.markAsRoot,nE=UT.softline,iE=Ai.replaceEndOfLineWith;function aE(e){switch(e.type){case"document":VT(e,"head",(function(){return e.children[0]})),VT(e,"body",(function(){return e.children[1]}));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":VT(e,"content",(function(){return e.children[0]}));break;case"mappingItem":case"flowMappingItem":VT(e,"key",(function(){return e.children[0]})),VT(e,"value",(function(){return e.children[1]}))}return e}function sE(e,t,r,n,i){switch(e.type){case"root":return JT([QT(zT,r.map((function(t,n){var a=e.children[n],s=e.children[n+1];return JT([i(t),cE(a,s)?JT([zT,"...",IT(a)?JT([" ",r.call(i,"trailingComment")]):""]):!s||IT(s.head)?"":JT([zT,"---"])])}),"children")),0===e.children.length||(D=_T(e),jT(D,["blockLiteral","blockFolded"])&&"keep"===D.chomping)?"":zT]);case"document":var a=t.children[r.getName()+1];return QT(zT,["head"===pE(e,a,t,n)?QT(zT,[0===e.head.children.length&&0===e.head.endComments.length?"":r.call(i,"head"),JT(["---",IT(e.head)?JT([" ",r.call(i,"head","trailingComment")]):""])].filter(Boolean)):"",lE(e)?r.call(i,"body"):""].filter(Boolean));case"documentHead":return QT(zT,[].concat(r.map(i,"children"),r.map(i,"endComments")));case"documentBody":var s=QT(zT,r.map(i,"children")).parts,o=QT(zT,r.map(i,"endComments")).parts,u=0===s.length||0===o.length?"":function(e){return jT(e,["blockFolded","blockLiteral"])?"keep"===e.chomping?"":JT([zT,zT]):zT}(_T(e));return JT([].concat(s,u,o));case"directive":return JT(["%",QT(" ",[e.name].concat(e.parameters))]);case"comment":return JT(["#",e.value]);case"alias":return JT(["*",e.value]);case"tag":return n.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return JT(["&",e.value]);case"plain":return yE(e.type,n.originalText.slice(e.position.start.offset,e.position.end.offset),n);case"quoteDouble":case"quoteSingle":var l=n.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&l.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(l)){var c="quoteDouble"===e.type?'"':"'";return JT([c,yE(e.type,l,n),c])}if(l.includes('"'))return JT(["'",yE(e.type,"quoteDouble"===e.type?l.replace(/\\"/g,'"').replace(/'/g,"'".repeat(2)):l,n),"'"]);if(l.includes("'"))return JT(['"',yE(e.type,"quoteSingle"===e.type?l.replace(/''/g,"'"):l,n),'"']);var p=n.singleQuote?"'":'"';return JT([p,yE(e.type,l,n),p]);case"blockFolded":case"blockLiteral":var f=AT(r,(function(e){return jT(e,["sequence","mapping"])})),d=MT(r);return JT(["blockFolded"===e.type?">":"|",null===e.indent?"":e.indent.toString(),"clip"===e.chomping?"":"keep"===e.chomping?"+":"-",NT(e)?JT([" ",r.call(i,"indicatorComment")]):"",(null===e.indent?YT:WT)(oE(null===e.indent?n.tabWidth:e.indent-1+f,JT(CT(e,{parentIndent:f,isLastDescendant:d,options:n}).reduce((function(t,r,n,i){return t.concat(0===n?zT:"",$T(QT(ZT,r).parts),n!==i.length-1?0===r.length?zT:rE(tE):"keep"===e.chomping&&d?0===r.length?WT(zT):WT(tE):"")}),[]))))]);case"sequence":return QT(zT,r.map(i,"children"));case"sequenceItem":return JT(["- ",oE(2,e.content?r.call(i,"content"):"")]);case"mappingKey":case"mappingValue":return e.content?r.call(i,"content"):"";case"mapping":return QT(zT,r.map(i,"children"));case"mappingItem":case"flowMappingItem":var h=RT(e.key),y=RT(e.value);if(h&&y)return JT([": "]);var m=r.call(i,"key"),v=r.call(i,"value");if(y)return"flowMappingItem"===e.type&&"flowMapping"===t.type?m:"mappingItem"!==e.type||!fE(e.key.content,n)||IT(e.key.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?JT(["? ",oE(2,m)]):JT([m,dE(e)?" ":"",":"]);if(h)return JT([": ",oE(2,v)]);var g=Symbol("mappingKey");return OT(e.value)||!uE(e.key.content)?JT(["? ",oE(2,m),zT,QT("",r.map(i,"value","leadingComments").map((function(e){return JT([e,zT])}))),": ",oE(2,v)]):!function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}(e.key.content)||OT(e.key.content)||FT(e.key.content)||IT(e.key.content)||kT(e.key)||OT(e.value.content)||FT(e.value.content)||kT(e.value)||!fE(e.value.content,n)?KT([JT([HT(JT([GT("? "),HT(oE(2,m),{id:g})])),GT(JT([zT,": ",oE(2,v)]),A(JT([dE(e)?" ":"",":",OT(e.value.content)||kT(e.value)&&e.value.content&&!jT(e.value.content,["mapping","sequence"])||"mapping"===t.type&&IT(e.key.content)&&uE(e.value.content)||jT(e.value.content,["mapping","sequence"])&&null===e.value.content.tag&&null===e.value.content.anchor?zT:e.value.content?ZT:"",v])),{groupId:g})])]):JT([m,dE(e)?" ":"",": ",v]);case"flowMapping":case"flowSequence":var T="flowMapping"===e.type?"{":"[",E="flowMapping"===e.type?"}":"]",S="flowMapping"===e.type&&0!==e.children.length&&n.bracketSpacing?ZT:nE,b=0!==e.children.length&&"flowMappingItem"===(x=wT(e.children)).type&&RT(x.key)&&RT(x.value);return JT([T,A(JT([S,JT(r.map((function(t,r){return JT([i(t),r===e.children.length-1?"":JT([",",ZT,e.children[r].position.start.line!==e.children[r+1].position.start.line?hE(t,n.originalText):""])])}),"children")),GT(",","")])),b?"":S,E]);case"flowSequenceItem":return r.call(i,"content");default:throw new Error("Unexpected node type ".concat(e.type))}var x,D;function A(e){return UT.align(" ".repeat(n.tabWidth),e)}}function oE(e,t){return"number"==typeof e&&e>0?UT.align(" ".repeat(e),t):UT.align(e,t)}function uE(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}function lE(e){return 0!==e.body.children.length||kT(e.body)}function cE(e,t){return IT(e)||t&&(0!==t.head.children.length||kT(t.head))}function pE(e,t,r,n){return r.children[0]===e&&/---(\s|$)/.test(n.originalText.slice(n.locStart(e),n.locStart(e)+4))||0!==e.head.children.length||kT(e.head)||IT(e.head)?"head":!cE(e,t)&&!!t&&"root"}function fE(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return-1===e.value.indexOf("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function dE(e){return e.key.content&&"alias"===e.key.content.type}function hE(e,t){var r=e.getValue(),n=e.stack[0];return n.isNextEmptyLinePrintedChecklist=n.isNextEmptyLinePrintedChecklist||[],!n.isNextEmptyLinePrintedChecklist[r.position.end.line]&&BT(r,t)?(n.isNextEmptyLinePrintedChecklist[r.position.end.line]=!0,nE):""}function yE(e,t,r){var n=PT(e,t,r);return QT(zT,n.map((function(e){return $T(QT(ZT,e).parts)})))}var mE={preprocess:function(e){return qT(e,aE)},print:function(e,t,r){var n=e.getValue(),i=e.getParentNode(),a=n.tag?e.call(r,"tag"):"",s=n.anchor?e.call(r,"anchor"):"",o=jT(n,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!MT(e)?hE(e,t.originalText):"";return JT(["mappingValue"!==n.type&&OT(n)?JT([QT(zT,e.map(r,"leadingComments")),zT]):"",a,a&&s?" ":"",s,a||s?jT(n,["sequence","mapping"])&&!FT(n)?zT:" ":"",FT(n)?JT([1===n.middleComments.length?"":zT,QT(zT,e.map(r,"middleComments")),zT]):"",LT(e)?JT(iE(t.originalText.slice(n.position.start.offset,n.position.end.offset),tE)):HT(sE(n,i,e,t,r)),IT(n)&&!jT(n,["document","documentHead"])?eE(JT(["mappingValue"!==n.type||n.content?" ":"","mappingKey"===i.type&&"mapping"===e.getParentNode(2).type&&uE(n)?"":XT,e.call(r,"trailingComment")])):"",o,kT(n)&&!jT(n,["documentHead","documentBody"])?oE("sequenceItem"===n.type?2:0,JT([zT,QT(zT,e.map(r,"endComments"))])):""])},massageAstNode:function(e,t){if(jT(t))switch(delete t.position,t.type){case"comment":if(DT(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:xT},vE={bracketSpacing:Iu.bracketSpacing,singleQuote:Iu.singleQuote,proseWrap:Iu.proseWrap},gE=["yml"],TE=[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yml.mysql"],EE=[".clang-format",".clang-tidy",".gemrc","glide.lock"],SE={name:"YAML",type:"data",tmScope:"source.yaml",aliases:gE,extensions:TE,filenames:EE,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},bE=Object.freeze({name:"YAML",type:"data",tmScope:"source.yaml",aliases:gE,extensions:TE,filenames:EE,aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407,default:SE}),xE={languages:[Lu(bE&&SE||bE,{override:{since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml"]}})],printers:{yaml:mE},options:vE},DE=_t.version,AE=Nt.getSupportInfo,CE=[Gu,gl,Vl,Vd,$v,cT,xE],PE=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function wE(e){return function(){var t=Array.from(arguments),r=t[1]&&t[1].plugins||[];return PE(r)||(r=Object.values(r)),t[1]=Object.assign({},t[1],{plugins:CE.concat(r)}),e.apply(null,t)}}var _E=wE(Ga);return{formatWithCursor:_E,format:function(e,t){return _E(e,t).formatted},check:function(e,t){return _E(e,t).formatted===e},doc:zi,getSupportInfo:wE(AE),version:DE,util:Qi,__debug:{parse:wE(Qa),formatAST:wE(Za),formatDoc:wE(es),printToDoc:wE(ts),printDocToString:wE(rs)}}},e.exports=r()}).call(this,r(18))},,,function(e,t,r){var n=r(24),i=r(27),a="[object AsyncFunction]",s="[object Function]",o="[object GeneratorFunction]",u="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=n(e);return t==s||t==o||t==a||t==u}},function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r(18))},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){(function(e,n){var i;
17/**
18 * @license
19 * Lodash <https://lodash.com/>
20 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
21 * Released under MIT license <https://lodash.com/license>
22 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
23 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
24 */(function(){var a,s=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",l="__lodash_hash_undefined__",c=500,p="__lodash_placeholder__",f=1,d=2,h=4,y=1,m=2,v=1,g=2,T=4,E=8,S=16,b=32,x=64,D=128,A=256,C=512,P=30,w="...",_=800,O=16,F=1,N=2,I=1/0,k=9007199254740991,L=17976931348623157e292,M=NaN,B=4294967295,j=B-1,R=B>>>1,V=[["ary",D],["bind",v],["bindKey",g],["curry",E],["curryRight",S],["flip",C],["partial",b],["partialRight",x],["rearg",A]],q="[object Arguments]",U="[object Array]",K="[object AsyncFunction]",X="[object Boolean]",J="[object Date]",Y="[object DOMException]",W="[object Error]",$="[object Function]",H="[object GeneratorFunction]",z="[object Map]",G="[object Number]",Q="[object Null]",Z="[object Object]",ee="[object Proxy]",te="[object RegExp]",re="[object Set]",ne="[object String]",ie="[object Symbol]",ae="[object Undefined]",se="[object WeakMap]",oe="[object WeakSet]",ue="[object ArrayBuffer]",le="[object DataView]",ce="[object Float32Array]",pe="[object Float64Array]",fe="[object Int8Array]",de="[object Int16Array]",he="[object Int32Array]",ye="[object Uint8Array]",me="[object Uint8ClampedArray]",ve="[object Uint16Array]",ge="[object Uint32Array]",Te=/\b__p \+= '';/g,Ee=/\b(__p \+=) '' \+/g,Se=/(__e\(.*?\)|\b__t\)) \+\n'';/g,be=/&(?:amp|lt|gt|quot|#39);/g,xe=/[&<>"']/g,De=RegExp(be.source),Ae=RegExp(xe.source),Ce=/<%-([\s\S]+?)%>/g,Pe=/<%([\s\S]+?)%>/g,we=/<%=([\s\S]+?)%>/g,_e=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Oe=/^\w*$/,Fe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ne=/[\\^$.*+?()[\]{}|]/g,Ie=RegExp(Ne.source),ke=/^\s+|\s+$/g,Le=/^\s+/,Me=/\s+$/,Be=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,je=/\{\n\/\* \[wrapped with (.+)\] \*/,Re=/,? & /,Ve=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qe=/\\(\\)?/g,Ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ke=/\w*$/,Xe=/^[-+]0x[0-9a-f]+$/i,Je=/^0b[01]+$/i,Ye=/^\[object .+?Constructor\]$/,We=/^0o[0-7]+$/i,$e=/^(?:0|[1-9]\d*)$/,He=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ze=/($^)/,Ge=/['\n\r\u2028\u2029\\]/g,Qe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ze="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",et="[\\ud800-\\udfff]",tt="["+Ze+"]",rt="["+Qe+"]",nt="\\d+",it="[\\u2700-\\u27bf]",at="[a-z\\xdf-\\xf6\\xf8-\\xff]",st="[^\\ud800-\\udfff"+Ze+nt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ot="\\ud83c[\\udffb-\\udfff]",ut="[^\\ud800-\\udfff]",lt="(?:\\ud83c[\\udde6-\\uddff]){2}",ct="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ft="(?:"+at+"|"+st+")",dt="(?:"+pt+"|"+st+")",ht="(?:"+rt+"|"+ot+")"+"?",yt="[\\ufe0e\\ufe0f]?"+ht+("(?:\\u200d(?:"+[ut,lt,ct].join("|")+")[\\ufe0e\\ufe0f]?"+ht+")*"),mt="(?:"+[it,lt,ct].join("|")+")"+yt,vt="(?:"+[ut+rt+"?",rt,lt,ct,et].join("|")+")",gt=RegExp("['’]","g"),Tt=RegExp(rt,"g"),Et=RegExp(ot+"(?="+ot+")|"+vt+yt,"g"),St=RegExp([pt+"?"+at+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tt,pt,"$"].join("|")+")",dt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tt,pt+ft,"$"].join("|")+")",pt+"?"+ft+"+(?:['’](?:d|ll|m|re|s|t|ve))?",pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nt,mt].join("|"),"g"),bt=RegExp("[\\u200d\\ud800-\\udfff"+Qe+"\\ufe0e\\ufe0f]"),xt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Dt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],At=-1,Ct={};Ct[ce]=Ct[pe]=Ct[fe]=Ct[de]=Ct[he]=Ct[ye]=Ct[me]=Ct[ve]=Ct[ge]=!0,Ct[q]=Ct[U]=Ct[ue]=Ct[X]=Ct[le]=Ct[J]=Ct[W]=Ct[$]=Ct[z]=Ct[G]=Ct[Z]=Ct[te]=Ct[re]=Ct[ne]=Ct[se]=!1;var Pt={};Pt[q]=Pt[U]=Pt[ue]=Pt[le]=Pt[X]=Pt[J]=Pt[ce]=Pt[pe]=Pt[fe]=Pt[de]=Pt[he]=Pt[z]=Pt[G]=Pt[Z]=Pt[te]=Pt[re]=Pt[ne]=Pt[ie]=Pt[ye]=Pt[me]=Pt[ve]=Pt[ge]=!0,Pt[W]=Pt[$]=Pt[se]=!1;var wt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},_t=parseFloat,Ot=parseInt,Ft="object"==typeof e&&e&&e.Object===Object&&e,Nt="object"==typeof self&&self&&self.Object===Object&&self,It=Ft||Nt||Function("return this")(),kt=t&&!t.nodeType&&t,Lt=kt&&"object"==typeof n&&n&&!n.nodeType&&n,Mt=Lt&&Lt.exports===kt,Bt=Mt&&Ft.process,jt=function(){try{var e=Lt&&Lt.require&&Lt.require("util").types;return e||Bt&&Bt.binding&&Bt.binding("util")}catch(e){}}(),Rt=jt&&jt.isArrayBuffer,Vt=jt&&jt.isDate,qt=jt&&jt.isMap,Ut=jt&&jt.isRegExp,Kt=jt&&jt.isSet,Xt=jt&&jt.isTypedArray;function Jt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Yt(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i<a;){var s=e[i];t(n,s,r(s),e)}return n}function Wt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function $t(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function Ht(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function zt(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[i++]=s)}return a}function Gt(e,t){return!!(null==e?0:e.length)&&or(e,t,0)>-1}function Qt(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}function Zt(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function er(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function tr(e,t,r,n){var i=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++i]);++i<a;)r=t(r,e[i],i,e);return r}function rr(e,t,r,n){var i=null==e?0:e.length;for(n&&i&&(r=e[--i]);i--;)r=t(r,e[i],i,e);return r}function nr(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var ir=pr("length");function ar(e,t,r){var n;return r(e,(function(e,r,i){if(t(e,r,i))return n=r,!1})),n}function sr(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function or(e,t,r){return t==t?function(e,t,r){var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,r):sr(e,lr,r)}function ur(e,t,r,n){for(var i=r-1,a=e.length;++i<a;)if(n(e[i],t))return i;return-1}function lr(e){return e!=e}function cr(e,t){var r=null==e?0:e.length;return r?hr(e,t)/r:M}function pr(e){return function(t){return null==t?a:t[e]}}function fr(e){return function(t){return null==e?a:e[t]}}function dr(e,t,r,n,i){return i(e,(function(e,i,a){r=n?(n=!1,e):t(r,e,i,a)})),r}function hr(e,t){for(var r,n=-1,i=e.length;++n<i;){var s=t(e[n]);s!==a&&(r=r===a?s:r+s)}return r}function yr(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function mr(e){return function(t){return e(t)}}function vr(e,t){return Zt(t,(function(t){return e[t]}))}function gr(e,t){return e.has(t)}function Tr(e,t){for(var r=-1,n=e.length;++r<n&&or(t,e[r],0)>-1;);return r}function Er(e,t){for(var r=e.length;r--&&or(t,e[r],0)>-1;);return r}var Sr=fr({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),br=fr({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function xr(e){return"\\"+wt[e]}function Dr(e){return bt.test(e)}function Ar(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function Cr(e,t){return function(r){return e(t(r))}}function Pr(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var s=e[r];s!==t&&s!==p||(e[r]=p,a[i++]=r)}return a}function wr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}function _r(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}function Or(e){return Dr(e)?function(e){var t=Et.lastIndex=0;for(;Et.test(e);)++t;return t}(e):ir(e)}function Fr(e){return Dr(e)?function(e){return e.match(Et)||[]}(e):function(e){return e.split("")}(e)}var Nr=fr({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var Ir=function e(t){var r,n=(t=null==t?It:Ir.defaults(It.Object(),t,Ir.pick(It,Dt))).Array,i=t.Date,Qe=t.Error,Ze=t.Function,et=t.Math,tt=t.Object,rt=t.RegExp,nt=t.String,it=t.TypeError,at=n.prototype,st=Ze.prototype,ot=tt.prototype,ut=t["__core-js_shared__"],lt=st.toString,ct=ot.hasOwnProperty,pt=0,ft=(r=/[^.]+$/.exec(ut&&ut.keys&&ut.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",dt=ot.toString,ht=lt.call(tt),yt=It._,mt=rt("^"+lt.call(ct).replace(Ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vt=Mt?t.Buffer:a,Et=t.Symbol,bt=t.Uint8Array,wt=vt?vt.allocUnsafe:a,Ft=Cr(tt.getPrototypeOf,tt),Nt=tt.create,kt=ot.propertyIsEnumerable,Lt=at.splice,Bt=Et?Et.isConcatSpreadable:a,jt=Et?Et.iterator:a,ir=Et?Et.toStringTag:a,fr=function(){try{var e=ja(tt,"defineProperty");return e({},"",{}),e}catch(e){}}(),kr=t.clearTimeout!==It.clearTimeout&&t.clearTimeout,Lr=i&&i.now!==It.Date.now&&i.now,Mr=t.setTimeout!==It.setTimeout&&t.setTimeout,Br=et.ceil,jr=et.floor,Rr=tt.getOwnPropertySymbols,Vr=vt?vt.isBuffer:a,qr=t.isFinite,Ur=at.join,Kr=Cr(tt.keys,tt),Xr=et.max,Jr=et.min,Yr=i.now,Wr=t.parseInt,$r=et.random,Hr=at.reverse,zr=ja(t,"DataView"),Gr=ja(t,"Map"),Qr=ja(t,"Promise"),Zr=ja(t,"Set"),en=ja(t,"WeakMap"),tn=ja(tt,"create"),rn=en&&new en,nn={},an=cs(zr),sn=cs(Gr),on=cs(Qr),un=cs(Zr),ln=cs(en),cn=Et?Et.prototype:a,pn=cn?cn.valueOf:a,fn=cn?cn.toString:a;function dn(e){if(wo(e)&&!vo(e)&&!(e instanceof vn)){if(e instanceof mn)return e;if(ct.call(e,"__wrapped__"))return ps(e)}return new mn(e)}var hn=function(){function e(){}return function(t){if(!Po(t))return{};if(Nt)return Nt(t);e.prototype=t;var r=new e;return e.prototype=a,r}}();function yn(){}function mn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=a}function vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=B,this.__views__=[]}function gn(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Tn(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function En(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Sn(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new En;++t<r;)this.add(e[t])}function bn(e){var t=this.__data__=new Tn(e);this.size=t.size}function xn(e,t){var r=vo(e),n=!r&&mo(e),i=!r&&!n&&So(e),a=!r&&!n&&!i&&Mo(e),s=r||n||i||a,o=s?yr(e.length,nt):[],u=o.length;for(var l in e)!t&&!ct.call(e,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Ja(l,u))||o.push(l);return o}function Dn(e){var t=e.length;return t?e[Si(0,t-1)]:a}function An(e,t){return os(ra(e),kn(t,0,e.length))}function Cn(e){return os(ra(e))}function Pn(e,t,r){(r===a||fo(e[t],r))&&(r!==a||t in e)||Nn(e,t,r)}function wn(e,t,r){var n=e[t];ct.call(e,t)&&fo(n,r)&&(r!==a||t in e)||Nn(e,t,r)}function _n(e,t){for(var r=e.length;r--;)if(fo(e[r][0],t))return r;return-1}function On(e,t,r,n){return Rn(e,(function(e,i,a){t(n,e,r(e),a)})),n}function Fn(e,t){return e&&na(t,iu(t),e)}function Nn(e,t,r){"__proto__"==t&&fr?fr(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function In(e,t){for(var r=-1,i=t.length,s=n(i),o=null==e;++r<i;)s[r]=o?a:Zo(e,t[r]);return s}function kn(e,t,r){return e==e&&(r!==a&&(e=e<=r?e:r),t!==a&&(e=e>=t?e:t)),e}function Ln(e,t,r,n,i,s){var o,u=t&f,l=t&d,c=t&h;if(r&&(o=i?r(e,n,i,s):r(e)),o!==a)return o;if(!Po(e))return e;var p=vo(e);if(p){if(o=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&ct.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!u)return ra(e,o)}else{var y=qa(e),m=y==$||y==H;if(So(e))return zi(e,u);if(y==Z||y==q||m&&!i){if(o=l||m?{}:Ka(e),!u)return l?function(e,t){return na(e,Va(e),t)}(e,function(e,t){return e&&na(t,au(t),e)}(o,e)):function(e,t){return na(e,Ra(e),t)}(e,Fn(o,e))}else{if(!Pt[y])return i?e:{};o=function(e,t,r){var n=e.constructor;switch(t){case ue:return Gi(e);case X:case J:return new n(+e);case le:return function(e,t){var r=t?Gi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case ce:case pe:case fe:case de:case he:case ye:case me:case ve:case ge:return Qi(e,r);case z:return new n;case G:case ne:return new n(e);case te:return function(e){var t=new e.constructor(e.source,Ke.exec(e));return t.lastIndex=e.lastIndex,t}(e);case re:return new n;case ie:return i=e,pn?tt(pn.call(i)):{}}var i}(e,y,u)}}s||(s=new bn);var v=s.get(e);if(v)return v;s.set(e,o),Io(e)?e.forEach((function(n){o.add(Ln(n,t,r,n,e,s))})):_o(e)&&e.forEach((function(n,i){o.set(i,Ln(n,t,r,i,e,s))}));var g=p?a:(c?l?Fa:Oa:l?au:iu)(e);return Wt(g||e,(function(n,i){g&&(n=e[i=n]),wn(o,i,Ln(n,t,r,i,e,s))})),o}function Mn(e,t,r){var n=r.length;if(null==e)return!n;for(e=tt(e);n--;){var i=r[n],s=t[i],o=e[i];if(o===a&&!(i in e)||!s(o))return!1}return!0}function Bn(e,t,r){if("function"!=typeof e)throw new it(u);return ns((function(){e.apply(a,r)}),t)}function jn(e,t,r,n){var i=-1,a=Gt,o=!0,u=e.length,l=[],c=t.length;if(!u)return l;r&&(t=Zt(t,mr(r))),n?(a=Qt,o=!1):t.length>=s&&(a=gr,o=!1,t=new Sn(t));e:for(;++i<u;){var p=e[i],f=null==r?p:r(p);if(p=n||0!==p?p:0,o&&f==f){for(var d=c;d--;)if(t[d]===f)continue e;l.push(p)}else a(t,f,n)||l.push(p)}return l}dn.templateSettings={escape:Ce,evaluate:Pe,interpolate:we,variable:"",imports:{_:dn}},dn.prototype=yn.prototype,dn.prototype.constructor=dn,mn.prototype=hn(yn.prototype),mn.prototype.constructor=mn,vn.prototype=hn(yn.prototype),vn.prototype.constructor=vn,gn.prototype.clear=function(){this.__data__=tn?tn(null):{},this.size=0},gn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},gn.prototype.get=function(e){var t=this.__data__;if(tn){var r=t[e];return r===l?a:r}return ct.call(t,e)?t[e]:a},gn.prototype.has=function(e){var t=this.__data__;return tn?t[e]!==a:ct.call(t,e)},gn.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=tn&&t===a?l:t,this},Tn.prototype.clear=function(){this.__data__=[],this.size=0},Tn.prototype.delete=function(e){var t=this.__data__,r=_n(t,e);return!(r<0)&&(r==t.length-1?t.pop():Lt.call(t,r,1),--this.size,!0)},Tn.prototype.get=function(e){var t=this.__data__,r=_n(t,e);return r<0?a:t[r][1]},Tn.prototype.has=function(e){return _n(this.__data__,e)>-1},Tn.prototype.set=function(e,t){var r=this.__data__,n=_n(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},En.prototype.clear=function(){this.size=0,this.__data__={hash:new gn,map:new(Gr||Tn),string:new gn}},En.prototype.delete=function(e){var t=Ma(this,e).delete(e);return this.size-=t?1:0,t},En.prototype.get=function(e){return Ma(this,e).get(e)},En.prototype.has=function(e){return Ma(this,e).has(e)},En.prototype.set=function(e,t){var r=Ma(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Sn.prototype.add=Sn.prototype.push=function(e){return this.__data__.set(e,l),this},Sn.prototype.has=function(e){return this.__data__.has(e)},bn.prototype.clear=function(){this.__data__=new Tn,this.size=0},bn.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},bn.prototype.get=function(e){return this.__data__.get(e)},bn.prototype.has=function(e){return this.__data__.has(e)},bn.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Tn){var n=r.__data__;if(!Gr||n.length<s-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new En(n)}return r.set(e,t),this.size=r.size,this};var Rn=sa(Wn),Vn=sa($n,!0);function qn(e,t){var r=!0;return Rn(e,(function(e,n,i){return r=!!t(e,n,i)})),r}function Un(e,t,r){for(var n=-1,i=e.length;++n<i;){var s=e[n],o=t(s);if(null!=o&&(u===a?o==o&&!Lo(o):r(o,u)))var u=o,l=s}return l}function Kn(e,t){var r=[];return Rn(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function Xn(e,t,r,n,i){var a=-1,s=e.length;for(r||(r=Xa),i||(i=[]);++a<s;){var o=e[a];t>0&&r(o)?t>1?Xn(o,t-1,r,n,i):er(i,o):n||(i[i.length]=o)}return i}var Jn=oa(),Yn=oa(!0);function Wn(e,t){return e&&Jn(e,t,iu)}function $n(e,t){return e&&Yn(e,t,iu)}function Hn(e,t){return zt(t,(function(t){return Do(e[t])}))}function zn(e,t){for(var r=0,n=(t=Yi(t,e)).length;null!=e&&r<n;)e=e[ls(t[r++])];return r&&r==n?e:a}function Gn(e,t,r){var n=t(e);return vo(e)?n:er(n,r(e))}function Qn(e){return null==e?e===a?ae:Q:ir&&ir in tt(e)?function(e){var t=ct.call(e,ir),r=e[ir];try{e[ir]=a;var n=!0}catch(e){}var i=dt.call(e);n&&(t?e[ir]=r:delete e[ir]);return i}(e):function(e){return dt.call(e)}(e)}function Zn(e,t){return e>t}function ei(e,t){return null!=e&&ct.call(e,t)}function ti(e,t){return null!=e&&t in tt(e)}function ri(e,t,r){for(var i=r?Qt:Gt,s=e[0].length,o=e.length,u=o,l=n(o),c=1/0,p=[];u--;){var f=e[u];u&&t&&(f=Zt(f,mr(t))),c=Jr(f.length,c),l[u]=!r&&(t||s>=120&&f.length>=120)?new Sn(u&&f):a}f=e[0];var d=-1,h=l[0];e:for(;++d<s&&p.length<c;){var y=f[d],m=t?t(y):y;if(y=r||0!==y?y:0,!(h?gr(h,m):i(p,m,r))){for(u=o;--u;){var v=l[u];if(!(v?gr(v,m):i(e[u],m,r)))continue e}h&&h.push(m),p.push(y)}}return p}function ni(e,t,r){var n=null==(e=es(e,t=Yi(t,e)))?e:e[ls(bs(t))];return null==n?a:Jt(n,e,r)}function ii(e){return wo(e)&&Qn(e)==q}function ai(e,t,r,n,i){return e===t||(null==e||null==t||!wo(e)&&!wo(t)?e!=e&&t!=t:function(e,t,r,n,i,s){var o=vo(e),u=vo(t),l=o?U:qa(e),c=u?U:qa(t),p=(l=l==q?Z:l)==Z,f=(c=c==q?Z:c)==Z,d=l==c;if(d&&So(e)){if(!So(t))return!1;o=!0,p=!1}if(d&&!p)return s||(s=new bn),o||Mo(e)?wa(e,t,r,n,i,s):function(e,t,r,n,i,a,s){switch(r){case le:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ue:return!(e.byteLength!=t.byteLength||!a(new bt(e),new bt(t)));case X:case J:case G:return fo(+e,+t);case W:return e.name==t.name&&e.message==t.message;case te:case ne:return e==t+"";case z:var o=Ar;case re:var u=n&y;if(o||(o=wr),e.size!=t.size&&!u)return!1;var l=s.get(e);if(l)return l==t;n|=m,s.set(e,t);var c=wa(o(e),o(t),n,i,a,s);return s.delete(e),c;case ie:if(pn)return pn.call(e)==pn.call(t)}return!1}(e,t,l,r,n,i,s);if(!(r&y)){var h=p&&ct.call(e,"__wrapped__"),v=f&&ct.call(t,"__wrapped__");if(h||v){var g=h?e.value():e,T=v?t.value():t;return s||(s=new bn),i(g,T,r,n,s)}}if(!d)return!1;return s||(s=new bn),function(e,t,r,n,i,s){var o=r&y,u=Oa(e),l=u.length,c=Oa(t).length;if(l!=c&&!o)return!1;var p=l;for(;p--;){var f=u[p];if(!(o?f in t:ct.call(t,f)))return!1}var d=s.get(e);if(d&&s.get(t))return d==t;var h=!0;s.set(e,t),s.set(t,e);var m=o;for(;++p<l;){f=u[p];var v=e[f],g=t[f];if(n)var T=o?n(g,v,f,t,e,s):n(v,g,f,e,t,s);if(!(T===a?v===g||i(v,g,r,n,s):T)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var E=e.constructor,S=t.constructor;E!=S&&"constructor"in e&&"constructor"in t&&!("function"==typeof E&&E instanceof E&&"function"==typeof S&&S instanceof S)&&(h=!1)}return s.delete(e),s.delete(t),h}(e,t,r,n,i,s)}(e,t,r,n,ai,i))}function si(e,t,r,n){var i=r.length,s=i,o=!n;if(null==e)return!s;for(e=tt(e);i--;){var u=r[i];if(o&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<s;){var l=(u=r[i])[0],c=e[l],p=u[1];if(o&&u[2]){if(c===a&&!(l in e))return!1}else{var f=new bn;if(n)var d=n(c,p,l,e,t,f);if(!(d===a?ai(p,c,y|m,n,f):d))return!1}}return!0}function oi(e){return!(!Po(e)||(t=e,ft&&ft in t))&&(Do(e)?mt:Ye).test(cs(e));var t}function ui(e){return"function"==typeof e?e:null==e?Ou:"object"==typeof e?vo(e)?hi(e[0],e[1]):di(e):Ru(e)}function li(e){if(!za(e))return Kr(e);var t=[];for(var r in tt(e))ct.call(e,r)&&"constructor"!=r&&t.push(r);return t}function ci(e){if(!Po(e))return function(e){var t=[];if(null!=e)for(var r in tt(e))t.push(r);return t}(e);var t=za(e),r=[];for(var n in e)("constructor"!=n||!t&&ct.call(e,n))&&r.push(n);return r}function pi(e,t){return e<t}function fi(e,t){var r=-1,i=To(e)?n(e.length):[];return Rn(e,(function(e,n,a){i[++r]=t(e,n,a)})),i}function di(e){var t=Ba(e);return 1==t.length&&t[0][2]?Qa(t[0][0],t[0][1]):function(r){return r===e||si(r,e,t)}}function hi(e,t){return Wa(e)&&Ga(t)?Qa(ls(e),t):function(r){var n=Zo(r,e);return n===a&&n===t?eu(r,e):ai(t,n,y|m)}}function yi(e,t,r,n,i){e!==t&&Jn(t,(function(s,o){if(i||(i=new bn),Po(s))!function(e,t,r,n,i,s,o){var u=ts(e,r),l=ts(t,r),c=o.get(l);if(c)return void Pn(e,r,c);var p=s?s(u,l,r+"",e,t,o):a,f=p===a;if(f){var d=vo(l),h=!d&&So(l),y=!d&&!h&&Mo(l);p=l,d||h||y?vo(u)?p=u:Eo(u)?p=ra(u):h?(f=!1,p=zi(l,!0)):y?(f=!1,p=Qi(l,!0)):p=[]:Fo(l)||mo(l)?(p=u,mo(u)?p=Xo(u):Po(u)&&!Do(u)||(p=Ka(l))):f=!1}f&&(o.set(l,p),i(p,l,n,s,o),o.delete(l));Pn(e,r,p)}(e,t,o,r,yi,n,i);else{var u=n?n(ts(e,o),s,o+"",e,t,i):a;u===a&&(u=s),Pn(e,o,u)}}),au)}function mi(e,t){var r=e.length;if(r)return Ja(t+=t<0?r:0,r)?e[t]:a}function vi(e,t,r){var n=-1;return t=Zt(t.length?t:[Ou],mr(La())),function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(fi(e,(function(e,r,i){return{criteria:Zt(t,(function(t){return t(e)})),index:++n,value:e}})),(function(e,t){return function(e,t,r){var n=-1,i=e.criteria,a=t.criteria,s=i.length,o=r.length;for(;++n<s;){var u=Zi(i[n],a[n]);if(u){if(n>=o)return u;var l=r[n];return u*("desc"==l?-1:1)}}return e.index-t.index}(e,t,r)}))}function gi(e,t,r){for(var n=-1,i=t.length,a={};++n<i;){var s=t[n],o=zn(e,s);r(o,s)&&Ci(a,Yi(s,e),o)}return a}function Ti(e,t,r,n){var i=n?ur:or,a=-1,s=t.length,o=e;for(e===t&&(t=ra(t)),r&&(o=Zt(e,mr(r)));++a<s;)for(var u=0,l=t[a],c=r?r(l):l;(u=i(o,c,u,n))>-1;)o!==e&&Lt.call(o,u,1),Lt.call(e,u,1);return e}function Ei(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==a){var a=i;Ja(i)?Lt.call(e,i,1):ji(e,i)}}return e}function Si(e,t){return e+jr($r()*(t-e+1))}function bi(e,t){var r="";if(!e||t<1||t>k)return r;do{t%2&&(r+=e),(t=jr(t/2))&&(e+=e)}while(t);return r}function xi(e,t){return is(Za(e,t,Ou),e+"")}function Di(e){return Dn(du(e))}function Ai(e,t){var r=du(e);return os(r,kn(t,0,r.length))}function Ci(e,t,r,n){if(!Po(e))return e;for(var i=-1,s=(t=Yi(t,e)).length,o=s-1,u=e;null!=u&&++i<s;){var l=ls(t[i]),c=r;if(i!=o){var p=u[l];(c=n?n(p,l,u):a)===a&&(c=Po(p)?p:Ja(t[i+1])?[]:{})}wn(u,l,c),u=u[l]}return e}var Pi=rn?function(e,t){return rn.set(e,t),e}:Ou,wi=fr?function(e,t){return fr(e,"toString",{configurable:!0,enumerable:!1,value:Pu(t),writable:!0})}:Ou;function _i(e){return os(du(e))}function Oi(e,t,r){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var s=n(a);++i<a;)s[i]=e[i+t];return s}function Fi(e,t){var r;return Rn(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r}function Ni(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t==t&&i<=R){for(;n<i;){var a=n+i>>>1,s=e[a];null!==s&&!Lo(s)&&(r?s<=t:s<t)?n=a+1:i=a}return i}return Ii(e,t,Ou,r)}function Ii(e,t,r,n){t=r(t);for(var i=0,s=null==e?0:e.length,o=t!=t,u=null===t,l=Lo(t),c=t===a;i<s;){var p=jr((i+s)/2),f=r(e[p]),d=f!==a,h=null===f,y=f==f,m=Lo(f);if(o)var v=n||y;else v=c?y&&(n||d):u?y&&d&&(n||!h):l?y&&d&&!h&&(n||!m):!h&&!m&&(n?f<=t:f<t);v?i=p+1:s=p}return Jr(s,j)}function ki(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var s=e[r],o=t?t(s):s;if(!r||!fo(o,u)){var u=o;a[i++]=0===s?0:s}}return a}function Li(e){return"number"==typeof e?e:Lo(e)?M:+e}function Mi(e){if("string"==typeof e)return e;if(vo(e))return Zt(e,Mi)+"";if(Lo(e))return fn?fn.call(e):"";var t=e+"";return"0"==t&&1/e==-I?"-0":t}function Bi(e,t,r){var n=-1,i=Gt,a=e.length,o=!0,u=[],l=u;if(r)o=!1,i=Qt;else if(a>=s){var c=t?null:ba(e);if(c)return wr(c);o=!1,i=gr,l=new Sn}else l=t?[]:u;e:for(;++n<a;){var p=e[n],f=t?t(p):p;if(p=r||0!==p?p:0,o&&f==f){for(var d=l.length;d--;)if(l[d]===f)continue e;t&&l.push(f),u.push(p)}else i(l,f,r)||(l!==u&&l.push(f),u.push(p))}return u}function ji(e,t){return null==(e=es(e,t=Yi(t,e)))||delete e[ls(bs(t))]}function Ri(e,t,r,n){return Ci(e,t,r(zn(e,t)),n)}function Vi(e,t,r,n){for(var i=e.length,a=n?i:-1;(n?a--:++a<i)&&t(e[a],a,e););return r?Oi(e,n?0:a,n?a+1:i):Oi(e,n?a+1:0,n?i:a)}function qi(e,t){var r=e;return r instanceof vn&&(r=r.value()),tr(t,(function(e,t){return t.func.apply(t.thisArg,er([e],t.args))}),r)}function Ui(e,t,r){var i=e.length;if(i<2)return i?Bi(e[0]):[];for(var a=-1,s=n(i);++a<i;)for(var o=e[a],u=-1;++u<i;)u!=a&&(s[a]=jn(s[a]||o,e[u],t,r));return Bi(Xn(s,1),t,r)}function Ki(e,t,r){for(var n=-1,i=e.length,s=t.length,o={};++n<i;){var u=n<s?t[n]:a;r(o,e[n],u)}return o}function Xi(e){return Eo(e)?e:[]}function Ji(e){return"function"==typeof e?e:Ou}function Yi(e,t){return vo(e)?e:Wa(e,t)?[e]:us(Jo(e))}var Wi=xi;function $i(e,t,r){var n=e.length;return r=r===a?n:r,!t&&r>=n?e:Oi(e,t,r)}var Hi=kr||function(e){return It.clearTimeout(e)};function zi(e,t){if(t)return e.slice();var r=e.length,n=wt?wt(r):new e.constructor(r);return e.copy(n),n}function Gi(e){var t=new e.constructor(e.byteLength);return new bt(t).set(new bt(e)),t}function Qi(e,t){var r=t?Gi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Zi(e,t){if(e!==t){var r=e!==a,n=null===e,i=e==e,s=Lo(e),o=t!==a,u=null===t,l=t==t,c=Lo(t);if(!u&&!c&&!s&&e>t||s&&o&&l&&!u&&!c||n&&o&&l||!r&&l||!i)return 1;if(!n&&!s&&!c&&e<t||c&&r&&i&&!n&&!s||u&&r&&i||!o&&i||!l)return-1}return 0}function ea(e,t,r,i){for(var a=-1,s=e.length,o=r.length,u=-1,l=t.length,c=Xr(s-o,0),p=n(l+c),f=!i;++u<l;)p[u]=t[u];for(;++a<o;)(f||a<s)&&(p[r[a]]=e[a]);for(;c--;)p[u++]=e[a++];return p}function ta(e,t,r,i){for(var a=-1,s=e.length,o=-1,u=r.length,l=-1,c=t.length,p=Xr(s-u,0),f=n(p+c),d=!i;++a<p;)f[a]=e[a];for(var h=a;++l<c;)f[h+l]=t[l];for(;++o<u;)(d||a<s)&&(f[h+r[o]]=e[a++]);return f}function ra(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function na(e,t,r,n){var i=!r;r||(r={});for(var s=-1,o=t.length;++s<o;){var u=t[s],l=n?n(r[u],e[u],u,r,e):a;l===a&&(l=e[u]),i?Nn(r,u,l):wn(r,u,l)}return r}function ia(e,t){return function(r,n){var i=vo(r)?Yt:On,a=t?t():{};return i(r,e,La(n,2),a)}}function aa(e){return xi((function(t,r){var n=-1,i=r.length,s=i>1?r[i-1]:a,o=i>2?r[2]:a;for(s=e.length>3&&"function"==typeof s?(i--,s):a,o&&Ya(r[0],r[1],o)&&(s=i<3?a:s,i=1),t=tt(t);++n<i;){var u=r[n];u&&e(t,u,n,s)}return t}))}function sa(e,t){return function(r,n){if(null==r)return r;if(!To(r))return e(r,n);for(var i=r.length,a=t?i:-1,s=tt(r);(t?a--:++a<i)&&!1!==n(s[a],a,s););return r}}function oa(e){return function(t,r,n){for(var i=-1,a=tt(t),s=n(t),o=s.length;o--;){var u=s[e?o:++i];if(!1===r(a[u],u,a))break}return t}}function ua(e){return function(t){var r=Dr(t=Jo(t))?Fr(t):a,n=r?r[0]:t.charAt(0),i=r?$i(r,1).join(""):t.slice(1);return n[e]()+i}}function la(e){return function(t){return tr(Du(mu(t).replace(gt,"")),e,"")}}function ca(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=hn(e.prototype),n=e.apply(r,t);return Po(n)?n:r}}function pa(e){return function(t,r,n){var i=tt(t);if(!To(t)){var s=La(r,3);t=iu(t),r=function(e){return s(i[e],e,i)}}var o=e(t,r,n);return o>-1?i[s?t[o]:o]:a}}function fa(e){return _a((function(t){var r=t.length,n=r,i=mn.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new it(u);if(i&&!o&&"wrapper"==Ia(s))var o=new mn([],!0)}for(n=o?n:r;++n<r;){var l=Ia(s=t[n]),c="wrapper"==l?Na(s):a;o=c&&$a(c[0])&&c[1]==(D|E|b|A)&&!c[4].length&&1==c[9]?o[Ia(c[0])].apply(o,c[3]):1==s.length&&$a(s)?o[l]():o.thru(s)}return function(){var e=arguments,n=e[0];if(o&&1==e.length&&vo(n))return o.plant(n).value();for(var i=0,a=r?t[i].apply(this,e):n;++i<r;)a=t[i].call(this,a);return a}}))}function da(e,t,r,i,s,o,u,l,c,p){var f=t&D,d=t&v,h=t&g,y=t&(E|S),m=t&C,T=h?a:ca(e);return function v(){for(var g=arguments.length,E=n(g),S=g;S--;)E[S]=arguments[S];if(y)var b=ka(v),x=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(E,b);if(i&&(E=ea(E,i,s,y)),o&&(E=ta(E,o,u,y)),g-=x,y&&g<p){var D=Pr(E,b);return Ea(e,t,da,v.placeholder,r,E,D,l,c,p-g)}var A=d?r:this,C=h?A[e]:e;return g=E.length,l?E=function(e,t){var r=e.length,n=Jr(t.length,r),i=ra(e);for(;n--;){var s=t[n];e[n]=Ja(s,r)?i[s]:a}return e}(E,l):m&&g>1&&E.reverse(),f&&c<g&&(E.length=c),this&&this!==It&&this instanceof v&&(C=T||ca(C)),C.apply(A,E)}}function ha(e,t){return function(r,n){return function(e,t,r,n){return Wn(e,(function(e,i,a){t(n,r(e),i,a)})),n}(r,e,t(n),{})}}function ya(e,t){return function(r,n){var i;if(r===a&&n===a)return t;if(r!==a&&(i=r),n!==a){if(i===a)return n;"string"==typeof r||"string"==typeof n?(r=Mi(r),n=Mi(n)):(r=Li(r),n=Li(n)),i=e(r,n)}return i}}function ma(e){return _a((function(t){return t=Zt(t,mr(La())),xi((function(r){var n=this;return e(t,(function(e){return Jt(e,n,r)}))}))}))}function va(e,t){var r=(t=t===a?" ":Mi(t)).length;if(r<2)return r?bi(t,e):t;var n=bi(t,Br(e/Or(t)));return Dr(t)?$i(Fr(n),0,e).join(""):n.slice(0,e)}function ga(e){return function(t,r,i){return i&&"number"!=typeof i&&Ya(t,r,i)&&(r=i=a),t=Vo(t),r===a?(r=t,t=0):r=Vo(r),function(e,t,r,i){for(var a=-1,s=Xr(Br((t-e)/(r||1)),0),o=n(s);s--;)o[i?s:++a]=e,e+=r;return o}(t,r,i=i===a?t<r?1:-1:Vo(i),e)}}function Ta(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=Ko(t),r=Ko(r)),e(t,r)}}function Ea(e,t,r,n,i,s,o,u,l,c){var p=t&E;t|=p?b:x,(t&=~(p?x:b))&T||(t&=~(v|g));var f=[e,t,i,p?s:a,p?o:a,p?a:s,p?a:o,u,l,c],d=r.apply(a,f);return $a(e)&&rs(d,f),d.placeholder=n,as(d,e,t)}function Sa(e){var t=et[e];return function(e,r){if(e=Ko(e),(r=null==r?0:Jr(qo(r),292))&&qr(e)){var n=(Jo(e)+"e").split("e");return+((n=(Jo(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var ba=Zr&&1/wr(new Zr([,-0]))[1]==I?function(e){return new Zr(e)}:Lu;function xa(e){return function(t){var r=qa(t);return r==z?Ar(t):r==re?_r(t):function(e,t){return Zt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Da(e,t,r,i,s,o,l,c){var f=t&g;if(!f&&"function"!=typeof e)throw new it(u);var d=i?i.length:0;if(d||(t&=~(b|x),i=s=a),l=l===a?l:Xr(qo(l),0),c=c===a?c:qo(c),d-=s?s.length:0,t&x){var h=i,y=s;i=s=a}var m=f?a:Na(e),C=[e,t,r,i,s,h,y,o,l,c];if(m&&function(e,t){var r=e[1],n=t[1],i=r|n,a=i<(v|g|D),s=n==D&&r==E||n==D&&r==A&&e[7].length<=t[8]||n==(D|A)&&t[7].length<=t[8]&&r==E;if(!a&&!s)return e;n&v&&(e[2]=t[2],i|=r&v?0:T);var o=t[3];if(o){var u=e[3];e[3]=u?ea(u,o,t[4]):o,e[4]=u?Pr(e[3],p):t[4]}(o=t[5])&&(u=e[5],e[5]=u?ta(u,o,t[6]):o,e[6]=u?Pr(e[5],p):t[6]);(o=t[7])&&(e[7]=o);n&D&&(e[8]=null==e[8]?t[8]:Jr(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(C,m),e=C[0],t=C[1],r=C[2],i=C[3],s=C[4],!(c=C[9]=C[9]===a?f?0:e.length:Xr(C[9]-d,0))&&t&(E|S)&&(t&=~(E|S)),t&&t!=v)P=t==E||t==S?function(e,t,r){var i=ca(e);return function s(){for(var o=arguments.length,u=n(o),l=o,c=ka(s);l--;)u[l]=arguments[l];var p=o<3&&u[0]!==c&&u[o-1]!==c?[]:Pr(u,c);return(o-=p.length)<r?Ea(e,t,da,s.placeholder,a,u,p,a,a,r-o):Jt(this&&this!==It&&this instanceof s?i:e,this,u)}}(e,t,c):t!=b&&t!=(v|b)||s.length?da.apply(a,C):function(e,t,r,i){var a=t&v,s=ca(e);return function t(){for(var o=-1,u=arguments.length,l=-1,c=i.length,p=n(c+u),f=this&&this!==It&&this instanceof t?s:e;++l<c;)p[l]=i[l];for(;u--;)p[l++]=arguments[++o];return Jt(f,a?r:this,p)}}(e,t,r,i);else var P=function(e,t,r){var n=t&v,i=ca(e);return function t(){return(this&&this!==It&&this instanceof t?i:e).apply(n?r:this,arguments)}}(e,t,r);return as((m?Pi:rs)(P,C),e,t)}function Aa(e,t,r,n){return e===a||fo(e,ot[r])&&!ct.call(n,r)?t:e}function Ca(e,t,r,n,i,s){return Po(e)&&Po(t)&&(s.set(t,e),yi(e,t,a,Ca,s),s.delete(t)),e}function Pa(e){return Fo(e)?a:e}function wa(e,t,r,n,i,s){var o=r&y,u=e.length,l=t.length;if(u!=l&&!(o&&l>u))return!1;var c=s.get(e);if(c&&s.get(t))return c==t;var p=-1,f=!0,d=r&m?new Sn:a;for(s.set(e,t),s.set(t,e);++p<u;){var h=e[p],v=t[p];if(n)var g=o?n(v,h,p,t,e,s):n(h,v,p,e,t,s);if(g!==a){if(g)continue;f=!1;break}if(d){if(!nr(t,(function(e,t){if(!gr(d,t)&&(h===e||i(h,e,r,n,s)))return d.push(t)}))){f=!1;break}}else if(h!==v&&!i(h,v,r,n,s)){f=!1;break}}return s.delete(e),s.delete(t),f}function _a(e){return is(Za(e,a,vs),e+"")}function Oa(e){return Gn(e,iu,Ra)}function Fa(e){return Gn(e,au,Va)}var Na=rn?function(e){return rn.get(e)}:Lu;function Ia(e){for(var t=e.name+"",r=nn[t],n=ct.call(nn,t)?r.length:0;n--;){var i=r[n],a=i.func;if(null==a||a==e)return i.name}return t}function ka(e){return(ct.call(dn,"placeholder")?dn:e).placeholder}function La(){var e=dn.iteratee||Fu;return e=e===Fu?ui:e,arguments.length?e(arguments[0],arguments[1]):e}function Ma(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function Ba(e){for(var t=iu(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Ga(i)]}return t}function ja(e,t){var r=function(e,t){return null==e?a:e[t]}(e,t);return oi(r)?r:a}var Ra=Rr?function(e){return null==e?[]:(e=tt(e),zt(Rr(e),(function(t){return kt.call(e,t)})))}:Uu,Va=Rr?function(e){for(var t=[];e;)er(t,Ra(e)),e=Ft(e);return t}:Uu,qa=Qn;function Ua(e,t,r){for(var n=-1,i=(t=Yi(t,e)).length,a=!1;++n<i;){var s=ls(t[n]);if(!(a=null!=e&&r(e,s)))break;e=e[s]}return a||++n!=i?a:!!(i=null==e?0:e.length)&&Co(i)&&Ja(s,i)&&(vo(e)||mo(e))}function Ka(e){return"function"!=typeof e.constructor||za(e)?{}:hn(Ft(e))}function Xa(e){return vo(e)||mo(e)||!!(Bt&&e&&e[Bt])}function Ja(e,t){var r=typeof e;return!!(t=null==t?k:t)&&("number"==r||"symbol"!=r&&$e.test(e))&&e>-1&&e%1==0&&e<t}function Ya(e,t,r){if(!Po(r))return!1;var n=typeof t;return!!("number"==n?To(r)&&Ja(t,r.length):"string"==n&&t in r)&&fo(r[t],e)}function Wa(e,t){if(vo(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Lo(e))||(Oe.test(e)||!_e.test(e)||null!=t&&e in tt(t))}function $a(e){var t=Ia(e),r=dn[t];if("function"!=typeof r||!(t in vn.prototype))return!1;if(e===r)return!0;var n=Na(r);return!!n&&e===n[0]}(zr&&qa(new zr(new ArrayBuffer(1)))!=le||Gr&&qa(new Gr)!=z||Qr&&"[object Promise]"!=qa(Qr.resolve())||Zr&&qa(new Zr)!=re||en&&qa(new en)!=se)&&(qa=function(e){var t=Qn(e),r=t==Z?e.constructor:a,n=r?cs(r):"";if(n)switch(n){case an:return le;case sn:return z;case on:return"[object Promise]";case un:return re;case ln:return se}return t});var Ha=ut?Do:Ku;function za(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ot)}function Ga(e){return e==e&&!Po(e)}function Qa(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==a||e in tt(r)))}}function Za(e,t,r){return t=Xr(t===a?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=Xr(i.length-t,0),o=n(s);++a<s;)o[a]=i[t+a];a=-1;for(var u=n(t+1);++a<t;)u[a]=i[a];return u[t]=r(o),Jt(e,this,u)}}function es(e,t){return t.length<2?e:zn(e,Oi(t,0,-1))}function ts(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var rs=ss(Pi),ns=Mr||function(e,t){return It.setTimeout(e,t)},is=ss(wi);function as(e,t,r){var n=t+"";return is(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(Be,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Wt(V,(function(r){var n="_."+r[0];t&r[1]&&!Gt(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(je);return t?t[1].split(Re):[]}(n),r)))}function ss(e){var t=0,r=0;return function(){var n=Yr(),i=O-(n-r);if(r=n,i>0){if(++t>=_)return arguments[0]}else t=0;return e.apply(a,arguments)}}function os(e,t){var r=-1,n=e.length,i=n-1;for(t=t===a?n:t;++r<t;){var s=Si(r,i),o=e[s];e[s]=e[r],e[r]=o}return e.length=t,e}var us=function(e){var t=so(e,(function(e){return r.size===c&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Fe,(function(e,r,n,i){t.push(n?i.replace(qe,"$1"):r||e)})),t}));function ls(e){if("string"==typeof e||Lo(e))return e;var t=e+"";return"0"==t&&1/e==-I?"-0":t}function cs(e){if(null!=e){try{return lt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ps(e){if(e instanceof vn)return e.clone();var t=new mn(e.__wrapped__,e.__chain__);return t.__actions__=ra(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var fs=xi((function(e,t){return Eo(e)?jn(e,Xn(t,1,Eo,!0)):[]})),ds=xi((function(e,t){var r=bs(t);return Eo(r)&&(r=a),Eo(e)?jn(e,Xn(t,1,Eo,!0),La(r,2)):[]})),hs=xi((function(e,t){var r=bs(t);return Eo(r)&&(r=a),Eo(e)?jn(e,Xn(t,1,Eo,!0),a,r):[]}));function ys(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:qo(r);return i<0&&(i=Xr(n+i,0)),sr(e,La(t,3),i)}function ms(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n-1;return r!==a&&(i=qo(r),i=r<0?Xr(n+i,0):Jr(i,n-1)),sr(e,La(t,3),i,!0)}function vs(e){return(null==e?0:e.length)?Xn(e,1):[]}function gs(e){return e&&e.length?e[0]:a}var Ts=xi((function(e){var t=Zt(e,Xi);return t.length&&t[0]===e[0]?ri(t):[]})),Es=xi((function(e){var t=bs(e),r=Zt(e,Xi);return t===bs(r)?t=a:r.pop(),r.length&&r[0]===e[0]?ri(r,La(t,2)):[]})),Ss=xi((function(e){var t=bs(e),r=Zt(e,Xi);return(t="function"==typeof t?t:a)&&r.pop(),r.length&&r[0]===e[0]?ri(r,a,t):[]}));function bs(e){var t=null==e?0:e.length;return t?e[t-1]:a}var xs=xi(Ds);function Ds(e,t){return e&&e.length&&t&&t.length?Ti(e,t):e}var As=_a((function(e,t){var r=null==e?0:e.length,n=In(e,t);return Ei(e,Zt(t,(function(e){return Ja(e,r)?+e:e})).sort(Zi)),n}));function Cs(e){return null==e?e:Hr.call(e)}var Ps=xi((function(e){return Bi(Xn(e,1,Eo,!0))})),ws=xi((function(e){var t=bs(e);return Eo(t)&&(t=a),Bi(Xn(e,1,Eo,!0),La(t,2))})),_s=xi((function(e){var t=bs(e);return t="function"==typeof t?t:a,Bi(Xn(e,1,Eo,!0),a,t)}));function Os(e){if(!e||!e.length)return[];var t=0;return e=zt(e,(function(e){if(Eo(e))return t=Xr(e.length,t),!0})),yr(t,(function(t){return Zt(e,pr(t))}))}function Fs(e,t){if(!e||!e.length)return[];var r=Os(e);return null==t?r:Zt(r,(function(e){return Jt(t,a,e)}))}var Ns=xi((function(e,t){return Eo(e)?jn(e,t):[]})),Is=xi((function(e){return Ui(zt(e,Eo))})),ks=xi((function(e){var t=bs(e);return Eo(t)&&(t=a),Ui(zt(e,Eo),La(t,2))})),Ls=xi((function(e){var t=bs(e);return t="function"==typeof t?t:a,Ui(zt(e,Eo),a,t)})),Ms=xi(Os);var Bs=xi((function(e){var t=e.length,r=t>1?e[t-1]:a;return r="function"==typeof r?(e.pop(),r):a,Fs(e,r)}));function js(e){var t=dn(e);return t.__chain__=!0,t}function Rs(e,t){return t(e)}var Vs=_a((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,i=function(t){return In(t,e)};return!(t>1||this.__actions__.length)&&n instanceof vn&&Ja(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:Rs,args:[i],thisArg:a}),new mn(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(a),e}))):this.thru(i)}));var qs=ia((function(e,t,r){ct.call(e,r)?++e[r]:Nn(e,r,1)}));var Us=pa(ys),Ks=pa(ms);function Xs(e,t){return(vo(e)?Wt:Rn)(e,La(t,3))}function Js(e,t){return(vo(e)?$t:Vn)(e,La(t,3))}var Ys=ia((function(e,t,r){ct.call(e,r)?e[r].push(t):Nn(e,r,[t])}));var Ws=xi((function(e,t,r){var i=-1,a="function"==typeof t,s=To(e)?n(e.length):[];return Rn(e,(function(e){s[++i]=a?Jt(t,e,r):ni(e,t,r)})),s})),$s=ia((function(e,t,r){Nn(e,r,t)}));function Hs(e,t){return(vo(e)?Zt:fi)(e,La(t,3))}var zs=ia((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Gs=xi((function(e,t){if(null==e)return[];var r=t.length;return r>1&&Ya(e,t[0],t[1])?t=[]:r>2&&Ya(t[0],t[1],t[2])&&(t=[t[0]]),vi(e,Xn(t,1),[])})),Qs=Lr||function(){return It.Date.now()};function Zs(e,t,r){return t=r?a:t,t=e&&null==t?e.length:t,Da(e,D,a,a,a,a,t)}function eo(e,t){var r;if("function"!=typeof t)throw new it(u);return e=qo(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=a),r}}var to=xi((function(e,t,r){var n=v;if(r.length){var i=Pr(r,ka(to));n|=b}return Da(e,n,t,r,i)})),ro=xi((function(e,t,r){var n=v|g;if(r.length){var i=Pr(r,ka(ro));n|=b}return Da(t,n,e,r,i)}));function no(e,t,r){var n,i,s,o,l,c,p=0,f=!1,d=!1,h=!0;if("function"!=typeof e)throw new it(u);function y(t){var r=n,s=i;return n=i=a,p=t,o=e.apply(s,r)}function m(e){var r=e-c;return c===a||r>=t||r<0||d&&e-p>=s}function v(){var e=Qs();if(m(e))return g(e);l=ns(v,function(e){var r=t-(e-c);return d?Jr(r,s-(e-p)):r}(e))}function g(e){return l=a,h&&n?y(e):(n=i=a,o)}function T(){var e=Qs(),r=m(e);if(n=arguments,i=this,c=e,r){if(l===a)return function(e){return p=e,l=ns(v,t),f?y(e):o}(c);if(d)return Hi(l),l=ns(v,t),y(c)}return l===a&&(l=ns(v,t)),o}return t=Ko(t)||0,Po(r)&&(f=!!r.leading,s=(d="maxWait"in r)?Xr(Ko(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),T.cancel=function(){l!==a&&Hi(l),p=0,n=c=i=l=a},T.flush=function(){return l===a?o:g(Qs())},T}var io=xi((function(e,t){return Bn(e,1,t)})),ao=xi((function(e,t,r){return Bn(e,Ko(t)||0,r)}));function so(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new it(u);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var s=e.apply(this,n);return r.cache=a.set(i,s)||a,s};return r.cache=new(so.Cache||En),r}function oo(e){if("function"!=typeof e)throw new it(u);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}so.Cache=En;var uo=Wi((function(e,t){var r=(t=1==t.length&&vo(t[0])?Zt(t[0],mr(La())):Zt(Xn(t,1),mr(La()))).length;return xi((function(n){for(var i=-1,a=Jr(n.length,r);++i<a;)n[i]=t[i].call(this,n[i]);return Jt(e,this,n)}))})),lo=xi((function(e,t){var r=Pr(t,ka(lo));return Da(e,b,a,t,r)})),co=xi((function(e,t){var r=Pr(t,ka(co));return Da(e,x,a,t,r)})),po=_a((function(e,t){return Da(e,A,a,a,a,t)}));function fo(e,t){return e===t||e!=e&&t!=t}var ho=Ta(Zn),yo=Ta((function(e,t){return e>=t})),mo=ii(function(){return arguments}())?ii:function(e){return wo(e)&&ct.call(e,"callee")&&!kt.call(e,"callee")},vo=n.isArray,go=Rt?mr(Rt):function(e){return wo(e)&&Qn(e)==ue};function To(e){return null!=e&&Co(e.length)&&!Do(e)}function Eo(e){return wo(e)&&To(e)}var So=Vr||Ku,bo=Vt?mr(Vt):function(e){return wo(e)&&Qn(e)==J};function xo(e){if(!wo(e))return!1;var t=Qn(e);return t==W||t==Y||"string"==typeof e.message&&"string"==typeof e.name&&!Fo(e)}function Do(e){if(!Po(e))return!1;var t=Qn(e);return t==$||t==H||t==K||t==ee}function Ao(e){return"number"==typeof e&&e==qo(e)}function Co(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=k}function Po(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function wo(e){return null!=e&&"object"==typeof e}var _o=qt?mr(qt):function(e){return wo(e)&&qa(e)==z};function Oo(e){return"number"==typeof e||wo(e)&&Qn(e)==G}function Fo(e){if(!wo(e)||Qn(e)!=Z)return!1;var t=Ft(e);if(null===t)return!0;var r=ct.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&lt.call(r)==ht}var No=Ut?mr(Ut):function(e){return wo(e)&&Qn(e)==te};var Io=Kt?mr(Kt):function(e){return wo(e)&&qa(e)==re};function ko(e){return"string"==typeof e||!vo(e)&&wo(e)&&Qn(e)==ne}function Lo(e){return"symbol"==typeof e||wo(e)&&Qn(e)==ie}var Mo=Xt?mr(Xt):function(e){return wo(e)&&Co(e.length)&&!!Ct[Qn(e)]};var Bo=Ta(pi),jo=Ta((function(e,t){return e<=t}));function Ro(e){if(!e)return[];if(To(e))return ko(e)?Fr(e):ra(e);if(jt&&e[jt])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[jt]());var t=qa(e);return(t==z?Ar:t==re?wr:du)(e)}function Vo(e){return e?(e=Ko(e))===I||e===-I?(e<0?-1:1)*L:e==e?e:0:0===e?e:0}function qo(e){var t=Vo(e),r=t%1;return t==t?r?t-r:t:0}function Uo(e){return e?kn(qo(e),0,B):0}function Ko(e){if("number"==typeof e)return e;if(Lo(e))return M;if(Po(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Po(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(ke,"");var r=Je.test(e);return r||We.test(e)?Ot(e.slice(2),r?2:8):Xe.test(e)?M:+e}function Xo(e){return na(e,au(e))}function Jo(e){return null==e?"":Mi(e)}var Yo=aa((function(e,t){if(za(t)||To(t))na(t,iu(t),e);else for(var r in t)ct.call(t,r)&&wn(e,r,t[r])})),Wo=aa((function(e,t){na(t,au(t),e)})),$o=aa((function(e,t,r,n){na(t,au(t),e,n)})),Ho=aa((function(e,t,r,n){na(t,iu(t),e,n)})),zo=_a(In);var Go=xi((function(e,t){e=tt(e);var r=-1,n=t.length,i=n>2?t[2]:a;for(i&&Ya(t[0],t[1],i)&&(n=1);++r<n;)for(var s=t[r],o=au(s),u=-1,l=o.length;++u<l;){var c=o[u],p=e[c];(p===a||fo(p,ot[c])&&!ct.call(e,c))&&(e[c]=s[c])}return e})),Qo=xi((function(e){return e.push(a,Ca),Jt(ou,a,e)}));function Zo(e,t,r){var n=null==e?a:zn(e,t);return n===a?r:n}function eu(e,t){return null!=e&&Ua(e,t,ti)}var tu=ha((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=dt.call(t)),e[t]=r}),Pu(Ou)),ru=ha((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=dt.call(t)),ct.call(e,t)?e[t].push(r):e[t]=[r]}),La),nu=xi(ni);function iu(e){return To(e)?xn(e):li(e)}function au(e){return To(e)?xn(e,!0):ci(e)}var su=aa((function(e,t,r){yi(e,t,r)})),ou=aa((function(e,t,r,n){yi(e,t,r,n)})),uu=_a((function(e,t){var r={};if(null==e)return r;var n=!1;t=Zt(t,(function(t){return t=Yi(t,e),n||(n=t.length>1),t})),na(e,Fa(e),r),n&&(r=Ln(r,f|d|h,Pa));for(var i=t.length;i--;)ji(r,t[i]);return r}));var lu=_a((function(e,t){return null==e?{}:function(e,t){return gi(e,t,(function(t,r){return eu(e,r)}))}(e,t)}));function cu(e,t){if(null==e)return{};var r=Zt(Fa(e),(function(e){return[e]}));return t=La(t),gi(e,r,(function(e,r){return t(e,r[0])}))}var pu=xa(iu),fu=xa(au);function du(e){return null==e?[]:vr(e,iu(e))}var hu=la((function(e,t,r){return t=t.toLowerCase(),e+(r?yu(t):t)}));function yu(e){return xu(Jo(e).toLowerCase())}function mu(e){return(e=Jo(e))&&e.replace(He,Sr).replace(Tt,"")}var vu=la((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),gu=la((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Tu=ua("toLowerCase");var Eu=la((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Su=la((function(e,t,r){return e+(r?" ":"")+xu(t)}));var bu=la((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),xu=ua("toUpperCase");function Du(e,t,r){return e=Jo(e),(t=r?a:t)===a?function(e){return xt.test(e)}(e)?function(e){return e.match(St)||[]}(e):function(e){return e.match(Ve)||[]}(e):e.match(t)||[]}var Au=xi((function(e,t){try{return Jt(e,a,t)}catch(e){return xo(e)?e:new Qe(e)}})),Cu=_a((function(e,t){return Wt(t,(function(t){t=ls(t),Nn(e,t,to(e[t],e))})),e}));function Pu(e){return function(){return e}}var wu=fa(),_u=fa(!0);function Ou(e){return e}function Fu(e){return ui("function"==typeof e?e:Ln(e,f))}var Nu=xi((function(e,t){return function(r){return ni(r,e,t)}})),Iu=xi((function(e,t){return function(r){return ni(e,r,t)}}));function ku(e,t,r){var n=iu(t),i=Hn(t,n);null!=r||Po(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=Hn(t,iu(t)));var a=!(Po(r)&&"chain"in r&&!r.chain),s=Do(e);return Wt(i,(function(r){var n=t[r];e[r]=n,s&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__),i=r.__actions__=ra(this.__actions__);return i.push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,er([this.value()],arguments))})})),e}function Lu(){}var Mu=ma(Zt),Bu=ma(Ht),ju=ma(nr);function Ru(e){return Wa(e)?pr(ls(e)):function(e){return function(t){return zn(t,e)}}(e)}var Vu=ga(),qu=ga(!0);function Uu(){return[]}function Ku(){return!1}var Xu=ya((function(e,t){return e+t}),0),Ju=Sa("ceil"),Yu=ya((function(e,t){return e/t}),1),Wu=Sa("floor");var $u,Hu=ya((function(e,t){return e*t}),1),zu=Sa("round"),Gu=ya((function(e,t){return e-t}),0);return dn.after=function(e,t){if("function"!=typeof t)throw new it(u);return e=qo(e),function(){if(--e<1)return t.apply(this,arguments)}},dn.ary=Zs,dn.assign=Yo,dn.assignIn=Wo,dn.assignInWith=$o,dn.assignWith=Ho,dn.at=zo,dn.before=eo,dn.bind=to,dn.bindAll=Cu,dn.bindKey=ro,dn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return vo(e)?e:[e]},dn.chain=js,dn.chunk=function(e,t,r){t=(r?Ya(e,t,r):t===a)?1:Xr(qo(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var s=0,o=0,u=n(Br(i/t));s<i;)u[o++]=Oi(e,s,s+=t);return u},dn.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,i=[];++t<r;){var a=e[t];a&&(i[n++]=a)}return i},dn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],i=e;i--;)t[i-1]=arguments[i];return er(vo(r)?ra(r):[r],Xn(t,1))},dn.cond=function(e){var t=null==e?0:e.length,r=La();return e=t?Zt(e,(function(e){if("function"!=typeof e[1])throw new it(u);return[r(e[0]),e[1]]})):[],xi((function(r){for(var n=-1;++n<t;){var i=e[n];if(Jt(i[0],this,r))return Jt(i[1],this,r)}}))},dn.conforms=function(e){return function(e){var t=iu(e);return function(r){return Mn(r,e,t)}}(Ln(e,f))},dn.constant=Pu,dn.countBy=qs,dn.create=function(e,t){var r=hn(e);return null==t?r:Fn(r,t)},dn.curry=function e(t,r,n){var i=Da(t,E,a,a,a,a,a,r=n?a:r);return i.placeholder=e.placeholder,i},dn.curryRight=function e(t,r,n){var i=Da(t,S,a,a,a,a,a,r=n?a:r);return i.placeholder=e.placeholder,i},dn.debounce=no,dn.defaults=Go,dn.defaultsDeep=Qo,dn.defer=io,dn.delay=ao,dn.difference=fs,dn.differenceBy=ds,dn.differenceWith=hs,dn.drop=function(e,t,r){var n=null==e?0:e.length;return n?Oi(e,(t=r||t===a?1:qo(t))<0?0:t,n):[]},dn.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?Oi(e,0,(t=n-(t=r||t===a?1:qo(t)))<0?0:t):[]},dn.dropRightWhile=function(e,t){return e&&e.length?Vi(e,La(t,3),!0,!0):[]},dn.dropWhile=function(e,t){return e&&e.length?Vi(e,La(t,3),!0):[]},dn.fill=function(e,t,r,n){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&Ya(e,t,r)&&(r=0,n=i),function(e,t,r,n){var i=e.length;for((r=qo(r))<0&&(r=-r>i?0:i+r),(n=n===a||n>i?i:qo(n))<0&&(n+=i),n=r>n?0:Uo(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},dn.filter=function(e,t){return(vo(e)?zt:Kn)(e,La(t,3))},dn.flatMap=function(e,t){return Xn(Hs(e,t),1)},dn.flatMapDeep=function(e,t){return Xn(Hs(e,t),I)},dn.flatMapDepth=function(e,t,r){return r=r===a?1:qo(r),Xn(Hs(e,t),r)},dn.flatten=vs,dn.flattenDeep=function(e){return(null==e?0:e.length)?Xn(e,I):[]},dn.flattenDepth=function(e,t){return(null==e?0:e.length)?Xn(e,t=t===a?1:qo(t)):[]},dn.flip=function(e){return Da(e,C)},dn.flow=wu,dn.flowRight=_u,dn.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n},dn.functions=function(e){return null==e?[]:Hn(e,iu(e))},dn.functionsIn=function(e){return null==e?[]:Hn(e,au(e))},dn.groupBy=Ys,dn.initial=function(e){return(null==e?0:e.length)?Oi(e,0,-1):[]},dn.intersection=Ts,dn.intersectionBy=Es,dn.intersectionWith=Ss,dn.invert=tu,dn.invertBy=ru,dn.invokeMap=Ws,dn.iteratee=Fu,dn.keyBy=$s,dn.keys=iu,dn.keysIn=au,dn.map=Hs,dn.mapKeys=function(e,t){var r={};return t=La(t,3),Wn(e,(function(e,n,i){Nn(r,t(e,n,i),e)})),r},dn.mapValues=function(e,t){var r={};return t=La(t,3),Wn(e,(function(e,n,i){Nn(r,n,t(e,n,i))})),r},dn.matches=function(e){return di(Ln(e,f))},dn.matchesProperty=function(e,t){return hi(e,Ln(t,f))},dn.memoize=so,dn.merge=su,dn.mergeWith=ou,dn.method=Nu,dn.methodOf=Iu,dn.mixin=ku,dn.negate=oo,dn.nthArg=function(e){return e=qo(e),xi((function(t){return mi(t,e)}))},dn.omit=uu,dn.omitBy=function(e,t){return cu(e,oo(La(t)))},dn.once=function(e){return eo(2,e)},dn.orderBy=function(e,t,r,n){return null==e?[]:(vo(t)||(t=null==t?[]:[t]),vo(r=n?a:r)||(r=null==r?[]:[r]),vi(e,t,r))},dn.over=Mu,dn.overArgs=uo,dn.overEvery=Bu,dn.overSome=ju,dn.partial=lo,dn.partialRight=co,dn.partition=zs,dn.pick=lu,dn.pickBy=cu,dn.property=Ru,dn.propertyOf=function(e){return function(t){return null==e?a:zn(e,t)}},dn.pull=xs,dn.pullAll=Ds,dn.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Ti(e,t,La(r,2)):e},dn.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Ti(e,t,a,r):e},dn.pullAt=As,dn.range=Vu,dn.rangeRight=qu,dn.rearg=po,dn.reject=function(e,t){return(vo(e)?zt:Kn)(e,oo(La(t,3)))},dn.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],a=e.length;for(t=La(t,3);++n<a;){var s=e[n];t(s,n,e)&&(r.push(s),i.push(n))}return Ei(e,i),r},dn.rest=function(e,t){if("function"!=typeof e)throw new it(u);return xi(e,t=t===a?t:qo(t))},dn.reverse=Cs,dn.sampleSize=function(e,t,r){return t=(r?Ya(e,t,r):t===a)?1:qo(t),(vo(e)?An:Ai)(e,t)},dn.set=function(e,t,r){return null==e?e:Ci(e,t,r)},dn.setWith=function(e,t,r,n){return n="function"==typeof n?n:a,null==e?e:Ci(e,t,r,n)},dn.shuffle=function(e){return(vo(e)?Cn:_i)(e)},dn.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&Ya(e,t,r)?(t=0,r=n):(t=null==t?0:qo(t),r=r===a?n:qo(r)),Oi(e,t,r)):[]},dn.sortBy=Gs,dn.sortedUniq=function(e){return e&&e.length?ki(e):[]},dn.sortedUniqBy=function(e,t){return e&&e.length?ki(e,La(t,2)):[]},dn.split=function(e,t,r){return r&&"number"!=typeof r&&Ya(e,t,r)&&(t=r=a),(r=r===a?B:r>>>0)?(e=Jo(e))&&("string"==typeof t||null!=t&&!No(t))&&!(t=Mi(t))&&Dr(e)?$i(Fr(e),0,r):e.split(t,r):[]},dn.spread=function(e,t){if("function"!=typeof e)throw new it(u);return t=null==t?0:Xr(qo(t),0),xi((function(r){var n=r[t],i=$i(r,0,t);return n&&er(i,n),Jt(e,this,i)}))},dn.tail=function(e){var t=null==e?0:e.length;return t?Oi(e,1,t):[]},dn.take=function(e,t,r){return e&&e.length?Oi(e,0,(t=r||t===a?1:qo(t))<0?0:t):[]},dn.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?Oi(e,(t=n-(t=r||t===a?1:qo(t)))<0?0:t,n):[]},dn.takeRightWhile=function(e,t){return e&&e.length?Vi(e,La(t,3),!1,!0):[]},dn.takeWhile=function(e,t){return e&&e.length?Vi(e,La(t,3)):[]},dn.tap=function(e,t){return t(e),e},dn.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new it(u);return Po(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),no(e,t,{leading:n,maxWait:t,trailing:i})},dn.thru=Rs,dn.toArray=Ro,dn.toPairs=pu,dn.toPairsIn=fu,dn.toPath=function(e){return vo(e)?Zt(e,ls):Lo(e)?[e]:ra(us(Jo(e)))},dn.toPlainObject=Xo,dn.transform=function(e,t,r){var n=vo(e),i=n||So(e)||Mo(e);if(t=La(t,4),null==r){var a=e&&e.constructor;r=i?n?new a:[]:Po(e)&&Do(a)?hn(Ft(e)):{}}return(i?Wt:Wn)(e,(function(e,n,i){return t(r,e,n,i)})),r},dn.unary=function(e){return Zs(e,1)},dn.union=Ps,dn.unionBy=ws,dn.unionWith=_s,dn.uniq=function(e){return e&&e.length?Bi(e):[]},dn.uniqBy=function(e,t){return e&&e.length?Bi(e,La(t,2)):[]},dn.uniqWith=function(e,t){return t="function"==typeof t?t:a,e&&e.length?Bi(e,a,t):[]},dn.unset=function(e,t){return null==e||ji(e,t)},dn.unzip=Os,dn.unzipWith=Fs,dn.update=function(e,t,r){return null==e?e:Ri(e,t,Ji(r))},dn.updateWith=function(e,t,r,n){return n="function"==typeof n?n:a,null==e?e:Ri(e,t,Ji(r),n)},dn.values=du,dn.valuesIn=function(e){return null==e?[]:vr(e,au(e))},dn.without=Ns,dn.words=Du,dn.wrap=function(e,t){return lo(Ji(t),e)},dn.xor=Is,dn.xorBy=ks,dn.xorWith=Ls,dn.zip=Ms,dn.zipObject=function(e,t){return Ki(e||[],t||[],wn)},dn.zipObjectDeep=function(e,t){return Ki(e||[],t||[],Ci)},dn.zipWith=Bs,dn.entries=pu,dn.entriesIn=fu,dn.extend=Wo,dn.extendWith=$o,ku(dn,dn),dn.add=Xu,dn.attempt=Au,dn.camelCase=hu,dn.capitalize=yu,dn.ceil=Ju,dn.clamp=function(e,t,r){return r===a&&(r=t,t=a),r!==a&&(r=(r=Ko(r))==r?r:0),t!==a&&(t=(t=Ko(t))==t?t:0),kn(Ko(e),t,r)},dn.clone=function(e){return Ln(e,h)},dn.cloneDeep=function(e){return Ln(e,f|h)},dn.cloneDeepWith=function(e,t){return Ln(e,f|h,t="function"==typeof t?t:a)},dn.cloneWith=function(e,t){return Ln(e,h,t="function"==typeof t?t:a)},dn.conformsTo=function(e,t){return null==t||Mn(e,t,iu(t))},dn.deburr=mu,dn.defaultTo=function(e,t){return null==e||e!=e?t:e},dn.divide=Yu,dn.endsWith=function(e,t,r){e=Jo(e),t=Mi(t);var n=e.length,i=r=r===a?n:kn(qo(r),0,n);return(r-=t.length)>=0&&e.slice(r,i)==t},dn.eq=fo,dn.escape=function(e){return(e=Jo(e))&&Ae.test(e)?e.replace(xe,br):e},dn.escapeRegExp=function(e){return(e=Jo(e))&&Ie.test(e)?e.replace(Ne,"\\$&"):e},dn.every=function(e,t,r){var n=vo(e)?Ht:qn;return r&&Ya(e,t,r)&&(t=a),n(e,La(t,3))},dn.find=Us,dn.findIndex=ys,dn.findKey=function(e,t){return ar(e,La(t,3),Wn)},dn.findLast=Ks,dn.findLastIndex=ms,dn.findLastKey=function(e,t){return ar(e,La(t,3),$n)},dn.floor=Wu,dn.forEach=Xs,dn.forEachRight=Js,dn.forIn=function(e,t){return null==e?e:Jn(e,La(t,3),au)},dn.forInRight=function(e,t){return null==e?e:Yn(e,La(t,3),au)},dn.forOwn=function(e,t){return e&&Wn(e,La(t,3))},dn.forOwnRight=function(e,t){return e&&$n(e,La(t,3))},dn.get=Zo,dn.gt=ho,dn.gte=yo,dn.has=function(e,t){return null!=e&&Ua(e,t,ei)},dn.hasIn=eu,dn.head=gs,dn.identity=Ou,dn.includes=function(e,t,r,n){e=To(e)?e:du(e),r=r&&!n?qo(r):0;var i=e.length;return r<0&&(r=Xr(i+r,0)),ko(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&or(e,t,r)>-1},dn.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:qo(r);return i<0&&(i=Xr(n+i,0)),or(e,t,i)},dn.inRange=function(e,t,r){return t=Vo(t),r===a?(r=t,t=0):r=Vo(r),function(e,t,r){return e>=Jr(t,r)&&e<Xr(t,r)}(e=Ko(e),t,r)},dn.invoke=nu,dn.isArguments=mo,dn.isArray=vo,dn.isArrayBuffer=go,dn.isArrayLike=To,dn.isArrayLikeObject=Eo,dn.isBoolean=function(e){return!0===e||!1===e||wo(e)&&Qn(e)==X},dn.isBuffer=So,dn.isDate=bo,dn.isElement=function(e){return wo(e)&&1===e.nodeType&&!Fo(e)},dn.isEmpty=function(e){if(null==e)return!0;if(To(e)&&(vo(e)||"string"==typeof e||"function"==typeof e.splice||So(e)||Mo(e)||mo(e)))return!e.length;var t=qa(e);if(t==z||t==re)return!e.size;if(za(e))return!li(e).length;for(var r in e)if(ct.call(e,r))return!1;return!0},dn.isEqual=function(e,t){return ai(e,t)},dn.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:a)?r(e,t):a;return n===a?ai(e,t,a,r):!!n},dn.isError=xo,dn.isFinite=function(e){return"number"==typeof e&&qr(e)},dn.isFunction=Do,dn.isInteger=Ao,dn.isLength=Co,dn.isMap=_o,dn.isMatch=function(e,t){return e===t||si(e,t,Ba(t))},dn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:a,si(e,t,Ba(t),r)},dn.isNaN=function(e){return Oo(e)&&e!=+e},dn.isNative=function(e){if(Ha(e))throw new Qe(o);return oi(e)},dn.isNil=function(e){return null==e},dn.isNull=function(e){return null===e},dn.isNumber=Oo,dn.isObject=Po,dn.isObjectLike=wo,dn.isPlainObject=Fo,dn.isRegExp=No,dn.isSafeInteger=function(e){return Ao(e)&&e>=-k&&e<=k},dn.isSet=Io,dn.isString=ko,dn.isSymbol=Lo,dn.isTypedArray=Mo,dn.isUndefined=function(e){return e===a},dn.isWeakMap=function(e){return wo(e)&&qa(e)==se},dn.isWeakSet=function(e){return wo(e)&&Qn(e)==oe},dn.join=function(e,t){return null==e?"":Ur.call(e,t)},dn.kebabCase=vu,dn.last=bs,dn.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=n;return r!==a&&(i=(i=qo(r))<0?Xr(n+i,0):Jr(i,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,i):sr(e,lr,i,!0)},dn.lowerCase=gu,dn.lowerFirst=Tu,dn.lt=Bo,dn.lte=jo,dn.max=function(e){return e&&e.length?Un(e,Ou,Zn):a},dn.maxBy=function(e,t){return e&&e.length?Un(e,La(t,2),Zn):a},dn.mean=function(e){return cr(e,Ou)},dn.meanBy=function(e,t){return cr(e,La(t,2))},dn.min=function(e){return e&&e.length?Un(e,Ou,pi):a},dn.minBy=function(e,t){return e&&e.length?Un(e,La(t,2),pi):a},dn.stubArray=Uu,dn.stubFalse=Ku,dn.stubObject=function(){return{}},dn.stubString=function(){return""},dn.stubTrue=function(){return!0},dn.multiply=Hu,dn.nth=function(e,t){return e&&e.length?mi(e,qo(t)):a},dn.noConflict=function(){return It._===this&&(It._=yt),this},dn.noop=Lu,dn.now=Qs,dn.pad=function(e,t,r){e=Jo(e);var n=(t=qo(t))?Or(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return va(jr(i),r)+e+va(Br(i),r)},dn.padEnd=function(e,t,r){e=Jo(e);var n=(t=qo(t))?Or(e):0;return t&&n<t?e+va(t-n,r):e},dn.padStart=function(e,t,r){e=Jo(e);var n=(t=qo(t))?Or(e):0;return t&&n<t?va(t-n,r)+e:e},dn.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),Wr(Jo(e).replace(Le,""),t||0)},dn.random=function(e,t,r){if(r&&"boolean"!=typeof r&&Ya(e,t,r)&&(t=r=a),r===a&&("boolean"==typeof t?(r=t,t=a):"boolean"==typeof e&&(r=e,e=a)),e===a&&t===a?(e=0,t=1):(e=Vo(e),t===a?(t=e,e=0):t=Vo(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var i=$r();return Jr(e+i*(t-e+_t("1e-"+((i+"").length-1))),t)}return Si(e,t)},dn.reduce=function(e,t,r){var n=vo(e)?tr:dr,i=arguments.length<3;return n(e,La(t,4),r,i,Rn)},dn.reduceRight=function(e,t,r){var n=vo(e)?rr:dr,i=arguments.length<3;return n(e,La(t,4),r,i,Vn)},dn.repeat=function(e,t,r){return t=(r?Ya(e,t,r):t===a)?1:qo(t),bi(Jo(e),t)},dn.replace=function(){var e=arguments,t=Jo(e[0]);return e.length<3?t:t.replace(e[1],e[2])},dn.result=function(e,t,r){var n=-1,i=(t=Yi(t,e)).length;for(i||(i=1,e=a);++n<i;){var s=null==e?a:e[ls(t[n])];s===a&&(n=i,s=r),e=Do(s)?s.call(e):s}return e},dn.round=zu,dn.runInContext=e,dn.sample=function(e){return(vo(e)?Dn:Di)(e)},dn.size=function(e){if(null==e)return 0;if(To(e))return ko(e)?Or(e):e.length;var t=qa(e);return t==z||t==re?e.size:li(e).length},dn.snakeCase=Eu,dn.some=function(e,t,r){var n=vo(e)?nr:Fi;return r&&Ya(e,t,r)&&(t=a),n(e,La(t,3))},dn.sortedIndex=function(e,t){return Ni(e,t)},dn.sortedIndexBy=function(e,t,r){return Ii(e,t,La(r,2))},dn.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=Ni(e,t);if(n<r&&fo(e[n],t))return n}return-1},dn.sortedLastIndex=function(e,t){return Ni(e,t,!0)},dn.sortedLastIndexBy=function(e,t,r){return Ii(e,t,La(r,2),!0)},dn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=Ni(e,t,!0)-1;if(fo(e[r],t))return r}return-1},dn.startCase=Su,dn.startsWith=function(e,t,r){return e=Jo(e),r=null==r?0:kn(qo(r),0,e.length),t=Mi(t),e.slice(r,r+t.length)==t},dn.subtract=Gu,dn.sum=function(e){return e&&e.length?hr(e,Ou):0},dn.sumBy=function(e,t){return e&&e.length?hr(e,La(t,2)):0},dn.template=function(e,t,r){var n=dn.templateSettings;r&&Ya(e,t,r)&&(t=a),e=Jo(e),t=$o({},t,n,Aa);var i,s,o=$o({},t.imports,n.imports,Aa),u=iu(o),l=vr(o,u),c=0,p=t.interpolate||ze,f="__p += '",d=rt((t.escape||ze).source+"|"+p.source+"|"+(p===we?Ue:ze).source+"|"+(t.evaluate||ze).source+"|$","g"),h="//# sourceURL="+(ct.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++At+"]")+"\n";e.replace(d,(function(t,r,n,a,o,u){return n||(n=a),f+=e.slice(c,u).replace(Ge,xr),r&&(i=!0,f+="' +\n__e("+r+") +\n'"),o&&(s=!0,f+="';\n"+o+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),c=u+t.length,t})),f+="';\n";var y=ct.call(t,"variable")&&t.variable;y||(f="with (obj) {\n"+f+"\n}\n"),f=(s?f.replace(Te,""):f).replace(Ee,"$1").replace(Se,"$1;"),f="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=Au((function(){return Ze(u,h+"return "+f).apply(a,l)}));if(m.source=f,xo(m))throw m;return m},dn.times=function(e,t){if((e=qo(e))<1||e>k)return[];var r=B,n=Jr(e,B);t=La(t),e-=B;for(var i=yr(n,t);++r<e;)t(r);return i},dn.toFinite=Vo,dn.toInteger=qo,dn.toLength=Uo,dn.toLower=function(e){return Jo(e).toLowerCase()},dn.toNumber=Ko,dn.toSafeInteger=function(e){return e?kn(qo(e),-k,k):0===e?e:0},dn.toString=Jo,dn.toUpper=function(e){return Jo(e).toUpperCase()},dn.trim=function(e,t,r){if((e=Jo(e))&&(r||t===a))return e.replace(ke,"");if(!e||!(t=Mi(t)))return e;var n=Fr(e),i=Fr(t);return $i(n,Tr(n,i),Er(n,i)+1).join("")},dn.trimEnd=function(e,t,r){if((e=Jo(e))&&(r||t===a))return e.replace(Me,"");if(!e||!(t=Mi(t)))return e;var n=Fr(e);return $i(n,0,Er(n,Fr(t))+1).join("")},dn.trimStart=function(e,t,r){if((e=Jo(e))&&(r||t===a))return e.replace(Le,"");if(!e||!(t=Mi(t)))return e;var n=Fr(e);return $i(n,Tr(n,Fr(t))).join("")},dn.truncate=function(e,t){var r=P,n=w;if(Po(t)){var i="separator"in t?t.separator:i;r="length"in t?qo(t.length):r,n="omission"in t?Mi(t.omission):n}var s=(e=Jo(e)).length;if(Dr(e)){var o=Fr(e);s=o.length}if(r>=s)return e;var u=r-Or(n);if(u<1)return n;var l=o?$i(o,0,u).join(""):e.slice(0,u);if(i===a)return l+n;if(o&&(u+=l.length-u),No(i)){if(e.slice(u).search(i)){var c,p=l;for(i.global||(i=rt(i.source,Jo(Ke.exec(i))+"g")),i.lastIndex=0;c=i.exec(p);)var f=c.index;l=l.slice(0,f===a?u:f)}}else if(e.indexOf(Mi(i),u)!=u){var d=l.lastIndexOf(i);d>-1&&(l=l.slice(0,d))}return l+n},dn.unescape=function(e){return(e=Jo(e))&&De.test(e)?e.replace(be,Nr):e},dn.uniqueId=function(e){var t=++pt;return Jo(e)+t},dn.upperCase=bu,dn.upperFirst=xu,dn.each=Xs,dn.eachRight=Js,dn.first=gs,ku(dn,($u={},Wn(dn,(function(e,t){ct.call(dn.prototype,t)||($u[t]=e)})),$u),{chain:!1}),dn.VERSION="4.17.15",Wt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){dn[e].placeholder=dn})),Wt(["drop","take"],(function(e,t){vn.prototype[e]=function(r){r=r===a?1:Xr(qo(r),0);var n=this.__filtered__&&!t?new vn(this):this.clone();return n.__filtered__?n.__takeCount__=Jr(r,n.__takeCount__):n.__views__.push({size:Jr(r,B),type:e+(n.__dir__<0?"Right":"")}),n},vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Wt(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=r==F||3==r;vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:La(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),Wt(["head","last"],(function(e,t){var r="take"+(t?"Right":"");vn.prototype[e]=function(){return this[r](1).value()[0]}})),Wt(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");vn.prototype[e]=function(){return this.__filtered__?new vn(this):this[r](1)}})),vn.prototype.compact=function(){return this.filter(Ou)},vn.prototype.find=function(e){return this.filter(e).head()},vn.prototype.findLast=function(e){return this.reverse().find(e)},vn.prototype.invokeMap=xi((function(e,t){return"function"==typeof e?new vn(this):this.map((function(r){return ni(r,e,t)}))})),vn.prototype.reject=function(e){return this.filter(oo(La(e)))},vn.prototype.slice=function(e,t){e=qo(e);var r=this;return r.__filtered__&&(e>0||t<0)?new vn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==a&&(r=(t=qo(t))<0?r.dropRight(-t):r.take(t-e)),r)},vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},vn.prototype.toArray=function(){return this.take(B)},Wn(vn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),i=dn[n?"take"+("last"==t?"Right":""):t],s=n||/^find/.test(t);i&&(dn.prototype[t]=function(){var t=this.__wrapped__,o=n?[1]:arguments,u=t instanceof vn,l=o[0],c=u||vo(t),p=function(e){var t=i.apply(dn,er([e],o));return n&&f?t[0]:t};c&&r&&"function"==typeof l&&1!=l.length&&(u=c=!1);var f=this.__chain__,d=!!this.__actions__.length,h=s&&!f,y=u&&!d;if(!s&&c){t=y?t:new vn(this);var m=e.apply(t,o);return m.__actions__.push({func:Rs,args:[p],thisArg:a}),new mn(m,f)}return h&&y?e.apply(this,o):(m=this.thru(p),h?n?m.value()[0]:m.value():m)})})),Wt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=at[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);dn.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(vo(i)?i:[],e)}return this[r]((function(r){return t.apply(vo(r)?r:[],e)}))}})),Wn(vn.prototype,(function(e,t){var r=dn[t];if(r){var n=r.name+"";ct.call(nn,n)||(nn[n]=[]),nn[n].push({name:t,func:r})}})),nn[da(a,g).name]=[{name:"wrapper",func:a}],vn.prototype.clone=function(){var e=new vn(this.__wrapped__);return e.__actions__=ra(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ra(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ra(this.__views__),e},vn.prototype.reverse=function(){if(this.__filtered__){var e=new vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=vo(e),n=t<0,i=r?e.length:0,a=function(e,t,r){var n=-1,i=r.length;for(;++n<i;){var a=r[n],s=a.size;switch(a.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=Jr(t,e+s);break;case"takeRight":e=Xr(e,t-s)}}return{start:e,end:t}}(0,i,this.__views__),s=a.start,o=a.end,u=o-s,l=n?o:s-1,c=this.__iteratees__,p=c.length,f=0,d=Jr(u,this.__takeCount__);if(!r||!n&&i==u&&d==u)return qi(e,this.__actions__);var h=[];e:for(;u--&&f<d;){for(var y=-1,m=e[l+=t];++y<p;){var v=c[y],g=v.iteratee,T=v.type,E=g(m);if(T==N)m=E;else if(!E){if(T==F)continue e;break e}}h[f++]=m}return h},dn.prototype.at=Vs,dn.prototype.chain=function(){return js(this)},dn.prototype.commit=function(){return new mn(this.value(),this.__chain__)},dn.prototype.next=function(){this.__values__===a&&(this.__values__=Ro(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?a:this.__values__[this.__index__++]}},dn.prototype.plant=function(e){for(var t,r=this;r instanceof yn;){var n=ps(r);n.__index__=0,n.__values__=a,t?i.__wrapped__=n:t=n;var i=n;r=r.__wrapped__}return i.__wrapped__=e,t},dn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof vn){var t=e;return this.__actions__.length&&(t=new vn(this)),(t=t.reverse()).__actions__.push({func:Rs,args:[Cs],thisArg:a}),new mn(t,this.__chain__)}return this.thru(Cs)},dn.prototype.toJSON=dn.prototype.valueOf=dn.prototype.value=function(){return qi(this.__wrapped__,this.__actions__)},dn.prototype.first=dn.prototype.head,jt&&(dn.prototype[jt]=function(){return this}),dn}();It._=Ir,(i=function(){return Ir}.call(t,r,t,n))===a||(n.exports=i)}).call(this)}).call(this,r(18),r(33)(e))},,,function(e,t,r){var n=r(46),i=r(142),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){var n=r(25)(r(10),"Set");e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=Object.keys(t);for(const n of r)if(e[n]!==t[n])return!1;return!0}},function(e,t,r){var n=r(66),i=r(311),a=r(312),s=r(313),o=r(314),u=r(315);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=a,l.prototype.get=s,l.prototype.has=o,l.prototype.set=u,e.exports=l},function(e,t,r){var n=r(316),i=r(323),a=r(325),s=r(326),o=r(327);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=o,e.exports=u},function(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var i=typeof e;return!!(t=null==t?r:t)&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,r){var n=r(168),i=r(332),a=r(34);e.exports=function(e){return a(e)?n(e,!0):i(e)}},function(e,t,r){var n=r(337),i=r(169),a=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,o=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return a.call(e,t)})))}:i;e.exports=o},function(e,t,r){var n=r(93)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n=r(174);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n,i=(n=r(52))&&n.__esModule?n:{default:n},a=r(35),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(32));(0,s.default)("ArrayExpression",{fields:{elements:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,s.default)("AssignmentExpression",{fields:{operator:{validate:(0,s.assertValueType)("string")},left:{validate:(0,s.assertNodeType)("LVal")},right:{validate:(0,s.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),(0,s.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,s.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:(0,s.assertNodeType)("Expression")},right:{validate:(0,s.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),(0,s.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),(0,s.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,s.assertNodeType)("DirectiveLiteral")}}}),(0,s.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),(0,s.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Directive"))),default:[]},body:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),(0,s.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,s.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:{callee:{validate:(0,s.assertNodeType)("Expression")},arguments:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Expression","SpreadElement","JSXNamespacedName")))},optional:{validate:(0,s.assertOneOf)(!0,!1),optional:!0},typeArguments:{validate:(0,s.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),(0,s.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,s.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,s.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),(0,s.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},consequent:{validate:(0,s.assertNodeType)("Expression")},alternate:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),(0,s.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,s.default)("DebuggerStatement",{aliases:["Statement"]}),(0,s.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),(0,s.default)("EmptyStatement",{aliases:["Statement"]}),(0,s.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),(0,s.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,s.assertNodeType)("Program")}}}),(0,s.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,s.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,s.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,s.assertNodeType)("Expression"),optional:!0},update:{validate:(0,s.assertNodeType)("Expression"),optional:!0},body:{validate:(0,s.assertNodeType)("Statement")}}});const o={params:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("LVal")))},generator:{default:!1,validate:(0,s.assertValueType)("boolean")},async:{validate:(0,s.assertValueType)("boolean"),default:!1}};t.functionCommon=o;const u={returnType:{validate:(0,s.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}};t.functionTypeAnnotationCommon=u;const l=Object.assign({},o,{declare:{validate:(0,s.assertValueType)("boolean"),optional:!0},id:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=l,(0,s.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},l,u,{body:{validate:(0,s.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"]}),(0,s.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},o,u,{id:{validate:(0,s.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,s.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,s.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator")))}};t.patternLikeCommon=c,(0,s.default)("Identifier",{builder:["name"],visitor:["typeAnnotation"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,s.chain)((function(e,t,r){(0,i.default)(r)}),(0,s.assertValueType)("string"))},optional:{validate:(0,s.assertValueType)("boolean"),optional:!0}})}),(0,s.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},consequent:{validate:(0,s.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,s.assertNodeType)("Identifier")},body:{validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,s.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Literal"],fields:{pattern:{validate:(0,s.assertValueType)("string")},flags:{validate:(0,s.assertValueType)("string"),default:""}}}),(0,s.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,s.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,s.assertNodeType)("Expression")},right:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("MemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:(0,s.assertNodeType)("Expression")},property:{validate:function(){const e=(0,s.assertNodeType)("Identifier","PrivateName"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},computed:{default:!1},optional:{validate:(0,s.assertOneOf)(!0,!1),optional:!0}}}),(0,s.default)("NewExpression",{inherits:"CallExpression"}),(0,s.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,s.assertValueType)("string")},sourceType:{validate:(0,s.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,s.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Directive"))),default:[]},body:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),(0,s.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),(0,s.default)("ObjectMethod",{builder:["kind","key","params","body","computed"],fields:Object.assign({},o,u,{kind:{validate:(0,s.chain)((0,s.assertValueType)("string"),(0,s.assertOneOf)("method","get","set")),default:"method"},computed:{validate:(0,s.assertValueType)("boolean"),default:!1},key:{validate:function(){const e=(0,s.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator")))},body:{validate:(0,s.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),(0,s.default)("ObjectProperty",{builder:["key","value","computed","shorthand","decorators"],fields:{computed:{validate:(0,s.assertValueType)("boolean"),default:!1},key:{validate:function(){const e=(0,s.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},value:{validate:(0,s.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,s.assertValueType)("boolean"),default:!1},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"]}),(0,s.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:(0,s.assertNodeType)("LVal")}})}),(0,s.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,s.assertNodeType)("Expression"),optional:!0}}}),(0,s.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Expression")))}},aliases:["Expression"]}),(0,s.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,s.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}}}),(0,s.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,s.assertNodeType)("Expression")},cases:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("SwitchCase")))}}}),(0,s.default)("ThisExpression",{aliases:["Expression"]}),(0,s.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,s.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,s.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,s.assertNodeType)("BlockStatement")}}}),(0,s.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,s.assertNodeType)("Expression")},operator:{validate:(0,s.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),(0,s.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:(0,s.assertNodeType)("Expression")},operator:{validate:(0,s.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),(0,s.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,s.assertValueType)("boolean"),optional:!0},kind:{validate:(0,s.chain)((0,s.assertValueType)("string"),(0,s.assertOneOf)("var","let","const"))},declarations:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("VariableDeclarator")))}}}),(0,s.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:(0,s.assertNodeType)("LVal")},definite:{optional:!0,validate:(0,s.assertValueType)("boolean")},init:{optional:!0,validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("BlockStatement","Statement")}}}),(0,s.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("BlockStatement","Statement")}}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t)return!1;if(!(0,i.default)(t.type,e))return!1;return void 0===r||(0,n.default)(t,r)};var n=a(r(95)),i=a(r(105));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;if(n.ALIAS_KEYS[t])return!1;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return!0;for(const t of r)if(e===t)return!0}return!1};var n=r(26)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(32)),i=r(103);(0,n.default)("AssignmentPattern",{visitor:["left","right"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{left:{validate:(0,n.assertNodeType)("Identifier","ObjectPattern","ArrayPattern")},right:{validate:(0,n.assertNodeType)("Expression")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))}})}),(0,n.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("PatternLike")))},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))}})}),(0,n.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},i.functionCommon,i.functionTypeAnnotationCommon,{expression:{validate:(0,n.assertValueType)("boolean")},body:{validate:(0,n.assertNodeType)("BlockStatement","Expression")}})}),(0,n.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});const a={typeParameters:{validate:(0,n.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,n.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,n.assertNodeType)("Expression")},superTypeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0}};(0,n.default)("ClassDeclaration",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Statement","Declaration","Pureish"],fields:Object.assign({},a,{declare:{validate:(0,n.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,n.assertValueType)("boolean"),optional:!0},id:{validate:(0,n.assertNodeType)("Identifier"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}})}),(0,n.default)("ClassExpression",{inherits:"ClassDeclaration",aliases:["Scopable","Class","Expression","Pureish"],fields:Object.assign({},a,{id:{optional:!0,validate:(0,n.assertNodeType)("Identifier")},body:{validate:(0,n.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,n.assertNodeType)("Expression")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}})}),(0,n.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,n.assertNodeType)("StringLiteral")}}}),(0,n.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,n.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}}),(0,n.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,n.assertNodeType)("Declaration"),optional:!0},specifiers:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier")))},source:{validate:(0,n.assertNodeType)("StringLiteral"),optional:!0}}}),(0,n.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")},exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ForOfStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,n.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,n.assertNodeType)("Expression")},body:{validate:(0,n.assertNodeType)("Statement")},await:{default:!1,validate:(0,n.assertValueType)("boolean")}}}),(0,n.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,n.assertNodeType)("StringLiteral")}}}),(0,n.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")},imported:{validate:(0,n.assertNodeType)("Identifier")},importKind:{validate:(0,n.assertOneOf)(null,"type","typeof")}}}),(0,n.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,n.assertNodeType)("Identifier")},property:{validate:(0,n.assertNodeType)("Identifier")}}});const s={abstract:{validate:(0,n.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("public","private","protected")),optional:!0},static:{validate:(0,n.assertValueType)("boolean"),optional:!0},computed:{default:!1,validate:(0,n.assertValueType)("boolean")},optional:{validate:(0,n.assertValueType)("boolean"),optional:!0},key:{validate:(0,n.chain)(function(){const e=(0,n.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,n.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,n.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=s;const o=Object.assign({},i.functionCommon,s,{kind:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("get","set","method","constructor")),default:"method"},access:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}});t.classMethodOrDeclareMethodCommon=o,(0,n.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},o,i.functionTypeAnnotationCommon,{body:{validate:(0,n.assertNodeType)("BlockStatement")}})}),(0,n.default)("ObjectPattern",{visitor:["properties","typeAnnotation"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("RestElement","ObjectProperty")))}})}),(0,n.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("Super",{aliases:["Expression"]}),(0,n.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,n.assertNodeType)("Expression")},quasi:{validate:(0,n.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("TemplateElement",{builder:["value","tail"],fields:{value:{},tail:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TemplateElement")))},expressions:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression")))}}}),(0,n.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,n.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,n.assertNodeType)("Expression")}}})},function(e,t,r){"use strict";function n(){const e=(t=r(72))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){t&&r&&(t[e]=(0,n().default)([].concat(t[e],r[e]).filter(Boolean)))}},function(e,t,r){var n=r(183),i=r(370),a=r(371);e.exports=function(e,t,r){return t==t?a(e,t,r):n(e,i,r)}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},function(e,t,r){var n=r(108),i=r(34),a=r(406),s=r(76),o=r(409),u=Math.max;e.exports=function(e,t,r,l){e=i(e)?e:o(e),r=r&&!l?s(r):0;var c=e.length;return r<0&&(r=u(c+r,0)),a(e)?r<=c&&e.indexOf(t,r)>-1:!!c&&n(e,t,r)>-1}},function(e,t,r){var n=r(199);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=Object.keys(t);for(const n of r)if(e[n]!==t[n])return!1;return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n,i=(n=r(55))&&n.__esModule?n:{default:n},a=r(37),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(29));(0,s.default)("ArrayExpression",{fields:{elements:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,s.default)("AssignmentExpression",{fields:{operator:{validate:(0,s.assertValueType)("string")},left:{validate:(0,s.assertNodeType)("LVal")},right:{validate:(0,s.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),(0,s.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,s.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:(0,s.assertNodeType)("Expression")},right:{validate:(0,s.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),(0,s.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),(0,s.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,s.assertNodeType)("DirectiveLiteral")}}}),(0,s.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),(0,s.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Directive"))),default:[]},body:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),(0,s.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,s.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:{callee:{validate:(0,s.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:(0,s.assertOneOf)(!0,!1),optional:!0},typeArguments:{validate:(0,s.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),(0,s.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,s.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,s.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),(0,s.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},consequent:{validate:(0,s.assertNodeType)("Expression")},alternate:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),(0,s.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,s.default)("DebuggerStatement",{aliases:["Statement"]}),(0,s.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),(0,s.default)("EmptyStatement",{aliases:["Statement"]}),(0,s.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),(0,s.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,s.assertNodeType)("Program")}}}),(0,s.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,s.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,s.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,s.assertNodeType)("Expression"),optional:!0},update:{validate:(0,s.assertNodeType)("Expression"),optional:!0},body:{validate:(0,s.assertNodeType)("Statement")}}});const o={params:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},generator:{default:!1,validate:(0,s.assertValueType)("boolean")},async:{validate:(0,s.assertValueType)("boolean"),default:!1}};t.functionCommon=o;const u={returnType:{validate:(0,s.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}};t.functionTypeAnnotationCommon=u;const l=Object.assign({},o,{declare:{validate:(0,s.assertValueType)("boolean"),optional:!0},id:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=l,(0,s.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},l,{},u,{body:{validate:(0,s.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"]}),(0,s.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},o,{},u,{id:{validate:(0,s.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,s.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,s.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator")))}};t.patternLikeCommon=c,(0,s.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,s.chain)((function(e,t,r){(0,i.default)(r)}),(0,s.assertValueType)("string"))},optional:{validate:(0,s.assertValueType)("boolean"),optional:!0}})}),(0,s.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},consequent:{validate:(0,s.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,s.assertNodeType)("Identifier")},body:{validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,s.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Literal"],fields:{pattern:{validate:(0,s.assertValueType)("string")},flags:{validate:(0,s.assertValueType)("string"),default:""}}}),(0,s.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,s.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,s.assertNodeType)("Expression")},right:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("MemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:(0,s.assertNodeType)("Expression")},property:{validate:function(){const e=(0,s.assertNodeType)("Identifier","PrivateName"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},computed:{default:!1},optional:{validate:(0,s.assertOneOf)(!0,!1),optional:!0}}}),(0,s.default)("NewExpression",{inherits:"CallExpression"}),(0,s.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,s.assertValueType)("string")},sourceType:{validate:(0,s.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,s.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Directive"))),default:[]},body:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),(0,s.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),(0,s.default)("ObjectMethod",{builder:["kind","key","params","body","computed"],fields:Object.assign({},o,{},u,{kind:{validate:(0,s.chain)((0,s.assertValueType)("string"),(0,s.assertOneOf)("method","get","set")),default:"method"},computed:{validate:(0,s.assertValueType)("boolean"),default:!1},key:{validate:function(){const e=(0,s.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator")))},body:{validate:(0,s.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),(0,s.default)("ObjectProperty",{builder:["key","value","computed","shorthand","decorators"],fields:{computed:{validate:(0,s.assertValueType)("boolean"),default:!1},key:{validate:function(){const e=(0,s.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},value:{validate:(0,s.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,s.assertValueType)("boolean"),default:!1},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"]}),(0,s.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:(0,s.assertNodeType)("LVal")}})}),(0,s.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,s.assertNodeType)("Expression"),optional:!0}}}),(0,s.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Expression")))}},aliases:["Expression"]}),(0,s.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,s.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}}}),(0,s.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,s.assertNodeType)("Expression")},cases:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("SwitchCase")))}}}),(0,s.default)("ThisExpression",{aliases:["Expression"]}),(0,s.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,s.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,s.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,s.assertNodeType)("BlockStatement")}}}),(0,s.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,s.assertNodeType)("Expression")},operator:{validate:(0,s.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),(0,s.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:(0,s.assertNodeType)("Expression")},operator:{validate:(0,s.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),(0,s.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,s.assertValueType)("boolean"),optional:!0},kind:{validate:(0,s.chain)((0,s.assertValueType)("string"),(0,s.assertOneOf)("var","let","const"))},declarations:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("VariableDeclarator")))}}}),(0,s.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:(0,s.assertNodeType)("LVal")},definite:{optional:!0,validate:(0,s.assertValueType)("boolean")},init:{optional:!0,validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("BlockStatement","Statement")}}}),(0,s.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("BlockStatement","Statement")}}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t)return!1;if(!(0,i.default)(t.type,e))return!r&&"Placeholder"===t.type&&e in s.FLIPPED_ALIAS_KEYS&&(0,a.default)(t.expectedNode,e);return void 0===r||(0,n.default)(t,r)};var n=o(r(112)),i=o(r(115)),a=o(r(203)),s=r(15);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;if(n.ALIAS_KEYS[t])return!1;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return!0;for(const t of r)if(e===t)return!0}return!1};var n=r(15)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!e)return;const a=n.NODE_FIELDS[e.type];if(!a)return;const s=a[t];i(e,t,r,s)},t.validateField=i;var n=r(15);function i(e,t,r,n){n&&n.validate&&(n.optional&&null==r||n.validate(e,t,r))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(29)),i=r(113);(0,n.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{left:{validate:(0,n.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,n.assertNodeType)("Expression")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))}})}),(0,n.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("PatternLike")))},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))}})}),(0,n.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},i.functionCommon,{},i.functionTypeAnnotationCommon,{expression:{validate:(0,n.assertValueType)("boolean")},body:{validate:(0,n.assertNodeType)("BlockStatement","Expression")}})}),(0,n.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});const a={typeParameters:{validate:(0,n.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,n.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,n.assertNodeType)("Expression")},superTypeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0}};(0,n.default)("ClassDeclaration",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Statement","Declaration","Pureish"],fields:Object.assign({},a,{declare:{validate:(0,n.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,n.assertValueType)("boolean"),optional:!0},id:{validate:(0,n.assertNodeType)("Identifier"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}})}),(0,n.default)("ClassExpression",{inherits:"ClassDeclaration",aliases:["Scopable","Class","Expression","Pureish"],fields:Object.assign({},a,{id:{optional:!0,validate:(0,n.assertNodeType)("Identifier")},body:{validate:(0,n.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,n.assertNodeType)("Expression")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}})}),(0,n.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,n.assertNodeType)("StringLiteral")}}}),(0,n.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,n.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}}),(0,n.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,n.assertNodeType)("Declaration"),optional:!0},specifiers:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier")))},source:{validate:(0,n.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}}),(0,n.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")},exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ForOfStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,n.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,n.assertNodeType)("Expression")},body:{validate:(0,n.assertNodeType)("Statement")},await:{default:!1,validate:(0,n.assertValueType)("boolean")}}}),(0,n.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,n.assertNodeType)("StringLiteral")},importKind:{validate:(0,n.assertOneOf)("type","typeof","value"),optional:!0}}}),(0,n.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")},imported:{validate:(0,n.assertNodeType)("Identifier")},importKind:{validate:(0,n.assertOneOf)("type","typeof"),optional:!0}}}),(0,n.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,n.assertNodeType)("Identifier")},property:{validate:(0,n.assertNodeType)("Identifier")}}});const s={abstract:{validate:(0,n.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("public","private","protected")),optional:!0},static:{default:!1,validate:(0,n.assertValueType)("boolean")},computed:{default:!1,validate:(0,n.assertValueType)("boolean")},optional:{validate:(0,n.assertValueType)("boolean"),optional:!0},key:{validate:(0,n.chain)(function(){const e=(0,n.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,n.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,n.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=s;const o=Object.assign({},i.functionCommon,{},s,{kind:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("get","set","method","constructor")),default:"method"},access:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}});t.classMethodOrDeclareMethodCommon=o,(0,n.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},o,{},i.functionTypeAnnotationCommon,{body:{validate:(0,n.assertNodeType)("BlockStatement")}})}),(0,n.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("RestElement","ObjectProperty")))}})}),(0,n.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("Super",{aliases:["Expression"]}),(0,n.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,n.assertNodeType)("Expression")},quasi:{validate:(0,n.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,n.assertShape)({raw:{validate:(0,n.assertValueType)("string")},cooked:{validate:(0,n.assertValueType)("string"),optional:!0}})},tail:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TemplateElement")))},expressions:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression")))}}}),(0,n.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,n.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,n.assertNodeType)("Expression")}}})},function(e,t,r){"use strict";function n(){const e=(t=r(72))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){t&&r&&(t[e]=(0,n().default)([].concat(t[e],r[e]).filter(Boolean)))}},function(e,t){e.exports=function(e){return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=Object.keys(t);for(const n of r)if(e[n]!==t[n])return!1;return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n,i=(n=r(58))&&n.__esModule?n:{default:n},a=r(38),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(30));(0,s.default)("ArrayExpression",{fields:{elements:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,s.default)("AssignmentExpression",{fields:{operator:{validate:(0,s.assertValueType)("string")},left:{validate:(0,s.assertNodeType)("LVal")},right:{validate:(0,s.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),(0,s.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,s.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:(0,s.assertNodeType)("Expression")},right:{validate:(0,s.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),(0,s.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),(0,s.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,s.assertNodeType)("DirectiveLiteral")}}}),(0,s.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),(0,s.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Directive"))),default:[]},body:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),(0,s.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,s.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:{callee:{validate:(0,s.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:(0,s.assertOneOf)(!0,!1),optional:!0},typeArguments:{validate:(0,s.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),(0,s.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,s.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,s.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),(0,s.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},consequent:{validate:(0,s.assertNodeType)("Expression")},alternate:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),(0,s.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,s.default)("DebuggerStatement",{aliases:["Statement"]}),(0,s.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),(0,s.default)("EmptyStatement",{aliases:["Statement"]}),(0,s.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),(0,s.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,s.assertNodeType)("Program")}}}),(0,s.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,s.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,s.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,s.assertNodeType)("Expression"),optional:!0},update:{validate:(0,s.assertNodeType)("Expression"),optional:!0},body:{validate:(0,s.assertNodeType)("Statement")}}});const o={params:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},generator:{default:!1,validate:(0,s.assertValueType)("boolean")},async:{validate:(0,s.assertValueType)("boolean"),default:!1}};t.functionCommon=o;const u={returnType:{validate:(0,s.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}};t.functionTypeAnnotationCommon=u;const l=Object.assign({},o,{declare:{validate:(0,s.assertValueType)("boolean"),optional:!0},id:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=l,(0,s.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},l,{},u,{body:{validate:(0,s.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"]}),(0,s.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},o,{},u,{id:{validate:(0,s.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,s.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,s.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator")))}};t.patternLikeCommon=c,(0,s.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,s.chain)((function(e,t,r){(0,i.default)(r)}),(0,s.assertValueType)("string"))},optional:{validate:(0,s.assertValueType)("boolean"),optional:!0}})}),(0,s.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},consequent:{validate:(0,s.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,s.assertNodeType)("Identifier")},body:{validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,s.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Literal"],fields:{pattern:{validate:(0,s.assertValueType)("string")},flags:{validate:(0,s.assertValueType)("string"),default:""}}}),(0,s.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,s.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,s.assertNodeType)("Expression")},right:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("MemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:(0,s.assertNodeType)("Expression")},property:{validate:function(){const e=(0,s.assertNodeType)("Identifier","PrivateName"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},computed:{default:!1},optional:{validate:(0,s.assertOneOf)(!0,!1),optional:!0}}}),(0,s.default)("NewExpression",{inherits:"CallExpression"}),(0,s.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,s.assertValueType)("string")},sourceType:{validate:(0,s.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,s.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Directive"))),default:[]},body:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),(0,s.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),(0,s.default)("ObjectMethod",{builder:["kind","key","params","body","computed"],fields:Object.assign({},o,{},u,{kind:{validate:(0,s.chain)((0,s.assertValueType)("string"),(0,s.assertOneOf)("method","get","set")),default:"method"},computed:{validate:(0,s.assertValueType)("boolean"),default:!1},key:{validate:function(){const e=(0,s.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator")))},body:{validate:(0,s.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),(0,s.default)("ObjectProperty",{builder:["key","value","computed","shorthand","decorators"],fields:{computed:{validate:(0,s.assertValueType)("boolean"),default:!1},key:{validate:function(){const e=(0,s.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},value:{validate:(0,s.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,s.assertValueType)("boolean"),default:!1},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"]}),(0,s.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:(0,s.assertNodeType)("LVal")}})}),(0,s.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,s.assertNodeType)("Expression"),optional:!0}}}),(0,s.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Expression")))}},aliases:["Expression"]}),(0,s.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,s.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}}}),(0,s.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,s.assertNodeType)("Expression")},cases:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("SwitchCase")))}}}),(0,s.default)("ThisExpression",{aliases:["Expression"]}),(0,s.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,s.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,s.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,s.assertNodeType)("BlockStatement")}}}),(0,s.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,s.assertNodeType)("Expression")},operator:{validate:(0,s.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),(0,s.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:(0,s.assertNodeType)("Expression")},operator:{validate:(0,s.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),(0,s.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,s.assertValueType)("boolean"),optional:!0},kind:{validate:(0,s.chain)((0,s.assertValueType)("string"),(0,s.assertOneOf)("var","let","const"))},declarations:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("VariableDeclarator")))}}}),(0,s.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:(0,s.assertNodeType)("LVal")},definite:{optional:!0,validate:(0,s.assertValueType)("boolean")},init:{optional:!0,validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("BlockStatement","Statement")}}}),(0,s.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("BlockStatement","Statement")}}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t)return!1;if(!(0,i.default)(t.type,e))return!r&&"Placeholder"===t.type&&e in s.FLIPPED_ALIAS_KEYS&&(0,a.default)(t.expectedNode,e);return void 0===r||(0,n.default)(t,r)};var n=o(r(120)),i=o(r(123)),a=o(r(225)),s=r(16);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;if(n.ALIAS_KEYS[t])return!1;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return!0;for(const t of r)if(e===t)return!0}return!1};var n=r(16)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!e)return;const a=n.NODE_FIELDS[e.type];if(!a)return;const s=a[t];i(e,t,r,s)},t.validateField=i;var n=r(16);function i(e,t,r,n){n&&n.validate&&(n.optional&&null==r||n.validate(e,t,r))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(30)),i=r(121);(0,n.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{left:{validate:(0,n.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,n.assertNodeType)("Expression")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))}})}),(0,n.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("PatternLike")))},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))}})}),(0,n.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},i.functionCommon,{},i.functionTypeAnnotationCommon,{expression:{validate:(0,n.assertValueType)("boolean")},body:{validate:(0,n.assertNodeType)("BlockStatement","Expression")}})}),(0,n.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});const a={typeParameters:{validate:(0,n.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,n.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,n.assertNodeType)("Expression")},superTypeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0}};(0,n.default)("ClassDeclaration",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Statement","Declaration","Pureish"],fields:Object.assign({},a,{declare:{validate:(0,n.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,n.assertValueType)("boolean"),optional:!0},id:{validate:(0,n.assertNodeType)("Identifier"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}})}),(0,n.default)("ClassExpression",{inherits:"ClassDeclaration",aliases:["Scopable","Class","Expression","Pureish"],fields:Object.assign({},a,{id:{optional:!0,validate:(0,n.assertNodeType)("Identifier")},body:{validate:(0,n.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,n.assertNodeType)("Expression")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}})}),(0,n.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,n.assertNodeType)("StringLiteral")}}}),(0,n.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,n.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}}),(0,n.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,n.assertNodeType)("Declaration"),optional:!0},specifiers:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier")))},source:{validate:(0,n.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}}),(0,n.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")},exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ForOfStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,n.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,n.assertNodeType)("Expression")},body:{validate:(0,n.assertNodeType)("Statement")},await:{default:!1,validate:(0,n.assertValueType)("boolean")}}}),(0,n.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,n.assertNodeType)("StringLiteral")},importKind:{validate:(0,n.assertOneOf)("type","typeof","value"),optional:!0}}}),(0,n.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")},imported:{validate:(0,n.assertNodeType)("Identifier")},importKind:{validate:(0,n.assertOneOf)("type","typeof"),optional:!0}}}),(0,n.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,n.assertNodeType)("Identifier")},property:{validate:(0,n.assertNodeType)("Identifier")}}});const s={abstract:{validate:(0,n.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("public","private","protected")),optional:!0},static:{default:!1,validate:(0,n.assertValueType)("boolean")},computed:{default:!1,validate:(0,n.assertValueType)("boolean")},optional:{validate:(0,n.assertValueType)("boolean"),optional:!0},key:{validate:(0,n.chain)(function(){const e=(0,n.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,n.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,n.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=s;const o=Object.assign({},i.functionCommon,{},s,{kind:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("get","set","method","constructor")),default:"method"},access:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}});t.classMethodOrDeclareMethodCommon=o,(0,n.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},o,{},i.functionTypeAnnotationCommon,{body:{validate:(0,n.assertNodeType)("BlockStatement")}})}),(0,n.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("RestElement","ObjectProperty")))}})}),(0,n.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("Super",{aliases:["Expression"]}),(0,n.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,n.assertNodeType)("Expression")},quasi:{validate:(0,n.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,n.assertShape)({raw:{validate:(0,n.assertValueType)("string")},cooked:{validate:(0,n.assertValueType)("string"),optional:!0}})},tail:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TemplateElement")))},expressions:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression")))}}}),(0,n.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,n.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,n.assertNodeType)("Expression")}}})},function(e,t,r){"use strict";function n(){const e=(t=r(72))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){t&&r&&(t[e]=(0,n().default)([].concat(t[e],r[e]).filter(Boolean)))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=function(e,t){const{placeholderWhitelist:r=e.placeholderWhitelist,placeholderPattern:n=e.placeholderPattern,preserveComments:i=e.preserveComments,syntacticPlaceholders:a=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,{},t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:a}},t.validate=function(e){if(null!=e&&"object"!=typeof e)throw new Error("Unknown template options.");const t=e||{},{placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:a}=t,s=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(t,["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]);if(null!=r&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=n&&!(n instanceof RegExp)&&!1!==n)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=i&&"boolean"!=typeof i)throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(null!=a&&"boolean"!=typeof a)throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(!0===a&&(null!=r||null!=n))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:s,placeholderWhitelist:r||void 0,placeholderPattern:null==n?void 0:n,preserveComments:null!=i&&i,syntacticPlaceholders:null==a?void 0:a}},t.normalizeReplacements=function(e){if(Array.isArray(e))return e.reduce((e,t,r)=>(e["$"+r]=t,e),{});if("object"==typeof e||null==e)return e||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=Object.keys(t);for(const n of r)if(e[n]!==t[n])return!1;return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.functionDeclarationCommon=t.functionTypeAnnotationCommon=t.functionCommon=void 0;var n,i=(n=r(60))&&n.__esModule?n:{default:n},a=r(39),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(31));(0,s.default)("ArrayExpression",{fields:{elements:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,s.default)("AssignmentExpression",{fields:{operator:{validate:(0,s.assertValueType)("string")},left:{validate:(0,s.assertNodeType)("LVal")},right:{validate:(0,s.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),(0,s.default)("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,s.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:(0,s.assertNodeType)("Expression")},right:{validate:(0,s.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),(0,s.default)("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),(0,s.default)("Directive",{visitor:["value"],fields:{value:{validate:(0,s.assertNodeType)("DirectiveLiteral")}}}),(0,s.default)("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}}}),(0,s.default)("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Directive"))),default:[]},body:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),(0,s.default)("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,s.default)("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:{callee:{validate:(0,s.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:(0,s.assertOneOf)(!0,!1),optional:!0},typeArguments:{validate:(0,s.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),(0,s.default)("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,s.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,s.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),(0,s.default)("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},consequent:{validate:(0,s.assertNodeType)("Expression")},alternate:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),(0,s.default)("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),(0,s.default)("DebuggerStatement",{aliases:["Statement"]}),(0,s.default)("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),(0,s.default)("EmptyStatement",{aliases:["Statement"]}),(0,s.default)("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),(0,s.default)("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,s.assertNodeType)("Program")}}}),(0,s.default)("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,s.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,s.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,s.assertNodeType)("Expression"),optional:!0},update:{validate:(0,s.assertNodeType)("Expression"),optional:!0},body:{validate:(0,s.assertNodeType)("Statement")}}});const o={params:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},generator:{default:!1,validate:(0,s.assertValueType)("boolean")},async:{validate:(0,s.assertValueType)("boolean"),default:!1}};t.functionCommon=o;const u={returnType:{validate:(0,s.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,s.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}};t.functionTypeAnnotationCommon=u;const l=Object.assign({},o,{declare:{validate:(0,s.assertValueType)("boolean"),optional:!0},id:{validate:(0,s.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=l,(0,s.default)("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},l,{},u,{body:{validate:(0,s.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"]}),(0,s.default)("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},o,{},u,{id:{validate:(0,s.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,s.assertNodeType)("BlockStatement")}})});const c={typeAnnotation:{validate:(0,s.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator")))}};t.patternLikeCommon=c,(0,s.default)("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},c,{name:{validate:(0,s.chain)((function(e,t,r){(0,i.default)(r)}),(0,s.assertValueType)("string"))},optional:{validate:(0,s.assertValueType)("boolean"),optional:!0}})}),(0,s.default)("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},consequent:{validate:(0,s.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,s.assertNodeType)("Identifier")},body:{validate:(0,s.assertNodeType)("Statement")}}}),(0,s.default)("StringLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,s.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,s.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,s.default)("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Literal"],fields:{pattern:{validate:(0,s.assertValueType)("string")},flags:{validate:(0,s.assertValueType)("string"),default:""}}}),(0,s.default)("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,s.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,s.assertNodeType)("Expression")},right:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("MemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:(0,s.assertNodeType)("Expression")},property:{validate:function(){const e=(0,s.assertNodeType)("Identifier","PrivateName"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},computed:{default:!1},optional:{validate:(0,s.assertOneOf)(!0,!1),optional:!0}}}),(0,s.default)("NewExpression",{inherits:"CallExpression"}),(0,s.default)("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,s.assertValueType)("string")},sourceType:{validate:(0,s.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,s.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Directive"))),default:[]},body:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),(0,s.default)("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),(0,s.default)("ObjectMethod",{builder:["kind","key","params","body","computed"],fields:Object.assign({},o,{},u,{kind:{validate:(0,s.chain)((0,s.assertValueType)("string"),(0,s.assertOneOf)("method","get","set")),default:"method"},computed:{validate:(0,s.assertValueType)("boolean"),default:!1},key:{validate:function(){const e=(0,s.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator")))},body:{validate:(0,s.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),(0,s.default)("ObjectProperty",{builder:["key","value","computed","shorthand","decorators"],fields:{computed:{validate:(0,s.assertValueType)("boolean"),default:!1},key:{validate:function(){const e=(0,s.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,s.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},value:{validate:(0,s.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,s.assertValueType)("boolean"),default:!1},decorators:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"]}),(0,s.default)("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},c,{argument:{validate:(0,s.assertNodeType)("LVal")}})}),(0,s.default)("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,s.assertNodeType)("Expression"),optional:!0}}}),(0,s.default)("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Expression")))}},aliases:["Expression"]}),(0,s.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,s.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("Statement")))}}}),(0,s.default)("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,s.assertNodeType)("Expression")},cases:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("SwitchCase")))}}}),(0,s.default)("ThisExpression",{aliases:["Expression"]}),(0,s.default)("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,s.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,s.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,s.assertNodeType)("BlockStatement")}}}),(0,s.default)("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,s.assertNodeType)("Expression")},operator:{validate:(0,s.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),(0,s.default)("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:(0,s.assertNodeType)("Expression")},operator:{validate:(0,s.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),(0,s.default)("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,s.assertValueType)("boolean"),optional:!0},kind:{validate:(0,s.chain)((0,s.assertValueType)("string"),(0,s.assertOneOf)("var","let","const"))},declarations:{validate:(0,s.chain)((0,s.assertValueType)("array"),(0,s.assertEach)((0,s.assertNodeType)("VariableDeclarator")))}}}),(0,s.default)("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:(0,s.assertNodeType)("LVal")},definite:{optional:!0,validate:(0,s.assertValueType)("boolean")},init:{optional:!0,validate:(0,s.assertNodeType)("Expression")}}}),(0,s.default)("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("BlockStatement","Statement")}}}),(0,s.default)("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,s.assertNodeType)("Expression")},body:{validate:(0,s.assertNodeType)("BlockStatement","Statement")}}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t)return!1;if(!(0,i.default)(t.type,e))return!r&&"Placeholder"===t.type&&e in s.FLIPPED_ALIAS_KEYS&&(0,a.default)(t.expectedNode,e);return void 0===r||(0,n.default)(t,r)};var n=o(r(128)),i=o(r(131)),a=o(r(250)),s=r(17);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;if(n.ALIAS_KEYS[t])return!1;const r=n.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return!0;for(const t of r)if(e===t)return!0}return!1};var n=r(17)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!e)return;const a=n.NODE_FIELDS[e.type];if(!a)return;const s=a[t];i(e,t,r,s)},t.validateField=i;var n=r(17);function i(e,t,r,n){n&&n.validate&&(n.optional&&null==r||n.validate(e,t,r))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classMethodOrDeclareMethodCommon=t.classMethodOrPropertyCommon=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(31)),i=r(129);(0,n.default)("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{left:{validate:(0,n.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,n.assertNodeType)("Expression")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))}})}),(0,n.default)("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{elements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("PatternLike")))},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator")))}})}),(0,n.default)("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},i.functionCommon,{},i.functionTypeAnnotationCommon,{expression:{validate:(0,n.assertValueType)("boolean")},body:{validate:(0,n.assertNodeType)("BlockStatement","Expression")}})}),(0,n.default)("ClassBody",{visitor:["body"],fields:{body:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}});const a={typeParameters:{validate:(0,n.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,n.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,n.assertNodeType)("Expression")},superTypeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0}};(0,n.default)("ClassDeclaration",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Statement","Declaration","Pureish"],fields:Object.assign({},a,{declare:{validate:(0,n.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,n.assertValueType)("boolean"),optional:!0},id:{validate:(0,n.assertNodeType)("Identifier"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}})}),(0,n.default)("ClassExpression",{inherits:"ClassDeclaration",aliases:["Scopable","Class","Expression","Pureish"],fields:Object.assign({},a,{id:{optional:!0,validate:(0,n.assertNodeType)("Identifier")},body:{validate:(0,n.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,n.assertNodeType)("Expression")},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}})}),(0,n.default)("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,n.assertNodeType)("StringLiteral")}}}),(0,n.default)("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,n.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")}}}),(0,n.default)("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,n.assertNodeType)("Declaration"),optional:!0},specifiers:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier")))},source:{validate:(0,n.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}}),(0,n.default)("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")},exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ForOfStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:(0,n.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,n.assertNodeType)("Expression")},body:{validate:(0,n.assertNodeType)("Statement")},await:{default:!1,validate:(0,n.assertValueType)("boolean")}}}),(0,n.default)("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{specifiers:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,n.assertNodeType)("StringLiteral")},importKind:{validate:(0,n.assertOneOf)("type","typeof","value"),optional:!0}}}),(0,n.default)("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,n.assertNodeType)("Identifier")},imported:{validate:(0,n.assertNodeType)("Identifier")},importKind:{validate:(0,n.assertOneOf)("type","typeof"),optional:!0}}}),(0,n.default)("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,n.assertNodeType)("Identifier")},property:{validate:(0,n.assertNodeType)("Identifier")}}});const s={abstract:{validate:(0,n.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("public","private","protected")),optional:!0},static:{default:!1,validate:(0,n.assertValueType)("boolean")},computed:{default:!1,validate:(0,n.assertValueType)("boolean")},optional:{validate:(0,n.assertValueType)("boolean"),optional:!0},key:{validate:(0,n.chain)(function(){const e=(0,n.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,n.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}(),(0,n.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=s;const o=Object.assign({},i.functionCommon,{},s,{kind:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("get","set","method","constructor")),default:"method"},access:{validate:(0,n.chain)((0,n.assertValueType)("string"),(0,n.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}});t.classMethodOrDeclareMethodCommon=o,(0,n.default)("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},o,{},i.functionTypeAnnotationCommon,{body:{validate:(0,n.assertNodeType)("BlockStatement")}})}),(0,n.default)("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},i.patternLikeCommon,{properties:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("RestElement","ObjectProperty")))}})}),(0,n.default)("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("Super",{aliases:["Expression"]}),(0,n.default)("TaggedTemplateExpression",{visitor:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,n.assertNodeType)("Expression")},quasi:{validate:(0,n.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,n.assertShape)({raw:{validate:(0,n.assertValueType)("string")},cooked:{validate:(0,n.assertValueType)("string"),optional:!0}})},tail:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TemplateElement")))},expressions:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression")))}}}),(0,n.default)("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,n.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,n.assertNodeType)("Expression")}}})},function(e,t,r){"use strict";function n(){const e=(t=r(72))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){t&&r&&(t[e]=(0,n().default)([].concat(t[e],r[e]).filter(Boolean)))}},function(e,t,r){var n=r(267);function i(e){if("javascript"===e)return n.parsers.babylon;throw new Error('Parser unsupported: "'.concat(e,'"'))}e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"javascript",r=i(t);return r.parse(e)}},function(e,t,r){var n=r(14),i=r(77),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||(s.test(e)||!a.test(e)||null!=t&&e in Object(t))}},function(e,t,r){var n=r(3),i=r(617);e.exports={getAvailableKnobsFunctions:function(e){var t=i(e,{moduleName:"@storybook/addon-knobs"});return t?t.bindings:[]},isKnownKnobMethodCall:function(e,t){return!(!n.isCallExpression(e)||!n.isIdentifier(e.callee))&&(0!==e.arguments.length&&t.includes(e.callee.name))},extractKnobProperties:function(e){var t=e.arguments,r={knobLabel:t[0].value},n=function(e){switch(e){case"select":case"radios":case"files":case"optionsKnob":case"options":return 2;case"button":return null;default:return 1}}(e.callee.name);return n&&t.length>n&&(r.value=t[n].value),r}}},function(module,exports){function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function getChildrenString(e,t){return e.reduce((function(e,r){var n=hasValueSet(r,t)?getFieldValue(r,t):"";return"".concat(e).concat(n)}),"")}function getFieldValue(e,t){return hasKnobValue(e,t)?t[e.knobLabel].value:e.value}function hasKnobValue(e,t){return!(!t||!e.knobLabel)&&(t.hasOwnProperty(e.knobLabel)&&hasValueSet(t[e.knobLabel]))}function hasValueSet(e,t){return e.hasOwnProperty("value")||t&&hasKnobValue(e,t)}function isDefaultValue(e,t){return e&&e.defaultValue?getDefaultValueString(e.type.name,e.defaultValue.value)===JSON.stringify(t):!t}function getDefaultValueString(e,t){if(["object","array","objectOf","arrayOf"].includes(e)){var r=tryToEvalValue(t);if(r)return JSON.stringify(r)}return normalizeWrappingQuotes(t)}function tryToEvalValue(value){var defaultValueEval;try{defaultValueEval=eval(value)}catch(e){}return defaultValueEval}function normalizeWrappingQuotes(e){return e?e[0]!==e.slice(-1)?e:"'"===e[0]?'"'.concat(e.slice(1,-1),'"'):e:e}function getPropValueString(e){return"object"===_typeof(e)?JSON.stringify(e).replace(/"/g,"'"):e.toString()}module.exports={getChildrenString:getChildrenString,getFieldValue:getFieldValue,getPropValueString:getPropValueString,hasValueSet:hasValueSet,isDefaultValue:isDefaultValue}},function(e,t,r){e.exports=function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e,t,r){return(o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(r):i.value}})(e,t,r||e)}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(n=(s=o.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}return r}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var l=/[|\\{}()[\]^$+*?.]/g,c=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(l,"\\$&")},p={"---":"yaml","+++":"toml"},f=function(e){var t=Object.keys(p).map(c).join("|"),r=e.match(new RegExp("^(".concat(t,")[^\\n\\S]*\\n(?:([\\s\\S]*?)\\n)?\\1[^\\n\\S]*(\\n|$)")));if(null===r)return{frontMatter:null,content:e};var n=r[0].replace(/\n$/,""),i=r[1],a=r[2];return{frontMatter:{type:p[i],value:a,raw:n},content:r[0].replace(/[^\n]/g," ")+e.slice(r[0].length)}},d=["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"],h=Object.freeze({default:d}),y=["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],m=["title"],v=["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],g=["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],T=["autoplay","controls","crossorigin","loop","muted","preload","src"],E=["href","target"],S=["color","face","size"],b=["dir"],x=["cite"],D=["alink","background","bgcolor","link","text","vlink"],A=["clear"],C=["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],P=["height","width"],w=["align"],_=["align","char","charoff","span","valign","width"],O=["align","char","charoff","span","valign","width"],F=["value"],N=["cite","datetime"],I=["open"],k=["title"],L=["open"],M=["compact"],B=["align"],j=["compact"],R=["height","src","type","width"],V=["disabled","form","name"],q=["color","face","size"],U=["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],K=["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],X=["cols","rows"],J=["align"],Y=["align"],W=["align"],$=["align"],H=["align"],z=["align"],G=["profile"],Q=["align","noshade","size","width"],Z=["manifest","version"],ee=["align","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],te=["align","alt","border","crossorigin","decoding","height","hspace","ismap","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],re=["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ne=["cite","datetime"],ie=["prompt"],ae=["accesskey","for","form"],se=["accesskey","align"],oe=["type","value"],ue=["as","charset","color","crossorigin","href","hreflang","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],le=["name"],ce=["compact"],pe=["charset","content","http-equiv","name","scheme"],fe=["high","low","max","min","optimum","value"],de=["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],he=["compact","reversed","start","type"],ye=["disabled","label"],me=["disabled","label","selected","value"],ve=["for","form","name"],ge=["align"],Te=["name","type","value","valuetype"],Ee=["width"],Se=["max","value"],be=["cite"],xe=["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],De=["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],Ae=["name"],Ce=["media","sizes","src","srcset","type"],Pe=["media","nonce","title","type"],we=["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],_e=["align","char","charoff","valign"],Oe=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],Fe=["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],Ne=["align","char","charoff","valign"],Ie=["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],ke=["align","char","charoff","valign"],Le=["datetime"],Me=["align","bgcolor","char","charoff","valign"],Be=["default","kind","label","src","srclang"],je=["compact","type"],Re=["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"],Ve={a:y,abbr:m,applet:v,area:g,audio:T,base:E,basefont:S,bdo:b,blockquote:x,body:D,br:A,button:C,canvas:P,caption:w,col:_,colgroup:O,data:F,del:N,details:I,dfn:k,dialog:L,dir:M,div:B,dl:j,embed:R,fieldset:V,font:q,form:U,frame:K,frameset:X,h1:J,h2:Y,h3:W,h4:$,h5:H,h6:z,head:G,hr:Q,html:Z,iframe:ee,img:te,input:re,ins:ne,isindex:ie,label:ae,legend:se,li:oe,link:ue,map:le,menu:ce,meta:pe,meter:fe,object:de,ol:he,optgroup:ye,option:me,output:ve,p:ge,param:Te,pre:Ee,progress:Se,q:be,script:xe,select:De,slot:Ae,source:Ce,style:Pe,table:we,tbody:_e,td:Oe,textarea:Fe,tfoot:Ne,th:Ie,thead:ke,time:Le,tr:Me,track:Be,ul:je,video:Re,"*":["accesskey","autocapitalize","class","contenteditable","dir","draggable","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"]},qe=Object.freeze({a:y,abbr:m,applet:v,area:g,audio:T,base:E,basefont:S,bdo:b,blockquote:x,body:D,br:A,button:C,canvas:P,caption:w,col:_,colgroup:O,data:F,del:N,details:I,dfn:k,dialog:L,dir:M,div:B,dl:j,embed:R,fieldset:V,font:q,form:U,frame:K,frameset:X,h1:J,h2:Y,h3:W,h4:$,h5:H,h6:z,head:G,hr:Q,html:Z,iframe:ee,img:te,input:re,ins:ne,isindex:ie,label:ae,legend:se,li:oe,link:ue,map:le,menu:ce,meta:pe,meter:fe,object:de,ol:he,optgroup:ye,option:me,output:ve,p:ge,param:Te,pre:Ee,progress:Se,q:be,script:xe,select:De,slot:Ae,source:Ce,style:Pe,table:we,tbody:_e,td:Oe,textarea:Fe,tfoot:Ne,th:Ie,thead:ke,time:Le,tr:Me,track:Be,ul:je,video:Re,default:Ve}),Ue=qe&&Ve||qe,Ke={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"none",rp:"none",script:"none",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",video:"inline-block",audio:"inline-block"},Xe={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},Je="normal",Ye=We(h&&d||h);function We(e){var t=Object.create(null),r=!0,n=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)t[a.value]=!0}catch(e){n=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}return t}function $e(e,t){return!("element"!==e.type||"template"!==e.fullName||!e.attrMap.lang||"html"===e.attrMap.lang)||!("ieConditionalComment"!==e.type||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||"ieConditionalComment"===e.type&&!e.complete||"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&-1===["template","style","script","html"].indexOf(e.fullName)||!(!ot(e)||!e.children.some((function(e){return"text"!==e.type&&"interpolation"!==e.type})))}function He(e){return"attribute"!==e.type&&!ze(e)&&!!e.parent&&"number"==typeof e.index&&0!==e.index&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.parent.children[e.index-1])}function ze(e){return"text"===e.type||"comment"===e.type}function Ge(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName)}function Qe(e){return"yaml"===e.type||"toml"===e.type}function Ze(e){return ut(e).startsWith("pre")}function et(e){return"element"===e.type&&0!==e.children.length&&(-1!==["html","head","ul","ol","select"].indexOf(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function tt(e){return at(e)||"element"===e.type&&"br"===e.fullName||rt(e)}function rt(e){return nt(e)&&it(e)}function nt(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function it(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function at(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return-1!==["script","select"].indexOf(e.name)}return!1}function st(e){return"block"===e||"list-item"===e||e.startsWith("table")}function ot(e){return ut(e).startsWith("pre")}function ut(e){return"element"===e.type&&!e.namespace&&Xe[e.name]||Je}var lt={HTML_ELEMENT_ATTRIBUTES:function(e,t){for(var r=Object.create(null),n=Object.keys(e),i=0;i<n.length;i++){var a=n[i];r[a]=t(e[a],a)}return r}(Ue,We),HTML_TAGS:Ye,canHaveInterpolation:function(e){return e.children&&!Ge(e)},countChars:function(e,t){for(var r=0,n=0;n<e.length;n++)e[n]===t&&r++;return r},countParents:function(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0},n=0,i=t.stack.length-1;i>=0;i--){var a=t.stack[i];a&&"object"===e(a)&&!Array.isArray(a)&&r(a)&&n++}return n},dedentString:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){var t=1/0,r=!0,n=!1,i=void 0;try{for(var a,s=e.split("\n")[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var o=a.value;if(0!==o.length){if(/\S/.test(o[0]))return 0;var u=o.match(/^\s*/)[0].length;o.length!==u&&u<t&&(t=u)}}}catch(e){n=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}return t===1/0?0:t}(e);return 0===t?e:e.split("\n").map((function(e){return e.slice(t)})).join("\n")},forceBreakChildren:et,forceBreakContent:function(e){return et(e)||"element"===e.type&&0!==e.children.length&&(-1!==["body","template","script","style"].indexOf(e.name)||e.children.some((function(e){return(t=e).children&&t.children.some((function(e){return"text"!==e.type}));var t})))||e.firstChild&&e.firstChild===e.lastChild&&nt(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||it(e.lastChild))},forceNextEmptyLine:function(e){return Qe(e)||e.next&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:function e(t){return t.lastChild?e(t.lastChild):t},getNodeCssStyleDisplay:function(e,t){if(e.prev&&"comment"===e.prev.type){var r=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(r)return r[1]}var n=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){for(var r=e;r;){if(t(r))return!0;r=r.parent}return!1}(e,(function(e){return"svg:foreignObject"===e.fullName})))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"element"===e.type&&(!e.namespace||n)&&Ke[e.name]||"inline"}},getNodeCssStyleWhiteSpace:ut,getPrettierIgnoreAttributeCommentData:function(e){var t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:He,identity:function(e){return e},inferScriptParser:function(e){if("script"===e.name&&!e.attrMap.src){if(!e.attrMap.lang&&!e.attrMap.type||"module"===e.attrMap.type||"text/javascript"===e.attrMap.type||"text/babel"===e.attrMap.type||"application/javascript"===e.attrMap.type)return"babel";if("application/x-typescript"===e.attrMap.type||"ts"===e.attrMap.lang||"tsx"===e.attrMap.lang)return"typescript";if("text/markdown"===e.attrMap.type)return"markdown";if("application/ld+json"===e.attrMap.type)return"json"}if("style"===e.name){if(!e.attrMap.lang||"postcss"===e.attrMap.lang)return"css";if("scss"===e.attrMap.lang)return"scss";if("less"===e.attrMap.lang)return"less"}return null},isDanglingSpaceSensitiveNode:function(e){return!st(t=e.cssDisplay)&&"inline-block"!==t&&!Ge(e);var t},isFrontMatterNode:Qe,isIndentationSensitiveNode:Ze,isLeadingSpaceSensitiveNode:function(e){var t,r=!(Qe(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!ot(e.parent)&&(!e.prev&&("root"===e.parent.type||Ge(e.parent)||(t=e.parent.cssDisplay,st(t)||"inline-block"===t))||e.prev&&!function(e){return!st(e)}(e.prev.cssDisplay))));return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r},isPreLikeNode:ot,isScriptLikeTag:Ge,isTextLikeNode:ze,isTrailingSpaceSensitiveNode:function(e){return!(Qe(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!ot(e.parent)&&(!e.next&&("root"===e.parent.type||Ge(e.parent)||(t=e.parent.cssDisplay,st(t)||"inline-block"===t))||e.next&&!function(e){return!st(e)}(e.next.cssDisplay))));var t},isWhitespaceSensitiveNode:function(e){return Ge(e)||"interpolation"===e.type||Ze(e)},normalizeParts:function(e){for(var t=[],r=e.slice();0!==r.length;){var n=r.shift();n&&("concat"!==n.type?0===t.length||"string"!=typeof t[t.length-1]||"string"!=typeof n?t.push(n):t.push(t.pop()+n):Array.prototype.unshift.apply(r,n.parts))}return t},preferHardlineAsLeadingSpaces:function(e){return at(e)||e.prev&&tt(e.prev)||rt(e)},preferHardlineAsTrailingSpaces:tt,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(He(e)||$e(e.parent,t))},shouldPreserveContent:$e,unescapeQuoteEntities:function(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}},ct=function(e,t){var r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r},pt={attrs:!0,children:!0},ft=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e);for(var n=Object.keys(r),i=0;i<n.length;i++){var a=n[i],s=r[a];a in pt?this._setNodes(a,s):this[a]=s}}return n(e,[{key:"_setNodes",value:function(e,t){t!==this[e]&&(this[e]=function(e,t){for(var r=e.map((function(e){return e instanceof ft?e.clone():new ft(e)})),n=null,i=r[0],a=r[1]||null,s=0;s<r.length;s++)ht(i,{index:s,siblings:r,prev:n,next:a,parent:t}),n=i,i=a,a=r[s+2]||null;return r}(t,this),"attrs"===e&&ht(this,{attrMap:this[e].reduce((function(e,t){return e[t.fullName]=t.value,e}),Object.create(null))}))}},{key:"map",value:function(t){var r=null;for(var n in pt){var i=this[n];if(i){var a=dt(i,(function(e){return e.map(t)}));r!==i&&(r||(r=new e),r._setNodes(n,a))}}if(r){for(var s in this)s in pt||(r[s]=this[s]);ht(r,{index:this.index,siblings:this.siblings,prev:this.prev,next:this.next,parent:this.parent})}return t(r||this)}},{key:"clone",value:function(t){return new e(t?Object.assign({},this,t):this)}},{key:"firstChild",get:function(){return this.children&&0!==this.children.length?this.children[0]:null}},{key:"lastChild",get:function(){return this.children&&0!==this.children.length?this.children[this.children.length-1]:null}},{key:"rawName",get:function(){return this.hasExplicitNamespace?this.fullName:this.name}},{key:"fullName",get:function(){return this.namespace?this.namespace+":"+this.name:this.name}}]),e}();function dt(e,t){var r=e.map(t);return r.some((function(t,r){return t!==e[r]}))?r:e}function ht(e,t){var r=Object.keys(t).reduce((function(e,r){return e[r]={value:t[r],enumerable:!1},e}),{});Object.defineProperties(e,r)}var yt={Node:ft},mt=[[/^(\[if([^\]]*?)\]>)([\s\S]*?)<!\s*\[endif\]$/,function(e,t,r){var n=u(r,4),i=n[1],a=n[2],s=n[3],o="\x3c!--".length+i.length,l=e.sourceSpan.start.moveBy(o),c=l.moveBy(s.length),p=e.sourceSpan.constructor,f=u(function(){try{return[!0,t(s,l).children]}catch(e){return[!1,[{type:"text",value:s,sourceSpan:new p(l,c)}]]}}(),2);return{type:"ieConditionalComment",complete:f[0],children:f[1],condition:a.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new p(e.sourceSpan.start,l),endSourceSpan:new p(c,e.sourceSpan.end)}}],[/^\[if([^\]]*?)\]><!$/,function(e,t,r){return{type:"ieConditionalStartComment",condition:u(r,2)[1].trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan}}],[/^<!\s*\[endif\]$/,function(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}]];function vt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function gt(e,t){return e(t={exports:{}},t.exports),t.exports}var Tt=gt((function(e,t){function r(e){if(":"!=e[0])return[null,e];var t=e.indexOf(":",1);if(-1==t)throw new Error('Unsupported format "'.concat(e,'" expecting ":namespace:name"'));return[e.slice(1,t),e.slice(t+1)]}Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(t.TagContentType||(t.TagContentType={})),t.splitNsName=r,t.isNgContainer=function(e){return"ng-container"===r(e)[1]},t.isNgContent=function(e){return"ng-content"===r(e)[1]},t.isNgTemplate=function(e){return"ng-template"===r(e)[1]},t.getNsPrefix=function(e){return null===e?null:r(e)[0]},t.mergeNsAndName=function(e,t){return e?":".concat(e,":").concat(t):t},t.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞",int:"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"‏",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"‍",zwnj:"‌"},t.NGSP_UNICODE="",t.NAMED_ENTITIES.ngsp=t.NGSP_UNICODE}));vt(Tt);var Et=gt((function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var i,a,s=function(){function e(){var r=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.closedByChildren,a=n.requiredParents,s=n.implicitNamespacePrefix,o=n.contentType,u=void 0===o?Tt.TagContentType.PARSABLE_DATA:o,l=n.closedByParent,c=void 0!==l&&l,p=n.isVoid,f=void 0!==p&&p,d=n.ignoreFirstLf,h=void 0!==d&&d;t(this,e),this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,i&&i.length>0&&i.forEach((function(e){return r.closedByChildren[e]=!0})),this.isVoid=f,this.closedByParent=c||f,a&&a.length>0&&(this.requiredParents={},this.parentToAdd=a[0],a.forEach((function(e){return r.requiredParents[e]=!0}))),this.implicitNamespacePrefix=s||null,this.contentType=u,this.ignoreFirstLf=h}return n(e,[{key:"requireExtraParent",value:function(e){if(!this.requiredParents)return!1;if(!e)return!0;var t=e.toLowerCase();return!("template"===t||"ng-template"===e)&&1!=this.requiredParents[t]}},{key:"isClosedByChild",value:function(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}}]),e}();r.HtmlTagDefinition=s,r.getHtmlTagDefinition=function(e){return a||(i=new s,a={base:new s({isVoid:!0}),meta:new s({isVoid:!0}),area:new s({isVoid:!0}),embed:new s({isVoid:!0}),link:new s({isVoid:!0}),img:new s({isVoid:!0}),input:new s({isVoid:!0}),param:new s({isVoid:!0}),hr:new s({isVoid:!0}),br:new s({isVoid:!0}),source:new s({isVoid:!0}),track:new s({isVoid:!0}),wbr:new s({isVoid:!0}),p:new s({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new s({closedByChildren:["tbody","tfoot"]}),tbody:new s({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new s({closedByChildren:["tbody"],closedByParent:!0}),tr:new s({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new s({closedByChildren:["td","th"],closedByParent:!0}),th:new s({closedByChildren:["td","th"],closedByParent:!0}),col:new s({requiredParents:["colgroup"],isVoid:!0}),svg:new s({implicitNamespacePrefix:"svg"}),math:new s({implicitNamespacePrefix:"math"}),li:new s({closedByChildren:["li"],closedByParent:!0}),dt:new s({closedByChildren:["dt","dd"]}),dd:new s({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new s({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new s({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new s({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new s({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new s({closedByChildren:["optgroup"],closedByParent:!0}),option:new s({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new s({ignoreFirstLf:!0}),listing:new s({ignoreFirstLf:!0}),style:new s({contentType:Tt.TagContentType.RAW_TEXT}),script:new s({contentType:Tt.TagContentType.RAW_TEXT}),title:new s({contentType:Tt.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new s({contentType:Tt.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),a[e]||i}}));vt(Et);var St=gt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.assertArrayOfStrings=function(e,t){if(null!=t){if(!Array.isArray(t))throw new Error("Expected '".concat(e,"' to be an array of strings."));for(var r=0;r<t.length;r+=1)if("string"!=typeof t[r])throw new Error("Expected '".concat(e,"' to be an array of strings."))}};var r=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];t.assertInterpolationSymbols=function(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=t){var n=t[0],i=t[1];r.forEach((function(e){if(e.test(n)||e.test(i))throw new Error("['".concat(n,"', '").concat(i,"'] contains unusable interpolation symbol."))}))}}}));vt(St);var bt=gt((function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function e(r,n){t(this,e),this.start=r,this.end=n}return n(e,null,[{key:"fromArray",value:function(t){return t?(St.assertInterpolationSymbols("interpolation",t),new e(t[0],t[1])):r.DEFAULT_INTERPOLATION_CONFIG}}]),e}();r.InterpolationConfig=i,r.DEFAULT_INTERPOLATION_CONFIG=new i("{{","}}")}));vt(bt);var xt=gt((function(e,t){function r(e){return t.$0<=e&&e<=t.$9}Object.defineProperty(t,"__esModule",{value:!0}),t.$EOF=0,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=function(e){return e>=t.$TAB&&e<=t.$SPACE||e==t.$NBSP},t.isDigit=r,t.isAsciiLetter=function(e){return e>=t.$a&&e<=t.$z||e>=t.$A&&e<=t.$Z},t.isAsciiHexDigit=function(e){return e>=t.$a&&e<=t.$f||e>=t.$A&&e<=t.$F||r(e)}}));vt(xt);var Dt=gt((function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function e(r,n,i){t(this,e),this.filePath=r,this.name=n,this.members=i}return n(e,[{key:"assertNoMembers",value:function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}]),e}();r.StaticSymbol=i;var a=function(){function e(){t(this,e),this.cache=new Map}return n(e,[{key:"get",value:function(e,t,r){var n=(r=r||[]).length?".".concat(r.join(".")):"",a='"'.concat(e,'".').concat(t).concat(n),s=this.cache.get(a);return s||(s=new i(e,t,r),this.cache.set(a,s)),s}}]),e}();r.StaticSymbolCache=a}));vt(Dt);var At=gt((function(r,i){Object.defineProperty(i,"__esModule",{value:!0});var a=/-+([a-z0-9])/g;function s(e,t,r){var n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function o(t,r,n){return Array.isArray(t)?r.visitArray(t,n):"object"===e(i=t)&&null!==i&&Object.getPrototypeOf(i)===p?r.visitStringMap(t,n):null==t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t?r.visitPrimitive(t,n):r.visitOther(t,n);var i}i.dashCaseToCamelCase=function(e){return e.replace(a,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()}))},i.splitAtColon=function(e,t){return s(e,":",t)},i.splitAtPeriod=function(e,t){return s(e,".",t)},i.visitValue=o,i.isDefined=function(e){return null!=e},i.noUndefined=function(e){return void 0===e?null:e};var u=function(){function e(){t(this,e)}return n(e,[{key:"visitArray",value:function(e,t){var r=this;return e.map((function(e){return o(e,r,t)}))}},{key:"visitStringMap",value:function(e,t){var r=this,n={};return Object.keys(e).forEach((function(i){n[i]=o(e[i],r,t)})),n}},{key:"visitPrimitive",value:function(e,t){return e}},{key:"visitOther",value:function(e,t){return e}}]),e}();i.ValueTransformer=u,i.SyncAsync={assertSync:function(e){if(f(e))throw new Error("Illegal state: value cannot be a promise");return e},then:function(e,t){return f(e)?e.then(t):t(e)},all:function(e){return e.some(f)?Promise.all(e):e}},i.error=function(e){throw new Error("Internal Error: ".concat(e))},i.syntaxError=function(e,t){var r=Error(e);return r[l]=!0,t&&(r[c]=t),r};var l="ngSyntaxError",c="ngParseErrors";i.isSyntaxError=function(e){return e[l]},i.getParseErrors=function(e){return e[c]||[]},i.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};var p=Object.getPrototypeOf({});function f(e){return!!e&&"function"==typeof e.then}i.utf8Encode=function(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){var i=e.charCodeAt(r+1);i>=56320&&i<=57343&&(r++,n=(n-55296<<10)+i-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t},i.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);var r=t.toString();if(null==r)return""+r;var n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},i.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},i.isPromise=f,i.Version=function e(r){t(this,e),this.full=r;var n=r.split(".");this.major=n[0],this.minor=n[1],this.patch=n.slice(2).join(".")}}));vt(At);var Ct=gt((function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var i=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function a(e){return e.replace(/\W/g,"_")}r.sanitizeIdentifier=a;var s,o=0;function u(e){if(!e||!e.reference)return null;var t=e.reference;if(t instanceof Dt.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;var r=At.stringify(t);return r.indexOf("(")>=0?(r="anonymous_".concat(o++),t.__anonymousType=r):r=a(r),r}r.identifierName=u,r.identifierModuleUrl=function(e){var t=e.reference;return t instanceof Dt.StaticSymbol?t.filePath:"./".concat(At.stringify(t))},r.viewClassName=function(e,t){return"View_".concat(u({reference:e}),"_").concat(t)},r.rendererTypeName=function(e){return"RenderType_".concat(u({reference:e}))},r.hostViewClassName=function(e){return"HostView_".concat(u({reference:e}))},r.componentFactoryName=function(e){return"".concat(u({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(s=r.CompileSummaryKind||(r.CompileSummaryKind={})),r.tokenName=function(e){return null!=e.value?a(e.value):u(e.identifier)},r.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value},r.CompileStylesheetMetadata=function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=r.moduleUrl,i=r.styles,a=r.styleUrls;t(this,e),this.moduleUrl=n||null,this.styles=h(i),this.styleUrls=h(a)};var l=function(){function e(r){var n=r.encapsulation,i=r.template,a=r.templateUrl,s=r.htmlAst,o=r.styles,u=r.styleUrls,l=r.externalStylesheets,c=r.animations,p=r.ngContentSelectors,f=r.interpolation,d=r.isInline,m=r.preserveWhitespaces;if(t(this,e),this.encapsulation=n,this.template=i,this.templateUrl=a,this.htmlAst=s,this.styles=h(o),this.styleUrls=h(u),this.externalStylesheets=h(l),this.animations=c?y(c):[],this.ngContentSelectors=p||[],f&&2!=f.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=f,this.isInline=d,this.preserveWhitespaces=m}return n(e,[{key:"toSummary",value:function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}}]),e}();r.CompileTemplateMetadata=l;var c=function(){function e(r){var n=r.isHost,i=r.type,a=r.isComponent,s=r.selector,o=r.exportAs,u=r.changeDetection,l=r.inputs,c=r.outputs,p=r.hostListeners,f=r.hostProperties,d=r.hostAttributes,y=r.providers,m=r.viewProviders,v=r.queries,g=r.guards,T=r.viewQueries,E=r.entryComponents,S=r.template,b=r.componentViewType,x=r.rendererType,D=r.componentFactory;t(this,e),this.isHost=!!n,this.type=i,this.isComponent=a,this.selector=s,this.exportAs=o,this.changeDetection=u,this.inputs=l,this.outputs=c,this.hostListeners=p,this.hostProperties=f,this.hostAttributes=d,this.providers=h(y),this.viewProviders=h(m),this.queries=h(v),this.guards=g,this.viewQueries=h(T),this.entryComponents=h(E),this.template=S,this.componentViewType=b,this.rendererType=x,this.componentFactory=D}return n(e,null,[{key:"create",value:function(t){var r=t.isHost,n=t.type,a=t.isComponent,s=t.selector,o=t.exportAs,u=t.changeDetection,l=t.inputs,c=t.outputs,p=t.host,f=t.providers,d=t.viewProviders,h=t.queries,y=t.guards,m=t.viewQueries,v=t.entryComponents,g=t.template,T=t.componentViewType,E=t.rendererType,S=t.componentFactory,b={},x={},D={};null!=p&&Object.keys(p).forEach((function(e){var t=p[e],r=e.match(i);null===r?D[e]=t:null!=r[1]?x[r[1]]=t:null!=r[2]&&(b[r[2]]=t)}));var A={};null!=l&&l.forEach((function(e){var t=At.splitAtColon(e,[e,e]);A[t[0]]=t[1]}));var C={};return null!=c&&c.forEach((function(e){var t=At.splitAtColon(e,[e,e]);C[t[0]]=t[1]})),new e({isHost:r,type:n,isComponent:!!a,selector:s,exportAs:o,changeDetection:u,inputs:A,outputs:C,hostListeners:b,hostProperties:x,hostAttributes:D,providers:f,viewProviders:d,queries:h,guards:y,viewQueries:m,entryComponents:v,template:g,componentViewType:T,rendererType:E,componentFactory:S})}}]),n(e,[{key:"toSummary",value:function(){return{summaryKind:s.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}}]),e}();r.CompileDirectiveMetadata=c;var p=function(){function e(r){var n=r.type,i=r.name,a=r.pure;t(this,e),this.type=n,this.name=i,this.pure=!!a}return n(e,[{key:"toSummary",value:function(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}}]),e}();r.CompilePipeMetadata=p,r.CompileShallowModuleMetadata=function e(){t(this,e)};var f=function(){function e(r){var n=r.type,i=r.providers,a=r.declaredDirectives,s=r.exportedDirectives,o=r.declaredPipes,u=r.exportedPipes,l=r.entryComponents,c=r.bootstrapComponents,p=r.importedModules,f=r.exportedModules,d=r.schemas,y=r.transitiveModule,m=r.id;t(this,e),this.type=n||null,this.declaredDirectives=h(a),this.exportedDirectives=h(s),this.declaredPipes=h(o),this.exportedPipes=h(u),this.providers=h(i),this.entryComponents=h(l),this.bootstrapComponents=h(c),this.importedModules=h(p),this.exportedModules=h(f),this.schemas=h(d),this.id=m||null,this.transitiveModule=y||null}return n(e,[{key:"toSummary",value:function(){var e=this.transitiveModule;return{summaryKind:s.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}}]),e}();r.CompileNgModuleMetadata=f;var d=function(){function e(){t(this,e),this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return n(e,[{key:"addProvider",value:function(e,t){this.providers.push({provider:e,module:t})}},{key:"addDirective",value:function(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}},{key:"addExportedDirective",value:function(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}},{key:"addPipe",value:function(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}},{key:"addExportedPipe",value:function(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}},{key:"addModule",value:function(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}},{key:"addEntryComponent",value:function(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}}]),e}();function h(e){return e||[]}function y(e){return e.reduce((function(e,t){var r=Array.isArray(t)?y(t):t;return e.concat(r)}),[])}function m(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}r.TransitiveCompileNgModuleMetadata=d,r.ProviderMeta=function e(r,n){var i=n.useClass,a=n.useValue,s=n.useExisting,o=n.useFactory,u=n.deps,l=n.multi;t(this,e),this.token=r,this.useClass=i||null,this.useValue=a,this.useExisting=s,this.useFactory=o||null,this.dependencies=u||null,this.multi=!!l},r.flatten=y,r.templateSourceUrl=function(e,t,r){var n;return n=r.isInline?t.type.reference instanceof Dt.StaticSymbol?"".concat(t.type.reference.filePath,".").concat(t.type.reference.name,".html"):"".concat(u(e),"/").concat(u(t.type),".html"):r.templateUrl,t.type.reference instanceof Dt.StaticSymbol?n:m(n)},r.sharedStylesheetJitUrl=function(e,t){var r=e.moduleUrl.split(/\/\\/g),n=r[r.length-1];return m("css/".concat(t).concat(n,".ngstyle.js"))},r.ngModuleJitUrl=function(e){return m("".concat(u(e.type),"/module.ngfactory.js"))},r.templateJitUrl=function(e,t){return m("".concat(u(e),"/").concat(u(t.type),".ngfactory.js"))}}));vt(Ct);var Pt=gt((function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function e(r,n,i,a){t(this,e),this.file=r,this.offset=n,this.line=i,this.col=a}return n(e,[{key:"toString",value:function(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}},{key:"moveBy",value:function(t){for(var r=this.file.content,n=r.length,i=this.offset,a=this.line,s=this.col;i>0&&t<0;)if(i--,t++,r.charCodeAt(i)==xt.$LF){a--;var o=r.substr(0,i-1).lastIndexOf(String.fromCharCode(xt.$LF));s=o>0?i-o:i}else s--;for(;i<n&&t>0;){var u=r.charCodeAt(i);i++,t--,u==xt.$LF?(a++,s=0):s++}return new e(this.file,i,a,s)}},{key:"getContext",value:function(e,t){var r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);for(var i=n,a=0,s=0;a<e&&n>0&&(a++,"\n"!=r[--n]||++s!=t););for(a=0,s=0;a<e&&i<r.length-1&&(a++,"\n"!=r[++i]||++s!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}}]),e}();r.ParseLocation=i;var a=function e(r,n){t(this,e),this.content=r,this.url=n};r.ParseSourceFile=a;var s,o=function(){function e(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t(this,e),this.start=r,this.end=n,this.details=i}return n(e,[{key:"toString",value:function(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}]),e}();r.ParseSourceSpan=o,function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(s=r.ParseErrorLevel||(r.ParseErrorLevel={}));var u=function(){function e(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.ERROR;t(this,e),this.span=r,this.msg=n,this.level=i}return n(e,[{key:"contextualMessage",value:function(){var e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(s[this.level]," ->]").concat(e.after,'")'):this.msg}},{key:"toString",value:function(){var e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}}]),e}();r.ParseError=u,r.typeSourceSpan=function(e,t){var r=Ct.identifierModuleUrl(t),n=null!=r?"in ".concat(e," ").concat(Ct.identifierName(t)," in ").concat(r):"in ".concat(e," ").concat(Ct.identifierName(t)),s=new a("",n);return new o(new i(s,-1,-1,-1),new i(s,-1,-1,-1))}}));vt(Pt);var wt=gt((function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;t(this,e),this.path=r,this.position=n}return n(e,[{key:"parentOf",value:function(e){return e&&this.path[this.path.indexOf(e)-1]}},{key:"childOf",value:function(e){return this.path[this.path.indexOf(e)+1]}},{key:"first",value:function(e){for(var t=this.path.length-1;t>=0;t--){var r=this.path[t];if(r instanceof e)return r}}},{key:"push",value:function(e){this.path.push(e)}},{key:"pop",value:function(){return this.path.pop()}},{key:"empty",get:function(){return!this.path||!this.path.length}},{key:"head",get:function(){return this.path[0]}},{key:"tail",get:function(){return this.path[this.path.length-1]}}]),e}();r.AstPath=i}));vt(wt);var _t=gt((function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function e(r,n){t(this,e),this.value=r,this.sourceSpan=n}return n(e,[{key:"visit",value:function(e,t){return e.visitText(this,t)}}]),e}();r.Text=o;var u=function(){function e(r,n){t(this,e),this.value=r,this.sourceSpan=n}return n(e,[{key:"visit",value:function(e,t){return e.visitCdata(this,t)}}]),e}();r.CDATA=u;var l=function(){function e(r,n,i,a,s){t(this,e),this.switchValue=r,this.type=n,this.cases=i,this.sourceSpan=a,this.switchValueSourceSpan=s}return n(e,[{key:"visit",value:function(e,t){return e.visitExpansion(this,t)}}]),e}();r.Expansion=l;var c=function(){function e(r,n,i,a,s){t(this,e),this.value=r,this.expression=n,this.sourceSpan=i,this.valueSourceSpan=a,this.expSourceSpan=s}return n(e,[{key:"visit",value:function(e,t){return e.visitExpansionCase(this,t)}}]),e}();r.ExpansionCase=c;var p=function(){function e(r,n,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;t(this,e),this.name=r,this.value=n,this.sourceSpan=i,this.valueSpan=a,this.nameSpan=s}return n(e,[{key:"visit",value:function(e,t){return e.visitAttribute(this,t)}}]),e}();r.Attribute=p;var f=function(){function e(r,n,i,a){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;t(this,e),this.name=r,this.attrs=n,this.children=i,this.sourceSpan=a,this.startSourceSpan=s,this.endSourceSpan=o,this.nameSpan=u}return n(e,[{key:"visit",value:function(e,t){return e.visitElement(this,t)}}]),e}();r.Element=f;var d=function(){function e(r,n){t(this,e),this.value=r,this.sourceSpan=n}return n(e,[{key:"visit",value:function(e,t){return e.visitComment(this,t)}}]),e}();r.Comment=d;var h=function(){function e(r,n){t(this,e),this.value=r,this.sourceSpan=n}return n(e,[{key:"visit",value:function(e,t){return e.visitDocType(this,t)}}]),e}();function y(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=[],i=e.visit?function(t){return e.visit(t,r)||t.visit(e,r)}:function(t){return t.visit(e,r)};return t.forEach((function(e){var t=i(e);t&&n.push(t)})),n}r.DocType=h,r.visitAll=y;var m=function(){function e(){t(this,e)}return n(e,[{key:"visitElement",value:function(e,t){this.visitChildren(t,(function(t){t(e.attrs),t(e.children)}))}},{key:"visitAttribute",value:function(e,t){}},{key:"visitText",value:function(e,t){}},{key:"visitCdata",value:function(e,t){}},{key:"visitComment",value:function(e,t){}},{key:"visitDocType",value:function(e,t){}},{key:"visitExpansion",value:function(e,t){return this.visitChildren(t,(function(t){t(e.cases)}))}},{key:"visitExpansionCase",value:function(e,t){}},{key:"visitChildren",value:function(e,t){var r=[],n=this;return t((function(t){t&&r.push(y(n,t,e))})),[].concat.apply([],r)}}]),e}();r.RecursiveVisitor=m,r.findNode=function(e,r){var o=[];return y(new(function(e){function u(){return t(this,u),s(this,a(u).apply(this,arguments))}return i(u,m),n(u,[{key:"visit",value:function(e,t){var n=function e(t){var r=t.sourceSpan.start.offset,n=t.sourceSpan.end.offset;return t instanceof f&&(t.endSourceSpan?n=t.endSourceSpan.end.offset:t.children&&t.children.length&&(n=e(t.children[t.children.length-1]).end)),{start:r,end:n}}(e);if(!(n.start<=r&&r<n.end))return!0;o.push(e)}}]),u}()),e),new wt.AstPath(o,r)}}));vt(_t);var Ot=gt((function(e,r){var o;Object.defineProperty(r,"__esModule",{value:!0}),function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_VALUE=12]="ATTR_VALUE",e[e.DOC_TYPE_START=13]="DOC_TYPE_START",e[e.DOC_TYPE_END=14]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=15]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=16]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=17]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=18]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=19]="EXPANSION_FORM_END",e[e.EOF=20]="EOF"}(o=r.TokenType||(r.TokenType={}));var u=function e(r,n,i){t(this,e),this.type=r,this.parts=n,this.sourceSpan=i};r.Token=u;var l=function(e){function r(e,n,i){var o;return t(this,r),(o=s(this,a(r).call(this,i,e))).tokenType=n,o}return i(r,Pt.ParseError),r}();r.TokenError=l;var c=function e(r,n){t(this,e),this.tokens=r,this.errors=n};r.TokenizeResult=c,r.tokenize=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:bt.DEFAULT_INTERPOLATION_CONFIG,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return new y(new Pt.ParseSourceFile(e,t),r,n,i,a,s).tokenize()};var p=/\r\n?/g;function f(e){var t=e===xt.$EOF?"EOF":String.fromCharCode(e);return'Unexpected character "'.concat(t,'"')}function d(e){return'Unknown entity "'.concat(e,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}var h=function e(r){t(this,e),this.error=r},y=function(){function e(r,n,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:bt.DEFAULT_INTERPOLATION_CONFIG,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];t(this,e),this._file=r,this._getTagDefinition=n,this._tokenizeIcu=i,this._interpolationConfig=a,this.canSelfClose=s,this.allowHtmComponentClosingTags=o,this._peek=-1,this._nextPeek=-1,this._index=-1,this._line=0,this._column=-1,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this._input=r.content,this._length=r.content.length,this._advance()}return n(e,[{key:"_processCarriageReturns",value:function(e){return e.replace(p,"\n")}},{key:"tokenize",value:function(){for(;this._peek!==xt.$EOF;){var e=this._getLocation();try{if(this._attemptCharCode(xt.$LT))if(this._attemptCharCode(xt.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(xt.$SLASH))this._consumeTagClose(e);else{var t=this._savePosition();this._attemptCharCode(xt.$QUESTION)?(this._restorePosition(t),this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){if(!(e instanceof h))throw e;this.errors.push(e.error)}}return this._beginToken(o.EOF),this._endToken([]),new c(function(e){for(var t=[],r=void 0,n=0;n<e.length;n++){var i=e[n];r&&r.type==o.TEXT&&i.type==o.TEXT?(r.parts[0]+=i.parts[0],r.sourceSpan.end=i.sourceSpan.end):(r=i,t.push(r))}return t}(this.tokens),this.errors)}},{key:"_tokenizeExpansionForm",value:function(){if(E(this._input,this._index,this._interpolationConfig))return this._consumeExpansionFormStart(),!0;if(((e=this._peek)===xt.$EQ||xt.isAsciiLetter(e)||xt.isDigit(e))&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;var e;if(this._peek===xt.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}},{key:"_getLocation",value:function(){return new Pt.ParseLocation(this._file,this._index,this._line,this._column)}},{key:"_getSpan",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLocation(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getLocation();return new Pt.ParseSourceSpan(e,t)}},{key:"_beginToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getLocation();this._currentTokenStart=t,this._currentTokenType=e}},{key:"_endToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._getLocation(),r=new u(this._currentTokenType,e,new Pt.ParseSourceSpan(this._currentTokenStart,t));return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}},{key:"_createError",value:function(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var r=new l(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new h(r)}},{key:"_advance",value:function(){if(this._index>=this._length)throw this._createError(f(xt.$EOF),this._getSpan());this._peek===xt.$LF?(this._line++,this._column=0):this._peek!==xt.$LF&&this._peek!==xt.$CR&&this._column++,this._index++,this._peek=this._index>=this._length?xt.$EOF:this._input.charCodeAt(this._index),this._nextPeek=this._index+1>=this._length?xt.$EOF:this._input.charCodeAt(this._index+1)}},{key:"_attemptCharCode",value:function(e){return this._peek===e&&(this._advance(),!0)}},{key:"_attemptCharCodeCaseInsensitive",value:function(e){return t=e,S(this._peek)==S(t)&&(this._advance(),!0);var t}},{key:"_requireCharCode",value:function(e){var t=this._getLocation();if(!this._attemptCharCode(e))throw this._createError(f(this._peek),this._getSpan(t,t))}},{key:"_attemptStr",value:function(e){var t=e.length;if(this._index+t>this._length)return!1;for(var r=this._savePosition(),n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._restorePosition(r),!1;return!0}},{key:"_attemptStrCaseInsensitive",value:function(e){for(var t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}},{key:"_requireStr",value:function(e){var t=this._getLocation();if(!this._attemptStr(e))throw this._createError(f(this._peek),this._getSpan(t))}},{key:"_requireStrCaseInsensitive",value:function(e){var t=this._getLocation();if(!this._attemptStrCaseInsensitive(e))throw this._createError(f(this._peek),this._getSpan(t))}},{key:"_attemptCharCodeUntilFn",value:function(e){for(;!e(this._peek);)this._advance()}},{key:"_requireCharCodeUntilFn",value:function(e,t){var r=this._getLocation();if(this._attemptCharCodeUntilFn(e),this._index-r.offset<t)throw this._createError(f(this._peek),this._getSpan(r,r))}},{key:"_attemptUntilChar",value:function(e){for(;this._peek!==e;)this._advance()}},{key:"_readChar",value:function(e){if(e&&this._peek===xt.$AMPERSAND)return this._decodeEntity();var t=this._index;return this._advance(),this._input[t]}},{key:"_decodeEntity",value:function(){var e=this._getLocation();if(this._advance(),!this._attemptCharCode(xt.$HASH)){var t=this._savePosition();if(this._attemptCharCodeUntilFn(T),this._peek!=xt.$SEMICOLON)return this._restorePosition(t),"&";this._advance();var r=this._input.substring(e.offset+1,this._index-1),n=Tt.NAMED_ENTITIES[r];if(!n)throw this._createError(d(r),this._getSpan(e));return n}var i=this._attemptCharCode(xt.$x)||this._attemptCharCode(xt.$X),a=this._getLocation().offset;if(this._attemptCharCodeUntilFn(g),this._peek!=xt.$SEMICOLON)throw this._createError(f(this._peek),this._getSpan());this._advance();var s=this._input.substring(a,this._index-1);try{var o=parseInt(s,i?16:10);return String.fromCharCode(o)}catch(t){var u=this._input.substring(e.offset+1,this._index-1);throw this._createError(d(u),this._getSpan(e))}}},{key:"_consumeRawText",value:function(e,t,r){var n,i=this._getLocation();this._beginToken(e?o.ESCAPABLE_RAW_TEXT:o.RAW_TEXT,i);for(var a=[];n=this._getLocation(),!this._attemptCharCode(t)||!r();)for(this._index>n.offset&&a.push(this._input.substring(n.offset,this._index));this._peek!==t;)a.push(this._readChar(e));return this._endToken([this._processCarriageReturns(a.join(""))],n)}},{key:"_consumeComment",value:function(e){var t=this;this._beginToken(o.COMMENT_START,e),this._endToken([]);var r=this._consumeRawText(!1,xt.$MINUS,(function(){return t._attemptStr("->")}));this._beginToken(o.COMMENT_END,r.sourceSpan.end),this._endToken([])}},{key:"_consumeBogusComment",value:function(e){this._beginToken(o.COMMENT_START,e),this._endToken([]);var t=this._consumeRawText(!1,xt.$GT,(function(){return!0}));this._beginToken(o.COMMENT_END,t.sourceSpan.end),this._endToken([])}},{key:"_consumeCdata",value:function(e){var t=this;this._beginToken(o.CDATA_START,e),this._endToken([]);var r=this._consumeRawText(!1,xt.$RBRACKET,(function(){return t._attemptStr("]>")}));this._beginToken(o.CDATA_END,r.sourceSpan.end),this._endToken([])}},{key:"_consumeDocType",value:function(e){this._beginToken(o.DOC_TYPE_START,e),this._endToken([]);var t=this._consumeRawText(!1,xt.$GT,(function(){return!0}));this._beginToken(o.DOC_TYPE_END,t.sourceSpan.end),this._endToken([])}},{key:"_consumePrefixAndName",value:function(){for(var e,t,r=this._index,n=null;this._peek!==xt.$COLON&&!(((e=this._peek)<xt.$a||xt.$z<e)&&(e<xt.$A||xt.$Z<e)&&(e<xt.$0||e>xt.$9));)this._advance();return this._peek===xt.$COLON?(this._advance(),n=this._input.substring(r,this._index-1),t=this._index):t=r,this._requireCharCodeUntilFn(v,this._index===t?1:0),[n,this._input.substring(t,this._index)]}},{key:"_consumeTagOpen",value:function(e){var t,r,n=this._savePosition();try{if(!xt.isAsciiLetter(this._peek))throw this._createError(f(this._peek),this._getSpan());var i=this._index;for(this._consumeTagOpenStart(e),r=(t=this._input.substring(i,this._index)).toLowerCase(),this._attemptCharCodeUntilFn(m);this._peek!==xt.$SLASH&&this._peek!==xt.$GT;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(m),this._attemptCharCode(xt.$EQ)&&(this._attemptCharCodeUntilFn(m),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(m);this._consumeTagOpenEnd()}catch(t){if(t instanceof h)return this._restorePosition(n),this._beginToken(o.TEXT,e),void this._endToken(["<"]);throw t}if(!this.canSelfClose||this.tokens[this.tokens.length-1].type!==o.TAG_OPEN_END_VOID){var a=this._getTagDefinition(t).contentType;a===Tt.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(r,!1):a===Tt.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,!0)}}},{key:"_consumeRawTextWithTagClose",value:function(e,t){var r=this,n=this._consumeRawText(t,xt.$LT,(function(){return!!r._attemptCharCode(xt.$SLASH)&&(r._attemptCharCodeUntilFn(m),!!r._attemptStrCaseInsensitive(e)&&(r._attemptCharCodeUntilFn(m),r._attemptCharCode(xt.$GT)))}));this._beginToken(o.TAG_CLOSE,n.sourceSpan.end),this._endToken([null,e])}},{key:"_consumeTagOpenStart",value:function(e){this._beginToken(o.TAG_OPEN_START,e);var t=this._consumePrefixAndName();this._endToken(t)}},{key:"_consumeAttributeName",value:function(){this._beginToken(o.ATTR_NAME);var e=this._consumePrefixAndName();this._endToken(e)}},{key:"_consumeAttributeValue",value:function(){var e;if(this._beginToken(o.ATTR_VALUE),this._peek===xt.$SQ||this._peek===xt.$DQ){var t=this._peek;this._advance();for(var r=[];this._peek!==t;)r.push(this._readChar(!0));e=r.join(""),this._advance()}else{var n=this._index;this._requireCharCodeUntilFn(v,1),e=this._input.substring(n,this._index)}this._endToken([this._processCarriageReturns(e)])}},{key:"_consumeTagOpenEnd",value:function(){var e=this._attemptCharCode(xt.$SLASH)?o.TAG_OPEN_END_VOID:o.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(xt.$GT),this._endToken([])}},{key:"_consumeTagClose",value:function(e){if(this._beginToken(o.TAG_CLOSE,e),this._attemptCharCodeUntilFn(m),this.allowHtmComponentClosingTags&&this._attemptCharCode(xt.$SLASH))this._attemptCharCodeUntilFn(m),this._requireCharCode(xt.$GT),this._endToken([]);else{var t=this._consumePrefixAndName();this._attemptCharCodeUntilFn(m),this._requireCharCode(xt.$GT),this._endToken(t)}}},{key:"_consumeExpansionFormStart",value:function(){this._beginToken(o.EXPANSION_FORM_START,this._getLocation()),this._requireCharCode(xt.$LBRACE),this._endToken([]),this._expansionCaseStack.push(o.EXPANSION_FORM_START),this._beginToken(o.RAW_TEXT,this._getLocation());var e=this._readUntil(xt.$COMMA);this._endToken([e],this._getLocation()),this._requireCharCode(xt.$COMMA),this._attemptCharCodeUntilFn(m),this._beginToken(o.RAW_TEXT,this._getLocation());var t=this._readUntil(xt.$COMMA);this._endToken([t],this._getLocation()),this._requireCharCode(xt.$COMMA),this._attemptCharCodeUntilFn(m)}},{key:"_consumeExpansionCaseStart",value:function(){this._beginToken(o.EXPANSION_CASE_VALUE,this._getLocation());var e=this._readUntil(xt.$LBRACE).trim();this._endToken([e],this._getLocation()),this._attemptCharCodeUntilFn(m),this._beginToken(o.EXPANSION_CASE_EXP_START,this._getLocation()),this._requireCharCode(xt.$LBRACE),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.push(o.EXPANSION_CASE_EXP_START)}},{key:"_consumeExpansionCaseEnd",value:function(){this._beginToken(o.EXPANSION_CASE_EXP_END,this._getLocation()),this._requireCharCode(xt.$RBRACE),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.pop()}},{key:"_consumeExpansionFormEnd",value:function(){this._beginToken(o.EXPANSION_FORM_END,this._getLocation()),this._requireCharCode(xt.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}},{key:"_consumeText",value:function(){var e=this._getLocation();this._beginToken(o.TEXT,e);var t=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(""))])}},{key:"_isTextEnd",value:function(){if(this._peek===xt.$LT||this._peek===xt.$EOF)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(E(this._input,this._index,this._interpolationConfig))return!0;if(this._peek===xt.$RBRACE&&this._isInExpansionCase())return!0}return!1}},{key:"_savePosition",value:function(){return[this._peek,this._index,this._column,this._line,this.tokens.length]}},{key:"_readUntil",value:function(e){var t=this._index;return this._attemptUntilChar(e),this._input.substring(t,this._index)}},{key:"_restorePosition",value:function(e){this._peek=e[0],this._index=e[1],this._column=e[2],this._line=e[3];var t=e[4];t<this.tokens.length&&(this.tokens=this.tokens.slice(0,t))}},{key:"_isInExpansionCase",value:function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===o.EXPANSION_CASE_EXP_START}},{key:"_isInExpansionForm",value:function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===o.EXPANSION_FORM_START}}]),e}();function m(e){return!xt.isWhitespace(e)||e===xt.$EOF}function v(e){return xt.isWhitespace(e)||e===xt.$GT||e===xt.$SLASH||e===xt.$SQ||e===xt.$DQ||e===xt.$EQ}function g(e){return e==xt.$SEMICOLON||e==xt.$EOF||!xt.isAsciiHexDigit(e)}function T(e){return e==xt.$SEMICOLON||e==xt.$EOF||!xt.isAsciiLetter(e)}function E(e,t,r){var n=!!r&&e.indexOf(r.start,t)==t;return e.charCodeAt(t)==xt.$LBRACE&&!n}function S(e){return e>=xt.$a&&e<=xt.$z?e-xt.$a+xt.$A:e}}));vt(Ot);var Ft=gt((function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var o=function(e){function r(e,n,i){var o;return t(this,r),(o=s(this,a(r).call(this,n,i))).elementName=e,o}return i(r,Pt.ParseError),n(r,null,[{key:"create",value:function(e,t,n){return new r(e,t,n)}}]),r}();r.TreeError=o;var u=function e(r,n){t(this,e),this.rootNodes=r,this.errors=n};r.ParseTreeResult=u;var l=function(){function e(r){t(this,e),this.getTagDefinition=r}return n(e,[{key:"parse",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:bt.DEFAULT_INTERPOLATION_CONFIG,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],l=o?this.getTagDefinition:function(e){return r.getTagDefinition(e.toLowerCase())},p=Ot.tokenize(e,t,l,n,i,a,s),f=new c(p.tokens,l,a,s,o).build();return new u(f.rootNodes,p.errors.concat(f.errors))}}]),e}();r.Parser=l;var c=function(){function e(r,n,i,a,s){t(this,e),this.tokens=r,this.getTagDefinition=n,this.canSelfClose=i,this.allowHtmComponentClosingTags=a,this.isTagNameCaseSensitive=s,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return n(e,[{key:"build",value:function(){for(;this._peek.type!==Ot.TokenType.EOF;)this._peek.type===Ot.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Ot.TokenType.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===Ot.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Ot.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Ot.TokenType.TEXT||this._peek.type===Ot.TokenType.RAW_TEXT||this._peek.type===Ot.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Ot.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===Ot.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new u(this._rootNodes,this._errors)}},{key:"_advance",value:function(){var e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}},{key:"_advanceIf",value:function(e){return this._peek.type===e?this._advance():null}},{key:"_consumeCdata",value:function(e){var t=this._advance(),r=this._getText(t),n=this._advanceIf(Ot.TokenType.CDATA_END);this._addToParent(new _t.CDATA(r,new Pt.ParseSourceSpan(e.sourceSpan.start,(n||t).sourceSpan.end)))}},{key:"_consumeComment",value:function(e){var t=this._advanceIf(Ot.TokenType.RAW_TEXT),r=this._advanceIf(Ot.TokenType.COMMENT_END),n=null!=t?t.parts[0].trim():null,i=new Pt.ParseSourceSpan(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new _t.Comment(n,i))}},{key:"_consumeDocType",value:function(e){var t=this._advanceIf(Ot.TokenType.RAW_TEXT),r=this._advanceIf(Ot.TokenType.DOC_TYPE_END),n=null!=t?t.parts[0].trim():null,i=new Pt.ParseSourceSpan(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new _t.DocType(n,i))}},{key:"_consumeExpansion",value:function(e){for(var t=this._advance(),r=this._advance(),n=[];this._peek.type===Ot.TokenType.EXPANSION_CASE_VALUE;){var i=this._parseExpansionCase();if(!i)return;n.push(i)}if(this._peek.type===Ot.TokenType.EXPANSION_FORM_END){var a=new Pt.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new _t.Expansion(t.parts[0],r.parts[0],n,a,t.sourceSpan)),this._advance()}else this._errors.push(o.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."))}},{key:"_parseExpansionCase",value:function(){var t=this._advance();if(this._peek.type!==Ot.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(o.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;var r=this._advance(),n=this._collectExpansionExpTokens(r);if(!n)return null;var i=this._advance();n.push(new Ot.Token(Ot.TokenType.EOF,[],i.sourceSpan));var a=new e(n,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(a.errors.length>0)return this._errors=this._errors.concat(a.errors),null;var s=new Pt.ParseSourceSpan(t.sourceSpan.start,i.sourceSpan.end),u=new Pt.ParseSourceSpan(r.sourceSpan.start,i.sourceSpan.end);return new _t.ExpansionCase(t.parts[0],a.rootNodes,s,t.sourceSpan,u)}},{key:"_collectExpansionExpTokens",value:function(e){for(var t=[],r=[Ot.TokenType.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==Ot.TokenType.EXPANSION_FORM_START&&this._peek.type!==Ot.TokenType.EXPANSION_CASE_EXP_START||r.push(this._peek.type),this._peek.type===Ot.TokenType.EXPANSION_CASE_EXP_END){if(!p(r,Ot.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(o.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0==r.length)return t}if(this._peek.type===Ot.TokenType.EXPANSION_FORM_END){if(!p(r,Ot.TokenType.EXPANSION_FORM_START))return this._errors.push(o.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(this._peek.type===Ot.TokenType.EOF)return this._errors.push(o.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}},{key:"_getText",value:function(e){var t=e.parts[0];if(t.length>0&&"\n"==t[0]){var r=this._getParentElement();null!=r&&0==r.children.length&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}},{key:"_consumeText",value:function(e){var t=this._getText(e);t.length>0&&this._addToParent(new _t.Text(t,e.sourceSpan))}},{key:"_closeVoidElement",value:function(){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}},{key:"_consumeStartTag",value:function(e){for(var t=e.parts[0],r=e.parts[1],n=[];this._peek.type===Ot.TokenType.ATTR_NAME;)n.push(this._consumeAttr(this._advance()));var i=this._getElementFullName(t,r,this._getParentElement()),a=!1;if(this._peek.type===Ot.TokenType.TAG_OPEN_END_VOID){this._advance(),a=!0;var s=this.getTagDefinition(i);this.canSelfClose||s.canSelfClose||null!==Tt.getNsPrefix(i)||s.isVoid||this._errors.push(o.create(i,e.sourceSpan,'Only void and foreign elements can be self closed "'.concat(e.parts[1],'"')))}else this._peek.type===Ot.TokenType.TAG_OPEN_END&&(this._advance(),a=!1);var u=this._peek.sourceSpan.start,l=new Pt.ParseSourceSpan(e.sourceSpan.start,u),c=new Pt.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new _t.Element(i,n,[],l,l,void 0,c);this._pushElement(p),a&&(this._popElement(i),p.endSourceSpan=l)}},{key:"_pushElement",value:function(e){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop();var r=this.getTagDefinition(e.name),n=this._getParentElementSkippingContainers(),i=n.parent,a=n.container;if(i&&r.requireExtraParent(i.name)){var s=new _t.Element(r.parentToAdd,[],[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan);this._insertBeforeContainer(i,a,s)}this._addToParent(e),this._elementStack.push(e)}},{key:"_consumeEndTag",value:function(e){var t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(o.create(t,e.sourceSpan,'Void elements do not have end tags "'.concat(e.parts[1],'"')));else if(!this._popElement(t)){var r='Unexpected closing tag "'.concat(t,'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags');this._errors.push(o.create(t,e.sourceSpan,r))}}},{key:"_popElement",value:function(e){for(var t=this._elementStack.length-1;t>=0;t--){var r=this._elementStack[t];if(!e||(Tt.getNsPrefix(r.name)?r.name==e:r.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(r.name).closedByParent)return!1}return!1}},{key:"_consumeAttr",value:function(e){var t=Tt.mergeNsAndName(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n="",i=void 0;if(this._peek.type===Ot.TokenType.ATTR_VALUE){var a=this._advance();n=a.parts[0],r=a.sourceSpan.end,i=a.sourceSpan}return new _t.Attribute(t,n,new Pt.ParseSourceSpan(e.sourceSpan.start,r),i,e.sourceSpan)}},{key:"_getParentElement",value:function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}},{key:"_getParentElementSkippingContainers",value:function(){for(var e=null,t=this._elementStack.length-1;t>=0;t--){if(!Tt.isNgContainer(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:null,container:e}}},{key:"_addToParent",value:function(e){var t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)}},{key:"_insertBeforeContainer",value:function(e,t,r){if(t){if(e){var n=e.children.indexOf(t);e.children[n]=r}else this._rootNodes.push(r);r.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,r)}else this._addToParent(r),this._elementStack.push(r)}},{key:"_getElementFullName",value:function(e,t,r){return null==e&&null==(e=this.getTagDefinition(t).implicitNamespacePrefix)&&null!=r&&(e=Tt.getNsPrefix(r.name)),Tt.mergeNsAndName(e,t)}}]),e}();function p(e,t){return e.length>0&&e[e.length-1]===t}}));vt(Ft);var Nt=gt((function(e,r){Object.defineProperty(r,"__esModule",{value:!0});var u=Ft;r.ParseTreeResult=u.ParseTreeResult,r.TreeError=u.TreeError;var l=function(e){function r(){return t(this,r),s(this,a(r).call(this,Et.getHtmlTagDefinition))}return i(r,Ft.Parser),n(r,[{key:"parse",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:bt.DEFAULT_INTERPOLATION_CONFIG,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return o(a(r.prototype),"parse",this).call(this,e,t,n,i,s,u,l)}}]),r}();r.HtmlParser=l}));vt(Nt);var It=gt((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=null,n=function(){return r||(r=new Nt.HtmlParser),r};t.parse=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.canSelfClose,i=void 0!==r&&r,a=t.allowHtmComponentClosingTags,s=void 0!==a&&a,o=t.isTagNameCaseSensitive,u=void 0!==o&&o;return n().parse(e,"angular-html-parser",!1,void 0,i,s,u)}}));vt(It);var kt=lt.HTML_ELEMENT_ATTRIBUTES,Lt=lt.HTML_TAGS,Mt=function(e){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(e)},Bt=yt.Node,jt=function(e,t){if(e.value)for(var r,n=0;n<mt.length;n++){var i=u(mt[n],2),a=i[0],s=i[1];if(r=e.value.match(a))return s(e,t,r)}return null};function Rt(e,r){var o=r.recognizeSelfClosing,u=r.normalizeTagName,l=r.normalizeAttributeName,c=r.allowHtmComponentClosingTags,p=r.isTagNameCaseSensitive,f=It,d=_t.RecursiveVisitor,h=_t.visitAll,y=_t.Attribute,m=_t.CDATA,v=_t.Comment,g=_t.DocType,T=_t.Element,E=_t.Text,S=Pt.ParseSourceSpan,b=Et.getHtmlTagDefinition,x=f.parse(e,{canSelfClose:o,allowHtmComponentClosingTags:c,isTagNameCaseSensitive:p}),D=x.rootNodes,A=x.errors;if(0!==A.length){var C=A[0],P=C.msg,w=C.span.start,_=w.line,O=w.col;throw ct(P,{start:{line:_+1,column:O+1}})}var F=function(e){var t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan?e.nameSpan.toString():e.name,n=r.startsWith("".concat(t,":")),i=n?r.slice(t.length+1):r;e.name=i,e.namespace=t,e.hasExplicitNamespace=n},N=function(e,t){var r=e.toLowerCase();return t(r)?r:e};return h(new(function(e){function r(){return t(this,r),s(this,a(r).apply(this,arguments))}return i(r,d),n(r,[{key:"visit",value:function(e){!function(e){if(e instanceof y)e.type="attribute";else if(e instanceof m)e.type="cdata";else if(e instanceof v)e.type="comment";else if(e instanceof g)e.type="docType";else if(e instanceof T)e.type="element";else{if(!(e instanceof E))throw new Error("Unexpected node ".concat(JSON.stringify(e)));e.type="text"}}(e),function(e){e instanceof T?(F(e),e.attrs.forEach((function(e){F(e),e.valueSpan?(e.value=e.valueSpan.toString(),/['"]/.test(e.value[0])&&(e.value=e.value.slice(1,-1))):e.value=null}))):e instanceof v?e.value=e.sourceSpan.toString().slice("\x3c!--".length,-"--\x3e".length):e instanceof E&&(e.value=e.sourceSpan.toString())}(e),function(e){if(e instanceof T){var t=b(p?e.name:e.name.toLowerCase());e.namespace&&e.namespace!==t.implicitNamespacePrefix?e.tagDefinition=b(""):e.tagDefinition=t}}(e),function(e){if(e instanceof T&&(!u||e.namespace&&e.namespace!==e.tagDefinition.implicitNamespacePrefix||(e.name=N(e.name,(function(e){return e in Lt}))),l)){var t=kt[e.name]||Object.create(null);e.attrs.forEach((function(r){r.namespace||(r.name=N(r.name,(function(r){return e.name in kt&&(r in kt["*"]||r in t)})))}))}}(e),function(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new S(e.sourceSpan.start,e.endSourceSpan.end))}(e)}}]),r}()),D),D}function Vt(e){return e.sourceSpan.start.offset}function qt(e){return e.sourceSpan.end.offset}function Ut(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.recognizeSelfClosing,r=void 0!==t&&t,n=e.normalizeTagName,i=void 0!==n&&n,a=e.normalizeAttributeName,s=void 0!==a&&a,o=e.allowHtmComponentClosingTags,u=void 0!==o&&o,l=e.isTagNameCaseSensitive,c=void 0!==l&&l;return{parse:function(e,t,n){return function e(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?{frontMatter:null,content:t}:f(t),a=i.frontMatter,s=i.content,o={type:"root",sourceSpan:{start:{offset:0},end:{offset:t.length}},children:Rt(s,n)};a&&o.children.unshift(a);var u=function(i,a){var s=a.offset,o=e(t.slice(0,s).replace(/[^\r\n]/g," ")+i,r,n,!1),u=o.children[0].sourceSpan.constructor;o.sourceSpan=new u(a,o.children[o.children.length-1].sourceSpan.end);var l=o.children[0];return l.length===s?o.children.shift():(l.sourceSpan=new u(l.sourceSpan.start.moveBy(s),l.sourceSpan.end),l.value=l.value.slice(s)),o},l=function(e){return"element"===e.type&&!e.nameSpan};return new Bt(o).map((function(e){if(e.children&&e.children.some(l)){var t=[],r=!0,n=!1,i=void 0;try{for(var a,s=e.children[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var o=a.value;l(o)?Array.prototype.push.apply(t,o.children):t.push(o)}}catch(e){n=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(n)throw i}}return e.clone({children:t})}if("comment"===e.type){var c=jt(e,u);if(c)return c}return e}))}(e,n,{recognizeSelfClosing:r,normalizeTagName:i,normalizeAttributeName:s,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:c})},hasPragma:Mt,astFormat:"html",locStart:Vt,locEnd:qt}}return{parsers:{html:Ut({recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ut(),vue:Ut({recognizeSelfClosing:!0,isTagNameCaseSensitive:!0}),lwc:Ut()}}}()},,,function(e,t,r){var n=r(93)(Object.keys,Object);e.exports=n},function(e,t,r){var n=r(25)(r(10),"DataView");e.exports=n},function(e,t,r){var n=r(86),i=r(147),a=r(27),s=r(88),o=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,p=l.hasOwnProperty,f=RegExp("^"+c.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||i(e))&&(n(e)?f:o).test(s(e))}},function(e,t,r){var n=r(40),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,o=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,o),r=e[o];try{e[o]=void 0;var n=!0}catch(e){}var i=s.call(e);return n&&(t?e[o]=r:delete e[o]),i}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var n,i=r(148),a=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!a&&a in e}},function(e,t,r){var n=r(10)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(25)(r(10),"Promise");e.exports=n},function(e,t,r){var n=r(25)(r(10),"WeakMap");e.exports=n},function(e,t,r){var n=r(24),i=r(13),a="[object Arguments]";e.exports=function(e){return i(e)&&n(e)==a}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(24),i=r(62),a=r(13),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&i(e.length)&&!!s[n(e)]}},,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.split(".");return e=>(0,i.default)(e,r,t)};var n,i=(n=r(164))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!(0,n.isMemberExpression)(e))return!1;const i=Array.isArray(t)?t:t.split("."),a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object)a.push(s.property);if(a.push(s),a.length<i.length)return!1;if(!r&&a.length>i.length)return!1;for(let e=0,t=a.length-1;e<i.length;e++,t--){const r=a[t];let s;if((0,n.isIdentifier)(r))s=r.name;else{if(!(0,n.isStringLiteral)(r))return!1;s=r.value}if(i[e]!==s)return!1}return!0};var n=r(6)},function(e,t,r){var n=r(166),i=r(51),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var s=e[t];a.call(e,t)&&i(s,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(167);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(25),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t,r){var n=r(330),i=r(64),a=r(14),s=r(47),o=r(98),u=r(65),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=a(e),c=!r&&i(e),p=!r&&!c&&s(e),f=!r&&!c&&!p&&u(e),d=r||c||p||f,h=d?n(e.length,String):[],y=h.length;for(var m in e)!t&&!l.call(e,m)||d&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||o(m,y))||h.push(m);return h}},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(171),i=r(101),a=r(100),s=r(169),o=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,a(e)),e=i(e);return t}:s;e.exports=o},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},function(e,t,r){var n=r(173),i=r(100),a=r(44);e.exports=function(e){return n(e,a,i)}},function(e,t,r){var n=r(171),i=r(14);e.exports=function(e,t,r){var a=t(e);return i(e)?a:n(a,r(e))}},function(e,t,r){var n=r(10).Uint8Array;e.exports=n},function(e,t){!function(){"use strict";var t,r,n,i,a,s;function o(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(r={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\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\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-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\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\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\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-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={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\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\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-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\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\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\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\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\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\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\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\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\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\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\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-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\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\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\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]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||36===s||95===s;for(a=new Array(128),s=0;s<128;++s)a[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||36===s||95===s;e.exports={isDecimalDigit:function(e){return 48<=e&&e<=57},isHexDigit:function(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70},isOctalDigit:function(e){return e>=48&&e<=55},isWhiteSpace:function(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0},isLineTerminator:function(e){return 10===e||13===e||8232===e||8233===e},isIdentifierStartES5:function(e){return e<128?i[e]:r.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES5:function(e){return e<128?a[e]:r.NonAsciiIdentifierPart.test(o(e))},isIdentifierStartES6:function(e){return e<128?i[e]:t.NonAsciiIdentifierStart.test(o(e))},isIdentifierPartES6:function(e){return e<128?a[e]:t.NonAsciiIdentifierPart.test(o(e))}}}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!e)return;const i=n.NODE_FIELDS[e.type];if(!i)return;const a=i[t];if(!a||!a.validate)return;if(a.optional&&null==r)return;a.validate(e,t,r)};var n=r(26)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!n.VISITOR_KEYS[e.type])};var n=r(26)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){const r={};const i={};const a=[];const s=[];for(let o=0;o<t.length;o++){const u=t[o];if(u&&!(s.indexOf(u)>=0)){if((0,n.isAnyTypeAnnotation)(u))return[u];if((0,n.isFlowBaseAnnotation)(u))i[u.type]=u;else if((0,n.isUnionTypeAnnotation)(u))a.indexOf(u.types)<0&&(t=t.concat(u.types),a.push(u.types));else if((0,n.isGenericTypeAnnotation)(u)){const t=u.id.name;if(r[t]){let n=r[t];n.typeParameters?u.typeParameters&&(n.typeParameters.params=e(n.typeParameters.params.concat(u.typeParameters.params))):n=u.typeParameters}else r[t]=u}else s.push(u)}}for(const e in i)s.push(i[e]);for(const e in r)s.push(r[e]);return s};var n=r(6)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,!1)};var n,i=(n=r(54))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;e[n]?e[n]="leading"===t?r.concat(e[n]):e[n].concat(r):e[n]=r;return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("innerComments",e,t)};var n,i=(n=r(107))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(97),i=r(367),a=r(368);function s(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}s.prototype.add=s.prototype.push=i,s.prototype.has=a,e.exports=s},function(e,t){e.exports=function(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("leadingComments",e,t)};var n,i=(n=r(107))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,t),(0,i.default)(e,t),(0,a.default)(e,t),e};var n=s(r(187)),i=s(r(185)),a=s(r(181));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("trailingComments",e,t)};var n,i=(n=r(107))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isBlockStatement)(e))return e;let r=[];(0,n.isEmptyStatement)(e)?r=[]:((0,n.isStatement)(e)||(e=(0,n.isFunction)(t)?(0,i.returnStatement)(e):(0,i.expressionStatement)(e)),r=[e]);return(0,i.blockStatement)(r)};var n=r(6),i=r(19)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e=(e=(e=(e+="").replace(/[^a-zA-Z0-9$_]/g,"-")).replace(/^[-0-9]+/,"")).replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""})),(0,i.default)(e)||(e=`_${e}`);return e||"_"};var n,i=(n=r(52))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,i.default,t),e};var n=a(r(191)),i=a(r(192));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,i){if(!t)return;const a=n.VISITOR_KEYS[t.type];if(!a)return;i=i||{};r(t,i);for(const n of a){const a=t[n];if(Array.isArray(a))for(const t of a)e(t,r,i);else e(a,r,i)}};var n=r(26)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){const r=t.preserveComments?i:a;for(const t of r)null!=e[t]&&(e[t]=void 0);for(const t in e)"_"===t[0]&&null!=e[t]&&(e[t]=void 0);const n=Object.getOwnPropertySymbols(e);for(const t of n)e[t]=null};var n=r(35);const i=["tokens","start","end","loc","raw","rawValue"],a=n.COMMENT_KEYS.concat(["comments"]).concat(i)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e)&&("var"!==e.kind||e[i.BLOCK_SCOPED_SYMBOL])};var n=r(6),i=r(35)},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ForAwaitStatement=t.NumericLiteralTypeAnnotation=t.ExistentialTypeParam=t.SpreadProperty=t.RestProperty=t.Flow=t.Pure=t.Generated=t.User=t.Var=t.BlockScoped=t.Referenced=t.Scope=t.Expression=t.Statement=t.BindingIdentifier=t.ReferencedMemberExpression=t.ReferencedIdentifier=void 0;const i={types:["Identifier","JSXIdentifier"],checkPath({node:e,parent:t},r){if(!n().isIdentifier(e,r)&&!n().isJSXMemberExpression(t,r)){if(!n().isJSXIdentifier(e,r))return!1;if(n().react.isCompatTag(e.name))return!1}return n().isReferenced(e,t)}};t.ReferencedIdentifier=i;const a={types:["MemberExpression"],checkPath:({node:e,parent:t})=>n().isMemberExpression(e)&&n().isReferenced(e,t)};t.ReferencedMemberExpression=a;const s={types:["Identifier"],checkPath:({node:e,parent:t})=>n().isIdentifier(e)&&n().isBinding(e,t)};t.BindingIdentifier=s;const o={types:["Statement"],checkPath({node:e,parent:t}){if(n().isStatement(e)){if(n().isVariableDeclaration(e)){if(n().isForXStatement(t,{left:e}))return!1;if(n().isForStatement(t,{init:e}))return!1}return!0}return!1}};t.Statement=o;const u={types:["Expression"],checkPath:e=>e.isIdentifier()?e.isReferencedIdentifier():n().isExpression(e.node)};t.Expression=u;const l={types:["Scopable"],checkPath:e=>n().isScope(e.node,e.parent)};t.Scope=l;const c={checkPath:e=>n().isReferenced(e.node,e.parent)};t.Referenced=c;const p={checkPath:e=>n().isBlockScoped(e.node)};t.BlockScoped=p;const f={types:["VariableDeclaration"],checkPath:e=>n().isVar(e.node)};t.Var=f;const d={checkPath:e=>e.node&&!!e.node.loc};t.User=d;const h={checkPath:e=>!e.isUser()};t.Generated=h;const y={checkPath:(e,t)=>e.scope.isPure(e.node,t)};t.Pure=y;const m={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath:({node:e})=>!!n().isFlow(e)||(n().isImportDeclaration(e)?"type"===e.importKind||"typeof"===e.importKind:n().isExportDeclaration(e)?"type"===e.exportKind:!!n().isImportSpecifier(e)&&("type"===e.importKind||"typeof"===e.importKind))};t.Flow=m;const v={types:["RestElement"],checkPath:e=>e.parentPath&&e.parentPath.isObjectPattern()};t.RestProperty=v;const g={types:["RestElement"],checkPath:e=>e.parentPath&&e.parentPath.isObjectExpression()};t.SpreadProperty=g;t.ExistentialTypeParam={types:["ExistsTypeAnnotation"]};t.NumericLiteralTypeAnnotation={types:["NumberLiteralTypeAnnotation"]};const T={types:["ForOfStatement"],checkPath:({node:e})=>!0===e.await};t.ForAwaitStatement=T},function(e,t,r){"use strict";function n(){const e=f(r(110));return n=function(){return e},e}function i(){const e=f(r(197));return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=f(r(412)),s=f(r(36));function o(){const e=f(r(457));return o=function(){return e},e}var u=f(r(200));function l(){const e=f(r(465));return l=function(){return e},e}function c(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return c=function(){return e},e}var p=r(79);function f(e){return e&&e.__esModule?e:{default:e}}const d={For(e){for(const t of c().FOR_INIT_KEYS){const r=e.get(t);if(r.isVar()){(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerBinding("var",r)}}},Declaration(e){if(e.isBlockScoped())return;if(e.isExportDeclaration()&&e.get("declaration").isDeclaration())return;(e.scope.getFunctionParent()||e.scope.getProgramParent()).registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");(r.isPattern()||r.isIdentifier())&&t.constantViolations.push(e)},ExportDeclaration:{exit(e){const{node:t,scope:r}=e,n=t.declaration;if(c().isClassDeclaration(n)||c().isFunctionDeclaration(n)){const t=n.id;if(!t)return;const i=r.getBinding(t.name);i&&i.reference(e)}else if(c().isVariableDeclaration(n))for(const t of n.declarations){const n=c().getBindingIdentifiers(t);for(const t in n){const n=r.getBinding(t);n&&n.reference(e)}}}},LabeledStatement(e){e.scope.getProgramParent().addGlobal(e.node),e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){"delete"===e.node.operator&&t.constantViolations.push(e)},BlockScoped(e){let t=e.scope;t.path===e&&(t=t.parent),t.getBlockParent().registerDeclaration(e)},ClassDeclaration(e){const t=e.node.id;if(!t)return;const r=t.name;e.scope.bindings[r]=e.scope.getBinding(r)},Block(e){const t=e.get("body");for(const r of t)r.isFunctionDeclaration()&&e.scope.getBlockParent().registerDeclaration(r)}};let h=0;class y{constructor(e){const{node:t}=e,r=p.scope.get(t);if(r&&r.path===e)return r;p.scope.set(t,this),this.uid=h++,this.block=t,this.path=e,this.labels=new Map}get parent(){const e=this.path.findParent(e=>e.isScope());return e&&e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,s.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);return this.push({id:t}),c().cloneNode(t)}generateUidIdentifier(e){return c().identifier(this.generateUid(e))}generateUid(e="temp"){let t;e=c().toIdentifier(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let r=0;do{t=this._generateUid(e,r),r++}while(this.hasLabel(t)||this.hasBinding(t)||this.hasGlobal(t)||this.hasReference(t));const n=this.getProgramParent();return n.references[t]=!0,n.uids[t]=!0,t}_generateUid(e,t){let r=e;return t>1&&(r+=t),`_${r}`}generateUidBasedOnNode(e,t){let r=e;c().isAssignmentExpression(e)?r=e.left:c().isVariableDeclarator(e)?r=e.id:(c().isObjectProperty(r)||c().isObjectMethod(r))&&(r=r.key);const n=[];!function e(t,r){if(c().isModuleDeclaration(t))if(t.source)e(t.source,r);else if(t.specifiers&&t.specifiers.length)for(const n of t.specifiers)e(n,r);else t.declaration&&e(t.declaration,r);else if(c().isModuleSpecifier(t))e(t.local,r);else if(c().isMemberExpression(t))e(t.object,r),e(t.property,r);else if(c().isIdentifier(t))r.push(t.name);else if(c().isLiteral(t))r.push(t.value);else if(c().isCallExpression(t))e(t.callee,r);else if(c().isObjectExpression(t)||c().isObjectPattern(t))for(const n of t.properties)e(n.key||n.argument,r);else c().isPrivateName(t)?e(t.id,r):c().isThisExpression(t)?r.push("this"):c().isSuper(t)&&r.push("super")}(r,n);let i=n.join("$");return i=i.replace(/^_/,"")||t||"ref",this.generateUid(i.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return c().identifier(this.generateUidBasedOnNode(e,t))}isStatic(e){if(c().isThisExpression(e)||c().isSuper(e))return!0;if(c().isIdentifier(e)){const t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,t){if(this.isStatic(e))return null;{const r=this.generateUidIdentifierBasedOnNode(e);return t?r:(this.push({id:r}),c().cloneNode(r))}}checkBlockScopedCollisions(e,t,r,n){if("param"===t)return;if("local"===e.kind)return;if("hoisted"===t&&"let"===e.kind)return;if("let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&("let"===t||"const"===t))throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}rename(e,t,r){const n=this.getBinding(e);if(n)return t=t||this.generateUidIdentifier(e).name,new a.default(n,e,t).rename(r)}_renameFromMap(e,t,r,n){e[t]&&(e[r]=n,e[t]=null)}dump(){const e=(0,i().default)("-",60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e in t.bindings){const r=t.bindings[e];console.log(" -",e,{constant:r.constant,references:r.references,violations:r.constantViolations.length,kind:r.kind})}}while(t=t.parent);console.log(e)}toArray(e,t){if(c().isIdentifier(e)){const t=this.getBinding(e.name);if(t&&t.constant&&t.path.isGenericType("Array"))return e}if(c().isArrayExpression(e))return e;if(c().isIdentifier(e,{name:"arguments"}))return c().callExpression(c().memberExpression(c().memberExpression(c().memberExpression(c().identifier("Array"),c().identifier("prototype")),c().identifier("slice")),c().identifier("call")),[e]);let r;const n=[e];return!0===t?r="toConsumableArray":t?(n.push(c().numericLiteral(t)),r="slicedToArray"):r="toArray",c().callExpression(this.hub.addHelper(r),n)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){const t=e.get("declarations");for(const r of t)this.registerBinding(e.node.kind,r)}else if(e.isClassDeclaration())this.registerBinding("let",e);else if(e.isImportDeclaration()){const t=e.get("specifiers");for(const e of t)this.registerBinding("module",e)}else if(e.isExportDeclaration()){const t=e.get("declaration");(t.isClassDeclaration()||t.isFunctionDeclaration()||t.isVariableDeclaration())&&this.registerDeclaration(t)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return this.hasBinding("undefined")?c().unaryExpression("void",c().numericLiteral(0),!0):c().identifier("undefined")}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r in t){const t=this.getBinding(r);t&&t.reassign(e)}}registerBinding(e,t,r=t){if(!e)throw new ReferenceError("no `kind`");if(t.isVariableDeclaration()){const r=t.get("declarations");for(const t of r)this.registerBinding(e,t);return}const n=this.getProgramParent(),i=t.getBindingIdentifiers(!0);for(const t in i)for(const a of i[t]){const i=this.getOwnBinding(t);if(i){if(i.identifier===a)continue;this.checkBlockScopedCollisions(i,e,t,a)}n.references[t]=!0,i?this.registerConstantViolation(r):this.bindings[t]=new u.default({identifier:a,scope:this,path:r,kind:e})}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let t=this;do{if(t.uids[e])return!0}while(t=t.parent);return!1}hasGlobal(e){let t=this;do{if(t.globals[e])return!0}while(t=t.parent);return!1}hasReference(e){let t=this;do{if(t.references[e])return!0}while(t=t.parent);return!1}isPure(e,t){if(c().isIdentifier(e)){const r=this.getBinding(e.name);return!!r&&(!t||r.constant)}if(c().isClass(e))return!(e.superClass&&!this.isPure(e.superClass,t))&&this.isPure(e.body,t);if(c().isClassBody(e)){for(const r of e.body)if(!this.isPure(r,t))return!1;return!0}if(c().isBinary(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(c().isArrayExpression(e)){for(const r of e.elements)if(!this.isPure(r,t))return!1;return!0}if(c().isObjectExpression(e)){for(const r of e.properties)if(!this.isPure(r,t))return!1;return!0}if(c().isClassMethod(e))return!(e.computed&&!this.isPure(e.key,t))&&("get"!==e.kind&&"set"!==e.kind);if(c().isProperty(e))return!(e.computed&&!this.isPure(e.key,t))&&this.isPure(e.value,t);if(c().isUnaryExpression(e))return this.isPure(e.argument,t);if(c().isTaggedTemplateExpression(e))return c().matchesPattern(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,t);if(c().isTemplateLiteral(e)){for(const r of e.expressions)if(!this.isPure(r,t))return!1;return!0}return c().isPureish(e)}setData(e,t){return this.data[e]=t}getData(e){let t=this;do{const r=t.data[e];if(null!=r)return r}while(t=t.parent)}removeData(e){let t=this;do{null!=t.data[e]&&(t.data[e]=null)}while(t=t.parent)}init(){this.references||this.crawl()}crawl(){const e=this.path;if(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),e.isLoop())for(const t of c().FOR_INIT_KEYS){const r=e.get(t);r.isBlockScoped()&&this.registerBinding(r.node.kind,r)}if(e.isFunctionExpression()&&e.has("id")&&(e.get("id").node[c().NOT_LOCAL_BINDING]||this.registerBinding("local",e.get("id"),e)),e.isClassExpression()&&e.has("id")&&(e.get("id").node[c().NOT_LOCAL_BINDING]||this.registerBinding("local",e)),e.isFunction()){const t=e.get("params");for(const e of t)this.registerBinding("param",e)}if(e.isCatchClause()&&this.registerBinding("let",e),this.getProgramParent().crawling)return;const t={references:[],constantViolations:[],assignments:[]};this.crawling=!0,e.traverse(d,t),this.crawling=!1;for(const e of t.assignments){const t=e.getBindingIdentifiers();let r;for(const n in t)e.scope.getBinding(n)||(r=r||e.scope.getProgramParent()).addGlobal(t[n]);e.scope.registerConstantViolation(e)}for(const e of t.references){const t=e.scope.getBinding(e.node.name);t?t.reference(e):e.scope.getProgramParent().addGlobal(e.node)}for(const e of t.constantViolations)e.scope.registerConstantViolation(e)}push(e){let t=this.path;t.isBlockStatement()||t.isProgram()||(t=this.getBlockParent().path),t.isSwitchStatement()&&(t=(this.getFunctionParent()||this.getProgramParent()).path),(t.isLoop()||t.isCatchClause()||t.isFunction())&&(t.ensureBlock(),t=t.get("body"));const r=e.unique,n=e.kind||"var",i=null==e._blockHoist?2:e._blockHoist,a=`declaration:${n}:${i}`;let s=!r&&t.getData(a);if(!s){const e=c().variableDeclaration(n,[]);e._blockHoist=i,[s]=t.unshiftContainer("body",[e]),r||t.setData(a,s)}const o=c().variableDeclarator(e.id,e.init);s.node.declarations.push(o),this.registerBinding(n,s.get("declarations").pop())}getProgramParent(){let e=this;do{if(e.path.isProgram())return e}while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do{if(e.path.isFunctionParent())return e}while(e=e.parent);return null}getBlockParent(){let e=this;do{if(e.path.isBlockParent())return e}while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){const e=Object.create(null);let t=this;do{(0,o().default)(e,t.bindings),t=t.parent}while(t);return e}getAllBindingsOfKind(){const e=Object.create(null);for(const t of arguments){let r=this;do{for(const n in r.bindings){const i=r.bindings[n];i.kind===t&&(e[n]=i)}r=r.parent}while(r)}return e}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t=this;do{const r=t.getOwnBinding(e);if(r)return r}while(t=t.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){const t=this.getBinding(e);return t&&t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return t&&t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){return!!e&&(!!this.hasOwnBinding(e)||(!!this.parentHasBinding(e,t)||(!!this.hasUid(e)||(!(t||!(0,n().default)(y.globals,e))||!(t||!(0,n().default)(y.contextVariables,e))))))}parentHasBinding(e,t){return this.parent&&this.parent.hasBinding(e,t)}moveBindingTo(e,t){const r=this.getBinding(e);r&&(r.scope.removeOwnBinding(e),r.scope=t,t.bindings[e]=r)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){const t=this.getBinding(e);t&&t.scope.removeOwnBinding(e);let r=this;do{r.uids[e]&&(r.uids[e]=!1)}while(r=r.parent)}}t.default=y,y.globals=Object.keys(l().default.builtin),y.contextVariables=["arguments","undefined","Infinity","NaN"]},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},function(e,t,r){var n=r(411),i=r(198),a=r(76),s=r(111);e.exports=function(e,t,r){return t=(r?i(e,t,r):void 0===t)?1:a(t),n(s(e),t)}},function(e,t,r){var n=r(51),i=r(34),a=r(98),s=r(27);e.exports=function(e,t,r){if(!s(r))return!1;var o=typeof t;return!!("number"==o?i(r)&&a(t,r.length):"string"==o&&t in r)&&n(r[t],e)}},function(e,t,r){var n=r(40),i=r(196),a=r(14),s=r(77),o=1/0,u=n?n.prototype:void 0,l=u?u.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return i(t,e)+"";if(s(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-o?"-0":r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor({identifier:e,scope:t,path:r,kind:n}){this.identifier=e,this.scope=t,this.path=r,this.kind=n,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,-1===this.constantViolations.indexOf(e)&&this.constantViolations.push(e)}reference(e){-1===this.referencePaths.indexOf(e)&&(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.split(".");return e=>(0,i.default)(e,r,t)};var n,i=(n=r(202))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!(0,n.isMemberExpression)(e))return!1;const i=Array.isArray(t)?t:t.split("."),a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object)a.push(s.property);if(a.push(s),a.length<i.length)return!1;if(!r&&a.length>i.length)return!1;for(let e=0,t=a.length-1;e<i.length;e++,t--){const r=a[t];let s;if((0,n.isIdentifier)(r))s=r.name;else{if(!(0,n.isStringLiteral)(r))return!1;s=r.value}if(i[e]!==s)return!1}return!0};var n=r(7)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;const r=n.PLACEHOLDERS_ALIAS[e];if(r)for(const e of r)if(t===e)return!0;return!1};var n=r(15)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(29);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const e of i){const t=n.ALIAS_KEYS[e];t&&t.length&&(a[e]=t)}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s,Object.keys(a).forEach(e=>{a[e].forEach(t=>{Object.hasOwnProperty.call(s,t)||(s[t]=[]),s[t].push(e)})})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!n.VISITOR_KEYS[e.type])};var n=r(15)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){const r={};const i={};const a=[];const s=[];for(let o=0;o<t.length;o++){const u=t[o];if(u&&!(s.indexOf(u)>=0)){if((0,n.isAnyTypeAnnotation)(u))return[u];if((0,n.isFlowBaseAnnotation)(u))i[u.type]=u;else if((0,n.isUnionTypeAnnotation)(u))a.indexOf(u.types)<0&&(t=t.concat(u.types),a.push(u.types));else if((0,n.isGenericTypeAnnotation)(u)){const t=u.id.name;if(r[t]){let n=r[t];n.typeParameters?u.typeParameters&&(n.typeParameters.params=e(n.typeParameters.params.concat(u.typeParameters.params))):n=u.typeParameters}else r[t]=u}else s.push(u)}}for(const e of Object.keys(i))s.push(i[e]);for(const e of Object.keys(r))s.push(r[e]);return s};var n=r(7)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,!1)};var n,i=(n=r(56))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;e[n]?e[n]="leading"===t?r.concat(e[n]):e[n].concat(r):e[n]=r;return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("innerComments",e,t)};var n,i=(n=r(118))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("leadingComments",e,t)};var n,i=(n=r(118))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,t),(0,i.default)(e,t),(0,a.default)(e,t),e};var n=s(r(212)),i=s(r(210)),a=s(r(209));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("trailingComments",e,t)};var n,i=(n=r(118))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isBlockStatement)(e))return e;let r=[];(0,n.isEmptyStatement)(e)?r=[]:((0,n.isStatement)(e)||(e=(0,n.isFunction)(t)?(0,i.returnStatement)(e):(0,i.expressionStatement)(e)),r=[e]);return(0,i.blockStatement)(r)};var n=r(7),i=r(20)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e=(e=(e=(e+="").replace(/[^a-zA-Z0-9$_]/g,"-")).replace(/^[-0-9]+/,"")).replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""})),(0,i.default)(e)||(e=`_${e}`);return e||"_"};var n,i=(n=r(55))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,i.default,t),e};var n=a(r(216)),i=a(r(217));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,i){if(!t)return;const a=n.VISITOR_KEYS[t.type];if(!a)return;i=i||{};r(t,i);for(const n of a){const a=t[n];if(Array.isArray(a))for(const t of a)e(t,r,i);else e(a,r,i)}};var n=r(15)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){const r=t.preserveComments?i:a;for(const t of r)null!=e[t]&&(e[t]=void 0);for(const t of Object.keys(e))"_"===t[0]&&null!=e[t]&&(e[t]=void 0);const n=Object.getOwnPropertySymbols(e);for(const t of n)e[t]=null};var n=r(37);const i=["tokens","start","end","loc","raw","rawValue"],a=n.COMMENT_KEYS.concat(["comments"]).concat(i)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e)&&("var"!==e.kind||e[i.BLOCK_SCOPED_SYMBOL])};var n=r(7),i=r(37)},function(e,t,r){var n=r(220),i=r(57),a=r(221).ArraySet,s=r(471).MappingList;function o(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new s,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(e){var t=e.sourceRoot,r=new o({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=i.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)})),e.sources.forEach((function(t){var n=e.sourceContentFor(t);null!=n&&r.setSourceContent(t,n)})),r},o.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),r=i.getArg(e,"original",null),n=i.getArg(e,"source",null),a=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,a),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=a&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:a})},o.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,t,r){var n=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=e.file}var s=this._sourceRoot;null!=s&&(n=i.relative(s,n));var o=new a,u=new a;this._mappings.unsortedForEach((function(t){if(t.source===n&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=i.join(r,t.source)),null!=s&&(t.source=i.relative(s,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var l=t.source;null==l||o.has(l)||o.add(l);var c=t.name;null==c||u.has(c)||u.add(c)}),this),this._sources=o,this._names=u,e.sources.forEach((function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=i.join(r,t)),null!=s&&(t=i.relative(s,t)),this.setSourceContent(t,n))}),this)},o.prototype._validateMapping=function(e,t,r,n){if(t&&"number"!=typeof t.line&&"number"!=typeof t.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((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||r||n)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},o.prototype._serializeMappings=function(){for(var e,t,r,a,s=0,o=1,u=0,l=0,c=0,p=0,f="",d=this._mappings.toArray(),h=0,y=d.length;h<y;h++){if(e="",(t=d[h]).generatedLine!==o)for(s=0;t.generatedLine!==o;)e+=";",o++;else if(h>0){if(!i.compareByGeneratedPositionsInflated(t,d[h-1]))continue;e+=","}e+=n.encode(t.generatedColumn-s),s=t.generatedColumn,null!=t.source&&(a=this._sources.indexOf(t.source),e+=n.encode(a-p),p=a,e+=n.encode(t.originalLine-1-l),l=t.originalLine-1,e+=n.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-c),c=r)),f+=e}return f},o.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=o},function(e,t,r){var n=r(470);t.encode=function(e){var t,r="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),r+=n.encode(t)}while(i>0);return r},t.decode=function(e,t,r){var i,a,s,o,u=e.length,l=0,c=0;do{if(t>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=n.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&a),l+=(a&=31)<<c,c+=5}while(i);r.value=(o=(s=l)>>1,1==(1&s)?-o:o),r.rest=t}},function(e,t,r){var n=r(57),i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;function s(){this._array=[],this._set=a?new Map:Object.create(null)}s.fromArray=function(e,t){for(var r=new s,n=0,i=e.length;n<i;n++)r.add(e[n],t);return r},s.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},s.prototype.add=function(e,t){var r=a?e:n.toSetString(e),s=a?this.has(e):i.call(this._set,r),o=this._array.length;s&&!t||this._array.push(e),s||(a?this._set.set(e,o):this._set[r]=o)},s.prototype.has=function(e){if(a)return this._set.has(e);var t=n.toSetString(e);return i.call(this._set,t)},s.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var r=n.toSetString(e);if(i.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},s.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},s.prototype.toArray=function(){return this._array.slice()},t.ArraySet=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.needsWhitespace=f,t.needsWhitespaceBefore=function(e,t){return f(e,t,"before")},t.needsWhitespaceAfter=function(e,t){return f(e,t,"after")},t.needsParens=function(e,t,r){if(!t)return!1;if(i().isNewExpression(t)&&t.callee===e&&function e(t){if(i().isCallExpression(t))return!0;return!!i().isMemberExpression(t)&&(e(t.object)||!t.computed&&e(t.property))}(e))return!0;return!(!i().isLogicalExpression(e)||"??"!==t.operator)||p(u,e,t,r)};var n=s(r(479));function i(){const e=s(r(21));return i=function(){return e},e}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;var t=a();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}}return r.default=e,t&&t.set(e,r),r}function o(e){const t={};function r(e,r){const n=t[e];t[e]=n?function(e,t,i){const a=n(e,t,i);return null==a?r(e,t,i):a}:r}for(const t of Object.keys(e)){const n=i().FLIPPED_ALIAS_KEYS[t];if(n)for(const i of n)r(i,e[t]);else r(t,e[t])}return t}const u=o(s(r(522))),l=o(n.nodes),c=o(n.list);function p(e,t,r,n){const i=e[t.type];return i?i(t,r,n):null}function f(e,t,r){if(!e)return 0;i().isExpressionStatement(e)&&(e=e.expression);let n=p(l,e,t);if(!n){const i=p(c,e,t);if(i)for(let t=0;t<i.length&&!(n=f(i[t],e,r));t++);}return"object"==typeof n&&null!==n&&n[r]||0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.split(".");return e=>(0,i.default)(e,r,t)};var n,i=(n=r(224))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!(0,n.isMemberExpression)(e))return!1;const i=Array.isArray(t)?t:t.split("."),a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object)a.push(s.property);if(a.push(s),a.length<i.length)return!1;if(!r&&a.length>i.length)return!1;for(let e=0,t=a.length-1;e<i.length;e++,t--){const r=a[t];let s;if((0,n.isIdentifier)(r))s=r.name;else{if(!(0,n.isStringLiteral)(r))return!1;s=r.value}if(i[e]!==s)return!1}return!0};var n=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;const r=n.PLACEHOLDERS_ALIAS[e];if(r)for(const e of r)if(t===e)return!0;return!1};var n=r(16)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(30);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const e of i){const t=n.ALIAS_KEYS[e];t&&t.length&&(a[e]=t)}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s,Object.keys(a).forEach(e=>{a[e].forEach(t=>{Object.hasOwnProperty.call(s,t)||(s[t]=[]),s[t].push(e)})})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!n.VISITOR_KEYS[e.type])};var n=r(16)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){const r={};const i={};const a=[];const s=[];for(let o=0;o<t.length;o++){const u=t[o];if(u&&!(s.indexOf(u)>=0)){if((0,n.isAnyTypeAnnotation)(u))return[u];if((0,n.isFlowBaseAnnotation)(u))i[u.type]=u;else if((0,n.isUnionTypeAnnotation)(u))a.indexOf(u.types)<0&&(t=t.concat(u.types),a.push(u.types));else if((0,n.isGenericTypeAnnotation)(u)){const t=u.id.name;if(r[t]){let n=r[t];n.typeParameters?u.typeParameters&&(n.typeParameters.params=e(n.typeParameters.params.concat(u.typeParameters.params))):n=u.typeParameters}else r[t]=u}else s.push(u)}}for(const e of Object.keys(i))s.push(i[e]);for(const e of Object.keys(r))s.push(r[e]);return s};var n=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,!1)};var n,i=(n=r(59))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;e[n]?e[n]="leading"===t?r.concat(e[n]):e[n].concat(r):e[n]=r;return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("innerComments",e,t)};var n,i=(n=r(126))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("leadingComments",e,t)};var n,i=(n=r(126))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,t),(0,i.default)(e,t),(0,a.default)(e,t),e};var n=s(r(234)),i=s(r(232)),a=s(r(231));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("trailingComments",e,t)};var n,i=(n=r(126))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isBlockStatement)(e))return e;let r=[];(0,n.isEmptyStatement)(e)?r=[]:((0,n.isStatement)(e)||(e=(0,n.isFunction)(t)?(0,i.returnStatement)(e):(0,i.expressionStatement)(e)),r=[e]);return(0,i.blockStatement)(r)};var n=r(8),i=r(22)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e=(e=(e=(e+="").replace(/[^a-zA-Z0-9$_]/g,"-")).replace(/^[-0-9]+/,"")).replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""})),(0,i.default)(e)||(e=`_${e}`);return e||"_"};var n,i=(n=r(58))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,i.default,t),e};var n=a(r(238)),i=a(r(239));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,i){if(!t)return;const a=n.VISITOR_KEYS[t.type];if(!a)return;i=i||{};r(t,i);for(const n of a){const a=t[n];if(Array.isArray(a))for(const t of a)e(t,r,i);else e(a,r,i)}};var n=r(16)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){const r=t.preserveComments?i:a;for(const t of r)null!=e[t]&&(e[t]=void 0);for(const t of Object.keys(e))"_"===t[0]&&null!=e[t]&&(e[t]=void 0);const n=Object.getOwnPropertySymbols(e);for(const t of n)e[t]=null};var n=r(38);const i=["tokens","start","end","loc","raw","rawValue"],a=n.COMMENT_KEYS.concat(["comments"]).concat(i)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e)&&("var"!==e.kind||e[i.BLOCK_SCOPED_SYMBOL])};var n=r(8),i=r(38)},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t=i();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=n?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}}r.default=e,t&&t.set(e,r);return r}(r(21));return n=function(){return e},e}function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e){if(e.declaration){const t=e.declaration;this.print(t,e),n().isStatement(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());const t=e.specifiers.slice(0);let r=!1;for(;;){const i=t[0];if(!n().isExportDefaultSpecifier(i)&&!n().isExportNamespaceSpecifier(i))break;r=!0,this.print(t.shift(),e),t.length&&(this.token(","),this.space())}(t.length||!t.length&&!r)&&(this.token("{"),t.length&&(this.space(),this.printList(t,e),this.space()),this.token("}")),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source,e)),this.semicolon()}}Object.defineProperty(t,"__esModule",{value:!0}),t.ImportSpecifier=function(e){"type"!==e.importKind&&"typeof"!==e.importKind||(this.word(e.importKind),this.space());this.print(e.imported,e),e.local&&e.local.name!==e.imported.name&&(this.space(),this.word("as"),this.space(),this.print(e.local,e))},t.ImportDefaultSpecifier=function(e){this.print(e.local,e)},t.ExportDefaultSpecifier=function(e){this.print(e.exported,e)},t.ExportSpecifier=function(e){this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))},t.ExportNamespaceSpecifier=function(e){this.token("*"),this.space(),this.word("as"),this.space(),this.print(e.exported,e)},t.ExportAllDeclaration=function(e){this.word("export"),this.space(),"type"===e.exportKind&&(this.word("type"),this.space());this.token("*"),this.space(),this.word("from"),this.space(),this.print(e.source,e),this.semicolon()},t.ExportNamedDeclaration=function(e){this.format.decoratorsBeforeExport&&n().isClassDeclaration(e.declaration)&&this.printJoin(e.declaration.decorators,e);this.word("export"),this.space(),a.apply(this,arguments)},t.ExportDefaultDeclaration=function(e){this.format.decoratorsBeforeExport&&n().isClassDeclaration(e.declaration)&&this.printJoin(e.declaration.decorators,e);this.word("export"),this.space(),this.word("default"),this.space(),a.apply(this,arguments)},t.ImportDeclaration=function(e){this.word("import"),this.space(),("type"===e.importKind||"typeof"===e.importKind)&&(this.word(e.importKind),this.space());const t=e.specifiers.slice(0);if(t&&t.length){for(;;){const r=t[0];if(!n().isImportDefaultSpecifier(r)&&!n().isImportNamespaceSpecifier(r))break;this.print(t.shift(),e),t.length&&(this.token(","),this.space())}t.length&&(this.token("{"),this.space(),this.printList(t,e),this.space(),this.token("}")),this.space(),this.word("from"),this.space()}this.print(e.source,e),this.semicolon()},t.ImportNamespaceSpecifier=function(e){this.token("*"),this.space(),this.word("as"),this.space(),this.print(e.local,e)}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t=a();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}}r.default=e,t&&t.set(e,r);return r}(r(21));return n=function(){return e},e}function i(){const e=(t=r(529))&&t.__esModule?t:{default:t};var t;return i=function(){return e},e}function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.Identifier=function(e){this.exactSource(e.loc,()=>{this.word(e.name)})},t.ArgumentPlaceholder=function(){this.token("?")},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument,e)},t.ObjectPattern=t.ObjectExpression=function(e){const t=e.properties;this.token("{"),this.printInnerComments(e),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space());this.token("}")},t.ObjectMethod=function(e){this.printJoin(e.decorators,e),this._methodHead(e),this.space(),this.print(e.body,e)},t.ObjectProperty=function(e){if(this.printJoin(e.decorators,e),e.computed)this.token("["),this.print(e.key,e),this.token("]");else{if(n().isAssignmentPattern(e.value)&&n().isIdentifier(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value,e);if(this.print(e.key,e),e.shorthand&&n().isIdentifier(e.key)&&n().isIdentifier(e.value)&&e.key.name===e.value.name)return}this.token(":"),this.space(),this.print(e.value,e)},t.ArrayPattern=t.ArrayExpression=function(e){const t=e.elements,r=t.length;this.token("["),this.printInnerComments(e);for(let n=0;n<t.length;n++){const i=t[n];i?(n>0&&this.space(),this.print(i,e),n<r-1&&this.token(",")):this.token(",")}this.token("]")},t.RegExpLiteral=function(e){this.word(`/${e.pattern}/${e.flags}`)},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){const t=this.getPossibleRaw(e),r=e.value+"";null==t?this.number(r):this.format.minified?this.number(t.length<r.length?t:r):this.number(t)},t.StringLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&null!=t)return void this.token(t);const r=this.format.jsescOption;this.format.jsonCompatibleStrings&&(r.json=!0);const n=(0,i().default)(e.value,r);return this.token(n)},t.BigIntLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&null!=t)return void this.token(t);this.token(e.value)},t.PipelineTopicExpression=function(e){this.print(e.expression,e)},t.PipelineBareFunction=function(e){this.print(e.callee,e)},t.PipelinePrimaryTopicReference=function(){this.token("#")}},function(e,t,r){"use strict";(function(e){function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(543));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=s,t.default=function(t,r,n,a={}){if(!i){i=!0;const t="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(e.emitWarning)e.emitWarning(t,"DeprecationWarning");else{new Error(t).name="DeprecationWarning",console.warn(new Error(t))}}return n=Math.max(n,0),s(t,{start:{column:n,line:r}},a)};let i=!1;const a=/\r\n|[\n\r\u2028\u2029]/;function s(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n().shouldHighlight)(r),s=(0,n().getChalk)(r),o=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(s),u=(e,t)=>i?e(t):t,l=e.split(a),{start:c,end:p,markerLines:f}=function(e,t,r){const n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:a=2,linesBelow:s=3}=r||{},o=n.line,u=n.column,l=i.line,c=i.column;let p=Math.max(o-(a+1),0),f=Math.min(t.length,l+s);-1===o&&(p=0),-1===l&&(f=t.length);const d=l-o,h={};if(d)for(let e=0;e<=d;e++){const r=e+o;if(u)if(0===e){const e=t[r-1].length;h[r]=[u,e-u+1]}else if(e===d)h[r]=[0,c];else{const n=t[r-e].length;h[r]=[0,n]}else h[r]=!0}else h[o]=u===c?!u||[u,0]:[u,c-u];return{start:p,end:f,markerLines:h}}(t,l,r),d=t.start&&"number"==typeof t.start.column,h=String(p).length;let y=(i?(0,n().default)(e,r):e).split(a).slice(c,p).map((e,t)=>{const n=c+1+t,i=` ${` ${n}`.slice(-h)} | `,a=f[n],s=!f[n+1];if(a){let t="";if(Array.isArray(a)){const n=e.slice(0,Math.max(a[0]-1,0)).replace(/[^\t]/g," "),l=a[1]||1;t=["\n ",u(o.gutter,i.replace(/\d/g," ")),n,u(o.marker,"^").repeat(l)].join(""),s&&r.message&&(t+=" "+u(o.message,r.message))}return[u(o.marker,">"),u(o.gutter,i),e,t].join("")}return` ${u(o.gutter,i)}${e}`}).join("\n");return r.message&&!d&&(y=`${" ".repeat(h+1)}${r.message}\n${y}`),i?s.reset(y):y}}).call(this,r(41))},function(e,t,r){var n=r(549),i={};for(var a in n)n.hasOwnProperty(a)&&(i[n[a]]=a);var s=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in s)if(s.hasOwnProperty(o)){if(!("channels"in s[o]))throw new Error("missing channels property: "+o);if(!("labels"in s[o]))throw new Error("missing channel labels property: "+o);if(s[o].labels.length!==s[o].channels)throw new Error("channel and label counts mismatch: "+o);var u=s[o].channels,l=s[o].labels;delete s[o].channels,delete s[o].labels,Object.defineProperty(s[o],"channels",{value:u}),Object.defineProperty(s[o],"labels",{value:l})}s.rgb.hsl=function(e){var t,r,n=e[0]/255,i=e[1]/255,a=e[2]/255,s=Math.min(n,i,a),o=Math.max(n,i,a),u=o-s;return o===s?t=0:n===o?t=(i-a)/u:i===o?t=2+(a-n)/u:a===o&&(t=4+(n-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),r=(s+o)/2,[t,100*(o===s?0:r<=.5?u/(o+s):u/(2-o-s)),100*r]},s.rgb.hsv=function(e){var t,r,n,i,a,s=e[0]/255,o=e[1]/255,u=e[2]/255,l=Math.max(s,o,u),c=l-Math.min(s,o,u),p=function(e){return(l-e)/6/c+.5};return 0===c?i=a=0:(a=c/l,t=p(s),r=p(o),n=p(u),s===l?i=n-r:o===l?i=1/3+t-n:u===l&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*a,100*l]},s.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2];return[s.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(r,n))),100*(n=1-1/255*Math.max(t,Math.max(r,n)))]},s.rgb.cmyk=function(e){var t,r=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*((1-r-(t=Math.min(1-r,1-n,1-i)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},s.rgb.keyword=function(e){var t=i[e];if(t)return t;var r,a,s,o=1/0;for(var u in n)if(n.hasOwnProperty(u)){var l=n[u],c=(a=e,s=l,Math.pow(a[0]-s[0],2)+Math.pow(a[1]-s[1],2)+Math.pow(a[2]-s[2],2));c<o&&(o=c,r=u)}return r},s.keyword.rgb=function(e){return n[e]},s.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},s.rgb.lab=function(e){var t=s.rgb.xyz(e),r=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},s.hsl.rgb=function(e){var t,r,n,i,a,s=e[0]/360,o=e[1]/100,u=e[2]/100;if(0===o)return[a=255*u,a,a];t=2*u-(r=u<.5?u*(1+o):u+o-u*o),i=[0,0,0];for(var l=0;l<3;l++)(n=s+1/3*-(l-1))<0&&n++,n>1&&n--,a=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,i[l]=255*a;return i},s.hsl.hsv=function(e){var t=e[0],r=e[1]/100,n=e[2]/100,i=r,a=Math.max(n,.01);return r*=(n*=2)<=1?n:2-n,i*=a<=1?a:2-a,[t,100*(0===n?2*i/(a+i):2*r/(n+r)),100*((n+r)/2)]},s.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),s=255*n*(1-r),o=255*n*(1-r*a),u=255*n*(1-r*(1-a));switch(n*=255,i){case 0:return[n,u,s];case 1:return[o,n,s];case 2:return[s,n,u];case 3:return[s,o,n];case 4:return[u,s,n];case 5:return[n,s,o]}},s.hsv.hsl=function(e){var t,r,n,i=e[0],a=e[1]/100,s=e[2]/100,o=Math.max(s,.01);return n=(2-a)*s,r=a*o,[i,100*(r=(r/=(t=(2-a)*o)<=1?t:2-t)||0),100*(n/=2)]},s.hwb.rgb=function(e){var t,r,n,i,a,s,o,u=e[0]/360,l=e[1]/100,c=e[2]/100,p=l+c;switch(p>1&&(l/=p,c/=p),n=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(n=1-n),i=l+n*((r=1-c)-l),t){default:case 6:case 0:a=r,s=i,o=l;break;case 1:a=i,s=r,o=l;break;case 2:a=l,s=r,o=i;break;case 3:a=l,s=i,o=r;break;case 4:a=i,s=l,o=r;break;case 5:a=r,s=l,o=i}return[255*a,255*s,255*o]},s.cmyk.rgb=function(e){var t=e[0]/100,r=e[1]/100,n=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]},s.xyz.rgb=function(e){var t,r,n,i=e[0]/100,a=e[1]/100,s=e[2]/100;return r=-.9689*i+1.8758*a+.0415*s,n=.0557*i+-.204*a+1.057*s,t=(t=3.2406*i+-1.5372*a+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))]},s.xyz.lab=function(e){var t=e[0],r=e[1],n=e[2];return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},s.lab.xyz=function(e){var t,r,n,i=e[0];t=e[1]/500+(r=(i+16)/116),n=r-e[2]/200;var a=Math.pow(r,3),s=Math.pow(t,3),o=Math.pow(n,3);return r=a>.008856?a:(r-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=o>.008856?o:(n-16/116)/7.787,[t*=95.047,r*=100,n*=108.883]},s.lab.lch=function(e){var t,r=e[0],n=e[1],i=e[2];return(t=360*Math.atan2(i,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+i*i),t]},s.lch.lab=function(e){var t,r=e[0],n=e[1];return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)]},s.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:s.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var a=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===i&&(a+=60),a},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},s.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},s.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},s.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map((function(e){return e+e})).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},s.rgb.hcg=function(e){var t,r=e[0]/255,n=e[1]/255,i=e[2]/255,a=Math.max(Math.max(r,n),i),s=Math.min(Math.min(r,n),i),o=a-s;return t=o<=0?0:a===r?(n-i)/o%6:a===n?2+(i-r)/o:4+(r-n)/o+4,t/=6,[360*(t%=1),100*o,100*(o<1?s/(1-o):0)]},s.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,i=0;return(n=r<.5?2*t*r:2*t*(1-r))<1&&(i=(r-.5*n)/(1-n)),[e[0],100*n,100*i]},s.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},s.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var i,a=[0,0,0],s=t%1*6,o=s%1,u=1-o;switch(Math.floor(s)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=u,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=u,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=u}return i=(1-r)*n,[255*(r*a[0]+i),255*(r*a[1]+i),255*(r*a[2]+i)]},s.hcg.hsv=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;return r>0&&(n=t/r),[e[0],100*n,100*r]},s.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;return r>0&&r<.5?n=t/(2*r):r>=.5&&r<1&&(n=t/(2*(1-r))),[e[0],100*n,100*r]},s.hcg.hwb=function(e){var t=e[1]/100,r=t+e[2]/100*(1-t);return[e[0],100*(r-t),100*(1-r)]},s.hwb.hcg=function(e){var t=e[1]/100,r=1-e[2]/100,n=r-t,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=s.gray.hsv=function(e){return[0,0,e[0]]},s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=!0;class i{constructor(e,t={}){this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}}const a=new Map;function s(e,t={}){t.keyword=e;const r=new i(e,t);return a.set(e,r),r}function o(e,t){return new i(e,{beforeExpr:n,binop:t})}const u={num:new i("num",{startsExpr:!0}),bigint:new i("bigint",{startsExpr:!0}),regexp:new i("regexp",{startsExpr:!0}),string:new i("string",{startsExpr:!0}),name:new i("name",{startsExpr:!0}),eof:new i("eof"),bracketL:new i("[",{beforeExpr:n,startsExpr:!0}),bracketR:new i("]"),braceL:new i("{",{beforeExpr:n,startsExpr:!0}),braceBarL:new i("{|",{beforeExpr:n,startsExpr:!0}),braceR:new i("}"),braceBarR:new i("|}"),parenL:new i("(",{beforeExpr:n,startsExpr:!0}),parenR:new i(")"),comma:new i(",",{beforeExpr:n}),semi:new i(";",{beforeExpr:n}),colon:new i(":",{beforeExpr:n}),doubleColon:new i("::",{beforeExpr:n}),dot:new i("."),question:new i("?",{beforeExpr:n}),questionDot:new i("?."),arrow:new i("=>",{beforeExpr:n}),template:new i("template"),ellipsis:new i("...",{beforeExpr:n}),backQuote:new i("`",{startsExpr:!0}),dollarBraceL:new i("${",{beforeExpr:n,startsExpr:!0}),at:new i("@"),hash:new i("#",{startsExpr:!0}),interpreterDirective:new i("#!..."),eq:new i("=",{beforeExpr:n,isAssign:!0}),assign:new i("_=",{beforeExpr:n,isAssign:!0}),incDec:new i("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:new i("!",{beforeExpr:n,prefix:!0,startsExpr:!0}),tilde:new i("~",{beforeExpr:n,prefix:!0,startsExpr:!0}),pipeline:o("|>",0),nullishCoalescing:o("??",1),logicalOR:o("||",2),logicalAND:o("&&",3),bitwiseOR:o("|",4),bitwiseXOR:o("^",5),bitwiseAND:o("&",6),equality:o("==/!=/===/!==",7),relational:o("</>/<=/>=",8),bitShift:o("<</>>/>>>",9),plusMin:new i("+/-",{beforeExpr:n,binop:10,prefix:!0,startsExpr:!0}),modulo:new i("%",{beforeExpr:n,binop:11,startsExpr:!0}),star:o("*",11),slash:o("/",11),exponent:new i("**",{beforeExpr:n,binop:12,rightAssociative:!0}),_break:s("break"),_case:s("case",{beforeExpr:n}),_catch:s("catch"),_continue:s("continue"),_debugger:s("debugger"),_default:s("default",{beforeExpr:n}),_do:s("do",{isLoop:!0,beforeExpr:n}),_else:s("else",{beforeExpr:n}),_finally:s("finally"),_for:s("for",{isLoop:!0}),_function:s("function",{startsExpr:!0}),_if:s("if"),_return:s("return",{beforeExpr:n}),_switch:s("switch"),_throw:s("throw",{beforeExpr:n,prefix:!0,startsExpr:!0}),_try:s("try"),_var:s("var"),_const:s("const"),_while:s("while",{isLoop:!0}),_with:s("with"),_new:s("new",{beforeExpr:n,startsExpr:!0}),_this:s("this",{startsExpr:!0}),_super:s("super",{startsExpr:!0}),_class:s("class",{startsExpr:!0}),_extends:s("extends",{beforeExpr:n}),_export:s("export"),_import:s("import",{startsExpr:!0}),_null:s("null",{startsExpr:!0}),_true:s("true",{startsExpr:!0}),_false:s("false",{startsExpr:!0}),_in:s("in",{beforeExpr:n,binop:8}),_instanceof:s("instanceof",{beforeExpr:n,binop:8}),_typeof:s("typeof",{beforeExpr:n,prefix:!0,startsExpr:!0}),_void:s("void",{beforeExpr:n,prefix:!0,startsExpr:!0}),_delete:s("delete",{beforeExpr:n,prefix:!0,startsExpr:!0})},l=0,c=1,p=2,f=4,d=8,h=16,y=32,m=64,v=128,g=256,T=c|p;function E(e,t){return p|(e?f:0)|(t?d:0)}const S=1,b=2,x=4,D=8,A=16,C=128,P=256,w=512,_=1024,O=S|b|D|C,F=0|S|D|0,N=0|S|x|0,I=0|S|A|0,k=0|b|C,L=0|b,M=S|b|D|P,B=0|_,j=64,R=64|S,V=M|w,q=0|_;function U(e){return null!=e&&"Property"===e.type&&"init"===e.kind&&!1===e.method}const K=/\r\n?|[\n\u2028\u2029]/,X=new RegExp(K.source,"g");function J(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const Y=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function W(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class ${constructor(e,t,r,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n}}const H={braceStatement:new $("{",!1),braceExpression:new $("{",!0),templateQuasi:new $("${",!1),parenStatement:new $("(",!1),parenExpression:new $("(",!0),template:new $("`",!0,!0,e=>e.readTmplToken()),functionExpression:new $("function",!0),functionStatement:new $("function",!1)};u.parenR.updateContext=u.braceR.updateContext=function(){if(1===this.state.context.length)return void(this.state.exprAllowed=!0);let e=this.state.context.pop();e===H.braceStatement&&"function"===this.curContext().token&&(e=this.state.context.pop()),this.state.exprAllowed=!e.isExpr},u.name.updateContext=function(e){let t=!1;e!==u.dot&&("of"===this.state.value&&!this.state.exprAllowed||"yield"===this.state.value&&this.scope.inGenerator)&&(t=!0),this.state.exprAllowed=t,this.state.isIterator&&(this.state.isIterator=!1)},u.braceL.updateContext=function(e){this.state.context.push(this.braceIsBlock(e)?H.braceStatement:H.braceExpression),this.state.exprAllowed=!0},u.dollarBraceL.updateContext=function(){this.state.context.push(H.templateQuasi),this.state.exprAllowed=!0},u.parenL.updateContext=function(e){const t=e===u._if||e===u._for||e===u._with||e===u._while;this.state.context.push(t?H.parenStatement:H.parenExpression),this.state.exprAllowed=!0},u.incDec.updateContext=function(){},u._function.updateContext=u._class.updateContext=function(e){!e.beforeExpr||e===u.semi||e===u._else||e===u._return&&K.test(this.input.slice(this.state.lastTokEnd,this.state.start))||(e===u.colon||e===u.braceL)&&this.curContext()===H.b_stat?this.state.context.push(H.functionStatement):this.state.context.push(H.functionExpression),this.state.exprAllowed=!1},u.backQuote.updateContext=function(){this.curContext()===H.template?this.state.context.pop():this.state.context.push(H.template),this.state.exprAllowed=!1};const z={strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},G=new Set(z.strict),Q=new Set(z.strict.concat(z.strictBind)),Z=(e,t)=>t&&"await"===e||"enum"===e;function ee(e,t){return Z(e,t)||G.has(e)}function te(e,t){return Z(e,t)||Q.has(e)}function re(e){return a.has(e)}const ne=/^in(stanceof)?$/;let ie="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-Ᶎꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭧꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ae="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const se=new RegExp("["+ie+"]"),oe=new RegExp("["+ie+ae+"]");ie=ae=null;const ue=[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],le=[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 ce(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}return!1}function pe(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&se.test(String.fromCharCode(e)):ce(e,ue)))}function fe(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&oe.test(String.fromCharCode(e)):ce(e,ue)||ce(e,le))))}const de=["any","bool","boolean","empty","false","mixed","null","number","static","string","true","typeof","void","interface","extends","_"];function he(e){return"type"===e.importKind||"typeof"===e.importKind}function ye(e){return(e.type===u.name||!!e.type.keyword)&&"from"!==e.value}const me={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};const ve=/\*?\s*@((?:no)?flow)\b/;const ge={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:"♦"},Te=/^[\da-fA-F]+$/,Ee=/^\d+$/;function Se(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function be(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return be(e.object)+"."+be(e.property);throw new Error("Node had unexpected type: "+e.type)}H.j_oTag=new $("<tag",!1),H.j_cTag=new $("</tag",!1),H.j_expr=new $("<tag>...</tag>",!0,!0),u.jsxName=new i("jsxName"),u.jsxText=new i("jsxText",{beforeExpr:!0}),u.jsxTagStart=new i("jsxTagStart",{startsExpr:!0}),u.jsxTagEnd=new i("jsxTagEnd"),u.jsxTagStart.updateContext=function(){this.state.context.push(H.j_expr),this.state.context.push(H.j_oTag),this.state.exprAllowed=!1},u.jsxTagEnd.updateContext=function(e){const t=this.state.context.pop();t===H.j_oTag&&e===u.slash||t===H.j_cTag?(this.state.context.pop(),this.state.exprAllowed=this.curContext()===H.j_expr):this.state.exprAllowed=!0};class xe{constructor(e){this.var=[],this.lexical=[],this.functions=[],this.flags=e}}class De{constructor(e,t){this.scopeStack=[],this.undefinedExports=new Map,this.raise=e,this.inModule=t}get inFunction(){return(this.currentVarScope().flags&p)>0}get inGenerator(){return(this.currentVarScope().flags&d)>0}get inAsync(){return(this.currentVarScope().flags&f)>0}get allowSuper(){return(this.currentThisScope().flags&m)>0}get allowDirectSuper(){return(this.currentThisScope().flags&v)>0}get inNonArrowFunction(){return(this.currentThisScope().flags&p)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new xe(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&p||!this.inModule&&e.flags&c)}declareName(e,t,r){let n=this.currentScope();if(t&D||t&A)this.checkRedeclarationInScope(n,e,t,r),t&A?n.functions.push(e):n.lexical.push(e),t&D&&this.maybeExportDefined(n,e);else if(t&x)for(let i=this.scopeStack.length-1;i>=0&&(n=this.scopeStack[i],this.checkRedeclarationInScope(n,e,t,r),n.var.push(e),this.maybeExportDefined(n,e),!(n.flags&T));--i);this.inModule&&n.flags&c&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.inModule&&e.flags&c&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.raise(n,`Identifier '${t}' has already been declared`)}isRedeclaredInScope(e,t,r){return!!(r&S)&&(r&D?e.lexical.indexOf(t)>-1||e.functions.indexOf(t)>-1||e.var.indexOf(t)>-1:r&A?e.lexical.indexOf(t)>-1||!this.treatFunctionsAsVarInScope(e)&&e.var.indexOf(t)>-1:e.lexical.indexOf(t)>-1&&!(e.flags&y&&e.lexical[0]===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.indexOf(t)>-1)}checkLocalExport(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&-1===this.scopeStack[0].functions.indexOf(e.name)&&this.undefinedExports.set(e.name,e.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScope(){for(let e=this.scopeStack.length-1;;e--){const t=this.scopeStack[e];if(t.flags&T)return t}}currentThisScope(){for(let e=this.scopeStack.length-1;;e--){const t=this.scopeStack[e];if((t.flags&T||t.flags&g)&&!(t.flags&h))return t}}}class Ae extends xe{constructor(...e){super(...e),this.types=[],this.enums=[],this.constEnums=[],this.classes=[],this.exportOnlyBindings=[]}}class Ce extends De{createScope(e){return new Ae(e)}declareName(e,t,r){const n=this.currentScope();if(t&_)return this.maybeExportDefined(n,e),void n.exportOnlyBindings.push(e);super.declareName(...arguments),t&b&&(t&S||(this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e)),n.types.push(e)),t&P&&n.enums.push(e),t&w&&n.constEnums.push(e),t&C&&n.classes.push(e)}isRedeclaredInScope(e,t,r){if(e.enums.indexOf(t)>-1){if(r&P){return!!(r&w)!==e.constEnums.indexOf(t)>-1}return!0}return r&C&&e.classes.indexOf(t)>-1?e.lexical.indexOf(t)>-1&&!!(r&S):!!(r&b&&e.types.indexOf(t)>-1)||super.isRedeclaredInScope(...arguments)}checkLocalExport(e){-1===this.scopeStack[0].types.indexOf(e.name)&&-1===this.scopeStack[0].exportOnlyBindings.indexOf(e.name)&&super.checkLocalExport(e)}}function Pe(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}function we(e){if(!e)throw new Error("Assert fail")}u.placeholder=new i("%%",{startsExpr:!0});function _e(e,t){return e.some(e=>Array.isArray(e)?e[0]===t:e===t)}function Oe(e,t,r){const n=e.find(e=>Array.isArray(e)?e[0]===t:e===t);return n&&Array.isArray(n)?n[1][r]:null}const Fe=["minimal","smart","fsharp"];const Ne={estree:e=>(class extends e{estreeParseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const n=this.estreeParseLiteral(r);return n.regex={pattern:e,flags:t},n}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}directiveToStmt(e){const t=e.value,r=this.startNodeAt(e.start,e.loc.start),n=this.startNodeAt(t.start,t.loc.start);return n.value=t.value,n.raw=t.extra.raw,r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end),r.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){U(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}checkGetterSetterParams(e){const t=e,r="get"===t.kind?0:1,n=t.start;t.value.params.length!==r&&("get"===t.kind?this.raise(n,"getter must not have any formal parameters"):this.raise(n,"setter must have exactly one formal parameter")),"set"===t.kind&&"RestElement"===t.value.params[0].type&&this.raise(n,"setter function argument must not be a rest parameter")}checkLVal(e,t=j,r,n){switch(e.type){case"ObjectPattern":e.properties.forEach(e=>{this.checkLVal("Property"===e.type?e.value:e,t,r,"object destructuring pattern")});break;default:super.checkLVal(e,t,r,n)}}checkPropClash(e,t){if("SpreadElement"===e.type||e.computed||e.method||e.shorthand)return;const r=e.key;"__proto__"===("Identifier"===r.type?r.name:String(r.value))&&"init"===e.kind&&(t.proto&&this.raise(r.start,"Redefinition of __proto__ property"),t.proto=!0)}isStrictBody(e){if("BlockStatement"===e.body.type&&e.body.body.length>0)for(let t=0,r=e.body.body;t<r.length;t++){const e=r[t];if("ExpressionStatement"!==e.type||"Literal"!==e.expression.type)break;if("use strict"===e.expression.value)return!0}return!1}isValidDirective(e){return!("ExpressionStatement"!==e.type||"Literal"!==e.expression.type||"string"!=typeof e.expression.value||e.expression.extra&&e.expression.extra.parenthesized)}stmtToDirective(e){const t=super.stmtToDirective(e),r=e.expression.value;return t.value.value=r,t}parseBlockBody(e,t,r,n){super.parseBlockBody(e,t,r,n);const i=e.directives.map(e=>this.directiveToStmt(e));e.body=i.concat(e.body),delete e.directives}pushClassMethod(e,t,r,n,i,a){this.parseMethod(t,r,n,i,a,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parseExprAtom(e){switch(this.state.type){case u.regexp:return this.estreeParseRegExpLiteral(this.state.value);case u.num:case u.string:return this.estreeParseLiteral(this.state.value);case u._null:return this.estreeParseLiteral(null);case u._true:return this.estreeParseLiteral(!0);case u._false:return this.estreeParseLiteral(!1);default:return super.parseExprAtom(e)}}parseLiteral(e,t,r,n){const i=super.parseLiteral(e,t,r,n);return i.raw=i.extra.raw,delete i.extra,i}parseFunctionBody(e,t,r=!1){super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,n,i,a,s=!1){let o=this.startNode();return o.kind=e.kind,(o=super.parseMethod(o,t,r,n,i,a,s)).type="FunctionExpression",delete o.kind,e.value=o,a="ClassMethod"===a?"MethodDefinition":a,this.finishNode(e,a)}parseObjectMethod(e,t,r,n,i){const a=super.parseObjectMethod(e,t,r,n,i);return a&&(a.type="Property","method"===a.kind&&(a.kind="init"),a.shorthand=!1),a}parseObjectProperty(e,t,r,n,i){const a=super.parseObjectProperty(e,t,r,n,i);return a&&(a.kind="init",a.type="Property"),a}toAssignable(e,t,r){return U(e)?(this.toAssignable(e.value,t,r),e):super.toAssignable(e,t,r)}toAssignableObjectExpressionProp(e,t,r){"get"===e.kind||"set"===e.kind?this.raise(e.key.start,"Object pattern can't contain getter or setter"):e.method?this.raise(e.key.start,"Object pattern can't contain methods"):super.toAssignableObjectExpressionProp(e,t,r)}}),jsx:e=>(class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){this.state.pos>=this.length&&this.raise(this.state.start,"Unterminated JSX contents");const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.exprAllowed?(++this.state.pos,this.finishToken(u.jsxTagStart)):super.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(u.jsxText,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:J(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let r;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,r=e?"\n":"\r\n"):r=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let t="",r=++this.state.pos;for(;;){this.state.pos>=this.length&&this.raise(this.state.start,"Unterminated string constant");const n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):J(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}return t+=this.input.slice(r,this.state.pos++),this.finishToken(u.string,t)}jsxReadEntity(){let e,t="",r=0,n=this.input[this.state.pos];const i=++this.state.pos;for(;this.state.pos<this.length&&r++<10;){if(";"===(n=this.input[this.state.pos++])){"#"===t[0]?"x"===t[1]?(t=t.substr(2),Te.test(t)&&(e=String.fromCodePoint(parseInt(t,16)))):(t=t.substr(1),Ee.test(t)&&(e=String.fromCodePoint(parseInt(t,10)))):e=ge[t];break}t+=n}return e||(this.state.pos=i,"&")}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(fe(e)||45===e);return this.finishToken(u.jsxName,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(u.jsxName)?e.name=this.state.value:this.state.type.keyword?e.name=this.state.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.start,t=this.state.startLoc,r=this.jsxParseIdentifier();if(!this.eat(u.colon))return r;const n=this.startNodeAt(e,t);return n.namespace=r,n.name=this.jsxParseIdentifier(),this.finishNode(n,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.start,t=this.state.startLoc;let r=this.jsxParseNamespacedName();if("JSXNamespacedName"===r.type)return r;for(;this.eat(u.dot);){const n=this.startNodeAt(e,t);n.object=r,n.property=this.jsxParseIdentifier(),r=this.finishNode(n,"JSXMemberExpression")}return r}jsxParseAttributeValue(){let e;switch(this.state.type){case u.braceL:if(e=this.startNode(),this.next(),"JSXEmptyExpression"===(e=this.jsxParseExpressionContainer(e)).expression.type)throw this.raise(e.start,"JSX attributes must only be assigned a non-empty expression");return e;case u.jsxTagStart:case u.string:return this.parseExprAtom();default:throw this.raise(this.state.start,"JSX value should be either an expression or a quoted JSX text")}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEnd,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.start,this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.expect(u.braceR),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e){return this.match(u.braceR)?e.expression=this.jsxParseEmptyExpression():e.expression=this.parseExpression(),this.expect(u.braceR),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.eat(u.braceL)?(this.expect(u.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(u.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(u.eq)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e,t){const r=this.startNodeAt(e,t);return this.match(u.jsxTagEnd)?(this.expect(u.jsxTagEnd),this.finishNode(r,"JSXOpeningFragment")):(r.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(r))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(u.slash)&&!this.match(u.jsxTagEnd);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(u.slash),this.expect(u.jsxTagEnd),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,t){const r=this.startNodeAt(e,t);return this.match(u.jsxTagEnd)?(this.expect(u.jsxTagEnd),this.finishNode(r,"JSXClosingFragment")):(r.name=this.jsxParseElementName(),this.expect(u.jsxTagEnd),this.finishNode(r,"JSXClosingElement"))}jsxParseElementAt(e,t){const r=this.startNodeAt(e,t),n=[],i=this.jsxParseOpeningElementAt(e,t);let a=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case u.jsxTagStart:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(u.slash)){a=this.jsxParseClosingElementAt(e,t);break e}n.push(this.jsxParseElementAt(e,t));break;case u.jsxText:n.push(this.parseExprAtom());break;case u.braceL:{const e=this.startNode();this.next(),this.match(u.ellipsis)?n.push(this.jsxParseSpreadChild(e)):n.push(this.jsxParseExpressionContainer(e));break}default:throw this.unexpected()}Se(i)&&!Se(a)?this.raise(a.start,"Expected corresponding JSX closing tag for <>"):!Se(i)&&Se(a)?this.raise(a.start,"Expected corresponding JSX closing tag for <"+be(i.name)+">"):Se(i)||Se(a)||be(a.name)!==be(i.name)&&this.raise(a.start,"Expected corresponding JSX closing tag for <"+be(i.name)+">")}return Se(i)?(r.openingFragment=i,r.closingFragment=a):(r.openingElement=i,r.closingElement=a),r.children=n,this.match(u.relational)&&"<"===this.state.value&&this.raise(this.state.start,"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"),Se(i)?this.finishNode(r,"JSXFragment"):this.finishNode(r,"JSXElement")}jsxParseElement(){const e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)}parseExprAtom(e){return this.match(u.jsxText)?this.parseLiteral(this.state.value,"JSXText"):this.match(u.jsxTagStart)?this.jsxParseElement():this.isRelational("<")&&33!==this.input.charCodeAt(this.state.pos)?(this.finishToken(u.jsxTagStart),this.jsxParseElement()):super.parseExprAtom(e)}getTokenFromCode(e){if(this.state.inPropertyName)return super.getTokenFromCode(e);const t=this.curContext();if(t===H.j_expr)return this.jsxReadToken();if(t===H.j_oTag||t===H.j_cTag){if(pe(e))return this.jsxReadWord();if(62===e)return++this.state.pos,this.finishToken(u.jsxTagEnd);if((34===e||39===e)&&t===H.j_oTag)return this.jsxReadString(e)}return 60===e&&this.state.exprAllowed&&33!==this.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(u.jsxTagStart)):super.getTokenFromCode(e)}updateContext(e){if(this.match(u.braceL)){const t=this.curContext();t===H.j_oTag?this.state.context.push(H.braceExpression):t===H.j_expr?this.state.context.push(H.templateQuasi):super.updateContext(e),this.state.exprAllowed=!0}else{if(!this.match(u.slash)||e!==u.jsxTagStart)return super.updateContext(e);this.state.context.length-=2,this.state.context.push(H.j_cTag),this.state.exprAllowed=!1}}}),flow:e=>(class extends e{constructor(e,t){super(e,t),this.flowPragma=void 0}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}finishToken(e,t){return e!==u.string&&e!==u.semi&&e!==u.interpreterDirective&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=ve.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}else;}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=!0,this.expect(e||u.colon);const r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){const e=this.startNode(),t=this.state.startLoc,r=this.state.start;this.expect(u.modulo);const n=this.state.startLoc;return this.expectContextual("checks"),t.line===n.line&&t.column===n.column-1||this.raise(r,"Spaces between ´%´ and ´checks´ are not allowed here."),this.eat(u.parenL)?(e.value=this.parseExpression(),this.expect(u.parenR),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(u.colon);let t=null,r=null;return this.match(u.modulo)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(u.modulo)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.isRelational("<")?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(u.parenL);const i=this.flowParseFunctionTypeParams();return r.params=i.params,r.rest=i.rest,this.expect(u.parenR),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(u._class))return this.flowParseDeclareClass(e);if(this.match(u._function))return this.flowParseDeclareFunction(e);if(this.match(u._var))return this.flowParseDeclareVariable(e);if(this.eatContextual("module"))return this.match(u.dot)?this.flowParseDeclareModuleExports(e):(t&&this.unexpected(this.state.lastTokStart,"`declare module` cannot be used inside another `declare module`"),this.flowParseDeclareModule(e));if(this.isContextual("type"))return this.flowParseDeclareTypeAlias(e);if(this.isContextual("opaque"))return this.flowParseDeclareOpaqueType(e);if(this.isContextual("interface"))return this.flowParseDeclareInterface(e);if(this.match(u._export))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(l),this.match(u.string)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();const t=e.body=this.startNode(),r=t.body=[];for(this.expect(u.braceL);!this.match(u.braceR);){let e=this.startNode();this.match(u._import)?(this.next(),this.isContextual("type")||this.match(u._typeof)||this.unexpected(this.state.lastTokStart,"Imports within a `declare module` body must always be `import type` or `import typeof`"),this.parseImport(e)):(this.expectContextual("declare","Only declares and type imports are allowed inside declare module"),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(u.braceR),this.finishNode(t,"BlockStatement");let n=null,i=!1;const a="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";return r.forEach(e=>{!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(i&&this.unexpected(e.start,"Duplicate `declare module.exports` statement"),"ES"===n&&this.unexpected(e.start,a),n="CommonJS",i=!0):("CommonJS"===n&&this.unexpected(e.start,a),n="ES")}),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(u._export),this.eat(u._default))return this.match(u._function)||this.match(u._class)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(u._const)||this.isLet()||(this.isContextual("type")||this.isContextual("interface"))&&!t){const e=this.state.value,t=me[e];this.unexpected(this.state.start,`\`declare export ${e}\` is not supported. Use \`${t}\` instead`)}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque"))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque"))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual("exports"),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){return this.next(),this.flowParseTypeAlias(e),e.type="DeclareTypeAlias",e}flowParseDeclareOpaqueType(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type="DeclareOpaqueType",e}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=!1){if(e.id=this.flowParseRestrictedIdentifier(!t),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(u._extends))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma));if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){const e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){if("_"===e)throw this.unexpected(null,"`_` is only allowed as a type argument to call or new")}checkReservedType(e,t){de.indexOf(e)>-1&&this.raise(t,`Cannot overwrite reserved type ${e}`)}flowParseRestrictedIdentifier(e){return this.checkReservedType(this.state.value,this.state.start),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(),this.scope.declareName(e.id.name,F,e.id.start),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(u.eq),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual("type"),e.id=this.flowParseRestrictedIdentifier(!0),this.scope.declareName(e.id.name,F,e.id.start),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(u.colon)&&(e.supertype=this.flowParseTypeInitialiser(u.colon)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(u.eq)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const t=this.state.start,r=this.startNode(),n=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return r.name=i.name,r.variance=n,r.bound=i.typeAnnotation,this.match(u.eq)?(this.eat(u.eq),r.default=this.flowParseType()):e&&this.unexpected(t,"Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.isRelational("<")||this.match(u.jsxTagStart)?this.next():this.unexpected();let r=!1;do{const e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.isRelational(">")||this.expect(u.comma)}while(!this.isRelational(">"));return this.expectRelational(">"),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expectRelational("<");const r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.isRelational(">");)e.params.push(this.flowParseType()),this.isRelational(">")||this.expect(u.comma);return this.state.noAnonFunctionType=r,this.expectRelational(">"),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expectRelational("<");!this.isRelational(">");)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.isRelational(">")||this.expect(u.comma);return this.expectRelational(">"),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual("interface"),e.extends=[],this.eat(u._extends))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,this.lookahead().type===u.colon?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(u.bracketR),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(u.bracketR),this.expect(u.bracketR),this.isRelational("<")||this.match(u.parenL)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(u.question)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(u.parenL);!this.match(u.parenR)&&!this.match(u.ellipsis);)e.params.push(this.flowParseFunctionTypeParam()),this.match(u.parenR)||this.expect(u.comma);return this.eat(u.ellipsis)&&(e.rest=this.flowParseFunctionTypeParam()),this.expect(u.parenR),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){const r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:n,allowInexact:i}){const a=this.state.inType;this.state.inType=!0;const s=this.startNode();let o,l;s.callProperties=[],s.properties=[],s.indexers=[],s.internalSlots=[];let c=!1;for(t&&this.match(u.braceBarL)?(this.expect(u.braceBarL),o=u.braceBarR,l=!0):(this.expect(u.braceL),o=u.braceR,l=!1),s.exact=l;!this.match(o);){let t=!1,a=null;const o=this.startNode();if(n&&this.isContextual("proto")){const t=this.lookahead();t.type!==u.colon&&t.type!==u.question&&(this.next(),a=this.state.start,e=!1)}if(e&&this.isContextual("static")){const e=this.lookahead();e.type!==u.colon&&e.type!==u.question&&(this.next(),t=!0)}const l=this.flowParseVariance();if(this.eat(u.bracketL))null!=a&&this.unexpected(a),this.eat(u.bracketL)?(l&&this.unexpected(l.start),s.internalSlots.push(this.flowParseObjectTypeInternalSlot(o,t))):s.indexers.push(this.flowParseObjectTypeIndexer(o,t,l));else if(this.match(u.parenL)||this.isRelational("<"))null!=a&&this.unexpected(a),l&&this.unexpected(l.start),s.callProperties.push(this.flowParseObjectTypeCallProperty(o,t));else{let e="init";if(this.isContextual("get")||this.isContextual("set")){const t=this.lookahead();t.type!==u.name&&t.type!==u.string&&t.type!==u.num||(e=this.state.value,this.next())}const n=this.flowParseObjectTypeProperty(o,t,a,l,e,r,i);null===n?c=!0:s.properties.push(n)}this.flowObjectTypeSemicolon()}this.expect(o),r&&(s.inexact=c);const p=this.finishNode(s,"ObjectTypeAnnotation");return this.state.inType=a,p}flowParseObjectTypeProperty(e,t,r,n,i,a,s){if(this.match(u.ellipsis)){a||this.unexpected(null,"Spread operator cannot appear in class or interface definitions"),null!=r&&this.unexpected(r),n&&this.unexpected(n.start,"Spread properties cannot have variance"),this.expect(u.ellipsis);const t=this.eat(u.comma)||this.eat(u.semi);if(this.match(u.braceR)){if(s)return null;this.unexpected(null,"Explicit inexact syntax is only allowed inside inexact objects")}return this.match(u.braceBarR)&&this.unexpected(null,"Explicit inexact syntax cannot appear inside an explicit exact object type"),t&&this.unexpected(null,"Explicit inexact syntax must appear at the end of an inexact object"),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty")}{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=i;let a=!1;return this.isRelational("<")||this.match(u.parenL)?(e.method=!0,null!=r&&this.unexpected(r),n&&this.unexpected(n.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),"get"!==i&&"set"!==i||this.flowCheckGetterSetterParams(e)):("init"!==i&&this.unexpected(),e.method=!1,this.eat(u.question)&&(a=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=a,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t="get"===e.kind?0:1,r=e.start;e.value.params.length+(e.value.rest?1:0)!==t&&("get"===e.kind?this.raise(r,"getter must not have any formal parameters"):this.raise(r,"setter must have exactly one formal parameter")),"set"===e.kind&&e.value.rest&&this.raise(r,"setter function argument must not be a rest parameter")}flowObjectTypeSemicolon(){this.eat(u.semi)||this.eat(u.comma)||this.match(u.braceR)||this.match(u.braceBarR)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;let n=r||this.parseIdentifier();for(;this.eat(u.dot);){const r=this.startNodeAt(e,t);r.qualification=n,r.id=this.parseIdentifier(),n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){const n=this.startNodeAt(e,t);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.isRelational("<")&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(u._typeof),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(u.bracketL);this.state.pos<this.length&&!this.match(u.bracketR)&&(e.types.push(this.flowParseType()),!this.match(u.bracketR));)this.expect(u.comma);return this.expect(u.bracketR),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(){let e=null,t=!1,r=null;const n=this.startNode(),i=this.lookahead();return i.type===u.colon||i.type===u.question?(e=this.parseIdentifier(),this.eat(u.question)&&(t=!0),r=this.flowParseTypeInitialiser()):r=this.flowParseType(),n.name=e,n.optional=t,n.typeAnnotation=r,this.finishNode(n,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.start,e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null;for(;!this.match(u.parenR)&&!this.match(u.ellipsis);)e.push(this.flowParseFunctionTypeParam()),this.match(u.parenR)||this.expect(u.comma);return this.eat(u.ellipsis)&&(t=this.flowParseFunctionTypeParam()),{params:e,rest:t}}flowIdentToTypeAnnotation(e,t,r,n){switch(n.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");default:return this.checkNotUnderscore(n.name),this.flowParseGenericType(e,t,n)}}flowParsePrimaryType(){const e=this.state.start,t=this.state.startLoc,r=this.startNode();let n,i,a=!1;const s=this.state.noAnonFunctionType;switch(this.state.type){case u.name:return this.isContextual("interface")?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,r,this.parseIdentifier());case u.braceL:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case u.braceBarL:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case u.bracketL:return this.state.noAnonFunctionType=!1,i=this.flowParseTupleType(),this.state.noAnonFunctionType=s,i;case u.relational:if("<"===this.state.value)return r.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(u.parenL),n=this.flowParseFunctionTypeParams(),r.params=n.params,r.rest=n.rest,this.expect(u.parenR),this.expect(u.arrow),r.returnType=this.flowParseType(),this.finishNode(r,"FunctionTypeAnnotation");break;case u.parenL:if(this.next(),!this.match(u.parenR)&&!this.match(u.ellipsis))if(this.match(u.name)){const e=this.lookahead().type;a=e!==u.question&&e!==u.colon}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,i=this.flowParseType(),this.state.noAnonFunctionType=s,this.state.noAnonFunctionType||!(this.match(u.comma)||this.match(u.parenR)&&this.lookahead().type===u.arrow))return this.expect(u.parenR),i;this.eat(u.comma)}return n=i?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(i)]):this.flowParseFunctionTypeParams(),r.params=n.params,r.rest=n.rest,this.expect(u.parenR),this.expect(u.arrow),r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation");case u.string:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case u._true:case u._false:return r.value=this.match(u._true),this.next(),this.finishNode(r,"BooleanLiteralTypeAnnotation");case u.plusMin:if("-"===this.state.value){if(this.next(),this.match(u.num))return this.parseLiteral(-this.state.value,"NumberLiteralTypeAnnotation",r.start,r.loc.start);if(this.match(u.bigint))return this.parseLiteral(-this.state.value,"BigIntLiteralTypeAnnotation",r.start,r.loc.start);this.unexpected(null,'Unexpected token, expected "number" or "bigint"')}this.unexpected();case u.num:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case u.bigint:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case u._void:return this.next(),this.finishNode(r,"VoidTypeAnnotation");case u._null:return this.next(),this.finishNode(r,"NullLiteralTypeAnnotation");case u._this:return this.next(),this.finishNode(r,"ThisTypeAnnotation");case u.star:return this.next(),this.finishNode(r,"ExistsTypeAnnotation");default:if("typeof"===this.state.type.keyword)return this.flowParseTypeofType();if(this.state.type.keyword){const e=this.state.type.label;return this.next(),super.createIdentifier(r,e)}}throw this.unexpected()}flowParsePostfixType(){const e=this.state.start,t=this.state.startLoc;let r=this.flowParsePrimaryType();for(;this.match(u.bracketL)&&!this.canInsertSemicolon();){const n=this.startNodeAt(e,t);n.elementType=r,this.expect(u.bracketL),this.expect(u.bracketR),r=this.finishNode(n,"ArrayTypeAnnotation")}return r}flowParsePrefixType(){const e=this.startNode();return this.eat(u.question)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(u.arrow)){const t=this.startNodeAt(e.start,e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(u.bitwiseAND);const t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(u.bitwiseAND);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(u.bitwiseOR);const t=this.flowParseIntersectionType();for(e.types=[t];this.eat(u.bitwiseOR);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const t=this.flowParseUnionType();return this.state.inType=e,this.state.exprAllowed=this.state.exprAllowed||this.state.noAnonFunctionType,t}flowParseTypeOrImplicitInstantiation(){if(this.state.type===u.name&&"_"===this.state.value){const e=this.state.start,t=this.state.startLoc,r=this.parseIdentifier();return this.flowParseGenericType(e,t,r)}return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(u.colon)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(u.plusMin)&&(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")),e}parseFunctionBody(e,t,r=!1){return t?this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,r)):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t,r=!1){if(this.match(u.colon)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.match(u.name)&&"interface"===this.state.value){const e=this.startNode();return this.next(),this.flowParseInterface(e)}{const r=super.parseStatement(e,t);return void 0!==this.flowPragma||this.isValidDirective(r)||(this.flowPragma=null),r}}parseExpressionStatement(e,t){if("Identifier"===t.type)if("declare"===t.name){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export))return this.flowParseDeclare(e)}else if(this.match(u.name)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){return(!this.match(u.name)||"type"!==this.state.value&&"interface"!==this.state.value&&"opaque"!==this.state.value)&&super.isExportDefaultSpecifier()}parseConditional(e,t,r,n,i){if(!this.match(u.question))return e;if(i){const a=this.state.clone();try{return super.parseConditional(e,t,r,n)}catch(t){if(t instanceof SyntaxError)return this.state=a,i.start=t.pos||this.state.start,e;throw t}}this.expect(u.question);const a=this.state.clone(),s=this.state.noArrowAt,o=this.startNodeAt(r,n);let{consequent:l,failed:c}=this.tryParseConditionalConsequent(),[p,f]=this.getArrowLikeExpressions(l);if(c||f.length>0){const e=[...s];if(f.length>0){this.state=a,this.state.noArrowAt=e;for(let t=0;t<f.length;t++)e.push(f[t].start);({consequent:l,failed:c}=this.tryParseConditionalConsequent()),[p,f]=this.getArrowLikeExpressions(l)}c&&p.length>1&&this.raise(a.start,"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),c&&1===p.length&&(this.state=a,this.state.noArrowAt=e.concat(p[0].start),({consequent:l,failed:c}=this.tryParseConditionalConsequent())),this.getArrowLikeExpressions(l,!0)}return this.state.noArrowAt=s,this.expect(u.colon),o.test=e,o.consequent=l,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(t,void 0,void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssign(),t=!this.match(u.colon);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const r=[e],n=[];for(;0!==r.length;){const e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?(this.toAssignableList(e.params,!0,"arrow function parameters"),this.scope.enter(E(!1,!1)|h),super.checkParams(e,!1,!0),this.scope.exit()):n.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}if(t){for(let t=0;t<n.length;t++)this.toAssignableList(e.params,!0,"arrow function parameters");return[n,[]]}return function(e,t){const r=[],n=[];for(let i=0;i<e.length;i++)(t(e[i],i,e)?r:n).push(e[i]);return[r,n]}(n,e=>{try{return this.toAssignableList(e.params,!0,"arrow function parameters"),!0}catch(e){return!1}})}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(u.question)&&(e.optional=!0,this.resetEndLocation(e)),this.match(u.colon)){const n=this.startNodeAt(t,r);return n.expression=e,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e){const t=super.parseExport(e);return"ExportNamedDeclaration"!==t.type&&"ExportAllDeclaration"!==t.type||(t.exportKind=t.exportKind||"value"),t}parseExportDeclaration(e){if(this.isContextual("type")){e.exportKind="type";const t=this.startNode();return this.next(),this.match(u.braceL)?(e.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual("opaque")){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual("interface")){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(...arguments)||!(!this.isContextual("type")||this.lookahead().type!==u.star)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const t=this.state.start,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(u.braceBarL,2):!this.state.inType||62!==e&&60!==e?function(e,t){return 64===e&&64===t}(e,t)?(this.state.isIterator=!0,super.readWord()):super.getTokenFromCode(e):this.finishOp(u.relational,1)}toAssignable(e,t,r){return"TypeCastExpression"===e.type?super.toAssignable(this.typeCastToParameter(e),t,r):super.toAssignable(e,t,r)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];r&&"TypeCastExpression"===r.type&&(e[t]=this.typeCastToParameter(r))}return super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let r=0;r<e.length;r++){const n=e[r];!n||"TypeCastExpression"!==n.type||n.extra&&n.extra.parenthesized||!(e.length>1)&&t||this.raise(n.typeAnnotation.start,"The type cast expression is expected to be wrapped with parenthesis")}return e}checkLVal(e,t=j,r,n){if("TypeCastExpression"!==e.type)return super.checkLVal(e,t,r,n)}parseClassProperty(e){return this.match(u.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(u.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.colon)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(u.colon)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,a){t.variance&&this.unexpected(t.variance.start),delete t.variance,this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,n,i,a)}pushClassPrivateMethod(e,t,r,n){t.variance&&this.unexpected(t.variance.start),delete t.variance,this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.isRelational("<")&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual("implements")){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(u.comma))}}parsePropertyName(e){const t=this.flowParseVariance(),r=super.parsePropertyName(e);return e.variance=t,r}parseObjPropValue(e,t,r,n,i,a,s,o){let l;e.variance&&this.unexpected(e.variance.start),delete e.variance,this.isRelational("<")&&(l=this.flowParseTypeParameterDeclaration(),this.match(u.parenL)||this.unexpected()),super.parseObjPropValue(e,t,r,n,i,a,s,o),l&&((e.value||e).typeParameters=l)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if("Identifier"!==e.type)throw this.raise(e.start,"A binding pattern parameter cannot be optional in an implementation signature.");e.optional=!0}return this.match(u.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),this.resetEndLocation(e),e}parseMaybeDefault(e,t,r){const n=super.parseMaybeDefault(e,t,r);return"AssignmentPattern"===n.type&&n.typeAnnotation&&n.right.start<n.typeAnnotation.start&&this.raise(n.typeAnnotation.start,"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`"),n}shouldParseDefaultImport(e){return he(e)?ye(this.state):super.shouldParseDefaultImport(e)}parseImportSpecifierLocal(e,t,r,n){t.local=he(e)?this.flowParseRestrictedIdentifier(!0):this.parseIdentifier(),this.checkLVal(t.local,F,void 0,n),e.specifiers.push(this.finishNode(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(u._typeof)?t="typeof":this.isContextual("type")&&(t="type"),t){const r=this.lookahead();"type"===t&&r.type===u.star&&this.unexpected(r.start),(ye(r)||r.type===u.braceL||r.type===u.star)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e){const t=this.startNode(),r=this.state.start,n=this.parseIdentifier(!0);let i=null;"type"===n.name?i="type":"typeof"===n.name&&(i="typeof");let a=!1;if(this.isContextual("as")&&!this.isLookaheadContextual("as")){const e=this.parseIdentifier(!0);null===i||this.match(u.name)||this.state.type.keyword?(t.imported=n,t.importKind=null,t.local=this.parseIdentifier()):(t.imported=e,t.importKind=i,t.local=e.__clone())}else null!==i&&(this.match(u.name)||this.state.type.keyword)?(t.imported=this.parseIdentifier(!0),t.importKind=i,this.eatContextual("as")?t.local=this.parseIdentifier():(a=!0,t.local=t.imported.__clone())):(a=!0,t.imported=n,t.importKind=null,t.local=t.imported.__clone());const s=he(e),o=he(t);s&&o&&this.raise(r,"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"),(s||o)&&this.checkReservedType(t.local.name,t.local.start),!a||s||o||this.checkReservedWord(t.local.name,t.start,!0,!0),this.checkLVal(t.local,F,void 0,"import specifier"),e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}parseFunctionParams(e,t){const r=e.kind;"get"!==r&&"set"!==r&&this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(u.colon)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(u.colon)){const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(u.colon)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t,r,n){let i=null;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){const a=this.state.clone();try{return super.parseMaybeAssign(e,t,r,n)}catch(e){if(!(e instanceof SyntaxError))throw e;{this.state=a;const t=this.state.context.length;this.state.context[t-1]===H.j_oTag&&(this.state.context.length-=2),i=e}}}if(null!=i||this.isRelational("<")){let a,s;try{s=this.flowParseTypeParameterDeclaration(),(a=this.forwardNoArrowParamsConversionAt(s,()=>super.parseMaybeAssign(e,t,r,n))).typeParameters=s,this.resetStartLocationFromNode(a,s)}catch(e){throw i||e}if("ArrowFunctionExpression"===a.type)return a;if(null!=i)throw i;this.raise(s.start,"Expected an arrow function after this type parameter declaration")}return super.parseMaybeAssign(e,t,r,n)}parseArrow(e){if(this.match(u.colon)){const t=this.state.clone();try{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const r=this.startNode();[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(u.arrow)||this.unexpected(),e.returnType=r.typeAnnotation?this.finishNode(r,"TypeAnnotation"):null}catch(e){if(!(e instanceof SyntaxError))throw e;this.state=t}}return super.parseArrow(e)}shouldParseArrow(){return this.match(u.colon)||super.shouldParseArrow()}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start))return super.checkParams(e,t,r)}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r,n){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();const n=this.startNodeAt(t,r);n.callee=e,n.arguments=this.parseCallExpressionArguments(u.parenR,!1),e=this.finishNode(n,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.isRelational("<")){const i=this.state.clone();let a;try{const e=this.parseAsyncArrowWithTypeParameters(t,r);if(e)return e}catch(e){a=e}this.state=i;try{return super.parseSubscripts(e,t,r,n)}catch(e){throw a||e}}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i,a){if(this.match(u.questionDot)&&this.isLookaheadRelational("<")){if(this.expectPlugin("optionalChaining"),i.optionalChainMember=!0,n)return i.stop=!0,e;this.next();const a=this.startNodeAt(t,r);return a.callee=e,a.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(u.parenL),a.arguments=this.parseCallExpressionArguments(u.parenR,!1),a.optional=!0,this.finishNode(a,"OptionalCallExpression")}if(!n&&this.shouldParseTypes()&&this.isRelational("<")){const n=this.startNodeAt(t,r);n.callee=e;const a=this.state.clone();try{return n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(u.parenL),n.arguments=this.parseCallExpressionArguments(u.parenR,!1),i.optionalChainMember?(n.optional=!1,this.finishNode(n,"OptionalCallExpression")):this.finishNode(n,"CallExpression")}catch(e){if(!(e instanceof SyntaxError))throw e;this.state=a}}return super.parseSubscript(e,t,r,n,i,a)}parseNewArguments(e){let t=null;if(this.shouldParseTypes()&&this.isRelational("<")){const e=this.state.clone();try{t=this.flowParseTypeParameterInstantiationCallOrNew()}catch(t){if(!(t instanceof SyntaxError))throw t;this.state=e}}e.typeArguments=t,super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);if(this.parseFunctionParams(r),this.parseArrow(r))return this.parseArrowExpression(r,void 0,!0)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(u.braceBarR,2)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.unexpected(null,"Unterminated flow-comment"),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment())return this.state.hasFlowComment&&this.unexpected(null,"Cannot have a flow comment inside another flow comment"),this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0);if(this.state.hasFlowComment){const e=this.input.indexOf("*-/",this.state.pos+=2);return-1===e&&this.raise(this.state.pos-2,"Unterminated comment"),void(this.state.pos=e+3)}super.skipBlockComment()}skipFlowComment(){const{pos:e}=this.state;let t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;const r=this.input.charCodeAt(t+e),n=this.input.charCodeAt(t+e+1);return 58===r&&58===n?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==n&&t}hasFlowCommentCompletion(){-1===this.input.indexOf("*/",this.state.pos)&&this.raise(this.state.pos,"Unterminated comment")}}),typescript:e=>(class extends e{getScopeHandler(){return Ce}tsIsIdentifier(){return this.match(u.name)}tsNextTokenCanFollowModifier(){return this.next(),!(this.hasPrecedingLineBreak()||this.match(u.parenL)||this.match(u.parenR)||this.match(u.colon)||this.match(u.eq)||this.match(u.question)||this.match(u.bang))}tsParseModifier(e){if(!this.match(u.name))return;const t=this.state.value;return-1!==e.indexOf(t)&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))?t:void 0}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")}tsParseList(e,t){const r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t){return Pe(this.tsParseDelimitedListWorker(e,t,!0))}tsParseDelimitedListWorker(e,t,r){const n=[];for(;!this.tsIsListTerminator(e);){const i=t();if(null==i)return;if(n.push(i),!this.eat(u.comma)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(u.comma))}}return n}tsParseBracketedList(e,t,r,n){n||(r?this.expect(u.bracketL):this.expectRelational("<"));const i=this.tsParseDelimitedList(e,t);return r?this.expect(u.bracketR):this.expectRelational(">"),i}tsParseImportType(){const e=this.startNode();if(this.expect(u._import),this.expect(u.parenL),!this.match(u.string))throw this.unexpected(null,"Argument in a type import must be a string literal");return e.argument=this.parseExprAtom(),this.expect(u.parenR),this.eat(u.dot)&&(e.qualifier=this.tsParseEntityName(!0)),this.isRelational("<")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();for(;this.eat(u.dot);){const r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.isRelational("<")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();const t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const e=this.startNode();return this.expect(u._typeof),this.match(u._import)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(!0),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();return e.name=this.parseIdentifierName(e.start),e.constraint=this.tsEatThenParseType(u._extends),e.default=this.tsEatThenParseType(u.eq),this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.isRelational("<"))return this.tsParseTypeParameters()}tsParseTypeParameters(){const e=this.startNode();return this.isRelational("<")||this.match(u.jsxTagStart)?this.next():this.unexpected(),e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0),this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){return this.lookahead().type===u._const?(this.next(),this.tsParseTypeReference()):null}tsFillSignature(e,t){const r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(u.parenL),t.parameters=this.tsParseBindingListForSignature(),r?t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(u.parenR).map(e=>{if("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type)throw this.unexpected(e.start,"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern,"+`instead got ${e.type}`);return e})}tsParseTypeMemberSemicolon(){this.eat(u.comma)||this.semicolon()}tsParseSignatureMember(e,t){return this.tsFillSignature(u.colon,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),this.eat(u.name)&&this.match(u.colon)}tsTryParseIndexSignature(e){if(!this.match(u.bracketL)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(u.bracketL);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(u.bracketR),e.parameters=[t];const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(u.question)&&(e.optional=!0);const r=e;if(t||!this.match(u.parenL)&&!this.isRelational("<")){const e=r;t&&(e.readonly=!0);const n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}{const e=r;return this.tsFillSignature(u.colon,e),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSMethodSignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(u.parenL)||this.isRelational("<"))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(u._new)){const t=this.startNode();return this.next(),this.match(u.parenL)||this.isRelational("<")?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}const t=!!this.tsParseModifier(["readonly"]),r=this.tsTryParseIndexSignature(e);return r?(t&&(e.readonly=!0),r):(this.parsePropertyName(e),this.tsParsePropertyOrMethodSignature(e,t))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(u.braceL);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(u.braceR),e}tsIsStartOfMappedType(){return this.next(),this.eat(u.plusMin)?this.isContextual("readonly"):(this.isContextual("readonly")&&this.next(),!!this.match(u.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(u._in))))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.parseIdentifierName(e.start),e.constraint=this.tsExpectThenParseType(u._in),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(u.braceL),this.match(u.plusMin)?(e.readonly=this.state.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(e.readonly=!0),this.expect(u.bracketL),e.typeParameter=this.tsParseMappedTypeParameter(),this.expect(u.bracketR),this.match(u.plusMin)?(e.optional=this.state.value,this.next(),this.expect(u.question)):this.eat(u.question)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(u.braceR),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1;return e.elementTypes.forEach(e=>{"TSOptionalType"===e.type?t=!0:t&&"TSRestType"!==e.type&&this.raise(e.start,"A required element cannot follow an optional element.")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){if(this.match(u.ellipsis)){const e=this.startNode();return this.next(),e.typeAnnotation=this.tsParseType(),this.checkCommaAfterRest(),this.finishNode(e,"TSRestType")}const e=this.tsParseType();if(this.eat(u.question)){const t=this.startNodeAtNode(e);return t.typeAnnotation=e,this.finishNode(t,"TSOptionalType")}return e}tsParseParenthesizedType(){const e=this.startNode();return this.expect(u.parenL),e.typeAnnotation=this.tsParseType(),this.expect(u.parenR),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e){const t=this.startNode();return"TSConstructorType"===e&&this.expect(u._new),this.tsFillSignature(u.arrow,t),this.finishNode(t,e)}tsParseLiteralTypeNode(){const e=this.startNode();return e.literal=(()=>{switch(this.state.type){case u.num:case u.string:case u._true:case u._false:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode(),t=this.parseTemplate(!1);if(t.expressions.length>0)throw this.raise(t.expressions[0].start,"Template literal types cannot have any substitution");return e.literal=t,this.finishNode(e,"TSLiteralType")}tsParseNonArrayType(){switch(this.state.type){case u.name:case u._void:case u._null:{const e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.state.value);if(void 0!==e&&this.lookahead().type!==u.dot){const t=this.startNode();return this.next(),this.finishNode(t,e)}return this.tsParseTypeReference()}case u.string:case u.num:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if("-"===this.state.value){const e=this.startNode();if(this.lookahead().type!==u.num)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case u._this:{const e=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}case u._typeof:return this.tsParseTypeQuery();case u._import:return this.tsParseImportType();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType();case u.backQuote:return this.tsParseTemplateLiteralType()}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(u.bracketL);)if(this.match(u.bracketR)){const t=this.startNodeAtNode(e);t.elementType=e,this.expect(u.bracketR),e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(u.bracketR),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(e){const t=this.startNode();return this.expectContextual(e),t.operator=e,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===e&&this.tsCheckTypeAnnotationForReadOnly(t),this.finishNode(t,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,"'readonly' type modifier is only permitted on array and tuple literal types.")}}tsParseInferType(){const e=this.startNode();this.expectContextual("infer");const t=this.startNode();return t.name=this.parseIdentifierName(t.start),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=["keyof","unique","readonly"].find(e=>this.isContextual(e));return e?this.tsParseTypeOperator(e):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){this.eat(r);let n=t();if(this.match(r)){const i=[n];for(;this.eat(r);)i.push(t());const a=this.startNodeAtNode(n);a.types=i,n=this.finishNode(a,e)}return n}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)}tsIsStartOfFunctionType(){return!!this.isRelational("<")||this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(this.match(u.name)||this.match(u._this))return this.next(),!0;if(this.match(u.braceL)){let e=1;for(this.next();e>0;)this.match(u.braceL)?++e:this.match(u.braceR)&&--e,this.next();return!0}if(this.match(u.bracketL)){let e=1;for(this.next();e>0;)this.match(u.bracketL)?++e:this.match(u.bracketR)&&--e,this.next();return!0}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(u.parenR)||this.match(u.ellipsis))return!0;if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq))return!0;if(this.match(u.parenR)&&(this.next(),this.match(u.arrow)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!r)return this.tsParseTypeAnnotation(!1,t);const n=this.tsParseTypeAnnotation(!1),i=this.startNodeAtNode(r);return i.parameterName=r,i.typeAnnotation=n,t.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):void 0}tsTryParseTypeAnnotation(){return this.match(u.colon)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(u.colon)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType(()=>{e&&this.expect(u.colon),t.typeAnnotation=this.tsParseType()}),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){we(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends))return e;const t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsParseNonConditionalType(),this.expect(u.question),t.trueType=this.tsParseType(),this.expect(u.colon),t.falseType=this.tsParseType(),this.finishNode(t,"TSConditionalType")}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(u._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){const e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expectRelational(">"),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start,r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));return r.length||this.raise(t,`'${e}' list cannot be empty.`),r}tsParseExpressionWithTypeArguments(){const e=this.startNode();return e.expression=this.tsParseEntityName(!1),this.isRelational("<")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){e.id=this.parseIdentifier(),this.checkLVal(e.id,k,void 0,"typescript interface declaration"),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(u._extends)&&(e.extends=this.tsParseHeritageClause("extends"));const t=this.startNode();return t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(t,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkLVal(e.id,L,void 0,"typescript type alias"),e.typeParameters=this.tsTryParseTypeParameters(),e.typeAnnotation=this.tsExpectThenParseType(u.eq),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){const t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>(e(),this.tsParseType()))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(u.string)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(u.eq)&&(e.initializer=this.parseMaybeAssign()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){return t&&(e.const=!0),e.id=this.parseIdentifier(),this.checkLVal(e.id,t?V:M,void 0,"typescript enum declaration"),this.expect(u.braceL),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(u.braceR),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(l),this.expect(u.braceL),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,u.braceR),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkLVal(e.id,q,null,"module or namespace declaration"),this.eat(u.dot)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else e.body=this.tsParseModuleBlock();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual("global")?(e.global=!0,e.id=this.parseIdentifier()):this.match(u.string)?e.id=this.parseExprAtom():this.unexpected(),this.match(u.braceL)?e.body=this.tsParseModuleBlock():this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){return e.isExport=t||!1,e.id=this.parseIdentifier(),this.expect(u.eq),e.moduleReference=this.tsParseModuleReference(),this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookahead().type===u.parenL}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();if(this.expectContextual("require"),this.expect(u.parenL),!this.match(u.string))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(u.parenR),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){const t=this.state.clone();try{return e()}catch(e){if(e instanceof SyntaxError)return void(this.state=t);throw e}}tsTryParse(e){const t=this.state.clone(),r=e();return void 0!==r&&!1!==r?r:void(this.state=t)}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;switch(this.isContextual("let")&&(r=u._var,t="let"),r){case u._function:return this.parseFunctionStatement(e,!1,!0);case u._class:return e.declare=!0,this.parseClass(e,!0,!1);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum"))return this.expect(u._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(e,!0);case u._var:return t=t||this.state.value,this.parseVarStatement(e,t);case u.name:{const t=this.state.value;return"global"===t?this.tsParseAmbientExternalModuleDeclaration(e):this.tsParseDeclaration(e,t,!0)}}}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(u.braceL)){const r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminatorAndMatch(u._class,r)){const t=e;return t.abstract=!0,r&&(this.next(),this.match(u._class)||this.unexpected(null,u._class)),this.parseClass(t,!0,!1)}break;case"enum":if(r||this.match(u.name))return r&&this.next(),this.tsParseEnumDeclaration(e,!1);break;case"interface":if(this.tsCheckLineTerminatorAndMatch(u.name,r))return r&&this.next(),this.tsParseInterfaceDeclaration(e);break;case"module":if(r&&this.next(),this.match(u.string))return this.tsParseAmbientExternalModuleDeclaration(e);if(this.tsCheckLineTerminatorAndMatch(u.name,r))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"namespace":if(this.tsCheckLineTerminatorAndMatch(u.name,r))return r&&this.next(),this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminatorAndMatch(u.name,r))return r&&this.next(),this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminatorAndMatch(e,t){return(t||this.match(e))&&!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.isRelational("<"))return;const r=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);return r.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(u.arrow),r});return r?this.parseArrowExpression(r,null,!0):void 0}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expectRelational("<"),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),this.state.exprAllowed=!1,this.expectRelational(">"),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){if(this.match(u.name))switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return!0}return!1}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start,n=this.state.startLoc;let i,a=!1;e&&(i=this.parseAccessModifier(),a=!!this.tsParseModifier(["readonly"]));const s=this.parseMaybeDefault();this.parseAssignableListItemTypes(s);const o=this.parseMaybeDefault(s.start,s.loc.start,s);if(i||a){const e=this.startNodeAt(r,n);if(t.length&&(e.decorators=t),i&&(e.accessibility=i),a&&(e.readonly=a),"Identifier"!==o.type&&"AssignmentPattern"!==o.type)throw this.raise(e.start,"A parameter property may not be declared using a binding pattern.");return e.parameter=o,this.finishNode(e,"TSParameterProperty")}return t.length&&(s.decorators=t),o}parseFunctionBodyAndFinish(e,t,r=!1){this.match(u.colon)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon));const n="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t?"TSDeclareMethod":void 0;n&&!this.match(u.braceL)&&this.isLineTerminator()?this.finishNode(e,n):super.parseFunctionBodyAndFinish(e,t,r)}checkFunctionStatementId(e){!e.body&&e.id?this.checkLVal(e.id,B,null,"function name"):super.checkFunctionStatementId(...arguments)}parseSubscript(e,t,r,n,i,a){if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=!1,this.next();const n=this.startNodeAt(t,r);return n.expression=e,this.finishNode(n,"TSNonNullExpression")}if(this.isRelational("<")){const a=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsync(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e)return e}const a=this.startNodeAt(t,r);a.callee=e;const s=this.tsParseTypeArguments();if(s){if(!n&&this.eat(u.parenL))return a.arguments=this.parseCallExpressionArguments(u.parenR,!1),a.typeParameters=s,this.finishCallExpression(a);if(this.match(u.backQuote))return this.parseTaggedTemplateExpression(t,r,e,i,s)}this.unexpected()});if(a)return a}return super.parseSubscript(e,t,r,n,i,a)}parseNewArguments(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();return this.match(u.parenL)||this.unexpected(),e});t&&(e.typeParameters=t)}super.parseNewArguments(e)}parseExprOp(e,t,r,n,i){if(Pe(u._in.binop)>n&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){const a=this.startNodeAt(t,r);a.expression=e;const s=this.tsTryNextParseConstantContext();return a.typeAnnotation=s||this.tsNextThenParseType(),this.finishNode(a,"TSAsExpression"),this.parseExprOp(a,t,r,n,i)}return super.parseExprOp(e,t,r,n,i)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){return this.match(u.name)&&this.lookahead().type===u.eq?this.tsParseImportEqualsDeclaration(e):super.parseImport(e)}parseExport(e){if(this.match(u._import))return this.expect(u._import),this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(u.eq)){const t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual("as")){const t=e;return this.expectContextual("namespace"),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return super.parseExport(e)}isAbstractClass(){return this.isContextual("abstract")&&this.lookahead().type===u._class}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),this.parseClass(e,!0,!0),e.abstract=!0,e}if("interface"===this.state.value){const e=this.tsParseDeclaration(this.startNode(),this.state.value,!0);if(e)return e}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(this.state.type===u._const){const e=this.lookahead();if(e.type===u.name&&"enum"===e.value){const e=this.startNode();return this.expect(u._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(e,!0)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}parseClassMember(e,t,r,n){const i=this.parseAccessModifier();i&&(t.accessibility=i),super.parseClassMember(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n,i){const a=t,s=t,o=t;let u=!1,l=!1;switch(this.tsParseModifier(["abstract","readonly"])){case"readonly":l=!0,u=!!this.tsParseModifier(["abstract"]);break;case"abstract":u=!0,l=!!this.tsParseModifier(["readonly"])}if(u&&(a.abstract=!0),l&&(o.readonly=!0),!u&&!n&&!a.accessibility){const r=this.tsTryParseIndexSignature(t);if(r)return void e.body.push(r)}if(l)return a.static=n,this.parseClassPropertyName(s),this.parsePostMemberNameModifiers(a),void this.pushClassProperty(e,s);super.parseClassMemberWithIsStatic(e,t,r,n,i)}parsePostMemberNameModifiers(e){this.eat(u.question)&&(e.optional=!0)}parseExpressionStatement(e,t){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0)||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r,n,i){if(!i||!this.match(u.question))return super.parseConditional(e,t,r,n,i);const a=this.state.clone();try{return super.parseConditional(e,t,r,n)}catch(t){if(!(t instanceof SyntaxError))throw t;return this.state=a,i.start=t.pos||this.state.start,e}}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(u.question)&&(e.optional=!0,this.resetEndLocation(e)),this.match(u.colon)){const n=this.startNodeAt(t,r);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start,r=this.state.startLoc,n=this.eatContextual("declare");let i;return this.match(u.name)&&(i=this.tsTryParseExportDeclaration()),i||(i=super.parseExportDeclaration(e)),i&&n&&(this.resetStartLocation(i,t,r),i.declare=!0),i}parseClassId(e,t,r){if((!t||r)&&this.isContextual("implements"))return;super.parseClassId(e,t,r,e.declare?B:O);const n=this.tsTryParseTypeParameters();n&&(e.typeParameters=n)}parseClassProperty(e){!e.optional&&this.eat(u.bang)&&(e.definite=!0);const t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),super.parseClassProperty(e)}pushClassMethod(e,t,r,n,i,a){const s=this.tsTryParseTypeParameters();s&&(t.typeParameters=s),super.pushClassMethod(e,t,r,n,i,a)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&this.isRelational("<")&&(e.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual("implements")&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&this.eat(u.bang)&&(e.definite=!0);const r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(u.colon)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){let t,r,n;if(this.match(u.jsxTagStart)){we(this.curContext()===H.j_oTag),we(this.state.context[this.state.context.length-2]===H.j_expr);const r=this.state.clone();try{return super.parseMaybeAssign(...e)}catch(e){if(!(e instanceof SyntaxError))throw e;this.state=r,we(this.curContext()===H.j_oTag),this.state.context.pop(),we(this.curContext()===H.j_expr),this.state.context.pop(),t=e}}if(void 0===t&&!this.isRelational("<"))return super.parseMaybeAssign(...e);const i=this.state.clone();try{n=this.tsParseTypeParameters(),("ArrowFunctionExpression"!==(r=super.parseMaybeAssign(...e)).type||r.extra&&r.extra.parenthesized)&&this.unexpected()}catch(r){if(!(r instanceof SyntaxError))throw r;if(t)throw t;return we(!this.hasPlugin("jsx")),this.state=i,super.parseMaybeAssign(...e)}return n&&0!==n.params.length&&this.resetStartLocationFromNode(r,n),r.typeParameters=n,r}parseMaybeUnary(e){return!this.hasPlugin("jsx")&&this.isRelational("<")?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}parseArrow(e){if(this.match(u.colon)){const t=this.state.clone();try{const r=this.tsParseTypeOrTypePredicateAnnotation(u.colon);if(this.canInsertSemicolon()||!this.match(u.arrow))return void(this.state=t);e.returnType=r}catch(e){if(!(e instanceof SyntaxError))throw e;this.state=t}}return super.parseArrow(e)}parseAssignableListItemTypes(e){if(this.eat(u.question)){if("Identifier"!==e.type)throw this.raise(e.start,"A binding pattern parameter cannot be optional in an implementation signature.");e.optional=!0}const t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}toAssignable(e,t,r){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t,r);case"TSParameterProperty":return super.toAssignable(e,t,r);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return e.expression=this.toAssignable(e.expression,t,r),e;default:return super.toAssignable(e,t,r)}}checkLVal(e,t=j,r,n){switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":return void this.checkLVal(e.parameter,t,r,"parameter property");case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return void this.checkLVal(e.expression,t,r,n);default:return void super.checkLVal(e,t,r,n)}}parseBindingAtom(){switch(this.state.type){case u._this:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.isRelational("<")){const t=this.tsParseTypeArguments();if(this.match(u.parenL)){const r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(this.state.start,u.parenL)}return super.parseMaybeDecoratorArguments(e)}isClassMethod(){return this.isRelational("<")||super.isClassMethod()}isClassProperty(){return this.match(u.bang)||this.match(u.colon)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);return"AssignmentPattern"===t.type&&t.typeAnnotation&&t.right.start<t.typeAnnotation.start&&this.raise(t.typeAnnotation.start,"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`"),t}getTokenFromCode(e){return!this.state.inType||62!==e&&60!==e?super.getTokenFromCode(e):this.finishOp(u.relational,1)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];if(r)switch(r.type){case"TSTypeCastExpression":e[t]=this.typeCastToParameter(r);break;case"TSAsExpression":case"TSTypeAssertion":this.raise(r.start,"Unexpected type cast in parameter position.")}}return super.toAssignableList(e,t,r)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end,e.typeAnnotation.loc.end),e.expression}toReferencedList(e,t){for(let t=0;t<e.length;t++){const r=e[t];r&&r._exprListItem&&"TsTypeCastExpression"===r.type&&this.raise(r.start,"Did not expect a type annotation here.")}return e}shouldParseArrow(){return this.match(u.colon)||super.shouldParseArrow()}shouldParseAsyncArrow(){return this.match(u.colon)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.isRelational("<")){const t=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),r=e.params[0];return r&&"Identifier"===r.type&&"this"===r.name?t+1:t}}),v8intrinsic:e=>(class extends e{parseV8Intrinsic(){if(this.match(u.modulo)){const e=this.state.start,t=this.startNode();if(this.eat(u.modulo),this.match(u.name)){const e=this.parseIdentifierName(this.state.start),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(u.parenL))return r}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}}),placeholders:e=>(class extends e{parsePlaceholder(e){if(this.match(u.placeholder)){const t=this.startNode();return this.next(),this.assertNoSpace("Unexpected space in placeholder."),t.name=super.parseIdentifier(!0),this.assertNoSpace("Unexpected space in placeholder."),this.expect(u.placeholder),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(u.placeholder,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){void 0!==e&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){"Placeholder"!==e.type&&super.checkLVal(...arguments)}toAssignable(e){return e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?(e.expectedNode="Pattern",e):super.toAssignable(...arguments)}verifyBreakContinue(e){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(u.colon)){const r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=this.parseStatement("label"),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const n=t?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(e);const i=this.parsePlaceholder("Identifier");if(i)if(this.match(u._extends)||this.match(u.placeholder)||this.match(u.braceL))e.id=i;else{if(r||!t)return e.id=null,e.body=this.finishPlaceholder(i,"ClassBody"),this.finishNode(e,n);this.unexpected(null,"A class name is required")}else this.parseClassId(e,t,r);return this.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass),this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual("from")&&!this.match(u.comma))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(t,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const r=this.startNode();return r.exported=t,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e)}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;t&&t.length&&(e.specifiers=t.filter(e=>"Placeholder"===e.exported.type)),super.checkExport(e),e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);if(e.specifiers=[],!this.isContextual("from")&&!this.match(u.comma))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const r=this.startNodeAtNode(t);if(r.local=t,this.finishNode(r,"ImportDefaultSpecifier"),e.specifiers.push(r),this.eat(u.comma)){this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)}return this.expectContextual("from"),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}})},Ie=Object.keys(Ne),ke={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};class Le{constructor(e,t){this.line=e,this.column=t}}class Me{constructor(e,t){this.start=e,this.end=t}}class Be{constructor(){this.sawUnambiguousESM=!1}hasPlugin(e){return this.plugins.has(e)}getPluginOption(e,t){if(this.hasPlugin(e))return this.plugins.get(e)[t]}}function je(e){return e[e.length-1]}class Re extends Be{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.trailingComments.push(e),this.state.leadingComments.push(e)}adjustCommentsAfterTrailingComma(e,t,r){if(0===this.state.leadingComments.length)return;if(0===t.length)return;const n=je(t);for(let e=0;e<this.state.leadingComments.length;e++)this.state.leadingComments[e].end<this.state.commentPreviousNode.end&&(this.state.leadingComments.splice(e,1),e--);const i=[];for(let t=0;t<this.state.leadingComments.length;t++){const n=this.state.leadingComments[t];n.end<e.end?(i.push(n),r||(this.state.leadingComments.splice(t,1),t--)):(void 0===e.trailingComments&&(e.trailingComments=[]),e.trailingComments.push(n))}r&&(this.state.leadingComments=[]),i.length>0?n.trailingComments=i:void 0!==n.trailingComments&&(n.trailingComments=[])}processComment(e){if("Program"===e.type&&e.body.length>0)return;const t=this.state.commentStack;let r,n,i,a,s;if(this.state.trailingComments.length>0)this.state.trailingComments[0].start>=e.end?(i=this.state.trailingComments,this.state.trailingComments=[]):this.state.trailingComments.length=0;else if(t.length>0){const r=je(t);r.trailingComments&&r.trailingComments[0].start>=e.end&&(i=r.trailingComments,delete r.trailingComments)}for(t.length>0&&je(t).start>=e.start&&(r=t.pop());t.length>0&&je(t).start>=e.start;)n=t.pop();if(!n&&r&&(n=r),r)switch(e.type){case"ObjectExpression":this.adjustCommentsAfterTrailingComma(e,e.properties);break;case"ObjectPattern":this.adjustCommentsAfterTrailingComma(e,e.properties,!0);break;case"CallExpression":this.adjustCommentsAfterTrailingComma(e,e.arguments);break;case"ArrayExpression":this.adjustCommentsAfterTrailingComma(e,e.elements);break;case"ArrayPattern":this.adjustCommentsAfterTrailingComma(e,e.elements,!0)}else this.state.commentPreviousNode&&("ImportSpecifier"===this.state.commentPreviousNode.type&&"ImportSpecifier"!==e.type||"ExportSpecifier"===this.state.commentPreviousNode.type&&"ExportSpecifier"!==e.type)&&this.adjustCommentsAfterTrailingComma(e,[this.state.commentPreviousNode],!0);if(n){if(n.leadingComments)if(n!==e&&n.leadingComments.length>0&&je(n.leadingComments).end<=e.start)e.leadingComments=n.leadingComments,delete n.leadingComments;else for(a=n.leadingComments.length-2;a>=0;--a)if(n.leadingComments[a].end<=e.start){e.leadingComments=n.leadingComments.splice(0,a+1);break}}else if(this.state.leadingComments.length>0)if(je(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode)for(s=0;s<this.state.leadingComments.length;s++)this.state.leadingComments[s].end<this.state.commentPreviousNode.end&&(this.state.leadingComments.splice(s,1),s--);this.state.leadingComments.length>0&&(e.leadingComments=this.state.leadingComments,this.state.leadingComments=[])}else{for(a=0;a<this.state.leadingComments.length&&!(this.state.leadingComments[a].end>e.start);a++);const t=this.state.leadingComments.slice(0,a);t.length&&(e.leadingComments=t),0===(i=this.state.leadingComments.slice(a)).length&&(i=null)}this.state.commentPreviousNode=e,i&&(i.length&&i[0].start>=e.start&&je(i).end<=e.end?e.innerComments=i:e.trailingComments=i),t.push(e)}}class Ve extends Re{getLocationForPosition(e){let t;return t=e===this.state.start?this.state.startLoc:e===this.state.lastTokStart?this.state.lastTokStartLoc:e===this.state.end?this.state.endLoc:e===this.state.lastTokEnd?this.state.lastTokEndLoc:function(e,t){let r,n=1,i=0;for(X.lastIndex=0;(r=X.exec(e))&&r.index<t;)n++,i=X.lastIndex;return new Le(n,t-i)}(this.input,e)}raise(e,t,{missingPluginNames:r,code:n}={}){const i=this.getLocationForPosition(e);t+=` (${i.line}:${i.column})`;const a=new SyntaxError(t);throw a.pos=e,a.loc=i,r&&(a.missingPlugin=r),void 0!==n&&(a.code=n),a}}class qe{constructor(){this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.commaAfterSpreadAt=-1,this.inParameters=!1,this.maybeInArrowParameters=!1,this.inPipeline=!1,this.inType=!1,this.noAnonFunctionType=!1,this.inPropertyName=!1,this.inClassProperty=!1,this.hasFlowComment=!1,this.isIterator=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.classLevel=0,this.labels=[],this.decoratorStack=[[]],this.yieldPos=0,this.awaitPos=0,this.tokens=[],this.comments=[],this.trailingComments=[],this.leadingComments=[],this.commentStack=[],this.commentPreviousNode=null,this.pos=0,this.lineStart=0,this.type=u.eof,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.lastTokEnd=0,this.context=[H.braceStatement],this.exprAllowed=!0,this.containsEsc=!1,this.containsOctal=!1,this.octalPosition=null,this.exportedIdentifiers=[],this.invalidTemplateEscapePosition=null}init(e){this.strict=!1!==e.strictMode&&"module"===e.sourceType,this.curLine=e.startLine,this.startLoc=this.endLoc=this.curPosition()}curPosition(){return new Le(this.curLine,this.pos-this.lineStart)}clone(e){const t=new qe,r=Object.keys(this);for(let n=0,i=r.length;n<i;n++){const i=r[n];let a=this[i];!e&&Array.isArray(a)&&(a=a.slice()),t[i]=a}return t}}var Ue=function(e){return e>=48&&e<=57};const Ke=new Set(["g","m","s","i","y","u"]),Xe={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},Je={bin:[48,49]};Je.oct=[...Je.bin,50,51,52,53,54,55],Je.dec=[...Je.oct,56,57],Je.hex=[...Je.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Ye{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new Me(e.startLoc,e.endLoc)}}class We extends Ve{constructor(e,t){super(),this.state=new qe,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}next(){this.options.tokens&&!this.isLookahead&&this.state.tokens.push(new Ye(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()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}lookahead(){const e=this.state;this.state=e.clone(!0),this.isLookahead=!0,this.next(),this.isLookahead=!1;const t=this.state;return this.state=e,t}setStrict(e){if(this.state.strict=e,this.match(u.num)||this.match(u.string)){for(this.state.pos=this.state.start;this.state.pos<this.state.lineStart;)this.state.lineStart=this.input.lastIndexOf("\n",this.state.lineStart-2)+1,--this.state.curLine;this.nextToken()}}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();e&&e.preserveSpace||this.skipSpace(),this.state.containsOctal=!1,this.state.octalPosition=null,this.state.start=this.state.pos,this.state.startLoc=this.state.curPosition(),this.state.pos>=this.length?this.finishToken(u.eof):e.override?e.override(this):this.getTokenFromCode(this.input.codePointAt(this.state.pos))}pushComment(e,t,r,n,i,a){const s={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new Me(i,a)};this.options.tokens&&this.state.tokens.push(s),this.state.comments.push(s),this.addComment(s)}skipBlockComment(){const e=this.state.curPosition(),t=this.state.pos,r=this.input.indexOf("*/",this.state.pos+2);let n;for(-1===r&&this.raise(t,"Unterminated comment"),this.state.pos=r+2,X.lastIndex=t;(n=X.exec(this.input))&&n.index<this.state.pos;)++this.state.curLine,this.state.lineStart=n.index+n[0].length;this.isLookahead||this.pushComment(!0,this.input.slice(t+2,r),t,this.state.pos,e,this.state.curPosition())}skipLineComment(e){const t=this.state.pos,r=this.state.curPosition();let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;10!==n&&13!==n&&8232!==n&&8233!==n&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);this.isLookahead||this.pushComment(!1,this.input.slice(t+e,this.state.pos),t,this.state.pos,r,this.state.curPosition())}skipSpace(){e:for(;this.state.pos<this.length;){const e=this.input.charCodeAt(this.state.pos);switch(e){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!W(e))break e;++this.state.pos}}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;const e=this.state.pos+1,t=this.input.charCodeAt(e);if(t>=48&&t<=57&&this.raise(this.state.pos,"Unexpected digit after hash token"),(this.hasPlugin("classPrivateProperties")||this.hasPlugin("classPrivateMethods"))&&this.state.classLevel>0)return++this.state.pos,void this.finishToken(u.hash);"smart"===this.getPluginOption("pipelineOperator","proposal")?this.finishOp(u.hash,1):this.raise(this.state.pos,"Unexpected character '#'")}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(u.ellipsis)):(++this.state.pos,this.finishToken(u.dot))}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(u.assign,2):this.finishOp(u.slash,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;const e=this.state.pos;this.state.pos+=1;let t=this.input.charCodeAt(this.state.pos);if(33!==t)return!1;for(;10!==t&&13!==t&&8232!==t&&8233!==t&&++this.state.pos<this.length;)t=this.input.charCodeAt(this.state.pos);const r=this.input.slice(e+2,this.state.pos);return this.finishToken(u.interpreterDirective,r),!0}readToken_mult_modulo(e){let t=42===e?u.star:u.modulo,r=1,n=this.input.charCodeAt(this.state.pos+1);const i=this.state.exprAllowed;42===e&&42===n&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=u.exponent),61!==n||i||(r++,t=u.assign),this.finishOp(t,r)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);t!==e?124!==e||62!==t?61!==t?this.finishOp(124===e?u.bitwiseOR:u.bitwiseAND,1):this.finishOp(u.assign,2):this.finishOp(u.pipeline,2):61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(u.assign,3):this.finishOp(124===e?u.logicalOR:u.logicalAND,2)}readToken_caret(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(u.assign,2):this.finishOp(u.bitwiseXOR,1)}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);if(t===e)return 45!==t||this.inModule||62!==this.input.charCodeAt(this.state.pos+2)||0!==this.state.lastTokEnd&&!K.test(this.input.slice(this.state.lastTokEnd,this.state.pos))?void this.finishOp(u.incDec,2):(this.skipLineComment(3),this.skipSpace(),void this.nextToken());61===t?this.finishOp(u.assign,2):this.finishOp(u.plusMin,1)}readToken_lt_gt(e){const t=this.input.charCodeAt(this.state.pos+1);let r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.state.pos+2)?3:2,61===this.input.charCodeAt(this.state.pos+r)?void this.finishOp(u.assign,r+1):void this.finishOp(u.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.state.pos+2)||45!==this.input.charCodeAt(this.state.pos+3)?(61===t&&(r=2),void this.finishOp(u.relational,r)):(this.skipLineComment(4),this.skipSpace(),void this.nextToken())}readToken_eq_excl(e){const t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(u.arrow)):void this.finishOp(61===e?u.eq:u.bang,1);this.finishOp(u.equality,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63!==e||this.state.inType?46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(u.question)):(this.state.pos+=2,this.finishToken(u.questionDot)):61===t?this.finishOp(u.assign,3):this.finishOp(u.nullishCoalescing,2)}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(u.parenL);case 41:return++this.state.pos,void this.finishToken(u.parenR);case 59:return++this.state.pos,void this.finishToken(u.semi);case 44:return++this.state.pos,void this.finishToken(u.comma);case 91:return++this.state.pos,void this.finishToken(u.bracketL);case 93:return++this.state.pos,void this.finishToken(u.bracketR);case 123:return++this.state.pos,void this.finishToken(u.braceL);case 125:return++this.state.pos,void this.finishToken(u.braceR);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(u.doubleColon,2):(++this.state.pos,this.finishToken(u.colon)));case 63:return void this.readToken_question();case 96:return++this.state.pos,void this.finishToken(u.backQuote);case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)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(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:case 62:return void this.readToken_lt_gt(e);case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(u.tilde,1);case 64:return++this.state.pos,void this.finishToken(u.at);case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(pe(e))return void this.readWord()}this.raise(this.state.pos,`Unexpected character '${String.fromCodePoint(e)}'`)}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){const e=this.state.pos;let t,r;for(;;){this.state.pos>=this.length&&this.raise(e,"Unterminated regular expression");const n=this.input.charAt(this.state.pos);if(K.test(n)&&this.raise(e,"Unterminated regular expression"),t)t=!1;else{if("["===n)r=!0;else if("]"===n&&r)r=!1;else if("/"===n&&!r)break;t="\\"===n}++this.state.pos}const n=this.input.slice(e,this.state.pos);++this.state.pos;let i="";for(;this.state.pos<this.length;){const e=this.input[this.state.pos],t=this.input.codePointAt(this.state.pos);if(Ke.has(e))i.indexOf(e)>-1&&this.raise(this.state.pos+1,"Duplicate regular expression flag"),++this.state.pos,i+=e;else{if(!fe(t)&&92!==t)break;this.raise(this.state.pos+1,"Invalid regular expression flag")}}this.finishToken(u.regexp,{pattern:n,flags:i})}readInt(e,t,r=!0){const n=this.state.pos,i=16===e?Xe.hex:Xe.decBinOct,a=16===e?Je.hex:10===e?Je.dec:8===e?Je.oct:Je.bin;let s=0;for(let n=0,o=null==t?1/0:t;n<o;++n){const t=this.input.charCodeAt(this.state.pos);let n;if(this.hasPlugin("numericSeparator")&&95===t){const e=this.input.charCodeAt(this.state.pos-1),t=this.input.charCodeAt(this.state.pos+1);-1===a.indexOf(t)&&this.raise(this.state.pos,"Invalid or unexpected token"),(i.indexOf(e)>-1||i.indexOf(t)>-1||Number.isNaN(t))&&this.raise(this.state.pos,"Invalid or unexpected token"),r||this.raise(this.state.pos,"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences"),++this.state.pos}else{if((n=t>=97?t-97+10:t>=65?t-65+10:Ue(t)?t-48:1/0)>=e)break;++this.state.pos,s=s*e+n}}return this.state.pos===n||null!=t&&this.state.pos-n!==t?null:s}readRadixNumber(e){const t=this.state.pos;let r=!1;this.state.pos+=2;const n=this.readInt(e);if(null==n&&this.raise(this.state.start+2,"Expected number in radix "+e),this.hasPlugin("bigInt")&&110===this.input.charCodeAt(this.state.pos)&&(++this.state.pos,r=!0),pe(this.input.codePointAt(this.state.pos))&&this.raise(this.state.pos,"Identifier directly after number"),r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,e)}else this.finishToken(u.num,n)}readNumber(e){const t=this.state.pos;let r=!1,n=!1,i=!1;e||null!==this.readInt(10)||this.raise(t,"Invalid number");let a=this.state.pos-t>=2&&48===this.input.charCodeAt(t);a&&(this.state.strict&&this.raise(t,"Legacy octal literals are not allowed in strict mode"),/[89]/.test(this.input.slice(t,this.state.pos))&&(a=!1,i=!0));let s=this.input.charCodeAt(this.state.pos);if(46!==s||a||(++this.state.pos,this.readInt(10),r=!0,s=this.input.charCodeAt(this.state.pos)),69!==s&&101!==s||a||(43!==(s=this.input.charCodeAt(++this.state.pos))&&45!==s||++this.state.pos,null===this.readInt(10)&&this.raise(t,"Invalid number"),r=!0,s=this.input.charCodeAt(this.state.pos)),this.hasPlugin("numericSeparator")&&i){const e=this.input.slice(t,this.state.pos).indexOf("_");e>0&&this.raise(e+t,"Numeric separator can not be used after leading 0")}this.hasPlugin("bigInt")&&110===s&&((r||a||i)&&this.raise(t,"Invalid BigIntLiteral"),++this.state.pos,n=!0),pe(this.input.codePointAt(this.state.pos))&&this.raise(this.state.pos,"Identifier directly after number");const o=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");if(n)return void this.finishToken(u.bigint,o);const l=a?parseInt(o,8):parseFloat(o);this.finishToken(u.num,l)}readCodePoint(e){let t;if(123===this.input.charCodeAt(this.state.pos)){const r=++this.state.pos;if(t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,e),++this.state.pos,null===t)--this.state.invalidTemplateEscapePosition;else if(t>1114111){if(!e)return this.state.invalidTemplateEscapePosition=r-2,null;this.raise(r,"Code point out of bounds")}}else t=this.readHexChar(4,e);return t}readString(e){let t="",r=++this.state.pos;for(;;){this.state.pos>=this.length&&this.raise(this.state.start,"Unterminated string constant");const n=this.input.charCodeAt(this.state.pos);if(n===e)break;92===n?(t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos):8232===n||8233===n?(++this.state.pos,++this.state.curLine):J(n)?this.raise(this.state.start,"Unterminated string constant"):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(u.string,t)}readTmplToken(){let e="",t=this.state.pos,r=!1;for(;;){this.state.pos>=this.length&&this.raise(this.state.start,"Unterminated template");const n=this.input.charCodeAt(this.state.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(u.template)?36===n?(this.state.pos+=2,void this.finishToken(u.dollarBraceL)):(++this.state.pos,void this.finishToken(u.backQuote)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(u.template,r?null:e));if(92===n){e+=this.input.slice(t,this.state.pos);const n=this.readEscapedChar(!0);null===n?r=!0:e+=n,t=this.state.pos}else if(J(n)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,n){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}readEscapedChar(e){const t=!e,r=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,t);return null===e?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return null===e?null:String.fromCodePoint(e)}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"";default:if(r>=48&&r<=55){const t=this.state.pos-1;let r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(r,8);n>255&&(r=r.slice(0,-1),n=parseInt(r,8)),this.state.pos+=r.length-1;const i=this.input.charCodeAt(this.state.pos);if("0"!==r||56===i||57===i){if(e)return this.state.invalidTemplateEscapePosition=t,null;this.state.strict?this.raise(t,"Octal literal in strict mode"):this.state.containsOctal||(this.state.containsOctal=!0,this.state.octalPosition=t)}return String.fromCharCode(n)}return String.fromCharCode(r)}}readHexChar(e,t){const r=this.state.pos,n=this.readInt(16,e,!1);return null===n&&(t?this.raise(r,"Bad character escape sequence"):(this.state.pos=r-1,this.state.invalidTemplateEscapePosition=r-1)),n}readWord1(){let e="";this.state.containsEsc=!1;const t=this.state.pos;let r=this.state.pos;for(;this.state.pos<this.length;){const n=this.input.codePointAt(this.state.pos);if(fe(n))this.state.pos+=n<=65535?1:2;else if(this.state.isIterator&&64===n)++this.state.pos;else{if(92!==n)break;{this.state.containsEsc=!0,e+=this.input.slice(r,this.state.pos);const n=this.state.pos,i=this.state.pos===t?pe:fe;117!==this.input.charCodeAt(++this.state.pos)&&this.raise(this.state.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.state.pos;const a=this.readCodePoint(!0);i(a,!0)||this.raise(n,"Invalid Unicode escape"),e+=String.fromCodePoint(a),r=this.state.pos}}}return e+this.input.slice(r,this.state.pos)}isIterator(e){return"@@iterator"===e||"@@asyncIterator"===e}readWord(){const e=this.readWord1(),t=!this.state.containsEsc&&a.get(e)||u.name;!this.state.isIterator||this.isIterator(e)&&this.state.inType||this.raise(this.state.pos,`Invalid identifier ${e}`),this.finishToken(t,e)}braceIsBlock(e){const t=this.curContext();return t===H.functionExpression||t===H.functionStatement||(e!==u.colon||t!==H.braceStatement&&t!==H.braceExpression?e===u._return||e===u.name&&this.state.exprAllowed?K.test(this.input.slice(this.state.lastTokEnd,this.state.start)):e===u._else||e===u.semi||e===u.eof||e===u.parenR||e===u.arrow||(e===u.braceL?t===H.braceStatement:e!==u._var&&e!==u._const&&e!==u.name&&(e===u.relational||!this.state.exprAllowed)):!t.isExpr)}updateContext(e){const t=this.state.type;let r;!t.keyword||e!==u.dot&&e!==u.questionDot?(r=t.updateContext)?r.call(this,e):this.state.exprAllowed=t.beforeExpr:this.state.exprAllowed=!1}}const $e=/^('|")((?:\\?.)*?)\1/;class He extends We{addExtra(e,t,r){if(!e)return;(e.extra=e.extra||{})[t]=r}isRelational(e){return this.match(u.relational)&&this.state.value===e}isLookaheadRelational(e){const t=this.lookahead();return t.type===u.relational&&t.value===e}expectRelational(e){this.isRelational(e)?this.next():this.unexpected(null,u.relational)}eatRelational(e){return!!this.isRelational(e)&&(this.next(),!0)}isContextual(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc}isLookaheadContextual(e){const t=this.lookahead();return t.type===u.name&&t.value===e}eatContextual(e){return this.isContextual(e)&&this.eat(u.name)}expectContextual(e,t){this.eatContextual(e)||this.unexpected(null,t)}canInsertSemicolon(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return K.test(this.input.slice(this.state.lastTokEnd,this.state.start))}isLineTerminator(){return this.eat(u.semi)||this.canInsertSemicolon()}semicolon(){this.isLineTerminator()||this.unexpected(null,u.semi)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){this.state.start>this.state.lastTokEnd&&this.raise(this.state.lastTokEnd,e)}unexpected(e,t="Unexpected token"){throw"string"!=typeof t&&(t=`Unexpected token, expected "${t.label}"`),this.raise(null!=e?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e))throw this.raise(null!=t?t:this.state.start,`This experimental syntax requires enabling the parser plugin: '${e}'`,{missingPluginNames:[e]});return!0}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e)))throw this.raise(null!=t?t:this.state.start,`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`,{missingPluginNames:e})}checkYieldAwaitInDefaultParams(){this.state.yieldPos&&(!this.state.awaitPos||this.state.yieldPos<this.state.awaitPos)&&this.raise(this.state.yieldPos,"Yield cannot be used as name inside a generator function"),this.state.awaitPos&&this.raise(this.state.awaitPos,"Await cannot be used as name inside an async function")}strictDirective(e){for(;;){Y.lastIndex=e,e+=Y.exec(this.input)[0].length;const t=$e.exec(this.input.slice(e));if(!t)break;if("use strict"===t[2])return!0;e+=t[0].length,Y.lastIndex=e,e+=Y.exec(this.input)[0].length,";"===this.input[e]&&e++}return!1}}class ze{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new Me(r),e&&e.options.ranges&&(this.range=[t,0]),e&&e.filename&&(this.loc.filename=e.filename)}__clone(){const e=new ze,t=Object.keys(this);for(let r=0,n=t.length;r<n;r++){const n=t[r];"leadingComments"!==n&&"trailingComments"!==n&&"innerComments"!==n&&(e[n]=this[n])}return e}}class Ge extends He{startNode(){return new ze(this,this.state.start,this.state.startLoc)}startNodeAt(e,t){return new ze(this,e,t)}startNodeAtNode(e){return this.startNodeAt(e.start,e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEnd,this.state.lastTokEndLoc)}finishNodeAt(e,t,r,n){return e.type=t,e.end=r,e.loc.end=n,this.options.ranges&&(e.range[1]=r),this.processComment(e),e}resetStartLocation(e,t,r){e.start=t,e.loc.start=r,this.options.ranges&&(e.range[0]=t)}resetEndLocation(e,t=this.state.lastTokEnd,r=this.state.lastTokEndLoc){e.end=t,e.loc.end=r,this.options.ranges&&(e.range[1]=t)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.start,t.loc.start)}}class Qe extends Ge{toAssignable(e,t,r){if(e)switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,i=n-1;r<n;r++){const n=e.properties[r],a=r===i;this.toAssignableObjectExpressionProp(n,t,a)}break;case"ObjectProperty":this.toAssignable(e.value,t,r);break;case"SpreadElement":{this.checkToRestConversion(e),e.type="RestElement";const n=e.argument;this.toAssignable(n,t,r);break}case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,t,r);break;case"AssignmentExpression":"="===e.operator?(e.type="AssignmentPattern",delete e.operator):this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");break;case"ParenthesizedExpression":e.expression=this.toAssignable(e.expression,t,r);break;case"MemberExpression":if(!t)break;default:{const t="Invalid left-hand side"+(r?" in "+r:"expression");this.raise(e.start,t)}}return e}toAssignableObjectExpressionProp(e,t,r){if("ObjectMethod"===e.type){const t="get"===e.kind||"set"===e.kind?"Object pattern can't contain getter or setter":"Object pattern can't contain methods";this.raise(e.key.start,t)}else"SpreadElement"!==e.type||r?this.toAssignable(e,t,"object destructuring pattern"):this.raiseRestNotLast(e.start)}toAssignableList(e,t,r){let n=e.length;if(n){const i=e[n-1];if(i&&"RestElement"===i.type)--n;else if(i&&"SpreadElement"===i.type){i.type="RestElement";const e=i.argument;this.toAssignable(e,t,r),"Identifier"!==e.type&&"MemberExpression"!==e.type&&"ArrayPattern"!==e.type&&"ObjectPattern"!==e.type&&this.unexpected(e.start),--n}}for(let i=0;i<n;i++){const n=e[i];n&&(this.toAssignable(n,t,r),"RestElement"===n.type&&this.raiseRestNotLast(n.start))}return e}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(let t=0;t<e.length;t++){const r=e[t];r&&"ArrayExpression"===r.type&&this.toReferencedListDeep(r.elements)}return e}parseSpread(e,t){const r=this.startNode();return this.next(),r.argument=this.parseMaybeAssign(!1,e,void 0,t),-1===this.state.commaAfterSpreadAt&&this.match(u.comma)&&(this.state.commaAfterSpreadAt=this.state.start),this.finishNode(r,"SpreadElement")}parseRestBinding(){const e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case u.bracketL:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(u.bracketR,!0),this.finishNode(e,"ArrayPattern")}case u.braceL:return this.parseObj(!0)}return this.parseIdentifier()}parseBindingList(e,t,r){const n=[];let i=!0;for(;!this.eat(e);)if(i?i=!1:this.expect(u.comma),t&&this.match(u.comma))n.push(null);else{if(this.eat(e))break;if(this.match(u.ellipsis)){n.push(this.parseAssignableListItemTypes(this.parseRestBinding())),this.checkCommaAfterRest(),this.expect(e);break}{const e=[];for(this.match(u.at)&&this.hasPlugin("decorators")&&this.raise(this.state.start,"Stage 2 decorators cannot be used to decorate parameters");this.match(u.at);)e.push(this.parseDecorator());n.push(this.parseAssignableListItem(r,e))}}return n}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);const n=this.parseMaybeDefault(r.start,r.loc.start,r);return t.length&&(r.decorators=t),n}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){if(t=t||this.state.startLoc,e=e||this.state.start,r=r||this.parseBindingAtom(),!this.eat(u.eq))return r;const n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")}checkLVal(e,t=j,r,n){switch(e.type){case"Identifier":if(this.state.strict&&te(e.name,this.inModule)&&this.raise(e.start,`${t===j?"Assigning to":"Binding"} '${e.name}' in strict mode`),r){const t=`_${e.name}`;r[t]?this.raise(e.start,"Argument name clash"):r[t]=!0}t===F&&"let"===e.name&&this.raise(e.start,"'let' is not allowed to be used as a name in 'let' or 'const' declarations."),t&j||this.scope.declareName(e.name,t,e.start);break;case"MemberExpression":t!==j&&this.raise(e.start,"Binding member expression");break;case"ObjectPattern":for(let n=0,i=e.properties;n<i.length;n++){let e=i[n];"ObjectProperty"===e.type&&(e=e.value),this.checkLVal(e,t,r,"object destructuring pattern")}break;case"ArrayPattern":for(let n=0,i=e.elements;n<i.length;n++){const e=i[n];e&&this.checkLVal(e,t,r,"array destructuring pattern")}break;case"AssignmentPattern":this.checkLVal(e.left,t,r,"assignment pattern");break;case"RestElement":this.checkLVal(e.argument,t,r,"rest element");break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,r,"parenthesized expression");break;default:{const r=(t===j?"Invalid":"Binding invalid")+" left-hand side"+(n?" in "+n:"expression");this.raise(e.start,r)}}}checkToRestConversion(e){"Identifier"!==e.argument.type&&"MemberExpression"!==e.argument.type&&this.raise(e.argument.start,"Invalid rest operator's argument")}checkCommaAfterRest(){this.match(u.comma)&&this.raiseRestNotLast(this.state.start)}checkCommaAfterRestFromSpread(){this.state.commaAfterSpreadAt>-1&&this.raiseRestNotLast(this.state.commaAfterSpreadAt)}raiseRestNotLast(e){this.raise(e,"Rest element must be last element")}}const Ze=e=>"ParenthesizedExpression"===e.type?Ze(e.expression):e;class et extends Qe{checkPropClash(e,t){if("SpreadElement"===e.type||e.computed||e.kind||e.shorthand)return;const r=e.key;"__proto__"===("Identifier"===r.type?r.name:String(r.value))&&(t.proto&&this.raise(r.start,"Redefinition of __proto__ property"),t.proto=!0)}getExpression(){this.scope.enter(c),this.nextToken();const e=this.parseExpression();return this.match(u.eof)||this.unexpected(),e.comments=this.state.comments,e}parseExpression(e,t){const r=this.state.start,n=this.state.startLoc,i=this.parseMaybeAssign(e,t);if(this.match(u.comma)){const a=this.startNodeAt(r,n);for(a.expressions=[i];this.eat(u.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.toReferencedList(a.expressions),this.finishNode(a,"SequenceExpression")}return i}parseMaybeAssign(e,t,r,n){const i=this.state.start,a=this.state.startLoc;if(this.isContextual("yield")){if(this.scope.inGenerator){let t=this.parseYield(e);return r&&(t=r.call(this,t,i,a)),t}this.state.exprAllowed=!1}const s=this.state.commaAfterSpreadAt;let o;this.state.commaAfterSpreadAt=-1,t?o=!1:(t={start:0},o=!0),(this.match(u.parenL)||this.match(u.name))&&(this.state.potentialArrowAt=this.state.start);let l=this.parseMaybeConditional(e,t,n);if(r&&(l=r.call(this,l,i,a)),this.state.type.isAssign){const r=this.startNodeAt(i,a),n=this.state.value;r.operator=n,"??="===n&&(this.expectPlugin("nullishCoalescingOperator"),this.expectPlugin("logicalAssignment")),"||="!==n&&"&&="!==n||this.expectPlugin("logicalAssignment"),r.left=this.match(u.eq)?this.toAssignable(l,void 0,"assignment expression"):l,t.start=0,this.checkLVal(l,void 0,void 0,"assignment expression");const o=Ze(l);let c;return"ObjectPattern"===o.type?c="`({a}) = 0` use `({a} = 0)`":"ArrayPattern"===o.type&&(c="`([a]) = 0` use `([a] = 0)`"),c&&(l.extra&&l.extra.parenthesized||"ParenthesizedExpression"===l.type)&&this.raise(o.start,`You're trying to assign to a parenthesized expression, eg. instead of ${c}`),c&&this.checkCommaAfterRestFromSpread(),this.state.commaAfterSpreadAt=s,this.next(),r.right=this.parseMaybeAssign(e),this.finishNode(r,"AssignmentExpression")}return o&&t.start&&this.unexpected(t.start),this.state.commaAfterSpreadAt=s,l}parseMaybeConditional(e,t,r){const n=this.state.start,i=this.state.startLoc,a=this.state.potentialArrowAt,s=this.parseExprOps(e,t);return"ArrowFunctionExpression"===s.type&&s.start===a?s:t&&t.start?s:this.parseConditional(s,e,n,i,r)}parseConditional(e,t,r,n,i){if(this.eat(u.question)){const i=this.startNodeAt(r,n);return i.test=e,i.consequent=this.parseMaybeAssign(),this.expect(u.colon),i.alternate=this.parseMaybeAssign(t),this.finishNode(i,"ConditionalExpression")}return e}parseExprOps(e,t){const r=this.state.start,n=this.state.startLoc,i=this.state.potentialArrowAt,a=this.parseMaybeUnary(t);return"ArrowFunctionExpression"===a.type&&a.start===i?a:t&&t.start?a:this.parseExprOp(a,r,n,-1,e)}parseExprOp(e,t,r,n,i){const a=this.state.type.binop;if(!(null==a||i&&this.match(u._in))&&a>n){const s=this.state.value;if("|>"===s&&this.state.inFSharpPipelineDirectBody)return e;const o=this.startNodeAt(t,r);o.left=e,o.operator=s,"**"!==s||"UnaryExpression"!==e.type||!this.options.createParenthesizedExpressions&&e.extra&&e.extra.parenthesized||this.raise(e.argument.start,"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.");const l=this.state.type;if(l===u.pipeline?(this.expectPlugin("pipelineOperator"),this.state.inPipeline=!0,this.checkPipelineAtInfixOperator(e,t)):l===u.nullishCoalescing&&this.expectPlugin("nullishCoalescingOperator"),this.next(),l===u.pipeline&&"minimal"===this.getPluginOption("pipelineOperator","proposal")&&this.match(u.name)&&"await"===this.state.value&&this.scope.inAsync)throw this.raise(this.state.start,'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal');if(o.right=this.parseExprOpRightExpr(l,a,i),l===u.nullishCoalescing){if(!("LogicalExpression"!==e.type||"??"===e.operator||e.extra&&e.extra.parenthesized))throw this.raise(e.start,"Nullish coalescing operator(??) requires parens when mixing with logical operators");if(!("LogicalExpression"!==o.right.type||"??"===o.right.operator||o.right.extra&&o.right.extra.parenthesized))throw this.raise(o.right.start,"Nullish coalescing operator(??) requires parens when mixing with logical operators")}return this.finishNode(o,l===u.logicalOR||l===u.logicalAND||l===u.nullishCoalescing?"LogicalExpression":"BinaryExpression"),this.parseExprOp(o,t,r,n,i)}return e}parseExprOpRightExpr(e,t,r){const n=this.state.start,i=this.state.startLoc;switch(e){case u.pipeline:switch(this.getPluginOption("pipelineOperator","proposal")){case"smart":return this.withTopicPermittingContext(()=>this.parseSmartPipelineBody(this.parseExprOpBaseRightExpr(e,t,r),n,i));case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t,r))}default:return this.parseExprOpBaseRightExpr(e,t,r)}}parseExprOpBaseRightExpr(e,t,r){const n=this.state.start,i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),n,i,e.rightAssociative?t-1:t,r)}parseMaybeUnary(e){if(this.isContextual("await")&&(this.scope.inAsync||!this.scope.inFunction&&this.options.allowAwaitOutsideFunction))return this.parseAwait();if(this.state.type.prefix){const t=this.startNode(),r=this.match(u.incDec);if(t.operator=this.state.value,t.prefix=!0,"throw"===t.operator&&this.expectPlugin("throwExpressions"),this.next(),t.argument=this.parseMaybeUnary(),e&&e.start&&this.unexpected(e.start),r)this.checkLVal(t.argument,void 0,void 0,"prefix operation");else if(this.state.strict&&"delete"===t.operator){const e=t.argument;"Identifier"===e.type?this.raise(t.start,"Deleting local variable in strict mode"):"MemberExpression"===e.type&&"PrivateName"===e.property.type&&this.raise(t.start,"Deleting a private field is not allowed")}return this.finishNode(t,r?"UpdateExpression":"UnaryExpression")}const t=this.state.start,r=this.state.startLoc;let n=this.parseExprSubscripts(e);if(e&&e.start)return n;for(;this.state.type.postfix&&!this.canInsertSemicolon();){const e=this.startNodeAt(t,r);e.operator=this.state.value,e.prefix=!1,e.argument=n,this.checkLVal(n,void 0,void 0,"postfix operation"),this.next(),n=this.finishNode(e,"UpdateExpression")}return n}parseExprSubscripts(e){const t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(e);return"ArrowFunctionExpression"===i.type&&i.start===n?i:e&&e.start?i:this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i=this.atPossibleAsync(e),a={optionalChainMember:!1,stop:!1};do{e=this.parseSubscript(e,t,r,n,a,i)}while(!a.stop);return e}parseSubscript(e,t,r,n,i,a){if(!n&&this.eat(u.doubleColon)){const a=this.startNodeAt(t,r);return a.object=e,a.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(a,"BindExpression"),t,r,n)}if(this.match(u.questionDot)){if(this.expectPlugin("optionalChaining"),i.optionalChainMember=!0,n&&this.lookahead().type===u.parenL)return i.stop=!0,e;this.next();const a=this.startNodeAt(t,r);return this.eat(u.bracketL)?(a.object=e,a.property=this.parseExpression(),a.computed=!0,a.optional=!0,this.expect(u.bracketR),this.finishNode(a,"OptionalMemberExpression")):this.eat(u.parenL)?(a.callee=e,a.arguments=this.parseCallExpressionArguments(u.parenR,!1),a.optional=!0,this.finishNode(a,"OptionalCallExpression")):(a.object=e,a.property=this.parseIdentifier(!0),a.computed=!1,a.optional=!0,this.finishNode(a,"OptionalMemberExpression"))}if(this.eat(u.dot)){const n=this.startNodeAt(t,r);return n.object=e,n.property=this.parseMaybePrivateName(),n.computed=!1,"PrivateName"===n.property.type&&"Super"===n.object.type&&this.raise(t,"Private fields can't be accessed on super"),i.optionalChainMember?(n.optional=!1,this.finishNode(n,"OptionalMemberExpression")):this.finishNode(n,"MemberExpression")}if(this.eat(u.bracketL)){const n=this.startNodeAt(t,r);return n.object=e,n.property=this.parseExpression(),n.computed=!0,this.expect(u.bracketR),i.optionalChainMember?(n.optional=!1,this.finishNode(n,"OptionalMemberExpression")):this.finishNode(n,"MemberExpression")}if(!n&&this.match(u.parenL)){const n=this.state.maybeInArrowParameters,s=this.state.yieldPos,o=this.state.awaitPos;this.state.maybeInArrowParameters=!0,this.state.yieldPos=0,this.state.awaitPos=0,this.next();let l=this.startNodeAt(t,r);l.callee=e;const c=this.state.commaAfterSpreadAt;return this.state.commaAfterSpreadAt=-1,l.arguments=this.parseCallExpressionArguments(u.parenR,a,"Import"===e.type,"Super"!==e.type),i.optionalChainMember?this.finishOptionalCallExpression(l):this.finishCallExpression(l),a&&this.shouldParseAsyncArrow()?(i.stop=!0,this.checkCommaAfterRestFromSpread(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),l),this.checkYieldAwaitInDefaultParams(),this.state.yieldPos=s,this.state.awaitPos=o):(this.toReferencedListDeep(l.arguments),this.state.yieldPos=s||this.state.yieldPos,this.state.awaitPos=o||this.state.awaitPos),this.state.maybeInArrowParameters=n,this.state.commaAfterSpreadAt=c,l}return this.match(u.backQuote)?this.parseTaggedTemplateExpression(t,r,e,i):(i.stop=!0,e)}parseTaggedTemplateExpression(e,t,r,n,i){const a=this.startNodeAt(e,t);return a.tag=r,a.quasi=this.parseTemplate(!0),i&&(a.typeParameters=i),n.optionalChainMember&&this.raise(e,"Tagged Template Literals are not allowed in optionalChain"),this.finishNode(a,"TaggedTemplateExpression")}atPossibleAsync(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end)}finishCallExpression(e){if("Import"===e.callee.type){1!==e.arguments.length&&this.raise(e.start,"import() requires exactly one argument");const t=e.arguments[0];t&&"SpreadElement"===t.type&&this.raise(t.start,"... is not allowed in import()")}return this.finishNode(e,"CallExpression")}finishOptionalCallExpression(e){if("Import"===e.callee.type){1!==e.arguments.length&&this.raise(e.start,"import() requires exactly one argument");const t=e.arguments[0];t&&"SpreadElement"===t.type&&this.raise(t.start,"... is not allowed in import()")}return this.finishNode(e,"OptionalCallExpression")}parseCallExpressionArguments(e,t,r,n){const i=[];let a,s=!0;const o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(s)s=!1;else if(this.expect(u.comma),this.eat(e)){r&&this.raise(this.state.lastTokStart,"Trailing comma is disallowed inside import(...) arguments");break}this.match(u.parenL)&&!a&&(a=this.state.start),i.push(this.parseExprListItem(!1,t?{start:0}:void 0,t?{start:0}:void 0,n))}return t&&a&&this.shouldParseAsyncArrow()&&this.unexpected(),this.state.inFSharpPipelineDirectBody=o,i}shouldParseAsyncArrow(){return this.match(u.arrow)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){return this.expect(u.arrow),this.parseArrowExpression(e,t.arguments,!0),e}parseNoCallExpr(){const e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){this.state.type===u.slash&&this.readRegexp();const t=this.state.potentialArrowAt===this.state.start;let r;switch(this.state.type){case u._super:return this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(this.state.start,"super is only allowed in object methods and classes"),r=this.startNode(),this.next(),!this.match(u.parenL)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod||this.raise(r.start,"super() is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?"),this.match(u.parenL)||this.match(u.bracketL)||this.match(u.dot)||this.unexpected(),this.finishNode(r,"Super");case u._import:return r=this.startNode(),this.next(),this.match(u.dot)?this.parseImportMetaProperty(r):(this.expectPlugin("dynamicImport",r.start),this.match(u.parenL)||this.unexpected(null,u.parenL),this.finishNode(r,"Import"));case u._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case u.name:{r=this.startNode();const e=this.state.containsEsc,n=this.parseIdentifier();if(!e&&"async"===n.name&&this.match(u._function)&&!this.canInsertSemicolon())return this.next(),this.parseFunction(r,void 0,!0);if(t&&!e&&"async"===n.name&&this.match(u.name)&&!this.canInsertSemicolon()){const e=[this.parseIdentifier()];return this.expect(u.arrow),this.parseArrowExpression(r,e,!0),r}return t&&this.match(u.arrow)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(r,[n],!1),r):n}case u._do:{this.expectPlugin("doExpressions");const e=this.startNode();this.next();const t=this.state.labels;return this.state.labels=[],e.body=this.parseBlock(),this.state.labels=t,this.finishNode(e,"DoExpression")}case u.regexp:{const e=this.state.value;return(r=this.parseLiteral(e.value,"RegExpLiteral")).pattern=e.pattern,r.flags=e.flags,r}case u.num:return this.parseLiteral(this.state.value,"NumericLiteral");case u.bigint:return this.parseLiteral(this.state.value,"BigIntLiteral");case u.string:return this.parseLiteral(this.state.value,"StringLiteral");case u._null:return r=this.startNode(),this.next(),this.finishNode(r,"NullLiteral");case u._true:case u._false:return this.parseBooleanLiteral();case u.parenL:return this.parseParenAndDistinguishExpression(t);case u.bracketL:{const t=this.state.inFSharpPipelineDirectBody;return this.state.inFSharpPipelineDirectBody=!1,r=this.startNode(),this.next(),r.elements=this.parseExprList(u.bracketR,!0,e),this.state.maybeInArrowParameters||this.toReferencedList(r.elements),this.state.inFSharpPipelineDirectBody=t,this.finishNode(r,"ArrayExpression")}case u.braceL:{const t=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const r=this.parseObj(!1,e);return this.state.inFSharpPipelineDirectBody=t,r}case u._function:return this.parseFunctionExpression();case u.at:this.parseDecorators();case u._class:return r=this.startNode(),this.takeDecorators(r),this.parseClass(r,!1);case u._new:return this.parseNew();case u.backQuote:return this.parseTemplate(!1);case u.doubleColon:{r=this.startNode(),this.next(),r.object=null;const e=r.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(r,"BindExpression");throw this.raise(e.start,"Binding should be performed on object property.")}case u.hash:if(this.state.inPipeline){if(r=this.startNode(),"smart"!==this.getPluginOption("pipelineOperator","proposal")&&this.raise(r.start,"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option."),this.next(),this.primaryTopicReferenceIsAllowedInCurrentTopicContext())return this.registerTopicReference(),this.finishNode(r,"PipelinePrimaryTopicReference");throw this.raise(r.start,"Topic reference was used in a lexical context without topic binding")}default:throw this.unexpected()}}parseBooleanLiteral(){const e=this.startNode();return e.value=this.match(u._true),this.next(),this.finishNode(e,"BooleanLiteral")}parseMaybePrivateName(){if(this.match(u.hash)){this.expectOnePlugin(["classPrivateProperties","classPrivateMethods"]);const e=this.startNode();return this.next(),this.assertNoSpace("Unexpected space between # and identifier"),e.id=this.parseIdentifier(!0),this.finishNode(e,"PrivateName")}return this.parseIdentifier(!0)}parseFunctionExpression(){const e=this.startNode();let t=this.startNode();return this.next(),t=this.createIdentifier(t,"function"),this.scope.inGenerator&&this.eat(u.dot)?this.parseMetaProperty(e,t,"sent"):this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t,"function"===t.name&&"sent"===r&&(this.isContextual(r)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected());const n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(e.property.start,`The only valid meta property for ${t.name} is ${t.name}.${r}`),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.expect(u.dot),this.isContextual("meta")?this.expectPlugin("importMeta"):this.hasPlugin("importMeta")||this.raise(t.start,"Dynamic imports require a parameter: import('a.js')"),this.inModule||this.raise(t.start,"import.meta may appear only with 'sourceType: \"module\"'",{code:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),this.sawUnambiguousESM=!0,this.parseMetaProperty(e,t,"meta")}parseLiteral(e,t,r,n){r=r||this.state.start,n=n||this.state.startLoc;const i=this.startNodeAt(r,n);return this.addExtra(i,"rawValue",e),this.addExtra(i,"raw",this.input.slice(r,this.state.end)),i.value=e,this.next(),this.finishNode(i,t)}parseParenAndDistinguishExpression(e){const t=this.state.start,r=this.state.startLoc;let n;this.expect(u.parenL);const i=this.state.maybeInArrowParameters,a=this.state.yieldPos,s=this.state.awaitPos,o=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.yieldPos=0,this.state.awaitPos=0,this.state.inFSharpPipelineDirectBody=!1;const l=this.state.start,c=this.state.startLoc,p=[],f={start:0},d={start:0};let h,y,m=!0;for(;!this.match(u.parenR);){if(m)m=!1;else if(this.expect(u.comma,d.start||null),this.match(u.parenR)){y=this.state.start;break}if(this.match(u.ellipsis)){const e=this.state.start,t=this.state.startLoc;h=this.state.start,p.push(this.parseParenItem(this.parseRestBinding(),e,t)),this.checkCommaAfterRest();break}p.push(this.parseMaybeAssign(!1,f,this.parseParenItem,d))}const v=this.state.start,g=this.state.startLoc;this.expect(u.parenR),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=o;let T=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(T=this.parseArrow(T))){this.checkYieldAwaitInDefaultParams(),this.state.yieldPos=a,this.state.awaitPos=s;for(let e=0;e<p.length;e++){const t=p[e];t.extra&&t.extra.parenthesized&&this.unexpected(t.extra.parenStart)}return this.parseArrowExpression(T,p,!1),T}if(this.state.yieldPos=a||this.state.yieldPos,this.state.awaitPos=s||this.state.awaitPos,p.length||this.unexpected(this.state.lastTokStart),y&&this.unexpected(y),h&&this.unexpected(h),f.start&&this.unexpected(f.start),d.start&&this.unexpected(d.start),this.toReferencedListDeep(p,!0),p.length>1?((n=this.startNodeAt(l,c)).expressions=p,this.finishNodeAt(n,"SequenceExpression",v,g)):n=p[0],!this.options.createParenthesizedExpressions)return this.addExtra(n,"parenthesized",!0),this.addExtra(n,"parenStart",t),n;const E=this.startNodeAt(t,r);return E.expression=n,this.finishNode(E,"ParenthesizedExpression"),E}shouldParseArrow(){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(u.arrow))return e}parseParenItem(e,t,r){return e}parseNew(){const e=this.startNode(),t=this.parseIdentifier(!0);if(this.eat(u.dot)){const r=this.parseMetaProperty(e,t,"target");if(!this.scope.inNonArrowFunction&&!this.state.inClassProperty){let e="new.target can only be used in functions";this.hasPlugin("classProperties")&&(e+=" or class properties"),this.raise(r.start,e)}return r}return e.callee=this.parseNoCallExpr(),"Import"===e.callee.type?this.raise(e.callee.start,"Cannot use new with import(...)"):"OptionalMemberExpression"===e.callee.type||"OptionalCallExpression"===e.callee.type?this.raise(this.state.lastTokEnd,"constructors in/after an Optional Chain are not allowed"):this.eat(u.questionDot)&&this.raise(this.state.start,"constructors in/after an Optional Chain are not allowed"),this.parseNewArguments(e),this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(u.parenL)){const t=this.parseExprList(u.parenR);this.toReferencedList(t),e.arguments=t}else e.arguments=[]}parseTemplateElement(e){const t=this.startNode();return null===this.state.value&&(e?this.state.invalidTemplateEscapePosition=null:this.raise(this.state.invalidTemplateEscapePosition||0,"Invalid escape sequence in template")),t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value},this.next(),t.tail=this.match(u.backQuote),this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next(),t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)this.expect(u.dollarBraceL),t.expressions.push(this.parseExpression()),this.expect(u.braceR),t.quasis.push(r=this.parseTemplateElement(e));return this.next(),this.finishNode(t,"TemplateLiteral")}parseObj(e,t){const r=Object.create(null);let n=!0;const i=this.startNode();for(i.properties=[],this.next();!this.eat(u.braceR);){if(n)n=!1;else if(this.expect(u.comma),this.eat(u.braceR))break;const a=this.parseObjectMember(e,t);e||this.checkPropClash(a,r),a.shorthand&&this.addExtra(a,"shorthand",!0),i.properties.push(a)}return this.finishNode(i,e?"ObjectPattern":"ObjectExpression")}isAsyncProp(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.match(u.name)||this.match(u.num)||this.match(u.string)||this.match(u.bracketL)||this.state.type.keyword||this.match(u.star))&&!this.hasPrecedingLineBreak()}parseObjectMember(e,t){let r=[];if(this.match(u.at))if(this.hasPlugin("decorators"))this.raise(this.state.start,"Stage 2 decorators disallow object literal property decorators");else for(;this.match(u.at);)r.push(this.parseDecorator());const n=this.startNode();let i,a,s=!1,o=!1;if(this.match(u.ellipsis))return r.length&&this.unexpected(),e?(this.next(),n.argument=this.parseIdentifier(),this.checkCommaAfterRest(),this.finishNode(n,"RestElement")):this.parseSpread();r.length&&(n.decorators=r,r=[]),n.method=!1,(e||t)&&(i=this.state.start,a=this.state.startLoc),e||(s=this.eat(u.star));const l=this.state.containsEsc;return this.parsePropertyName(n),e||l||s||!this.isAsyncProp(n)?o=!1:(o=!0,s=this.eat(u.star),this.parsePropertyName(n)),this.parseObjPropValue(n,i,a,s,o,e,t,l),n}isGetterOrSetterMethod(e,t){return!t&&!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&(this.match(u.string)||this.match(u.num)||this.match(u.bracketL)||this.match(u.name)||!!this.state.type.keyword)}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}checkGetterSetterParams(e){const t=this.getGetterSetterExpectedParamCount(e),r=e.start;e.params.length!==t&&("get"===e.kind?this.raise(r,"getter must not have any formal parameters"):this.raise(r,"setter must have exactly one formal parameter")),"set"===e.kind&&"RestElement"===e.params[e.params.length-1].type&&this.raise(r,"setter function argument must not be a rest parameter")}parseObjectMethod(e,t,r,n,i){return r||t||this.match(u.parenL)?(n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")):!i&&this.isGetterOrSetterMethod(e,n)?((t||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),this.parseMethod(e,!1,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):void 0}parseObjectProperty(e,t,r,n,i){return e.shorthand=!1,this.eat(u.colon)?(e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssign(!1,i),this.finishNode(e,"ObjectProperty")):e.computed||"Identifier"!==e.key.type?void 0:(this.checkReservedWord(e.key.name,e.key.start,!0,!0),n?e.value=this.parseMaybeDefault(t,r,e.key.__clone()):this.match(u.eq)&&i?(i.start||(i.start=this.state.start),e.value=this.parseMaybeDefault(t,r,e.key.__clone())):e.value=e.key.__clone(),e.shorthand=!0,this.finishNode(e,"ObjectProperty"))}parseObjPropValue(e,t,r,n,i,a,s,o){const u=this.parseObjectMethod(e,n,i,a,o)||this.parseObjectProperty(e,t,r,a,s);return u||this.unexpected(),u}parsePropertyName(e){if(this.eat(u.bracketL))e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(u.bracketR);else{const t=this.state.inPropertyName;this.state.inPropertyName=!0,e.key=this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseMaybePrivateName(),"PrivateName"!==e.key.type&&(e.computed=!1),this.state.inPropertyName=t}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,r,n,i,a,s=!1){const o=this.state.yieldPos,u=this.state.awaitPos;this.state.yieldPos=0,this.state.awaitPos=0,this.initFunction(e,r),e.generator=!!t;const l=n;return this.scope.enter(E(r,e.generator)|m|(s?g:0)|(i?v:0)),this.parseFunctionParams(e,l),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBodyAndFinish(e,a,!0),this.scope.exit(),this.state.yieldPos=o,this.state.awaitPos=u,e}parseArrowExpression(e,t,r){this.scope.enter(E(r,!1)|h),this.initFunction(e,r);const n=this.state.maybeInArrowParameters,i=this.state.yieldPos,a=this.state.awaitPos;return this.state.maybeInArrowParameters=!1,this.state.yieldPos=0,this.state.awaitPos=0,t&&this.setArrowFunctionParameters(e,t),this.parseFunctionBody(e,!0),this.scope.exit(),this.state.maybeInArrowParameters=n,this.state.yieldPos=i,this.state.awaitPos=a,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t){e.params=this.toAssignableList(t,!0,"arrow function parameters")}isStrictBody(e){if("BlockStatement"===e.body.type&&e.body.directives.length)for(let t=0,r=e.body.directives;t<r.length;t++){if("use strict"===r[t].value.value)return!0}return!1}parseFunctionBodyAndFinish(e,t,r=!1){this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t,r=!1){const n=t&&!this.match(u.braceL),i=this.state.strict;let a=!1;const s=this.state.inParameters;if(this.state.inParameters=!1,n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t);else{const n=!this.isSimpleParamList(e.params);if((!i||n)&&(a=this.strictDirective(this.state.end))&&n){const t="method"!==e.kind&&"constructor"!==e.kind||!e.key?e.start:e.key.end;this.raise(t,"Illegal 'use strict' directive in function with non-simple parameter list")}const s=this.state.labels;this.state.labels=[],a&&(this.state.strict=!0),this.checkParams(e,!(i||a||t||r||n),t),e.body=this.parseBlock(!0,!1),this.state.labels=s}this.state.inParameters=s,this.state.strict&&e.id&&this.checkLVal(e.id,R,void 0,"function name"),this.state.strict=i}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++)if("Identifier"!==e[t].type)return!1;return!0}checkParams(e,t,r){const n=Object.create(null);for(let r=0;r<e.params.length;r++)this.checkLVal(e.params[r],N,t?null:n,"function paramter list")}parseExprList(e,t,r){const n=[];let i=!0;for(;!this.eat(e);){if(i)i=!1;else if(this.expect(u.comma),this.eat(e))break;n.push(this.parseExprListItem(t,r))}return n}parseExprListItem(e,t,r,n){let i;if(e&&this.match(u.comma))i=null;else if(this.match(u.ellipsis)){const e=this.state.start,n=this.state.startLoc;i=this.parseParenItem(this.parseSpread(t,r),e,n)}else if(this.match(u.question)){this.expectPlugin("partialApplication"),n||this.raise(this.state.start,"Unexpected argument placeholder");const e=this.startNode();this.next(),i=this.finishNode(e,"ArgumentPlaceholder")}else i=this.parseMaybeAssign(!1,t,this.parseParenItem,r);return i}parseIdentifier(e){const t=this.startNode(),r=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e,t){let r;if(this.match(u.name))r=this.state.value,!t&&this.state.containsEsc&&re(r)&&this.raise(this.state.pos,`Escape sequence in keyword ${r}`);else{if(!this.state.type.keyword)throw this.unexpected();"class"!==(r=this.state.type.keyword)&&"function"!==r||this.state.lastTokEnd===this.state.lastTokStart+1&&46===this.input.charCodeAt(this.state.lastTokStart)||this.state.context.pop()}return t||this.checkReservedWord(r,this.state.start,!!this.state.type.keyword,!1),this.next(),r}checkReservedWord(e,t,r,n){this.scope.inGenerator&&"yield"===e&&this.raise(t,"Can not use 'yield' as identifier inside a generator"),this.scope.inAsync&&"await"===e&&this.raise(t,"Can not use 'await' as identifier inside an async function"),this.state.inClassProperty&&"arguments"===e&&this.raise(t,"'arguments' is not allowed in class field initializer"),r&&re(e)&&this.raise(t,`Unexpected keyword '${e}'`),(this.state.strict?n?te:ee:Z)(e,this.inModule)&&(this.scope.inAsync||"await"!==e||this.raise(t,"Can not use keyword 'await' outside an async function"),this.raise(t,`Unexpected reserved word '${e}'`))}parseAwait(){this.state.awaitPos||(this.state.awaitPos=this.state.start);const e=this.startNode();return this.next(),this.state.inParameters&&this.raise(e.start,"await is not allowed in async function parameters"),this.match(u.star)&&this.raise(e.start,"await* has been removed from the async functions proposal. Use Promise.all() instead."),this.state.soloAwait||(e.argument=this.parseMaybeUnary()),this.finishNode(e,"AwaitExpression")}parseYield(e){this.state.yieldPos||(this.state.yieldPos=this.state.start);const t=this.startNode();return this.state.inParameters&&this.raise(t.start,"yield is not allowed in generator parameters"),this.next(),this.match(u.semi)||!this.match(u.star)&&!this.state.type.startsExpr||this.hasPrecedingLineBreak()?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(u.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")}checkPipelineAtInfixOperator(e,t){if("smart"===this.getPluginOption("pipelineOperator","proposal")&&"SequenceExpression"===e.type)throw this.raise(t,"Pipeline head should not be a comma-separated sequence expression")}parseSmartPipelineBody(e,t,r){const n=this.checkSmartPipelineBodyStyle(e);return this.checkSmartPipelineBodyEarlyErrors(e,n,t),this.parseSmartPipelineBodyInStyle(e,n,t,r)}checkSmartPipelineBodyEarlyErrors(e,t,r){if(this.match(u.arrow))throw this.raise(this.state.start,'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized');if("PipelineTopicExpression"===t&&"SequenceExpression"===e.type)throw this.raise(r,"Pipeline body may not be a comma-separated sequence expression")}parseSmartPipelineBodyInStyle(e,t,r,n){const i=this.startNodeAt(r,n);switch(t){case"PipelineBareFunction":i.callee=e;break;case"PipelineBareConstructor":i.callee=e.callee;break;case"PipelineBareAwaitedFunction":i.callee=e.argument;break;case"PipelineTopicExpression":if(!this.topicReferenceWasUsedInCurrentTopicContext())throw this.raise(r,"Pipeline is in topic style but does not use topic reference");i.expression=e;break;default:throw this.raise(r,`Unknown pipeline style ${t}`)}return this.finishNode(i,t)}checkSmartPipelineBodyStyle(e){return e.type,this.isSimpleReference(e)?"PipelineBareFunction":"PipelineTopicExpression"}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}withTopicPermittingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withTopicForbiddingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}primaryTopicReferenceIsAllowedInCurrentTopicContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentTopicContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e,t){const r=this.state.start,n=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const a=this.parseExprOp(this.parseMaybeUnary(),r,n,e,t);return this.state.inFSharpPipelineDirectBody=i,a}}const tt={kind:"loop"},rt={kind:"switch"},nt=0,it=1,at=2,st=4;class ot extends et{parseTopLevel(e,t){if(t.sourceType=this.options.sourceType,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,u.eof),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let e=0,t=Array.from(this.scope.undefinedExports);e<t.length;e++){const[r]=t[e],n=this.scope.undefinedExports.get(r);this.raise(n,`Export '${r}' is not defined`)}return e.program=this.finishNode(t,"Program"),e.comments=this.state.comments,this.options.tokens&&(e.tokens=this.state.tokens),this.finishNode(e,"File")}stmtToDirective(e){const t=e.expression,r=this.startNodeAt(t.start,t.loc.start),n=this.startNodeAt(e.start,e.loc.start),i=this.input.slice(t.start,t.end),a=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",a),n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end),this.finishNodeAt(n,"Directive",e.end,e.loc.end)}parseInterpreterDirective(){if(!this.match(u.interpreterDirective))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(e){if(!this.isContextual("let"))return!1;Y.lastIndex=this.state.pos;const t=Y.exec(this.input),r=this.state.pos+t[0].length,n=this.input.charCodeAt(r);if(91===n)return!0;if(e)return!1;if(123===n)return!0;if(pe(n)){let e=r+1;for(;fe(this.input.charCodeAt(e));)++e;const t=this.input.slice(r,e);if(!ne.test(t))return!0}return!1}parseStatement(e,t){return this.match(u.at)&&this.parseDecorators(!0),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const n=this.startNode();let i;switch(this.isLet(e)&&(r=u._var,i="let"),r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookahead().type===u.dot)break;return e&&(this.state.strict?this.raise(this.state.start,"In strict mode code, functions can only be declared at top level or inside a block"):"if"!==e&&"label"!==e&&this.raise(this.state.start,"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement")),this.parseFunctionStatement(n,!1,!e);case u._class:return e&&this.unexpected(),this.parseClass(n,!0);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._const:case u._var:return i=i||this.state.value,e&&"var"!==i&&this.unexpected(this.state.start,"Lexical declaration cannot appear in a single-statement context"),this.parseVarStatement(n,i);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._export:case u._import:{const e=this.lookahead();if(e.type===u.parenL||e.type===u.dot)break;let i;return this.options.allowImportExportEverywhere||t||this.raise(this.state.start,"'import' and 'export' may only appear at the top level"),this.next(),r===u._import?"ImportDeclaration"!==(i=this.parseImport(n)).type||i.importKind&&"value"!==i.importKind||(this.sawUnambiguousESM=!0):("ExportNamedDeclaration"!==(i=this.parseExport(n)).type||i.exportKind&&"value"!==i.exportKind)&&("ExportAllDeclaration"!==i.type||i.exportKind&&"value"!==i.exportKind)&&"ExportDefaultDeclaration"!==i.type||(this.sawUnambiguousESM=!0),this.assertModuleNodeAllowed(n),i}default:if(this.isAsyncFunction())return e&&this.unexpected(null,"Async functions can only be declared at the top level or inside a block"),this.next(),this.parseFunctionStatement(n,!0,!e)}const a=this.state.value,s=this.parseExpression();return r===u.name&&"Identifier"===s.type&&this.eat(u.colon)?this.parseLabeledStatement(n,a,s,e):this.parseExpressionStatement(n,s)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(e.start,"'import' and 'export' may appear only with 'sourceType: \"module\"'",{code:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"})}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(u._class)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(u.at);){const e=this.parseDecorator();t.push(e)}this.match(u._export)?(e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.")):this.canHaveLeadingDecorator()||this.raise(this.state.start,"Leading decorators must be attached to a class declaration")}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start,r=this.state.startLoc;let n;if(this.eat(u.parenL))n=this.parseExpression(),this.expect(u.parenR);else for(n=this.parseIdentifier(!1);this.eat(u.dot);){const e=this.startNodeAt(t,r);e.object=n,e.property=this.parseIdentifier(!0),e.computed=!1,n=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(n),this.state.decoratorStack.pop()}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(u.parenL)){const t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(u.parenR,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){const r="break"===t;return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){const r="break"===t;let n;for(n=0;n<this.state.labels.length;++n){const t=this.state.labels[n];if(null==e.label||t.name===e.label.name){if(null!=t.kind&&(r||"loop"===t.kind))break;if(e.label&&r)break}}n===this.state.labels.length&&this.raise(e.start,"Unsyntactic "+t)}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(u.parenL);const e=this.parseExpression();return this.expect(u.parenR),e}parseDoStatement(e){return this.next(),this.state.labels.push(tt),e.body=this.withTopicForbiddingContext(()=>this.parseStatement("do")),this.state.labels.pop(),this.expect(u._while),e.test=this.parseHeaderExpression(),this.eat(u.semi),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(tt);let t=-1;if((this.scope.inAsync||!this.scope.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")&&(t=this.state.lastTokStart),this.scope.enter(l),this.expect(u.parenL),this.match(u.semi))return t>-1&&this.unexpected(t),this.parseFor(e,null);const r=this.isLet();if(this.match(u._var)||this.match(u._const)||r){const n=this.startNode(),i=r?"let":this.state.value;return this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),(this.match(u._in)||this.isContextual("of"))&&1===n.declarations.length?this.parseForIn(e,n,t):(t>-1&&this.unexpected(t),this.parseFor(e,n))}const n={start:0},i=this.parseExpression(!0,n);if(this.match(u._in)||this.isContextual("of")){const r=this.isContextual("of")?"for-of statement":"for-in statement";return this.toAssignable(i,void 0,r),this.checkLVal(i,void 0,void 0,r),this.parseForIn(e,i,t)}return n.start&&this.unexpected(n.start),t>-1&&this.unexpected(t),this.parseFor(e,i)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,it|(r?0:at),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(u._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.scope.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.state.start,"'return' outside of function"),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();const t=e.cases=[];let r,n;for(this.expect(u.braceL),this.state.labels.push(rt),this.scope.enter(l);!this.match(u.braceR);)if(this.match(u._case)||this.match(u._default)){const e=this.match(u._case);r&&this.finishNode(r,"SwitchCase"),t.push(r=this.startNode()),r.consequent=[],this.next(),e?r.test=this.parseExpression():(n&&this.raise(this.state.lastTokStart,"Multiple default clauses"),n=!0,r.test=null),this.expect(u.colon)}else r?r.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),r&&this.finishNode(r,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),K.test(this.input.slice(this.state.lastTokEnd,this.state.start))&&this.raise(this.state.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(u._catch)){const t=this.startNode();if(this.next(),this.match(u.parenL)){this.expect(u.parenL),t.param=this.parseBindingAtom();const e="Identifier"===t.param.type;this.scope.enter(e?y:0),this.checkLVal(t.param,F,null,"catch clause"),this.expect(u.parenR)}else t.param=null,this.scope.enter(l);t.body=this.withTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(u._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(tt),e.body=this.withTopicForbiddingContext(()=>this.parseStatement("while")),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(this.state.start,"'with' in strict mode"),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withTopicForbiddingContext(()=>this.parseStatement("with")),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(let e=0,n=this.state.labels;e<n.length;e++){n[e].name===t&&this.raise(r.start,`Label '${t}' is already declared`)}const i=this.state.type.isLoop?"loop":this.match(u._switch)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0){const r=this.startNode();return this.expect(u.braceL),t&&this.scope.enter(l),this.parseBlockBody(r,e,!1,u.braceR),t&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n){const i=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:void 0,r,n)}parseBlockOrModuleBlockBody(e,t,r,n){let i,a,s=!1;for(;!this.eat(n);){s||!this.state.containsOctal||a||(a=this.state.octalPosition);const n=this.parseStatement(null,r);if(t&&!s&&this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e),void 0===i&&"use strict"===e.value.value&&(i=this.state.strict,this.setStrict(!0),a&&this.raise(a,"Octal literal in strict mode"))}else s=!0,e.push(n)}!1===i&&this.setStrict(!1)}parseFor(e,t){return e.init=t,this.expect(u.semi),e.test=this.match(u.semi)?null:this.parseExpression(),this.expect(u.semi),e.update=this.match(u.parenR)?null:this.parseExpression(),this.expect(u.parenR),e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(u._in);return this.next(),n?r>-1&&this.unexpected(r):e.await=r>-1,"VariableDeclaration"!==t.type||null==t.declarations[0].init||n&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type?"AssignmentPattern"===t.type&&this.raise(t.start,"Invalid left-hand side in for-loop"):this.raise(t.start,`${n?"for-in":"for-of"} loop variable declaration may not have an initializer`),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(u.parenR),e.body=this.withTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const n=e.declarations=[],i=this.hasPlugin("typescript");for(e.kind=r;;){const e=this.startNode();if(this.parseVarId(e,r),this.eat(u.eq)?e.init=this.parseMaybeAssign(t):("const"!==r||this.match(u._in)||this.isContextual("of")?"Identifier"===e.id.type||t&&(this.match(u._in)||this.isContextual("of"))||this.raise(this.state.lastTokEnd,"Complex binding patterns require an initialization value"):i||this.unexpected(),e.init=null),n.push(this.finishNode(e,"VariableDeclarator")),!this.eat(u.comma))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?N:F,void 0,"variable declaration")}parseFunction(e,t=nt,r=!1){const n=t&it,i=t&at,a=!(!n||t&st);this.initFunction(e,r),this.match(u.star)&&i&&this.unexpected(this.state.start,"Generators can only be declared at the top level or inside a block"),e.generator=this.eat(u.star),n&&(e.id=this.parseFunctionId(a));const s=this.state.inClassProperty,o=this.state.yieldPos,l=this.state.awaitPos;return this.state.inClassProperty=!1,this.state.yieldPos=0,this.state.awaitPos=0,this.scope.enter(E(e.async,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e),this.withTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")}),this.scope.exit(),n&&!i&&this.checkFunctionStatementId(e),this.state.inClassProperty=s,this.state.yieldPos=o,this.state.awaitPos=l,e}parseFunctionId(e){return e||this.match(u.name)?this.parseIdentifier():null}parseFunctionParams(e,t){const r=this.state.inParameters;this.state.inParameters=!0,this.expect(u.parenL),e.params=this.parseBindingList(u.parenR,!1,t),this.state.inParameters=r,this.checkYieldAwaitInDefaultParams()}checkFunctionStatementId(e){e.id&&this.checkLVal(e.id,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?N:F:I,null,"function name")}parseClass(e,t,r){this.next(),this.takeDecorators(e);const n=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass),this.state.strict=n,this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)}isClassMethod(){return this.match(u.parenL)}isNonstaticConstructor(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e){this.state.classLevel++;const t={hadConstructor:!1};let r=[];const n=this.startNode();return n.body=[],this.expect(u.braceL),this.withTopicForbiddingContext(()=>{for(;!this.eat(u.braceR);){if(this.eat(u.semi)){r.length>0&&this.raise(this.state.lastTokEnd,"Decorators must not be followed by a semicolon");continue}if(this.match(u.at)){r.push(this.parseDecorator());continue}const i=this.startNode();r.length&&(i.decorators=r,this.resetStartLocationFromNode(i,r[0]),r=[]),this.parseClassMember(n,i,t,e),"constructor"===i.kind&&i.decorators&&i.decorators.length>0&&this.raise(i.start,"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")}}),r.length&&this.raise(this.state.start,"You have trailing decorators with no method"),this.state.classLevel--,this.finishNode(n,"ClassBody")}parseClassMember(e,t,r,n){let i=!1;const a=this.state.containsEsc;if(this.match(u.name)&&"static"===this.state.value){const r=this.parseIdentifier(!0);if(this.isClassMethod()){const n=t;return n.kind="method",n.computed=!1,n.key=r,n.static=!1,void this.pushClassMethod(e,n,!1,!1,!1,!1)}if(this.isClassProperty()){const n=t;return n.computed=!1,n.key=r,n.static=!1,void e.body.push(this.parseClassProperty(n))}if(a)throw this.unexpected();i=!0}this.parseClassMemberWithIsStatic(e,t,r,i,n)}parseClassMemberWithIsStatic(e,t,r,n,i){const a=t,s=t,o=t,l=t,c=a,p=a;if(t.static=n,this.eat(u.star))return c.kind="method",this.parseClassPropertyName(c),"PrivateName"===c.key.type?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(a)&&this.raise(a.key.start,"Constructor can't be a generator"),void this.pushClassMethod(e,a,!0,!1,!1,!1));const f=this.state.containsEsc,d=this.parseClassPropertyName(t),h="PrivateName"===d.type,y="Identifier"===d.type;if(this.parsePostMemberNameModifiers(p),this.isClassMethod()){if(c.kind="method",h)return void this.pushClassPrivateMethod(e,s,!1,!1);const t=this.isNonstaticConstructor(a);let n=!1;t&&(a.kind="constructor",a.decorators&&this.raise(a.start,"You can't attach decorators to a class constructor"),r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(d.start,"Duplicate constructor in the same class"),r.hadConstructor=!0,n=i),this.pushClassMethod(e,a,!1,!1,t,n)}else if(this.isClassProperty())h?this.pushClassPrivateProperty(e,l):this.pushClassProperty(e,o);else if(!y||"async"!==d.name||f||this.isLineTerminator())!y||"get"!==d.name&&"set"!==d.name||f||this.match(u.star)&&this.isLineTerminator()?this.isLineTerminator()?h?this.pushClassPrivateProperty(e,l):this.pushClassProperty(e,o):this.unexpected():(c.kind=d.name,this.parseClassPropertyName(a),"PrivateName"===c.key.type?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(a)&&this.raise(a.key.start,"Constructor can't have get/set modifier"),this.pushClassMethod(e,a,!1,!1,!1,!1)),this.checkGetterSetterParams(a));else{const t=this.eat(u.star);c.kind="method",this.parseClassPropertyName(c),"PrivateName"===c.key.type?this.pushClassPrivateMethod(e,s,t,!0):(this.isNonstaticConstructor(a)&&this.raise(a.key.start,"Constructor can't be an async function"),this.pushClassMethod(e,a,t,!0,!1,!1))}}parseClassPropertyName(e){const t=this.parsePropertyName(e);return e.computed||!e.static||"prototype"!==t.name&&"prototype"!==t.value||this.raise(t.start,"Classes may not have static property named prototype"),"PrivateName"===t.type&&"constructor"===t.id.name&&this.raise(t.start,"Classes may not have a private field named '#constructor'"),t}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(t.key.start,"Classes may not have a field named 'constructor'"),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){this.expectPlugin("classPrivateProperties",t.key.start),e.body.push(this.parseClassPrivateProperty(t))}pushClassMethod(e,t,r,n,i,a){e.body.push(this.parseMethod(t,r,n,i,a,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,n){this.expectPlugin("classPrivateMethods",t.key.start),e.body.push(this.parseMethod(t,r,n,!1,!1,"ClassPrivateMethod",!0))}parsePostMemberNameModifiers(e){}parseAccessModifier(){}parseClassPrivateProperty(e){return this.state.inClassProperty=!0,this.scope.enter(g|m),e.value=this.eat(u.eq)?this.parseMaybeAssign():null,this.semicolon(),this.state.inClassProperty=!1,this.scope.exit(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return e.typeAnnotation||this.expectPlugin("classProperties"),this.state.inClassProperty=!0,this.scope.enter(g|m),this.match(u.eq)?(this.expectPlugin("classProperties"),this.next(),e.value=this.parseMaybeAssign()):e.value=null,this.semicolon(),this.state.inClassProperty=!1,this.scope.exit(),this.finishNode(e,"ClassProperty")}parseClassId(e,t,r,n=O){this.match(u.name)?(e.id=this.parseIdentifier(),t&&this.checkLVal(e.id,n,void 0,"class name")):r||!t?e.id=null:this.unexpected(null,"A class name is required")}parseClassSuper(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e),r=!t||this.eat(u.comma),n=r&&this.eatExportStar(e),i=n&&this.maybeParseExportNamespaceSpecifier(e),a=r&&(!i||this.eat(u.comma)),s=t||n;if(n&&!i)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");const o=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!o||i&&a&&!o)throw this.unexpected(null,u.braceL);let l;if(s||o?(l=!1,this.parseExportFrom(e,s)):l=this.maybeParseExportDeclaration(e),s||o||l)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(u._default))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,u.braceL)}eatExportStar(e){return this.eat(u.star)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual("as")){e.specifiers||(e.specifiers=[]),this.expectPlugin("exportNamespaceFrom");const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseIdentifier(!0),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){return!!this.match(u.braceL)&&(e.specifiers||(e.specifiers=[]),e.specifiers.push(...this.parseExportSpecifiers()),e.source=null,e.declaration=null,!0)}maybeParseExportDeclaration(e){if(this.shouldParseExportDeclaration()){if(this.isContextual("async")){const e=this.lookahead();e.type!==u._function&&this.unexpected(e.start,'Unexpected token, expected "function"')}return e.specifiers=[],e.source=null,e.declaration=this.parseExportDeclaration(e),!0}return!1}isAsyncFunction(){if(!this.isContextual("async"))return!1;const{pos:e}=this.state;Y.lastIndex=e;const t=Y.exec(this.input);if(!t||!t.length)return!1;const r=e+t[0].length;return!(K.test(this.input.slice(e,r))||"function"!==this.input.slice(r,r+8)||r+8!==this.length&&fe(this.input.charCodeAt(r+8)))}parseExportDefaultExpression(){const e=this.startNode(),t=this.isAsyncFunction();if(this.match(u._function)||t)return this.next(),t&&this.next(),this.parseFunction(e,it|st,t);if(this.match(u._class))return this.parseClass(e,!0,!0);if(this.match(u.at))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.unexpected(this.state.start,"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax"),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(u._const)||this.match(u._var)||this.isLet())return this.raise(this.state.start,"Only expressions, functions or classes are allowed as the `default` export.");{const e=this.parseMaybeAssign();return this.semicolon(),e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){if(this.match(u.name))return"async"!==this.state.value&&"let"!==this.state.value;if(!this.match(u._default))return!1;const e=this.lookahead();return e.type===u.comma||e.type===u.name&&"from"===e.value}parseExportFrom(e,t){this.eatContextual("from")?(e.source=this.parseImportSource(),this.checkExport(e)):t?this.unexpected():e.source=null,this.semicolon()}shouldParseExportDeclaration(){if(this.match(u.at)&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(!this.getPluginOption("decorators","decoratorsBeforeExport"))return!0;this.unexpected(this.state.start,"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax")}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()}checkExport(e,t,r,n){if(t)if(r)this.checkDuplicateExports(e,"default");else if(e.specifiers&&e.specifiers.length)for(let t=0,r=e.specifiers;t<r.length;t++){const e=r[t];this.checkDuplicateExports(e,e.exported.name),!n&&e.local&&(this.checkReservedWord(e.local.name,e.local.start,!0,!1),this.scope.checkLocalExport(e.local))}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(let t=0,r=e.declaration.declarations;t<r.length;t++){const e=r[t];this.checkDeclaration(e.id)}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length){const t=e.declaration&&("ClassDeclaration"===e.declaration.type||"ClassExpression"===e.declaration.type);if(!e.declaration||!t)throw this.raise(e.start,"You can only use decorators on an export when exporting a class");this.takeDecorators(e.declaration)}}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(let t=0,r=e.properties;t<r.length;t++){const e=r[t];this.checkDeclaration(e)}else if("ArrayPattern"===e.type)for(let t=0,r=e.elements;t<r.length;t++){const e=r[t];e&&this.checkDeclaration(e)}else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){if(this.state.exportedIdentifiers.indexOf(t)>-1)throw this.raise(e.start,"default"===t?"Only one default export allowed per module.":`\`${t}\` has already been exported. Exported identifiers must be unique.`);this.state.exportedIdentifiers.push(t)}parseExportSpecifiers(){const e=[];let t=!0;for(this.expect(u.braceL);!this.eat(u.braceR);){if(t)t=!1;else if(this.expect(u.comma),this.eat(u.braceR))break;const r=this.startNode();r.local=this.parseIdentifier(!0),r.exported=this.eatContextual("as")?this.parseIdentifier(!0):r.local.__clone(),e.push(this.finishNode(r,"ExportSpecifier"))}return e}parseImport(e){if(e.specifiers=[],!this.match(u.string)){const t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(u.comma),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual("from")}return e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(u.string)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return this.match(u.name)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier(),this.checkLVal(t.local,F,void 0,n),e.specifiers.push(this.finishNode(t,r))}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(u.star)){const t=this.startNode();return this.next(),this.expectContextual("as"),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(u.braceL);!this.eat(u.braceR);){if(t)t=!1;else if(this.eat(u.colon)&&this.unexpected(null,"ES2015 named imports do not destructure. Use another statement for destructuring after the import."),this.expect(u.comma),this.eat(u.braceR))break;this.parseImportSpecifier(e)}}parseImportSpecifier(e){const t=this.startNode();t.imported=this.parseIdentifier(!0),this.eatContextual("as")?t.local=this.parseIdentifier():(this.checkReservedWord(t.imported.name,t.start,!0,!0),t.local=t.imported.__clone()),this.checkLVal(t.local,F,void 0,"import specifier"),e.specifiers.push(this.finishNode(t,"ImportSpecifier"))}}class ut extends ot{constructor(e,t){super(e=function(e){const t={};for(let r=0,n=Object.keys(ke);r<n.length;r++){const i=n[r];t[i]=e&&null!=e[i]?e[i]:ke[i]}return t}(e),t);const r=this.getScopeHandler();this.options=e,this.inModule="module"===this.options.sourceType,this.scope=new r(this.raise.bind(this),this.inModule),this.plugins=function(e){const t=new Map;for(let r=0;r<e.length;r++){const n=e[r],[i,a]=Array.isArray(n)?n:[n,{}];t.has(i)||t.set(i,a||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return De}parse(){this.scope.enter(c);const e=this.startNode(),t=this.startNode();return this.nextToken(),this.parseTopLevel(e,t)}}function lt(e,t){let r=ut;return e&&e.plugins&&(!function(e){if(_e(e,"decorators")){if(_e(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=Oe(e,"decorators","decoratorsBeforeExport");if(null==t)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 t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(_e(e,"flow")&&_e(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(_e(e,"placeholders")&&_e(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(_e(e,"pipelineOperator")&&!Fe.includes(Oe(e,"pipelineOperator","proposal")))throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+Fe.map(e=>`'${e}'`).join(", "))}(e.plugins),r=function(e){const t=Ie.filter(t=>_e(e,t)),r=t.join("/");let n=ct[r];if(!n){n=ut;for(let e=0;e<t.length;e++){const r=t[e];n=Ne[r](n)}ct[r]=n}return n}(e.plugins)),new r(e,t)}const ct={};t.parse=function(e,t){if(!t||"unambiguous"!==t.sourceType)return lt(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const r=lt(t,e),n=r.parse();return r.sawUnambiguousESM||(n.program.sourceType="script"),n}catch(r){try{return t.sourceType="script",lt(t,e).parse()}catch(e){}throw r}},t.parseExpression=function(e,t){const r=lt(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()},t.tokTypes=u},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(247));return n=function(){return e},e}function i(){const e=r(245);return i=function(){return e},e}function a(){const e=r(243);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const s=function(e,t){t=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},t,{plugins:(t.plugins||[]).concat("placeholders")});try{return(0,i().parse)(e,t)}catch(t){const r=t.loc;throw r&&(t.message+="\n"+(0,a().codeFrameColumns)(e,{start:r}),t.code="BABEL_TEMPLATE_PARSE_ERROR"),t}}(t,r.parser),{placeholderWhitelist:u,placeholderPattern:l,preserveComments:c,syntacticPlaceholders:p}=r;n().removePropertiesDeep(s,{preserveComments:c}),e.validate(s);const f={placeholders:[],placeholderNames:new Set},d={placeholders:[],placeholderNames:new Set},h={value:void 0};return n().traverse(s,o,{syntactic:f,legacy:d,isLegacyRef:h,placeholderWhitelist:u,placeholderPattern:l,syntacticPlaceholders:p}),Object.assign({ast:s},h.value?d:f)};const s=/^[_$A-Z0-9]+$/;function o(e,t,r){let i;if(n().isPlaceholder(e)){if(!1===r.syntacticPlaceholders)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");i=e.name.name,r.isLegacyRef.value=!1}else{if(!1===r.isLegacyRef.value||r.syntacticPlaceholders)return;if(n().isIdentifier(e)||n().isJSXIdentifier(e))i=e.name,r.isLegacyRef.value=!0;else{if(!n().isStringLiteral(e))return;i=e.value,r.isLegacyRef.value=!0}}if(!r.isLegacyRef.value&&(null!=r.placeholderPattern||null!=r.placeholderWhitelist))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(r.isLegacyRef.value&&(!1===r.placeholderPattern||!(r.placeholderPattern||s).test(i))&&(!r.placeholderWhitelist||!r.placeholderWhitelist.has(i)))return;t=t.slice();const{node:a,key:o}=t[t.length-1];let u;n().isStringLiteral(e)||n().isPlaceholder(e,{expectedNode:"StringLiteral"})?u="string":n().isNewExpression(a)&&"arguments"===o||n().isCallExpression(a)&&"arguments"===o||n().isFunction(a)&&"params"===o?u="param":n().isExpressionStatement(a)&&!n().isPlaceholder(e)?(u="statement",t=t.slice(0,-1)):u=n().isStatement(e)&&n().isPlaceholder(e)?"statement":"other";const{placeholders:l,placeholderNames:c}=r.isLegacyRef.value?r.legacy:r.syntactic;l.push({name:i,type:u,resolve:e=>(function(e,t){let r=e;for(let e=0;e<t.length-1;e++){const{key:n,index:i}=t[e];r=void 0===i?r[n]:r[n][i]}const{key:n,index:i}=t[t.length-1];return{parent:r,key:n,index:i}})(e,t),isDuplicate:c.has(i)}),c.add(i)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0};Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"isPlaceholderType",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return ce.default}}),t.react=void 0;var i=fe(r(561)),a=fe(r(562)),s=fe(r(563)),o=fe(r(571)),u=r(572);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var l=fe(r(573)),c=fe(r(574)),p=r(23);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var f=fe(r(61)),d=fe(r(254)),h=fe(r(575)),y=fe(r(576)),m=fe(r(577)),v=fe(r(255)),g=fe(r(256)),T=fe(r(257)),E=fe(r(258)),S=fe(r(259)),b=fe(r(578)),x=r(579);Object.keys(x).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}}))}));var D=r(39);Object.keys(D).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return D[e]}}))}));var A=fe(r(580)),C=fe(r(581)),P=fe(r(260)),w=fe(r(582)),_=fe(r(583)),O=fe(r(261)),F=fe(r(584)),N=fe(r(585)),I=fe(r(587)),k=fe(r(588)),L=r(17);Object.keys(L).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return L[e]}}))}));var M=fe(r(589)),B=fe(r(590)),j=fe(r(591)),R=fe(r(264)),V=fe(r(262)),q=fe(r(253)),U=fe(r(81)),K=fe(r(592)),X=fe(r(593)),J=fe(r(263)),Y=fe(r(128)),W=fe(r(130)),$=fe(r(594)),H=fe(r(595)),z=fe(r(596)),G=fe(r(265)),Q=fe(r(252)),Z=fe(r(597)),ee=fe(r(250)),te=fe(r(598)),re=fe(r(599)),ne=fe(r(600)),ie=fe(r(131)),ae=fe(r(601)),se=fe(r(60)),oe=fe(r(602)),ue=fe(r(249)),le=fe(r(132)),ce=fe(r(248)),pe=r(9);function fe(e){return e&&e.__esModule?e:{default:e}}Object.keys(pe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pe[e]}}))}));const de={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=de},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.split(".");return e=>(0,i.default)(e,r,t)};var n,i=(n=r(249))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!(0,n.isMemberExpression)(e))return!1;const i=Array.isArray(t)?t:t.split("."),a=[];let s;for(s=e;(0,n.isMemberExpression)(s);s=s.object)a.push(s.property);if(a.push(s),a.length<i.length)return!1;if(!r&&a.length>i.length)return!1;for(let e=0,t=a.length-1;e<i.length;e++,t--){const r=a[t];let s;if((0,n.isIdentifier)(r))s=r.name;else{if(!(0,n.isStringLiteral)(r))return!1;s=r.value}if(i[e]!==s)return!1}return!0};var n=r(9)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e===t)return!0;const r=n.PLACEHOLDERS_ALIAS[e];if(r)for(const e of r)if(t===e)return!0;return!1};var n=r(17)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PLACEHOLDERS_FLIPPED_ALIAS=t.PLACEHOLDERS_ALIAS=t.PLACEHOLDERS=void 0;var n=r(31);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const a={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=a;for(const e of i){const t=n.ALIAS_KEYS[e];t&&t.length&&(a[e]=t)}const s={};t.PLACEHOLDERS_FLIPPED_ALIAS=s,Object.keys(a).forEach(e=>{a[e].forEach(t=>{Object.hasOwnProperty.call(s,t)||(s[t]=[]),s[t].push(e)})})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!n.VISITOR_KEYS[e.type])};var n=r(17)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){const r={};const i={};const a=[];const s=[];for(let o=0;o<t.length;o++){const u=t[o];if(u&&!(s.indexOf(u)>=0)){if((0,n.isAnyTypeAnnotation)(u))return[u];if((0,n.isFlowBaseAnnotation)(u))i[u.type]=u;else if((0,n.isUnionTypeAnnotation)(u))a.indexOf(u.types)<0&&(t=t.concat(u.types),a.push(u.types));else if((0,n.isGenericTypeAnnotation)(u)){const t=u.id.name;if(r[t]){let n=r[t];n.typeParameters?u.typeParameters&&(n.typeParameters.params=e(n.typeParameters.params.concat(u.typeParameters.params))):n=u.typeParameters}else r[t]=u}else s.push(u)}}for(const e of Object.keys(i))s.push(i[e]);for(const e of Object.keys(r))s.push(r[e]);return s};var n=r(9)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e,!1)};var n,i=(n=r(61))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!r||!e)return e;const n=`${t}Comments`;e[n]?e[n]="leading"===t?r.concat(e[n]):e[n].concat(r):e[n]=r;return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("innerComments",e,t)};var n,i=(n=r(134))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("leadingComments",e,t)};var n,i=(n=r(134))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,t),(0,i.default)(e,t),(0,a.default)(e,t),e};var n=s(r(259)),i=s(r(257)),a=s(r(256));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.default)("trailingComments",e,t)};var n,i=(n=r(134))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isBlockStatement)(e))return e;let r=[];(0,n.isEmptyStatement)(e)?r=[]:((0,n.isStatement)(e)||(e=(0,n.isFunction)(t)?(0,i.returnStatement)(e):(0,i.expressionStatement)(e)),r=[e]);return(0,i.blockStatement)(r)};var n=r(9),i=r(23)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e=(e=(e=(e+="").replace(/[^a-zA-Z0-9$_]/g,"-")).replace(/^[-0-9]+/,"")).replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""})),(0,i.default)(e)||(e=`_${e}`);return e||"_"};var n,i=(n=r(60))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(e,i.default,t),e};var n=a(r(263)),i=a(r(264));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,i){if(!t)return;const a=n.VISITOR_KEYS[t.type];if(!a)return;i=i||{};r(t,i);for(const n of a){const a=t[n];if(Array.isArray(a))for(const t of a)e(t,r,i);else e(a,r,i)}};var n=r(17)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){const r=t.preserveComments?i:a;for(const t of r)null!=e[t]&&(e[t]=void 0);for(const t of Object.keys(e))"_"===t[0]&&null!=e[t]&&(e[t]=void 0);const n=Object.getOwnPropertySymbols(e);for(const t of n)e[t]=null};var n=r(39);const i=["tokens","start","end","loc","raw","rawValue"],a=n.COMMENT_KEYS.concat(["comments"]).concat(i)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e)&&("var"!==e.kind||e[i.BLOCK_SCOPED_SYMBOL])};var n=r(9),i=r(39)},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(247));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=n().cloneNode(e.ast);t&&(e.placeholders.forEach(e=>{if(!Object.prototype.hasOwnProperty.call(t,e.name)){const t=e.name;throw new Error(`Error: No substitution given for "${t}". If this is not meant to be a\n placeholder you may want to consider passing one of the following options to @babel/template:\n - { placeholderPattern: false, placeholderWhitelist: new Set(['${t}'])}\n - { placeholderPattern: /^${t}$/ }`)}}),Object.keys(t).forEach(t=>{if(!e.placeholderNames.has(t))throw new Error(`Unknown substitution "${t}" given`)}));return e.placeholders.slice().reverse().forEach(e=>{try{!function(e,t,r){e.isDuplicate&&(Array.isArray(r)?r=r.map(e=>n().cloneNode(e)):"object"==typeof r&&(r=n().cloneNode(r)));const{parent:i,key:a,index:s}=e.resolve(t);if("string"===e.type){if("string"==typeof r&&(r=n().stringLiteral(r)),!r||!n().isStringLiteral(r))throw new Error("Expected string substitution")}else if("statement"===e.type)void 0===s?r?Array.isArray(r)?r=n().blockStatement(r):"string"==typeof r?r=n().expressionStatement(n().identifier(r)):n().isStatement(r)||(r=n().expressionStatement(r)):r=n().emptyStatement():r&&!Array.isArray(r)&&("string"==typeof r&&(r=n().identifier(r)),n().isStatement(r)||(r=n().expressionStatement(r)));else if("param"===e.type){if("string"==typeof r&&(r=n().identifier(r)),void 0===s)throw new Error("Assertion failure.")}else if("string"==typeof r&&(r=n().identifier(r)),Array.isArray(r))throw new Error("Cannot replace single expression with an array.");if(void 0===s)n().validate(i,a,r),i[a]=r;else{const t=i[a].slice();"statement"===e.type||"param"===e.type?null==r?t.splice(s,1):Array.isArray(r)?t.splice(s,1,...r):t[s]=r:t[s]=r,n().validate(i,a,t),i[a]=t}}(e,r,t&&t[e.name]||null)}catch(t){throw t.message=`@babel/template placeholder "${e.name}": ${t.message}`,t}}),r}},function(e,t,r){e.exports=function(){"use strict";var e=function(e,t){var r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e,t){return e(t={exports:{}},t.exports),t.exports}var n=r((function(e){e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");var t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return null;var r=t.filter((function(e){return"\r\n"===e})).length;return r>t.length-r?"\r\n":"\n"},e.exports.graceful=function(t){return e.exports(t)||"\n"}})),i={EOL:"\n"},a=Object.freeze({default:i}),s=a&&i||a,o=r((function(e,t){var r,i;function a(){return r=(e=n)&&e.__esModule?e:{default:e};var e}function o(){return i=s}Object.defineProperty(t,"__esModule",{value:!0}),t.extract=function(e){var t=e.match(c);return t?t[0].trimLeft():""},t.strip=function(e){var t=e.match(c);return t&&t[0]?e.substring(t[0].length):e},t.parse=function(e){return m(e).pragmas},t.parseWithComments=m,t.print=function(e){var t=e.comments,n=void 0===t?"":t,s=e.pragmas,u=void 0===s?{}:s,l=(0,(r||a()).default)(n)||(i||o()).EOL,c=Object.keys(u),p=c.map((function(e){return v(e,u[e])})).reduce((function(e,t){return e.concat(t)}),[]).map((function(e){return" * "+e+l})).join("");if(!n){if(0===c.length)return"";if(1===c.length&&!Array.isArray(u[c[0]])){var f=u[c[0]];return"".concat("/**"," ").concat(v(c[0],f)[0]).concat(" */")}}var d=n.split(l).map((function(e){return"".concat(" *"," ").concat(e)})).join(l)+l;return"/**"+l+(n?d:"")+(n&&c.length?" *"+l:"")+p+" */"};var u=/\*\/$/,l=/^\/\*\*/,c=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,p=/(^|\s+)\/\/([^\r\n]*)/g,f=/^(\r?\n)+/,d=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,h=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,y=/(\r?\n|^) *\* ?/g;function m(e){var t=(0,(r||a()).default)(e)||(i||o()).EOL;e=e.replace(l,"").replace(u,"").replace(y,"$1");for(var n="";n!==e;)n=e,e=e.replace(d,"".concat(t,"$1 $2").concat(t));e=e.replace(f,"").trimRight();for(var s,c=Object.create(null),m=e.replace(h,"").replace(f,"").trimRight();s=h.exec(e);){var v=s[2].replace(p,"");"string"==typeof c[s[1]]||Array.isArray(c[s[1]])?c[s[1]]=[].concat(c[s[1]],v):c[s[1]]=v}return{comments:m,pragmas:c}}function v(e,t){return[].concat(t).map((function(t){return"@".concat(e," ").concat(t).trim()}))}}));t(o);var u=function(e){return e.length>0?e[e.length-1]:null},l={locStart:function e(t,r){return!(r=r||{}).ignoreDecorators&&t.declaration&&t.declaration.decorators&&t.declaration.decorators.length>0?e(t.declaration.decorators[0]):!r.ignoreDecorators&&t.decorators&&t.decorators.length>0?e(t.decorators[0]):t.__location?t.__location.startOffset:t.range?t.range[0]:"number"==typeof t.start?t.start:t.loc?t.loc.start:null},locEnd:function e(t){var r=t.nodes&&u(t.nodes);if(r&&t.source&&!t.source.end&&(t=r),t.__location)return t.__location.endOffset;var n=t.range?t.range[1]:"number"==typeof t.end?t.end:null;return t.typeAnnotation?Math.max(n,e(t.typeAnnotation)):t.loc&&!n?t.loc.end:n}};function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var p=r((function(e){e.exports=function(e){e=Object.assign({onlyFirst:!1},e);var t=["[\\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(t,e.onlyFirst?void 0:"g")}})),f=r((function(e){e.exports=function(e){return!Number.isNaN(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}}));function d(e){return function(t,r,n){var i=n&&n.backwards;if(!1===r)return!1;for(var a=t.length,s=r;s>=0&&s<a;){var o=t.charAt(s);if(e instanceof RegExp){if(!e.test(o))return s}else if(-1===e.indexOf(o))return s;i?s--:s++}return(-1===s||s===a)&&s}}r((function(e){var t=/\uD83C\uDFF4(?:\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74)\uDB40\uDC7F|\u200D\u2620\uFE0F)|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC68(?:\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])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3]))|\uD83D\uDC69\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[\uDDB0-\uDDB3])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\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\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83D\uDC69\u200D[\u2695\u2696\u2708])\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC68(?:\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDB0-\uDDB3])|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|(?:\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\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\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDD1-\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\uDEEB\uDEEC\uDEF4-\uDEF9]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD70\uDD73-\uDD76\uDD7A\uDD7C-\uDDA2\uDDB0-\uDDB9\uDDC0-\uDDC2\uDDD0-\uDDFF])|(?:[#\*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\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF9]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD70\uDD73-\uDD76\uDD7A\uDD7C-\uDDA2\uDDB0-\uDDB9\uDDC0-\uDDC2\uDDD0-\uDDFF])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDD1-\uDDDD])/g;e.exports=function(e){if("string"!=typeof(e=e.replace(t," "))||0===e.length)return 0;e=function(e){return"string"==typeof e?e.replace(p(),""):e}(e);for(var r=0,n=0;n<e.length;n++){var i=e.codePointAt(n);i<=31||i>=127&&i<=159||i>=768&&i<=879||(i>65535&&n++,r+=f(i)?2:1)}return r}})),d(/\s/),d(" \t"),d(",; \t"),d(/[^\r\n]/);var h={};[["|>"],["||","??"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach((function(e,t){e.forEach((function(e){h[e]=t}))}));var y=u,m=function(e,t){return function e(t,r){if(t&&"object"===c(t))if(Array.isArray(t)){var n=!0,i=!1,a=void 0;try{for(var s,o=t[Symbol.iterator]();!(n=(s=o.next()).done);n=!0)e(s.value,r)}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw a}}}else if("string"==typeof t.type){for(var u=Object.keys(t),l=0;l<u.length;l++)e(t[u[l]],r);r(t)}}(e,(function(e){switch(e.type){case"VariableDeclaration":var r=y(e.declarations);r&&r.init&&function(e,r){var n;";"!==t.originalText[(n=r,"flow"===t.parser?n.range[1]:n.end)]&&("flow"===t.parser?e.range=[e.range[0],r.range[1]]:e.end=r.end,e.loc=Object.assign({},e.loc,{end:e.loc.end}))}(e,r)}})),e},v=r((function(e,t){function r(e){var t,r;function n(t,r){try{var a=e[t](r),s=a.value,o=s instanceof function(e){this.wrapped=e};Promise.resolve(o?s.wrapped:s).then((function(e){o?n("next",e):i(a.done?"return":"normal",e)}),(function(e){n("throw",e)}))}catch(e){i("throw",e)}}function i(e,i){switch(e){case"return":t.resolve({value:i,done:!0});break;case"throw":t.reject(i);break;default:t.resolve({value:i,done:!1})}(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(e,i){return new Promise((function(a,s){var o={key:e,arg:i,resolve:a,reject:s,next:null};r?r=r.next=o:(t=r=o,n(e,i))}))},"function"!=typeof e.return&&(this.return=void 0)}function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}Object.defineProperty(t,"__esModule",{value:!0}),"function"==typeof Symbol&&Symbol.asyncIterator&&(r.prototype[Symbol.asyncIterator]=function(){return this}),r.prototype.next=function(e){return this._invoke("next",e)},r.prototype.throw=function(e){return this._invoke("throw",e)},r.prototype.return=function(e){return this._invoke("return",e)};var i=!0,a=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=0===t.binop?0:t.binop||null,this.updateContext=null};function s(e,t){return void 0===t&&(t={}),new a(e,Object.assign({},t,{keyword:e}))}function o(e,t){return new a(e,{beforeExpr:i,binop:t})}var u={num:new a("num",{startsExpr:!0}),bigint:new a("bigint",{startsExpr:!0}),regexp:new a("regexp",{startsExpr:!0}),string:new a("string",{startsExpr:!0}),name:new a("name",{startsExpr:!0}),eof:new a("eof"),bracketL:new a("[",{beforeExpr:i,startsExpr:!0}),bracketR:new a("]"),braceL:new a("{",{beforeExpr:i,startsExpr:!0}),braceBarL:new a("{|",{beforeExpr:i,startsExpr:!0}),braceR:new a("}"),braceBarR:new a("|}"),parenL:new a("(",{beforeExpr:i,startsExpr:!0}),parenR:new a(")"),comma:new a(",",{beforeExpr:i}),semi:new a(";",{beforeExpr:i}),colon:new a(":",{beforeExpr:i}),doubleColon:new a("::",{beforeExpr:i}),dot:new a("."),question:new a("?",{beforeExpr:i}),questionDot:new a("?."),arrow:new a("=>",{beforeExpr:i}),template:new a("template"),ellipsis:new a("...",{beforeExpr:i}),backQuote:new a("`",{startsExpr:!0}),dollarBraceL:new a("${",{beforeExpr:i,startsExpr:!0}),at:new a("@"),hash:new a("#"),interpreterDirective:new a("#!..."),eq:new a("=",{beforeExpr:i,isAssign:!0}),assign:new a("_=",{beforeExpr:i,isAssign:!0}),incDec:new a("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:new a("!",{beforeExpr:i,prefix:!0,startsExpr:!0}),tilde:new a("~",{beforeExpr:i,prefix:!0,startsExpr:!0}),pipeline:new o("|>",0),nullishCoalescing:new o("??",1),logicalOR:new o("||",1),logicalAND:new o("&&",2),bitwiseOR:new o("|",3),bitwiseXOR:new o("^",4),bitwiseAND:new o("&",5),equality:new o("==/!=",6),relational:new o("</>",7),bitShift:new o("<</>>",8),plusMin:new a("+/-",{beforeExpr:i,binop:9,prefix:!0,startsExpr:!0}),modulo:new o("%",10),star:new o("*",10),slash:new o("/",10),exponent:new a("**",{beforeExpr:i,binop:11,rightAssociative:!0})},l={break:new s("break"),case:new s("case",{beforeExpr:i}),catch:new s("catch"),continue:new s("continue"),debugger:new s("debugger"),default:new s("default",{beforeExpr:i}),do:new s("do",{isLoop:!0,beforeExpr:i}),else:new s("else",{beforeExpr:i}),finally:new s("finally"),for:new s("for",{isLoop:!0}),function:new s("function",{startsExpr:!0}),if:new s("if"),return:new s("return",{beforeExpr:i}),switch:new s("switch"),throw:new s("throw",{beforeExpr:i,prefix:!0,startsExpr:!0}),try:new s("try"),var:new s("var"),let:new s("let"),const:new s("const"),while:new s("while",{isLoop:!0}),with:new s("with"),new:new s("new",{beforeExpr:i,startsExpr:!0}),this:new s("this",{startsExpr:!0}),super:new s("super",{startsExpr:!0}),class:new s("class",{startsExpr:!0}),extends:new s("extends",{beforeExpr:i}),export:new s("export"),import:new s("import",{startsExpr:!0}),yield:new s("yield",{beforeExpr:i,startsExpr:!0}),null:new s("null",{startsExpr:!0}),true:new s("true",{startsExpr:!0}),false:new s("false",{startsExpr:!0}),in:new s("in",{beforeExpr:i,binop:7}),instanceof:new s("instanceof",{beforeExpr:i,binop:7}),typeof:new s("typeof",{beforeExpr:i,prefix:!0,startsExpr:!0}),void:new s("void",{beforeExpr:i,prefix:!0,startsExpr:!0}),delete:new s("delete",{beforeExpr:i,prefix:!0,startsExpr:!0})};function c(e){return null!=e&&"Property"===e.type&&"init"===e.kind&&!1===e.method}Object.keys(l).forEach((function(e){u["_"+e]=l[e]}));var p=/\r\n?|\n|\u2028|\u2029/,f=new RegExp(p.source,"g");function d(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}var h=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function y(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var m=function(e,t,r,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n},v={braceStatement:new m("{",!1),braceExpression:new m("{",!0),templateQuasi:new m("${",!1),parenStatement:new m("(",!1),parenExpression:new m("(",!0),template:new m("`",!0,!0,(function(e){return e.readTmplToken()})),functionExpression:new m("function",!0),functionStatement:new m("function",!1)};function g(e){var t=e.split(" ");return function(e){return t.indexOf(e)>=0}}u.parenR.updateContext=u.braceR.updateContext=function(){if(1!==this.state.context.length){var e=this.state.context.pop();e===v.braceStatement&&"function"===this.curContext().token&&(e=this.state.context.pop()),this.state.exprAllowed=!e.isExpr}else this.state.exprAllowed=!0},u.name.updateContext=function(e){var t=!1;e!==u.dot&&("of"===this.state.value&&!this.state.exprAllowed||"yield"===this.state.value&&this.state.inGenerator)&&(t=!0),this.state.exprAllowed=t,this.state.isIterator&&(this.state.isIterator=!1)},u.braceL.updateContext=function(e){this.state.context.push(this.braceIsBlock(e)?v.braceStatement:v.braceExpression),this.state.exprAllowed=!0},u.dollarBraceL.updateContext=function(){this.state.context.push(v.templateQuasi),this.state.exprAllowed=!0},u.parenL.updateContext=function(e){var t=e===u._if||e===u._for||e===u._with||e===u._while;this.state.context.push(t?v.parenStatement:v.parenExpression),this.state.exprAllowed=!0},u.incDec.updateContext=function(){},u._function.updateContext=u._class.updateContext=function(e){!e.beforeExpr||e===u.semi||e===u._else||e===u._return&&p.test(this.input.slice(this.state.lastTokEnd,this.state.start))||(e===u.colon||e===u.braceL)&&this.curContext()===v.b_stat?this.state.context.push(v.functionStatement):this.state.context.push(v.functionExpression),this.state.exprAllowed=!1},u.backQuote.updateContext=function(){this.curContext()===v.template?this.state.context.pop():this.state.context.push(v.template),this.state.exprAllowed=!1};var T={6:g("enum await"),strict:g("implements interface let package private protected public static yield"),strictBind:g("eval arguments")},E=g("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 let const class extends export import yield super"),S="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿯ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞹꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",b="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",x=new RegExp("["+S+"]"),D=new RegExp("["+S+b+"]");S=b=null;var A=[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,190,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,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,26,230,43,117,63,32,0,257,0,11,39,8,0,22,0,12,39,3,3,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,68,12,0,67,12,65,1,31,6129,15,754,9486,286,82,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,4149,196,60,67,1213,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],C=[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,280,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,1016,45,17,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,2214,6,110,6,6,9,792487,239];function P(e,t){for(var r=65536,n=0;n<t.length;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}return!1}function w(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&x.test(String.fromCharCode(e)):P(e,A)))}function _(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&D.test(String.fromCharCode(e)):P(e,A)||P(e,C))))}var O=["any","bool","boolean","empty","false","mixed","null","number","static","string","true","typeof","void","interface","extends","_"];function F(e){return"type"===e.importKind||"typeof"===e.importKind}function N(e){return(e.type===u.name||!!e.type.keyword)&&"from"!==e.value}var I={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},k=/\*?\s*@((?:no)?flow)\b/,L={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:"♦"},M=/^[\da-fA-F]+$/,B=/^\d+$/;function j(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function R(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return R(e.object)+"."+R(e.property);throw new Error("Node had unexpected type: "+e.type)}v.j_oTag=new m("<tag",!1),v.j_cTag=new m("</tag",!1),v.j_expr=new m("<tag>...</tag>",!0,!0),u.jsxName=new a("jsxName"),u.jsxText=new a("jsxText",{beforeExpr:!0}),u.jsxTagStart=new a("jsxTagStart",{startsExpr:!0}),u.jsxTagEnd=new a("jsxTagEnd"),u.jsxTagStart.updateContext=function(){this.state.context.push(v.j_expr),this.state.context.push(v.j_oTag),this.state.exprAllowed=!1},u.jsxTagEnd.updateContext=function(e){var t=this.state.context.pop();t===v.j_oTag&&e===u.slash||t===v.j_cTag?(this.state.context.pop(),this.state.exprAllowed=this.curContext()===v.j_expr):this.state.exprAllowed=!0};var V={sourceType:"script",sourceFilename:void 0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1},q=function(e,t){this.line=e,this.column=t},U=function(e,t){this.start=e,this.end=t};function K(e){return e[e.length-1]}var X=function(e){function t(){return e.apply(this,arguments)||this}return n(t,e),t.prototype.raise=function(e,t,r){var n=void 0===r?{}:r,i=n.missingPluginNames,a=n.code,s=function(e,t){var r,n=1,i=0;for(f.lastIndex=0;(r=f.exec(e))&&r.index<t;)n++,i=f.lastIndex;return new q(n,t-i)}(this.input,e);t+=" ("+s.line+":"+s.column+")";var o=new SyntaxError(t);throw o.pos=e,o.loc=s,i&&(o.missingPlugin=i),void 0!==a&&(o.code=a),o},t}(function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.addComment=function(e){this.filename&&(e.loc.filename=this.filename),this.state.trailingComments.push(e),this.state.leadingComments.push(e)},r.processComment=function(e){if(!("Program"===e.type&&e.body.length>0)){var t,r,n,i,a,s=this.state.commentStack;if(this.state.trailingComments.length>0)this.state.trailingComments[0].start>=e.end?(n=this.state.trailingComments,this.state.trailingComments=[]):this.state.trailingComments.length=0;else if(s.length>0){var o=K(s);o.trailingComments&&o.trailingComments[0].start>=e.end&&(n=o.trailingComments,delete o.trailingComments)}for(s.length>0&&K(s).start>=e.start&&(t=s.pop());s.length>0&&K(s).start>=e.start;)r=s.pop();if(!r&&t&&(r=t),t&&this.state.leadingComments.length>0){var u=K(this.state.leadingComments);if("ObjectProperty"===t.type){if(u.start>=e.start&&this.state.commentPreviousNode){for(a=0;a<this.state.leadingComments.length;a++)this.state.leadingComments[a].end<this.state.commentPreviousNode.end&&(this.state.leadingComments.splice(a,1),a--);this.state.leadingComments.length>0&&(t.trailingComments=this.state.leadingComments,this.state.leadingComments=[])}}else if("CallExpression"===e.type&&e.arguments&&e.arguments.length){var l=K(e.arguments);if(l&&u.start>=l.start&&u.end<=e.end&&this.state.commentPreviousNode){for(a=0;a<this.state.leadingComments.length;a++)this.state.leadingComments[a].end<this.state.commentPreviousNode.end&&(this.state.leadingComments.splice(a,1),a--);this.state.leadingComments.length>0&&(l.trailingComments=this.state.leadingComments,this.state.leadingComments=[])}}}if(r){if(r.leadingComments)if(r!==e&&r.leadingComments.length>0&&K(r.leadingComments).end<=e.start)e.leadingComments=r.leadingComments,delete r.leadingComments;else for(i=r.leadingComments.length-2;i>=0;--i)if(r.leadingComments[i].end<=e.start){e.leadingComments=r.leadingComments.splice(0,i+1);break}}else if(this.state.leadingComments.length>0)if(K(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode)for(a=0;a<this.state.leadingComments.length;a++)this.state.leadingComments[a].end<this.state.commentPreviousNode.end&&(this.state.leadingComments.splice(a,1),a--);this.state.leadingComments.length>0&&(e.leadingComments=this.state.leadingComments,this.state.leadingComments=[])}else{for(i=0;i<this.state.leadingComments.length&&!(this.state.leadingComments[i].end>e.start);i++);var c=this.state.leadingComments.slice(0,i);c.length&&(e.leadingComments=c),0===(n=this.state.leadingComments.slice(i)).length&&(n=null)}this.state.commentPreviousNode=e,n&&(n.length&&n[0].start>=e.start&&K(n).end<=e.end?e.innerComments=n:e.trailingComments=n),s.push(e)}},t}(function(){function e(){this.sawUnambiguousESM=!1}var t=e.prototype;return t.isReservedWord=function(e){return"await"===e?this.inModule:T[6](e)},t.hasPlugin=function(e){return Object.hasOwnProperty.call(this.plugins,e)},t.getPluginOption=function(e,t){if(this.hasPlugin(e))return this.plugins[e][t]},e}())),J=function(){function e(){}var t=e.prototype;return t.init=function(e,t){this.strict=!1!==e.strictMode&&"module"===e.sourceType,this.input=t,this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.inMethod=!1,this.inFunction=!1,this.inParameters=!1,this.maybeInArrowParameters=!1,this.inGenerator=!1,this.inAsync=!1,this.inPipeline=!1,this.inPropertyName=!1,this.inType=!1,this.inClassProperty=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isIterator=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.classLevel=0,this.labels=[],this.decoratorStack=[[]],this.yieldOrAwaitInPossibleArrowParameters=null,this.tokens=[],this.comments=[],this.trailingComments=[],this.leadingComments=[],this.commentStack=[],this.commentPreviousNode=null,this.pos=this.lineStart=0,this.curLine=e.startLine,this.type=u.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=[v.braceStatement],this.exprAllowed=!0,this.containsEsc=this.containsOctal=!1,this.octalPosition=null,this.invalidTemplateEscapePosition=null,this.exportedIdentifiers=[]},t.curPosition=function(){return new q(this.curLine,this.pos-this.lineStart)},t.clone=function(t){var r=this,n=new e;return Object.keys(this).forEach((function(e){var i=r[e];t&&"context"!==e||!Array.isArray(i)||(i=i.slice()),n[e]=i})),n},e}(),Y=function(e){return e>=48&&e<=57},W={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},$={bin:[48,49]};$.oct=$.bin.concat([50,51,52,53,54,55]),$.dec=$.oct.concat([56,57]),$.hex=$.dec.concat([65,66,67,68,69,70,97,98,99,100,101,102]);var H=function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.addExtra=function(e,t,r){e&&((e.extra=e.extra||{})[t]=r)},r.isRelational=function(e){return this.match(u.relational)&&this.state.value===e},r.isLookaheadRelational=function(e){var t=this.lookahead();return t.type==u.relational&&t.value==e},r.expectRelational=function(e){this.isRelational(e)?this.next():this.unexpected(null,u.relational)},r.eatRelational=function(e){return!!this.isRelational(e)&&(this.next(),!0)},r.isContextual=function(e){return this.match(u.name)&&this.state.value===e&&!this.state.containsEsc},r.isLookaheadContextual=function(e){var t=this.lookahead();return t.type===u.name&&t.value===e},r.eatContextual=function(e){return this.isContextual(e)&&this.eat(u.name)},r.expectContextual=function(e,t){this.eatContextual(e)||this.unexpected(null,t)},r.canInsertSemicolon=function(){return this.match(u.eof)||this.match(u.braceR)||this.hasPrecedingLineBreak()},r.hasPrecedingLineBreak=function(){return p.test(this.input.slice(this.state.lastTokEnd,this.state.start))},r.isLineTerminator=function(){return this.eat(u.semi)||this.canInsertSemicolon()},r.semicolon=function(){this.isLineTerminator()||this.unexpected(null,u.semi)},r.expect=function(e,t){this.eat(e)||this.unexpected(t,e)},r.unexpected=function(e,t){throw void 0===t&&(t="Unexpected token"),"string"!=typeof t&&(t='Unexpected token, expected "'+t.label+'"'),this.raise(null!=e?e:this.state.start,t)},r.expectPlugin=function(e,t){if(!this.hasPlugin(e))throw this.raise(null!=t?t:this.state.start,"This experimental syntax requires enabling the parser plugin: '"+e+"'",{missingPluginNames:[e]});return!0},r.expectOnePlugin=function(e,t){var r=this;if(!e.some((function(e){return r.hasPlugin(e)})))throw this.raise(null!=t?t:this.state.start,"This experimental syntax requires enabling one of the following parser plugin(s): '"+e.join(", ")+"'",{missingPluginNames:e})},t}(function(e){function t(t,r){var n;return(n=e.call(this)||this).state=new J,n.state.init(t,r),n.isLookahead=!1,n}n(t,e);var r=t.prototype;return r.next=function(){this.options.tokens&&!this.isLookahead&&this.state.tokens.push(new function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new U(e.startLoc,e.endLoc)}(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()},r.eat=function(e){return!!this.match(e)&&(this.next(),!0)},r.match=function(e){return this.state.type===e},r.isKeyword=function(e){return E(e)},r.lookahead=function(){var e=this.state;this.state=e.clone(!0),this.isLookahead=!0,this.next(),this.isLookahead=!1;var t=this.state;return this.state=e,t},r.setStrict=function(e){if(this.state.strict=e,this.match(u.num)||this.match(u.string)){for(this.state.pos=this.state.start;this.state.pos<this.state.lineStart;)this.state.lineStart=this.input.lastIndexOf("\n",this.state.lineStart-2)+1,--this.state.curLine;this.nextToken()}},r.curContext=function(){return this.state.context[this.state.context.length-1]},r.nextToken=function(){var e=this.curContext();e&&e.preserveSpace||this.skipSpace(),this.state.containsOctal=!1,this.state.octalPosition=null,this.state.start=this.state.pos,this.state.startLoc=this.state.curPosition(),this.state.pos>=this.input.length?this.finishToken(u.eof):e.override?e.override(this):this.readToken(this.input.codePointAt(this.state.pos))},r.readToken=function(e){w(e)||92===e?this.readWord():this.getTokenFromCode(e)},r.pushComment=function(e,t,r,n,i,a){var s={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new U(i,a)};this.isLookahead||(this.options.tokens&&this.state.tokens.push(s),this.state.comments.push(s),this.addComment(s))},r.skipBlockComment=function(){var e,t=this.state.curPosition(),r=this.state.pos,n=this.input.indexOf("*/",this.state.pos+=2);for(-1===n&&this.raise(this.state.pos-2,"Unterminated comment"),this.state.pos=n+2,f.lastIndex=r;(e=f.exec(this.input))&&e.index<this.state.pos;)++this.state.curLine,this.state.lineStart=e.index+e[0].length;this.pushComment(!0,this.input.slice(r+2,n),r,this.state.pos,t,this.state.curPosition())},r.skipLineComment=function(e){var t=this.state.pos,r=this.state.curPosition(),n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.input.length)for(;10!==n&&13!==n&&8232!==n&&8233!==n&&++this.state.pos<this.input.length;)n=this.input.charCodeAt(this.state.pos);this.pushComment(!1,this.input.slice(t+e,this.state.pos),t,this.state.pos,r,this.state.curPosition())},r.skipSpace=function(){e:for(;this.state.pos<this.input.length;){var e=this.input.charCodeAt(this.state.pos);switch(e){case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!y(e))break e;++this.state.pos}}},r.finishToken=function(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var r=this.state.type;this.state.type=e,this.state.value=t,this.updateContext(r)},r.readToken_numberSign=function(){if(0!==this.state.pos||!this.readToken_interpreter()){var e=this.state.pos+1,t=this.input.charCodeAt(e);if(t>=48&&t<=57&&this.raise(this.state.pos,"Unexpected digit after hash token"),(this.hasPlugin("classPrivateProperties")||this.hasPlugin("classPrivateMethods"))&&this.state.classLevel>0)return++this.state.pos,void this.finishToken(u.hash);"smart"===this.getPluginOption("pipelineOperator","proposal")?this.finishOp(u.hash,1):this.raise(this.state.pos,"Unexpected character '#'")}},r.readToken_dot=function(){var e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57)this.readNumber(!0);else{var t=this.input.charCodeAt(this.state.pos+2);46===e&&46===t?(this.state.pos+=3,this.finishToken(u.ellipsis)):(++this.state.pos,this.finishToken(u.dot))}},r.readToken_slash=function(){if(this.state.exprAllowed&&!this.state.inType)return++this.state.pos,void this.readRegexp();61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(u.assign,2):this.finishOp(u.slash,1)},r.readToken_interpreter=function(){if(0!==this.state.pos||this.state.input.length<2)return!1;var e=this.state.pos;this.state.pos+=1;var t=this.input.charCodeAt(this.state.pos);if(33!==t)return!1;for(;10!==t&&13!==t&&8232!==t&&8233!==t&&++this.state.pos<this.input.length;)t=this.input.charCodeAt(this.state.pos);var r=this.input.slice(e+2,this.state.pos);return this.finishToken(u.interpreterDirective,r),!0},r.readToken_mult_modulo=function(e){var t=42===e?u.star:u.modulo,r=1,n=this.input.charCodeAt(this.state.pos+1),i=this.state.exprAllowed;42===e&&42===n&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=u.exponent),61!==n||i||(r++,t=u.assign),this.finishOp(t,r)},r.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(u.pipeline,2);if(125===t&&this.hasPlugin("flow"))return void this.finishOp(u.braceBarR,2)}61!==t?this.finishOp(124===e?u.bitwiseOR:u.bitwiseAND,1):this.finishOp(u.assign,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(u.assign,3):this.finishOp(124===e?u.logicalOR:u.logicalAND,2)},r.readToken_caret=function(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(u.assign,2):this.finishOp(u.bitwiseXOR,1)},r.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.state.pos+1);if(t===e)return 45===t&&!this.inModule&&62===this.input.charCodeAt(this.state.pos+2)&&p.test(this.input.slice(this.state.lastTokEnd,this.state.pos))?(this.skipLineComment(3),this.skipSpace(),void this.nextToken()):void this.finishOp(u.incDec,2);61===t?this.finishOp(u.assign,2):this.finishOp(u.plusMin,1)},r.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.state.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.state.pos+2)?3:2,61===this.input.charCodeAt(this.state.pos+r)?void this.finishOp(u.assign,r+1):void this.finishOp(u.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.state.pos+2)||45!==this.input.charCodeAt(this.state.pos+3)?(61===t&&(r=2),void this.finishOp(u.relational,r)):(this.skipLineComment(4),this.skipSpace(),void this.nextToken())},r.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(u.arrow)):void this.finishOp(61===e?u.eq:u.bang,1);this.finishOp(u.equality,61===this.input.charCodeAt(this.state.pos+2)?3:2)},r.readToken_question=function(){var e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63!==e||this.state.inType?46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(u.question)):(this.state.pos+=2,this.finishToken(u.questionDot)):61===t?this.finishOp(u.assign,3):this.finishOp(u.nullishCoalescing,2)},r.getTokenFromCode=function(e){switch(e){case 35:return void this.readToken_numberSign();case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(u.parenL);case 41:return++this.state.pos,void this.finishToken(u.parenR);case 59:return++this.state.pos,void this.finishToken(u.semi);case 44:return++this.state.pos,void this.finishToken(u.comma);case 91:return++this.state.pos,void this.finishToken(u.bracketL);case 93:return++this.state.pos,void this.finishToken(u.bracketR);case 123:return void(this.hasPlugin("flow")&&124===this.input.charCodeAt(this.state.pos+1)?this.finishOp(u.braceBarL,2):(++this.state.pos,this.finishToken(u.braceL)));case 125:return++this.state.pos,void this.finishToken(u.braceR);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(u.doubleColon,2):(++this.state.pos,this.finishToken(u.colon)));case 63:return void this.readToken_question();case 64:return++this.state.pos,void this.finishToken(u.at);case 96:return++this.state.pos,void this.finishToken(u.backQuote);case 48:var t=this.input.charCodeAt(this.state.pos+1);if(120===t||88===t)return void this.readRadixNumber(16);if(111===t||79===t)return void this.readRadixNumber(8);if(98===t||66===t)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(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:case 62:return void this.readToken_lt_gt(e);case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(u.tilde,1)}this.raise(this.state.pos,"Unexpected character '"+String.fromCodePoint(e)+"'")},r.finishOp=function(e,t){var r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)},r.readRegexp=function(){for(var e,t,r=this.state.pos;;){this.state.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.state.pos);if(p.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===n)t=!0;else if("]"===n&&t)t=!1;else if("/"===n&&!t)break;e="\\"===n}++this.state.pos}var i=this.input.slice(r,this.state.pos);++this.state.pos;for(var a="";this.state.pos<this.input.length;){var s=this.input[this.state.pos],o=this.input.codePointAt(this.state.pos);if("gmsiyu".indexOf(s)>-1)a.indexOf(s)>-1&&this.raise(this.state.pos+1,"Duplicate regular expression flag"),++this.state.pos,a+=s;else{if(!_(o)&&92!==o)break;this.raise(this.state.pos+1,"Invalid regular expression flag")}}this.finishToken(u.regexp,{pattern:i,flags:a})},r.readInt=function(e,t){for(var r=this.state.pos,n=16===e?W.hex:W.decBinOct,i=16===e?$.hex:10===e?$.dec:8===e?$.oct:$.bin,a=0,s=0,o=null==t?1/0:t;s<o;++s){var u,l=this.input.charCodeAt(this.state.pos);if(this.hasPlugin("numericSeparator")){var c=this.input.charCodeAt(this.state.pos-1),p=this.input.charCodeAt(this.state.pos+1);if(95===l){-1===i.indexOf(p)&&this.raise(this.state.pos,"Invalid or unexpected token"),(n.indexOf(c)>-1||n.indexOf(p)>-1||Number.isNaN(p))&&this.raise(this.state.pos,"Invalid or unexpected token"),++this.state.pos;continue}}if((u=l>=97?l-97+10:l>=65?l-65+10:Y(l)?l-48:1/0)>=e)break;++this.state.pos,a=a*e+u}return this.state.pos===r||null!=t&&this.state.pos-r!==t?null:a},r.readRadixNumber=function(e){var t=this.state.pos,r=!1;this.state.pos+=2;var n=this.readInt(e);if(null==n&&this.raise(this.state.start+2,"Expected number in radix "+e),this.hasPlugin("bigInt")&&110===this.input.charCodeAt(this.state.pos)&&(++this.state.pos,r=!0),w(this.input.codePointAt(this.state.pos))&&this.raise(this.state.pos,"Identifier directly after number"),r){var i=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(u.bigint,i)}else this.finishToken(u.num,n)},r.readNumber=function(e){var t=this.state.pos,r=!1,n=!1;e||null!==this.readInt(10)||this.raise(t,"Invalid number");var i=this.state.pos-t>=2&&48===this.input.charCodeAt(t);i&&(this.state.strict&&this.raise(t,"Legacy octal literals are not allowed in strict mode"),/[89]/.test(this.input.slice(t,this.state.pos))&&(i=!1));var a=this.input.charCodeAt(this.state.pos);46!==a||i||(++this.state.pos,this.readInt(10),r=!0,a=this.input.charCodeAt(this.state.pos)),69!==a&&101!==a||i||(43!==(a=this.input.charCodeAt(++this.state.pos))&&45!==a||++this.state.pos,null===this.readInt(10)&&this.raise(t,"Invalid number"),r=!0,a=this.input.charCodeAt(this.state.pos)),this.hasPlugin("bigInt")&&110===a&&((r||i)&&this.raise(t,"Invalid BigIntLiteral"),++this.state.pos,n=!0),w(this.input.codePointAt(this.state.pos))&&this.raise(this.state.pos,"Identifier directly after number");var s=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");if(n)this.finishToken(u.bigint,s);else{var o=i?parseInt(s,8):parseFloat(s);this.finishToken(u.num,o)}},r.readCodePoint=function(e){var t;if(123===this.input.charCodeAt(this.state.pos)){var r=++this.state.pos;if(t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,e),++this.state.pos,null===t)--this.state.invalidTemplateEscapePosition;else if(t>1114111){if(!e)return this.state.invalidTemplateEscapePosition=r-2,null;this.raise(r,"Code point out of bounds")}}else t=this.readHexChar(4,e);return t},r.readString=function(e){for(var t="",r=++this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant");var n=this.input.charCodeAt(this.state.pos);if(n===e)break;92===n?(t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos):8232===n||8233===n?(++this.state.pos,++this.state.curLine):d(n)?this.raise(this.state.start,"Unterminated string constant"):++this.state.pos}t+=this.input.slice(r,this.state.pos++),this.finishToken(u.string,t)},r.readTmplToken=function(){for(var e="",t=this.state.pos,r=!1;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated template");var n=this.input.charCodeAt(this.state.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(u.template)?36===n?(this.state.pos+=2,void this.finishToken(u.dollarBraceL)):(++this.state.pos,void this.finishToken(u.backQuote)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(u.template,r?null:e));if(92===n){e+=this.input.slice(t,this.state.pos);var i=this.readEscapedChar(!0);null===i?r=!0:e+=i,t=this.state.pos}else if(d(n)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,n){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}},r.readEscapedChar=function(e){var t=!e,r=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,r){case 110:return"\n";case 114:return"\r";case 120:var n=this.readHexChar(2,t);return null===n?null:String.fromCharCode(n);case 117:var i=this.readCodePoint(t);return null===i?null:String.fromCodePoint(i);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:return this.state.lineStart=this.state.pos,++this.state.curLine,"";default:if(r>=48&&r<=55){var a=this.state.pos-1,s=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],o=parseInt(s,8);if(o>255&&(s=s.slice(0,-1),o=parseInt(s,8)),o>0){if(e)return this.state.invalidTemplateEscapePosition=a,null;this.state.strict?this.raise(a,"Octal literal in strict mode"):this.state.containsOctal||(this.state.containsOctal=!0,this.state.octalPosition=a)}return this.state.pos+=s.length-1,String.fromCharCode(o)}return String.fromCharCode(r)}},r.readHexChar=function(e,t){var r=this.state.pos,n=this.readInt(16,e);return null===n&&(t?this.raise(r,"Bad character escape sequence"):(this.state.pos=r-1,this.state.invalidTemplateEscapePosition=r-1)),n},r.readWord1=function(){this.state.containsEsc=!1;for(var e="",t=!0,r=this.state.pos;this.state.pos<this.input.length;){var n=this.input.codePointAt(this.state.pos);if(_(n))this.state.pos+=n<=65535?1:2;else if(this.state.isIterator&&64===n)this.state.pos+=1;else{if(92!==n)break;this.state.containsEsc=!0,e+=this.input.slice(r,this.state.pos);var i=this.state.pos;117!==this.input.charCodeAt(++this.state.pos)&&this.raise(this.state.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.state.pos;var a=this.readCodePoint(!0);(t?w:_)(a,!0)||this.raise(i,"Invalid Unicode escape"),e+=String.fromCodePoint(a),r=this.state.pos}t=!1}return e+this.input.slice(r,this.state.pos)},r.isIterator=function(e){return"@@iterator"===e||"@@asyncIterator"===e},r.readWord=function(){var e=this.readWord1(),t=u.name;this.isKeyword(e)&&(this.state.containsEsc&&this.raise(this.state.pos,"Escape sequence in keyword "+e),t=l[e]),!this.state.isIterator||this.isIterator(e)&&this.state.inType||this.raise(this.state.pos,"Invalid identifier "+e),this.finishToken(t,e)},r.braceIsBlock=function(e){var t=this.curContext();return t===v.functionExpression||t===v.functionStatement||(e!==u.colon||t!==v.braceStatement&&t!==v.braceExpression?e===u._return||e===u._yield||e===u.name&&this.state.exprAllowed?p.test(this.input.slice(this.state.lastTokEnd,this.state.start)):e===u._else||e===u.semi||e===u.eof||e===u.parenR||e===u.arrow||(e===u.braceL?t===v.braceStatement:e!==u._var&&e!==u._let&&e!==u._const&&(e===u.relational||!this.state.exprAllowed)):!t.isExpr)},r.updateContext=function(e){var t,r=this.state.type;!r.keyword||e!==u.dot&&e!==u.questionDot?(t=r.updateContext)?t.call(this,e):this.state.exprAllowed=r.beforeExpr:this.state.exprAllowed=!1},t}(X)),z=["leadingComments","trailingComments","innerComments"],G=function(){function e(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new U(r),e&&e.options.ranges&&(this.range=[t,0]),e&&e.filename&&(this.loc.filename=e.filename)}return e.prototype.__clone=function(){var t=this,r=new e;return Object.keys(this).forEach((function(e){z.indexOf(e)<0&&(r[e]=t[e])})),r},e}(),Q=[],Z={kind:"loop"},ee={kind:"switch"},te=function(e){function t(t,r){var n;return t=function(e){var t={};for(var r in V)t[r]=e&&null!=e[r]?e[r]:V[r];return t}(t),(n=e.call(this,t,r)||this).options=t,n.inModule="module"===n.options.sourceType,n.input=r,n.plugins=function(e){for(var t=Object.create(null),r=0;r<e.length;r++){var n=e[r],i=Array.isArray(n)?n:[n,{}],a=i[0],s=i[1],o=void 0===s?{}:s;t[a]||(t[a]=o||{})}return t}(n.options.plugins),n.filename=t.sourceFilename,n}return n(t,e),t.prototype.parse=function(){var e=this.startNode(),t=this.startNode();return this.nextToken(),this.parseTopLevel(e,t)},t}(function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.parseTopLevel=function(e,t){return t.sourceType=this.options.sourceType,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,u.eof),e.program=this.finishNode(t,"Program"),e.comments=this.state.comments,this.options.tokens&&(e.tokens=this.state.tokens),this.finishNode(e,"File")},r.stmtToDirective=function(e){var t=e.expression,r=this.startNodeAt(t.start,t.loc.start),n=this.startNodeAt(e.start,e.loc.start),i=this.input.slice(t.start,t.end),a=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",a),n.value=this.finishNodeAt(r,"DirectiveLiteral",t.end,t.loc.end),this.finishNodeAt(n,"Directive",e.end,e.loc.end)},r.parseInterpreterDirective=function(){if(!this.match(u.interpreterDirective))return null;var e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")},r.parseStatement=function(e,t){return this.match(u.at)&&this.parseDecorators(!0),this.parseStatementContent(e,t)},r.parseStatementContent=function(e,t){var r=this.state.type,n=this.startNode();switch(r){case u._break:case u._continue:return this.parseBreakContinueStatement(n,r.keyword);case u._debugger:return this.parseDebuggerStatement(n);case u._do:return this.parseDoStatement(n);case u._for:return this.parseForStatement(n);case u._function:if(this.lookahead().type===u.dot)break;return e||this.unexpected(),this.parseFunctionStatement(n);case u._class:return e||this.unexpected(),this.parseClass(n,!0);case u._if:return this.parseIfStatement(n);case u._return:return this.parseReturnStatement(n);case u._switch:return this.parseSwitchStatement(n);case u._throw:return this.parseThrowStatement(n);case u._try:return this.parseTryStatement(n);case u._let:case u._const:e||this.unexpected();case u._var:return this.parseVarStatement(n,r);case u._while:return this.parseWhileStatement(n);case u._with:return this.parseWithStatement(n);case u.braceL:return this.parseBlock();case u.semi:return this.parseEmptyStatement(n);case u._export:case u._import:var i,a=this.lookahead();if(a.type===u.parenL||a.type===u.dot)break;return this.options.allowImportExportEverywhere||t||this.raise(this.state.start,"'import' and 'export' may only appear at the top level"),this.next(),r==u._import?"ImportDeclaration"!==(i=this.parseImport(n)).type||i.importKind&&"value"!==i.importKind||(this.sawUnambiguousESM=!0):("ExportNamedDeclaration"!==(i=this.parseExport(n)).type||i.exportKind&&"value"!==i.exportKind)&&("ExportAllDeclaration"!==i.type||i.exportKind&&"value"!==i.exportKind)&&"ExportDefaultDeclaration"!==i.type||(this.sawUnambiguousESM=!0),this.assertModuleNodeAllowed(n),i;case u.name:if(this.isContextual("async")){var s=this.state.clone();if(this.next(),this.match(u._function)&&!this.canInsertSemicolon())return this.expect(u._function),this.parseFunction(n,!0,!1,!0);this.state=s}}var o=this.state.value,l=this.parseExpression();return r===u.name&&"Identifier"===l.type&&this.eat(u.colon)?this.parseLabeledStatement(n,o,l):this.parseExpressionStatement(n,l)},r.assertModuleNodeAllowed=function(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(e.start,"'import' and 'export' may appear only with 'sourceType: \"module\"'",{code:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"})},r.takeDecorators=function(e){var t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])},r.canHaveLeadingDecorator=function(){return this.match(u._class)},r.parseDecorators=function(e){for(var t=this.state.decoratorStack[this.state.decoratorStack.length-1];this.match(u.at);){var r=this.parseDecorator();t.push(r)}this.match(u._export)?(e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.")):this.canHaveLeadingDecorator()||this.raise(this.state.start,"Leading decorators must be attached to a class declaration")},r.parseDecorator=function(){this.expectOnePlugin(["decorators-legacy","decorators"]);var e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);var t,r=this.state.start,n=this.state.startLoc;if(this.eat(u.parenL))t=this.parseExpression(),this.expect(u.parenR);else for(t=this.parseIdentifier(!1);this.eat(u.dot);){var i=this.startNodeAt(r,n);i.object=t,i.property=this.parseIdentifier(!0),i.computed=!1,t=this.finishNode(i,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t),this.state.decoratorStack.pop()}else e.expression=this.parseMaybeAssign();return this.finishNode(e,"Decorator")},r.parseMaybeDecoratorArguments=function(e){if(this.eat(u.parenL)){var t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(u.parenR,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e},r.parseBreakContinueStatement=function(e,t){var r,n="break"===t;for(this.next(),this.isLineTerminator()?e.label=null:this.match(u.name)?(e.label=this.parseIdentifier(),this.semicolon()):this.unexpected(),r=0;r<this.state.labels.length;++r){var i=this.state.labels[r];if(null==e.label||i.name===e.label.name){if(null!=i.kind&&(n||"loop"===i.kind))break;if(e.label&&n)break}}return r===this.state.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,n?"BreakStatement":"ContinueStatement")},r.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},r.parseDoStatement=function(e){var t=this;return this.next(),this.state.labels.push(Z),e.body=this.withTopicForbiddingContext((function(){return t.parseStatement(!1)})),this.state.labels.pop(),this.expect(u._while),e.test=this.parseParenExpression(),this.eat(u.semi),this.finishNode(e,"DoWhileStatement")},r.parseForStatement=function(e){this.next(),this.state.labels.push(Z);var t=!1;if(this.state.inAsync&&this.isContextual("await")&&(t=!0,this.next()),this.expect(u.parenL),this.match(u.semi))return t&&this.unexpected(),this.parseFor(e,null);if(this.match(u._var)||this.match(u._let)||this.match(u._const)){var r=this.startNode(),n=this.state.type;if(this.next(),this.parseVar(r,!0,n),this.finishNode(r,"VariableDeclaration"),(this.match(u._in)||this.isContextual("of"))&&1===r.declarations.length){var i=r.declarations[0],a=n===u._var&&i.init&&"ObjectPattern"!=i.id.type&&"ArrayPattern"!=i.id.type&&!this.isContextual("of");if(this.state.strict&&a)this.raise(this.state.start,"for-in initializer in strict mode");else if(a||!i.init)return this.parseForIn(e,r,t)}return t&&this.unexpected(),this.parseFor(e,r)}var s={start:0},o=this.parseExpression(!0,s);if(this.match(u._in)||this.isContextual("of")){var l=this.isContextual("of")?"for-of statement":"for-in statement";return this.toAssignable(o,void 0,l),this.checkLVal(o,void 0,void 0,l),this.parseForIn(e,o,t)}return s.start&&this.unexpected(s.start),t&&this.unexpected(),this.parseFor(e,o)},r.parseFunctionStatement=function(e){return this.next(),this.parseFunction(e,!0)},r.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(!1),e.alternate=this.eat(u._else)?this.parseStatement(!1):null,this.finishNode(e,"IfStatement")},r.parseReturnStatement=function(e){return this.state.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.state.start,"'return' outside of function"),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},r.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression();var t,r,n=e.cases=[];for(this.expect(u.braceL),this.state.labels.push(ee);!this.match(u.braceR);)if(this.match(u._case)||this.match(u._default)){var i=this.match(u._case);t&&this.finishNode(t,"SwitchCase"),n.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raise(this.state.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(u.colon)}else t?t.consequent.push(this.parseStatement(!0)):this.unexpected();return t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")},r.parseThrowStatement=function(e){return this.next(),p.test(this.input.slice(this.state.lastTokEnd,this.state.start))&&this.raise(this.state.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},r.parseTryStatement=function(e){var t=this;if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(u._catch)){var r=this.startNode();if(this.next(),this.match(u.parenL)){this.expect(u.parenL),r.param=this.parseBindingAtom();var n=Object.create(null);this.checkLVal(r.param,!0,n,"catch clause"),this.expect(u.parenR)}else r.param=null;r.body=this.withTopicForbiddingContext((function(){return t.parseBlock(!1)})),e.handler=this.finishNode(r,"CatchClause")}return e.guardedHandlers=Q,e.finalizer=this.eat(u._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},r.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},r.parseWhileStatement=function(e){var t=this;return this.next(),e.test=this.parseParenExpression(),this.state.labels.push(Z),e.body=this.withTopicForbiddingContext((function(){return t.parseStatement(!1)})),this.state.labels.pop(),this.finishNode(e,"WhileStatement")},r.parseWithStatement=function(e){var t=this;return this.state.strict&&this.raise(this.state.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.withTopicForbiddingContext((function(){return t.parseStatement(!1)})),this.finishNode(e,"WithStatement")},r.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},r.parseLabeledStatement=function(e,t,r){for(var n=0,i=this.state.labels;n<i.length;n++)i[n].name===t&&this.raise(r.start,"Label '"+t+"' is already declared");for(var a=this.state.type.isLoop?"loop":this.match(u._switch)?"switch":null,s=this.state.labels.length-1;s>=0;s--){var o=this.state.labels[s];if(o.statementStart!==e.start)break;o.statementStart=this.state.start,o.kind=a}return this.state.labels.push({name:t,kind:a,statementStart:this.state.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!==e.body.kind||"FunctionDeclaration"==e.body.type&&(this.state.strict||e.body.generator||e.body.async))&&this.raise(e.body.start,"Invalid labeled declaration"),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},r.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},r.parseBlock=function(e){var t=this.startNode();return this.expect(u.braceL),this.parseBlockBody(t,e,!1,u.braceR),this.finishNode(t,"BlockStatement")},r.isValidDirective=function(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized},r.parseBlockBody=function(e,t,r,n){var i=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:void 0,r,n)},r.parseBlockOrModuleBlockBody=function(e,t,r,n){for(var i,a,s=!1;!this.eat(n);){s||!this.state.containsOctal||a||(a=this.state.octalPosition);var o=this.parseStatement(!0,r);if(t&&!s&&this.isValidDirective(o)){var u=this.stmtToDirective(o);t.push(u),void 0===i&&"use strict"===u.value.value&&(i=this.state.strict,this.setStrict(!0),a&&this.raise(a,"Octal literal in strict mode"))}else s=!0,e.push(o)}!1===i&&this.setStrict(!1)},r.parseFor=function(e,t){var r=this;return e.init=t,this.expect(u.semi),e.test=this.match(u.semi)?null:this.parseExpression(),this.expect(u.semi),e.update=this.match(u.parenR)?null:this.parseExpression(),this.expect(u.parenR),e.body=this.withTopicForbiddingContext((function(){return r.parseStatement(!1)})),this.state.labels.pop(),this.finishNode(e,"ForStatement")},r.parseForIn=function(e,t,r){var n=this,i=this.match(u._in)?"ForInStatement":"ForOfStatement";return r?this.eatContextual("of"):this.next(),"ForOfStatement"===i&&(e.await=!!r),e.left=t,e.right=this.parseExpression(),this.expect(u.parenR),e.body=this.withTopicForbiddingContext((function(){return n.parseStatement(!1)})),this.state.labels.pop(),this.finishNode(e,i)},r.parseVar=function(e,t,r){var n=e.declarations=[];for(e.kind=r.keyword;;){var i=this.startNode();if(this.parseVarHead(i),this.eat(u.eq)?i.init=this.parseMaybeAssign(t):(r!==u._const||this.match(u._in)||this.isContextual("of")?"Identifier"===i.id.type||t&&(this.match(u._in)||this.isContextual("of"))||this.raise(this.state.lastTokEnd,"Complex binding patterns require an initialization value"):this.hasPlugin("typescript")||this.unexpected(),i.init=null),n.push(this.finishNode(i,"VariableDeclarator")),!this.eat(u.comma))break}return e},r.parseVarHead=function(e){e.id=this.parseBindingAtom(),this.checkLVal(e.id,!0,void 0,"variable declaration")},r.parseFunction=function(e,t,r,n,i){var a=this,s=this.state.inFunction,o=this.state.inMethod,l=this.state.inAsync,c=this.state.inGenerator,p=this.state.inClassProperty;return this.state.inFunction=!0,this.state.inMethod=!1,this.state.inClassProperty=!1,this.initFunction(e,n),this.match(u.star)&&(e.generator=!0,this.next()),!t||i||this.match(u.name)||this.match(u._yield)||this.unexpected(),t||(this.state.inAsync=n,this.state.inGenerator=e.generator),(this.match(u.name)||this.match(u._yield))&&(e.id=this.parseBindingIdentifier()),t&&(this.state.inAsync=n,this.state.inGenerator=e.generator),this.parseFunctionParams(e),this.withTopicForbiddingContext((function(){a.parseFunctionBodyAndFinish(e,t?"FunctionDeclaration":"FunctionExpression",r)})),this.state.inFunction=s,this.state.inMethod=o,this.state.inAsync=l,this.state.inGenerator=c,this.state.inClassProperty=p,e},r.parseFunctionParams=function(e,t){var r=this.state.inParameters;this.state.inParameters=!0,this.expect(u.parenL),e.params=this.parseBindingList(u.parenR,!1,t),this.state.inParameters=r},r.parseClass=function(e,t,r){return this.next(),this.takeDecorators(e),this.parseClassId(e,t,r),this.parseClassSuper(e),this.parseClassBody(e),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},r.isClassProperty=function(){return this.match(u.eq)||this.match(u.semi)||this.match(u.braceR)},r.isClassMethod=function(){return this.match(u.parenL)},r.isNonstaticConstructor=function(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)},r.parseClassBody=function(e){var t=this,r=this.state.strict;this.state.strict=!0,this.state.classLevel++;var n={hadConstructor:!1},i=[],a=this.startNode();a.body=[],this.expect(u.braceL),this.withTopicForbiddingContext((function(){for(;!t.eat(u.braceR);)if(t.eat(u.semi))i.length>0&&t.raise(t.state.lastTokEnd,"Decorators must not be followed by a semicolon");else if(t.match(u.at))i.push(t.parseDecorator());else{var e=t.startNode();i.length&&(e.decorators=i,t.resetStartLocationFromNode(e,i[0]),i=[]),t.parseClassMember(a,e,n),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&t.raise(e.start,"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")}})),i.length&&this.raise(this.state.start,"You have trailing decorators with no method"),e.body=this.finishNode(a,"ClassBody"),this.state.classLevel--,this.state.strict=r},r.parseClassMember=function(e,t,r){var n=!1,i=this.state.containsEsc;if(this.match(u.name)&&"static"===this.state.value){var a=this.parseIdentifier(!0);if(this.isClassMethod()){var s=t;return s.kind="method",s.computed=!1,s.key=a,s.static=!1,void this.pushClassMethod(e,s,!1,!1,!1)}if(this.isClassProperty()){var o=t;return o.computed=!1,o.key=a,o.static=!1,void e.body.push(this.parseClassProperty(o))}if(i)throw this.unexpected();n=!0}this.parseClassMemberWithIsStatic(e,t,r,n)},r.parseClassMemberWithIsStatic=function(e,t,r,n){var i=t,a=t,s=t,o=t,l=i,c=i;if(t.static=n,this.eat(u.star))return l.kind="method",this.parseClassPropertyName(l),"PrivateName"===l.key.type?void this.pushClassPrivateMethod(e,a,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,"Constructor can't be a generator"),void this.pushClassMethod(e,i,!0,!1,!1));var p=this.parseClassPropertyName(t),f="PrivateName"===p.type,d="Identifier"===p.type;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(l.kind="method",f)return void this.pushClassPrivateMethod(e,a,!1,!1);var h=this.isNonstaticConstructor(i);h&&(i.kind="constructor",i.decorators&&this.raise(i.start,"You can't attach decorators to a class constructor"),r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(p.start,"Duplicate constructor in the same class"),r.hadConstructor=!0),this.pushClassMethod(e,i,!1,!1,h)}else if(this.isClassProperty())f?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,s);else if(d&&"async"===p.name&&!this.isLineTerminator()){var y=this.eat(u.star);l.kind="method",this.parseClassPropertyName(l),"PrivateName"===l.key.type?this.pushClassPrivateMethod(e,a,y,!0):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,"Constructor can't be an async function"),this.pushClassMethod(e,i,y,!0,!1))}else!d||"get"!==p.name&&"set"!==p.name||this.isLineTerminator()&&this.match(u.star)?this.isLineTerminator()?f?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,s):this.unexpected():(l.kind=p.name,this.parseClassPropertyName(i),"PrivateName"===l.key.type?this.pushClassPrivateMethod(e,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,"Constructor can't have get/set modifier"),this.pushClassMethod(e,i,!1,!1,!1)),this.checkGetterSetterParams(i))},r.parseClassPropertyName=function(e){var t=this.parsePropertyName(e);return e.computed||!e.static||"prototype"!==t.name&&"prototype"!==t.value||this.raise(t.start,"Classes may not have static property named prototype"),"PrivateName"===t.type&&"constructor"===t.id.name&&this.raise(t.start,"Classes may not have a private field named '#constructor'"),t},r.pushClassProperty=function(e,t){this.isNonstaticConstructor(t)&&this.raise(t.key.start,"Classes may not have a non-static field named 'constructor'"),e.body.push(this.parseClassProperty(t))},r.pushClassPrivateProperty=function(e,t){this.expectPlugin("classPrivateProperties",t.key.start),e.body.push(this.parseClassPrivateProperty(t))},r.pushClassMethod=function(e,t,r,n,i){e.body.push(this.parseMethod(t,r,n,i,"ClassMethod"))},r.pushClassPrivateMethod=function(e,t,r,n){this.expectPlugin("classPrivateMethods",t.key.start),e.body.push(this.parseMethod(t,r,n,!1,"ClassPrivateMethod"))},r.parsePostMemberNameModifiers=function(e){},r.parseAccessModifier=function(){},r.parseClassPrivateProperty=function(e){var t=this.state.inMethod;return this.state.inMethod=!1,this.state.inClassProperty=!0,e.value=this.eat(u.eq)?this.parseMaybeAssign():null,this.semicolon(),this.state.inClassProperty=!1,this.state.inMethod=t,this.finishNode(e,"ClassPrivateProperty")},r.parseClassProperty=function(e){e.typeAnnotation||this.expectPlugin("classProperties");var t=this.state.inMethod;return this.state.inMethod=!1,this.state.inClassProperty=!0,this.match(u.eq)?(this.expectPlugin("classProperties"),this.next(),e.value=this.parseMaybeAssign()):e.value=null,this.semicolon(),this.state.inClassProperty=!1,this.state.inMethod=t,this.finishNode(e,"ClassProperty")},r.parseClassId=function(e,t,r){this.match(u.name)?e.id=this.parseIdentifier():r||!t?e.id=null:this.unexpected(null,"A class name is required")},r.parseClassSuper=function(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts():null},r.parseExport=function(e){if(this.shouldParseExportStar()){if(this.parseExportStar(e),"ExportAllDeclaration"===e.type)return e}else if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");var t=this.startNode();t.exported=this.parseIdentifier(!0);var r=[this.finishNode(t,"ExportDefaultSpecifier")];if(e.specifiers=r,this.match(u.comma)&&this.lookahead().type===u.star){this.expect(u.comma);var n=this.startNode();this.expect(u.star),this.expectContextual("as"),n.exported=this.parseIdentifier(),r.push(this.finishNode(n,"ExportNamespaceSpecifier"))}else this.parseExportSpecifiersMaybe(e);this.parseExportFrom(e,!0)}else{if(this.eat(u._default))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportDeclaration()){if(this.isContextual("async")){var i=this.lookahead();i.type!==u._function&&this.unexpected(i.start,'Unexpected token, expected "function"')}e.specifiers=[],e.source=null,e.declaration=this.parseExportDeclaration(e)}else e.declaration=null,e.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(e)}return this.checkExport(e,!0),this.finishNode(e,"ExportNamedDeclaration")},r.isAsyncFunction=function(){if(!this.isContextual("async"))return!1;var e=this.state,t=e.input,r=e.pos;h.lastIndex=r;var n=h.exec(t);if(!n||!n.length)return!1;var i=r+n[0].length;return!(p.test(t.slice(r,i))||"function"!==t.slice(i,i+8)||i+8!==t.length&&_(t.charAt(i+8)))},r.parseExportDefaultExpression=function(){var e=this.startNode(),t=this.isAsyncFunction();if(this.eat(u._function)||t)return t&&(this.eatContextual("async"),this.expect(u._function)),this.parseFunction(e,!0,!1,t,!0);if(this.match(u._class))return this.parseClass(e,!0,!0);if(this.match(u.at))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.unexpected(this.state.start,"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax"),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(u._let)||this.match(u._const)||this.match(u._var))return this.raise(this.state.start,"Only expressions, functions or classes are allowed as the `default` export.");var r=this.parseMaybeAssign();return this.semicolon(),r},r.parseExportDeclaration=function(e){return this.parseStatement(!0)},r.isExportDefaultSpecifier=function(){if(this.match(u.name))return"async"!==this.state.value;if(!this.match(u._default))return!1;var e=this.lookahead();return e.type===u.comma||e.type===u.name&&"from"===e.value},r.parseExportSpecifiersMaybe=function(e){this.eat(u.comma)&&(e.specifiers=e.specifiers.concat(this.parseExportSpecifiers()))},r.parseExportFrom=function(e,t){this.eatContextual("from")?(e.source=this.match(u.string)?this.parseExprAtom():this.unexpected(),this.checkExport(e)):t?this.unexpected():e.source=null,this.semicolon()},r.shouldParseExportStar=function(){return this.match(u.star)},r.parseExportStar=function(e){this.expect(u.star),this.isContextual("as")?this.parseExportNamespace(e):(this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration"))},r.parseExportNamespace=function(e){this.expectPlugin("exportNamespaceFrom");var t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next(),t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportNamespaceSpecifier")],this.parseExportSpecifiersMaybe(e),this.parseExportFrom(e,!0)},r.shouldParseExportDeclaration=function(){if(this.match(u.at)&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(!this.getPluginOption("decorators","decoratorsBeforeExport"))return!0;this.unexpected(this.state.start,"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax")}return"var"===this.state.type.keyword||"const"===this.state.type.keyword||"let"===this.state.type.keyword||"function"===this.state.type.keyword||"class"===this.state.type.keyword||this.isAsyncFunction()},r.checkExport=function(e,t,r){if(t)if(r)this.checkDuplicateExports(e,"default");else if(e.specifiers&&e.specifiers.length)for(var n=0,i=e.specifiers;n<i.length;n++){var a=i[n];this.checkDuplicateExports(a,a.exported.name)}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){var s=e.declaration.id;if(!s)throw new Error("Assertion failure");this.checkDuplicateExports(e,s.name)}else if("VariableDeclaration"===e.declaration.type)for(var o=0,u=e.declaration.declarations;o<u.length;o++){var l=u[o];this.checkDeclaration(l.id)}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length){var c=e.declaration&&("ClassDeclaration"===e.declaration.type||"ClassExpression"===e.declaration.type);if(!e.declaration||!c)throw this.raise(e.start,"You can only use decorators on an export when exporting a class");this.takeDecorators(e.declaration)}},r.checkDeclaration=function(e){if("ObjectPattern"===e.type)for(var t=0,r=e.properties;t<r.length;t++){var n=r[t];this.checkDeclaration(n)}else if("ArrayPattern"===e.type)for(var i=0,a=e.elements;i<a.length;i++){var s=a[i];s&&this.checkDeclaration(s)}else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"Identifier"===e.type&&this.checkDuplicateExports(e,e.name)},r.checkDuplicateExports=function(e,t){this.state.exportedIdentifiers.indexOf(t)>-1&&this.raiseDuplicateExportError(e,t),this.state.exportedIdentifiers.push(t)},r.raiseDuplicateExportError=function(e,t){throw this.raise(e.start,"default"===t?"Only one default export allowed per module.":"`"+t+"` has already been exported. Exported identifiers must be unique.")},r.parseExportSpecifiers=function(){var e,t=[],r=!0;for(this.expect(u.braceL);!this.eat(u.braceR);){if(r)r=!1;else if(this.expect(u.comma),this.eat(u.braceR))break;var n=this.match(u._default);n&&!e&&(e=!0);var i=this.startNode();i.local=this.parseIdentifier(n),i.exported=this.eatContextual("as")?this.parseIdentifier(!0):i.local.__clone(),t.push(this.finishNode(i,"ExportSpecifier"))}return e&&!this.isContextual("from")&&this.unexpected(),t},r.parseImport=function(e){return this.match(u.string)?(e.specifiers=[],e.source=this.parseExprAtom()):(e.specifiers=[],this.parseImportSpecifiers(e),this.expectContextual("from"),e.source=this.match(u.string)?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},r.shouldParseDefaultImport=function(e){return this.match(u.name)},r.parseImportSpecifierLocal=function(e,t,r,n){t.local=this.parseIdentifier(),this.checkLVal(t.local,!0,void 0,n),e.specifiers.push(this.finishNode(t,r))},r.parseImportSpecifiers=function(e){var t=!0;if(!this.shouldParseDefaultImport(e)||(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier"),this.eat(u.comma))){if(this.match(u.star)){var r=this.startNode();return this.next(),this.expectContextual("as"),void this.parseImportSpecifierLocal(e,r,"ImportNamespaceSpecifier","import namespace specifier")}for(this.expect(u.braceL);!this.eat(u.braceR);){if(t)t=!1;else if(this.eat(u.colon)&&this.unexpected(null,"ES2015 named imports do not destructure. Use another statement for destructuring after the import."),this.expect(u.comma),this.eat(u.braceR))break;this.parseImportSpecifier(e)}}},r.parseImportSpecifier=function(e){var t=this.startNode();t.imported=this.parseIdentifier(!0),this.eatContextual("as")?t.local=this.parseIdentifier():(this.checkReservedWord(t.imported.name,t.start,!0,!0),t.local=t.imported.__clone()),this.checkLVal(t.local,!0,void 0,"import specifier"),e.specifiers.push(this.finishNode(t,"ImportSpecifier"))},t}(function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.checkPropClash=function(e,t){if(!e.computed&&!e.kind){var r=e.key;"__proto__"===("Identifier"===r.type?r.name:String(r.value))&&(t.proto&&this.raise(r.start,"Redefinition of __proto__ property"),t.proto=!0)}},r.getExpression=function(){this.nextToken();var e=this.parseExpression();return this.match(u.eof)||this.unexpected(),e.comments=this.state.comments,e},r.parseExpression=function(e,t){var r=this.state.start,n=this.state.startLoc,i=this.parseMaybeAssign(e,t);if(this.match(u.comma)){var a=this.startNodeAt(r,n);for(a.expressions=[i];this.eat(u.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.toReferencedList(a.expressions),this.finishNode(a,"SequenceExpression")}return i},r.parseMaybeAssign=function(e,t,r,n){var i,a=this.state.start,s=this.state.startLoc;if(this.match(u._yield)&&this.state.inGenerator){var o=this.parseYield();return r&&(o=r.call(this,o,a,s)),o}t?i=!1:(t={start:0},i=!0),(this.match(u.parenL)||this.match(u.name)||this.match(u._yield))&&(this.state.potentialArrowAt=this.state.start);var l=this.parseMaybeConditional(e,t,n);if(r&&(l=r.call(this,l,a,s)),this.state.type.isAssign){var c,p=this.startNodeAt(a,s),f=this.state.value;return p.operator=f,"??="===f&&(this.expectPlugin("nullishCoalescingOperator"),this.expectPlugin("logicalAssignment")),"||="!==f&&"&&="!==f||this.expectPlugin("logicalAssignment"),p.left=this.match(u.eq)?this.toAssignable(l,void 0,"assignment expression"):l,t.start=0,this.checkLVal(l,void 0,void 0,"assignment expression"),l.extra&&l.extra.parenthesized&&("ObjectPattern"===l.type?c="`({a}) = 0` use `({a} = 0)`":"ArrayPattern"===l.type&&(c="`([a]) = 0` use `([a] = 0)`"),c&&this.raise(l.start,"You're trying to assign to a parenthesized expression, eg. instead of "+c)),this.next(),p.right=this.parseMaybeAssign(e),this.finishNode(p,"AssignmentExpression")}return i&&t.start&&this.unexpected(t.start),l},r.parseMaybeConditional=function(e,t,r){var n=this.state.start,i=this.state.startLoc,a=this.state.potentialArrowAt,s=this.parseExprOps(e,t);return"ArrowFunctionExpression"===s.type&&s.start===a?s:t&&t.start?s:this.parseConditional(s,e,n,i,r)},r.parseConditional=function(e,t,r,n,i){if(this.eat(u.question)){var a=this.startNodeAt(r,n);return a.test=e,a.consequent=this.parseMaybeAssign(),this.expect(u.colon),a.alternate=this.parseMaybeAssign(t),this.finishNode(a,"ConditionalExpression")}return e},r.parseExprOps=function(e,t){var r=this.state.start,n=this.state.startLoc,i=this.state.potentialArrowAt,a=this.parseMaybeUnary(t);return"ArrowFunctionExpression"===a.type&&a.start===i?a:t&&t.start?a:this.parseExprOp(a,r,n,-1,e)},r.parseExprOp=function(e,t,r,n,i){var a=this.state.type.binop;if(!(null==a||i&&this.match(u._in))&&a>n){var s=this.startNodeAt(t,r),o=this.state.value;s.left=e,s.operator=o,"**"!==o||"UnaryExpression"!==e.type||e.extra&&e.extra.parenthesized||this.raise(e.argument.start,"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.");var l=this.state.type;if(l===u.pipeline?(this.expectPlugin("pipelineOperator"),this.state.inPipeline=!0,this.checkPipelineAtInfixOperator(e,t)):l===u.nullishCoalescing&&this.expectPlugin("nullishCoalescingOperator"),this.next(),l===u.pipeline&&"minimal"===this.getPluginOption("pipelineOperator","proposal")&&this.match(u.name)&&"await"===this.state.value&&this.state.inAsync)throw this.raise(this.state.start,'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal');return s.right=this.parseExprOpRightExpr(l,a,i),this.finishNode(s,l===u.logicalOR||l===u.logicalAND||l===u.nullishCoalescing?"LogicalExpression":"BinaryExpression"),this.parseExprOp(s,t,r,n,i)}return e},r.parseExprOpRightExpr=function(e,t,r){var n=this;switch(e){case u.pipeline:if("smart"===this.getPluginOption("pipelineOperator","proposal")){var i=this.state.start,a=this.state.startLoc;return this.withTopicPermittingContext((function(){return n.parseSmartPipelineBody(n.parseExprOpBaseRightExpr(e,t,r),i,a)}))}default:return this.parseExprOpBaseRightExpr(e,t,r)}},r.parseExprOpBaseRightExpr=function(e,t,r){var n=this.state.start,i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnary(),n,i,e.rightAssociative?t-1:t,r)},r.parseMaybeUnary=function(e){if(this.state.type.prefix){var t=this.startNode(),r=this.match(u.incDec);if(t.operator=this.state.value,t.prefix=!0,"throw"===t.operator&&this.expectPlugin("throwExpressions"),this.next(),t.argument=this.parseMaybeUnary(),e&&e.start&&this.unexpected(e.start),r)this.checkLVal(t.argument,void 0,void 0,"prefix operation");else if(this.state.strict&&"delete"===t.operator){var n=t.argument;"Identifier"===n.type?this.raise(t.start,"Deleting local variable in strict mode"):"MemberExpression"===n.type&&"PrivateName"===n.property.type&&this.raise(t.start,"Deleting a private field is not allowed")}return this.finishNode(t,r?"UpdateExpression":"UnaryExpression")}var i=this.state.start,a=this.state.startLoc,s=this.parseExprSubscripts(e);if(e&&e.start)return s;for(;this.state.type.postfix&&!this.canInsertSemicolon();){var o=this.startNodeAt(i,a);o.operator=this.state.value,o.prefix=!1,o.argument=s,this.checkLVal(s,void 0,void 0,"postfix operation"),this.next(),s=this.finishNode(o,"UpdateExpression")}return s},r.parseExprSubscripts=function(e){var t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(e);return"ArrowFunctionExpression"===i.type&&i.start===n?i:e&&e.start?i:this.parseSubscripts(i,t,r)},r.parseSubscripts=function(e,t,r,n){var i={optionalChainMember:!1,stop:!1};do{e=this.parseSubscript(e,t,r,n,i)}while(!i.stop);return e},r.parseSubscript=function(e,t,r,n,i){if(!n&&this.eat(u.doubleColon)){var a=this.startNodeAt(t,r);return a.object=e,a.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(a,"BindExpression"),t,r,n)}if(this.match(u.questionDot)){if(this.expectPlugin("optionalChaining"),i.optionalChainMember=!0,n&&this.lookahead().type==u.parenL)return i.stop=!0,e;this.next();var s=this.startNodeAt(t,r);if(this.eat(u.bracketL))return s.object=e,s.property=this.parseExpression(),s.computed=!0,s.optional=!0,this.expect(u.bracketR),this.finishNode(s,"OptionalMemberExpression");if(this.eat(u.parenL)){var o=this.atPossibleAsync(e);return s.callee=e,s.arguments=this.parseCallExpressionArguments(u.parenR,o),s.optional=!0,this.finishNode(s,"OptionalCallExpression")}return s.object=e,s.property=this.parseIdentifier(!0),s.computed=!1,s.optional=!0,this.finishNode(s,"OptionalMemberExpression")}if(this.eat(u.dot)){var l=this.startNodeAt(t,r);return l.object=e,l.property=this.parseMaybePrivateName(),l.computed=!1,i.optionalChainMember?(l.optional=!1,this.finishNode(l,"OptionalMemberExpression")):this.finishNode(l,"MemberExpression")}if(this.eat(u.bracketL)){var c=this.startNodeAt(t,r);return c.object=e,c.property=this.parseExpression(),c.computed=!0,this.expect(u.bracketR),i.optionalChainMember?(c.optional=!1,this.finishNode(c,"OptionalMemberExpression")):this.finishNode(c,"MemberExpression")}if(!n&&this.match(u.parenL)){var p=this.state.maybeInArrowParameters,f=this.state.yieldOrAwaitInPossibleArrowParameters;this.state.maybeInArrowParameters=!0,this.state.yieldOrAwaitInPossibleArrowParameters=null;var d=this.atPossibleAsync(e);this.next();var h=this.startNodeAt(t,r);h.callee=e;var y={start:-1};return h.arguments=this.parseCallExpressionArguments(u.parenR,d,y),i.optionalChainMember?this.finishOptionalCallExpression(h):this.finishCallExpression(h),d&&this.shouldParseAsyncArrow()?(i.stop=!0,y.start>-1&&this.raise(y.start,"A trailing comma is not permitted after the rest element"),h=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),h),this.state.yieldOrAwaitInPossibleArrowParameters=f):(this.toReferencedListDeep(h.arguments),this.state.yieldOrAwaitInPossibleArrowParameters=this.state.yieldOrAwaitInPossibleArrowParameters||f),this.state.maybeInArrowParameters=p,h}return this.match(u.backQuote)?this.parseTaggedTemplateExpression(t,r,e,i):(i.stop=!0,e)},r.parseTaggedTemplateExpression=function(e,t,r,n,i){var a=this.startNodeAt(e,t);return a.tag=r,a.quasi=this.parseTemplate(!0),i&&(a.typeParameters=i),n.optionalChainMember&&this.raise(e,"Tagged Template Literals are not allowed in optionalChain"),this.finishNode(a,"TaggedTemplateExpression")},r.atPossibleAsync=function(e){return!this.state.containsEsc&&this.state.potentialArrowAt===e.start&&"Identifier"===e.type&&"async"===e.name&&!this.canInsertSemicolon()},r.finishCallExpression=function(e){if("Import"===e.callee.type){1!==e.arguments.length&&this.raise(e.start,"import() requires exactly one argument");var t=e.arguments[0];t&&"SpreadElement"===t.type&&this.raise(t.start,"... is not allowed in import()")}return this.finishNode(e,"CallExpression")},r.finishOptionalCallExpression=function(e){if("Import"===e.callee.type){1!==e.arguments.length&&this.raise(e.start,"import() requires exactly one argument");var t=e.arguments[0];t&&"SpreadElement"===t.type&&this.raise(t.start,"... is not allowed in import()")}return this.finishNode(e,"OptionalCallExpression")},r.parseCallExpressionArguments=function(e,t,r){for(var n,i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(u.comma),this.eat(e))break;this.match(u.parenL)&&!n&&(n=this.state.start),i.push(this.parseExprListItem(!1,t?{start:0}:void 0,t?{start:0}:void 0,t?r:void 0))}return t&&n&&this.shouldParseAsyncArrow()&&this.unexpected(),i},r.shouldParseAsyncArrow=function(){return this.match(u.arrow)},r.parseAsyncArrowFromCallExpression=function(e,t){return this.expect(u.arrow),this.parseArrowExpression(e,t.arguments,!0),e},r.parseNoCallExpr=function(){var e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)},r.parseExprAtom=function(e){this.state.type===u.slash&&this.readRegexp();var t,r=this.state.potentialArrowAt===this.state.start;switch(this.state.type){case u._super:return this.state.inMethod||this.state.inClassProperty||this.options.allowSuperOutsideMethod||this.raise(this.state.start,"super is only allowed in object methods and classes"),t=this.startNode(),this.next(),this.match(u.parenL)||this.match(u.bracketL)||this.match(u.dot)||this.unexpected(),this.match(u.parenL)&&"constructor"!==this.state.inMethod&&!this.options.allowSuperOutsideMethod&&this.raise(t.start,"super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'."),this.finishNode(t,"Super");case u._import:return this.lookahead().type===u.dot?this.parseImportMetaProperty():(this.expectPlugin("dynamicImport"),t=this.startNode(),this.next(),this.match(u.parenL)||this.unexpected(null,u.parenL),this.finishNode(t,"Import"));case u._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case u._yield:this.state.inGenerator&&this.unexpected();case u.name:t=this.startNode();var n="await"===this.state.value&&(this.state.inAsync||!this.state.inFunction&&this.options.allowAwaitOutsideFunction),i=this.state.containsEsc,a=this.shouldAllowYieldIdentifier(),s=this.parseIdentifier(n||a);if("await"===s.name){if(this.state.inAsync||this.inModule||!this.state.inFunction&&this.options.allowAwaitOutsideFunction)return this.parseAwait(t)}else{if(!i&&"async"===s.name&&this.match(u._function)&&!this.canInsertSemicolon())return this.next(),this.parseFunction(t,!1,!1,!0);if(r&&!this.canInsertSemicolon()&&"async"===s.name&&this.match(u.name)){var o=this.state.yieldOrAwaitInPossibleArrowParameters,l=this.state.inAsync;this.state.yieldOrAwaitInPossibleArrowParameters=null,this.state.inAsync=!0;var c=[this.parseIdentifier()];return this.expect(u.arrow),this.parseArrowExpression(t,c,!0),this.state.yieldOrAwaitInPossibleArrowParameters=o,this.state.inAsync=l,t}}if(r&&!this.canInsertSemicolon()&&this.eat(u.arrow)){var p=this.state.yieldOrAwaitInPossibleArrowParameters;return this.state.yieldOrAwaitInPossibleArrowParameters=null,this.parseArrowExpression(t,[s]),this.state.yieldOrAwaitInPossibleArrowParameters=p,t}return s;case u._do:this.expectPlugin("doExpressions");var f=this.startNode();this.next();var d=this.state.inFunction,h=this.state.labels;return this.state.labels=[],this.state.inFunction=!1,f.body=this.parseBlock(!1),this.state.inFunction=d,this.state.labels=h,this.finishNode(f,"DoExpression");case u.regexp:var y=this.state.value;return(t=this.parseLiteral(y.value,"RegExpLiteral")).pattern=y.pattern,t.flags=y.flags,t;case u.num:return this.parseLiteral(this.state.value,"NumericLiteral");case u.bigint:return this.parseLiteral(this.state.value,"BigIntLiteral");case u.string:return this.parseLiteral(this.state.value,"StringLiteral");case u._null:return t=this.startNode(),this.next(),this.finishNode(t,"NullLiteral");case u._true:case u._false:return this.parseBooleanLiteral();case u.parenL:return this.parseParenAndDistinguishExpression(r);case u.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(u.bracketR,!0,e),this.state.maybeInArrowParameters||this.toReferencedList(t.elements),this.finishNode(t,"ArrayExpression");case u.braceL:return this.parseObj(!1,e);case u._function:return this.parseFunctionExpression();case u.at:this.parseDecorators();case u._class:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case u._new:return this.parseNew();case u.backQuote:return this.parseTemplate(!1);case u.doubleColon:t=this.startNode(),this.next(),t.object=null;var m=t.callee=this.parseNoCallExpr();if("MemberExpression"===m.type)return this.finishNode(t,"BindExpression");throw this.raise(m.start,"Binding should be performed on object property.");case u.hash:if(this.state.inPipeline){if(t=this.startNode(),"smart"!==this.getPluginOption("pipelineOperator","proposal")&&this.raise(t.start,"Primary Topic Reference found but pipelineOperator not passed 'smart' for 'proposal' option."),this.next(),this.primaryTopicReferenceIsAllowedInCurrentTopicContext())return this.registerTopicReference(),this.finishNode(t,"PipelinePrimaryTopicReference");throw this.raise(t.start,"Topic reference was used in a lexical context without topic binding")}default:throw this.unexpected()}},r.parseBooleanLiteral=function(){var e=this.startNode();return e.value=this.match(u._true),this.next(),this.finishNode(e,"BooleanLiteral")},r.parseMaybePrivateName=function(){if(this.match(u.hash)){this.expectOnePlugin(["classPrivateProperties","classPrivateMethods"]);var e=this.startNode(),t=this.state.end;this.next();var r=this.state.start;return 0!=r-t&&this.raise(r,"Unexpected space between # and identifier"),e.id=this.parseIdentifier(!0),this.finishNode(e,"PrivateName")}return this.parseIdentifier(!0)},r.parseFunctionExpression=function(){var e=this.startNode(),t=this.startNode();return this.next(),t=this.createIdentifier(t,"function"),this.state.inGenerator&&this.eat(u.dot)?this.parseMetaProperty(e,t,"sent"):this.parseFunction(e,!1)},r.parseMetaProperty=function(e,t,r){e.meta=t,"function"===t.name&&"sent"===r&&(this.isContextual(r)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected());var n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(e.property.start,"The only valid meta property for "+t.name+" is "+t.name+"."+r),this.finishNode(e,"MetaProperty")},r.parseImportMetaProperty=function(){var e=this.startNode(),t=this.parseIdentifier(!0);return this.expect(u.dot),"import"===t.name&&(this.isContextual("meta")?this.expectPlugin("importMeta"):this.hasPlugin("importMeta")||this.raise(t.start,"Dynamic imports require a parameter: import('a.js')")),this.inModule||this.raise(t.start,"import.meta may appear only with 'sourceType: \"module\"'",{code:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),this.sawUnambiguousESM=!0,this.parseMetaProperty(e,t,"meta")},r.parseLiteral=function(e,t,r,n){r=r||this.state.start,n=n||this.state.startLoc;var i=this.startNodeAt(r,n);return this.addExtra(i,"rawValue",e),this.addExtra(i,"raw",this.input.slice(r,this.state.end)),i.value=e,this.next(),this.finishNode(i,t)},r.parseParenExpression=function(){this.expect(u.parenL);var e=this.parseExpression();return this.expect(u.parenR),e},r.parseParenAndDistinguishExpression=function(e){var t,r=this.state.start,n=this.state.startLoc;this.expect(u.parenL);var i=this.state.maybeInArrowParameters,a=this.state.yieldOrAwaitInPossibleArrowParameters;this.state.maybeInArrowParameters=!0,this.state.yieldOrAwaitInPossibleArrowParameters=null;for(var s,o,l=this.state.start,c=this.state.startLoc,p=[],f={start:0},d={start:0},h=!0;!this.match(u.parenR);){if(h)h=!1;else if(this.expect(u.comma,d.start||null),this.match(u.parenR)){o=this.state.start;break}if(this.match(u.ellipsis)){var y=this.state.start,m=this.state.startLoc;if(s=this.state.start,p.push(this.parseParenItem(this.parseRest(),y,m)),this.match(u.comma)){var v=this.lookahead().type===u.parenR?"A trailing comma is not permitted after the rest element":"Rest parameter must be last formal parameter";this.raise(this.state.start,v)}break}p.push(this.parseMaybeAssign(!1,f,this.parseParenItem,d))}var g=this.state.start,T=this.state.startLoc;this.expect(u.parenR),this.state.maybeInArrowParameters=i;var E=this.startNodeAt(r,n);if(e&&this.shouldParseArrow()&&(E=this.parseArrow(E))){for(var S=0;S<p.length;S++){var b=p[S];b.extra&&b.extra.parenthesized&&this.unexpected(b.extra.parenStart)}return this.parseArrowExpression(E,p),this.state.yieldOrAwaitInPossibleArrowParameters=a,E}return this.state.yieldOrAwaitInPossibleArrowParameters=this.state.yieldOrAwaitInPossibleArrowParameters||a,p.length||this.unexpected(this.state.lastTokStart),o&&this.unexpected(o),s&&this.unexpected(s),f.start&&this.unexpected(f.start),d.start&&this.unexpected(d.start),this.toReferencedListDeep(p,!0),p.length>1?((t=this.startNodeAt(l,c)).expressions=p,this.finishNodeAt(t,"SequenceExpression",g,T)):t=p[0],this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",r),t},r.shouldParseArrow=function(){return!this.canInsertSemicolon()},r.parseArrow=function(e){if(this.eat(u.arrow))return e},r.parseParenItem=function(e,t,r){return e},r.parseNew=function(){var e=this.startNode(),t=this.parseIdentifier(!0);if(this.eat(u.dot)){var r=this.parseMetaProperty(e,t,"target");if(!this.state.inFunction&&!this.state.inClassProperty){var n="new.target can only be used in functions";this.hasPlugin("classProperties")&&(n+=" or class properties"),this.raise(r.start,n)}return r}return e.callee=this.parseNoCallExpr(),"OptionalMemberExpression"!==e.callee.type&&"OptionalCallExpression"!==e.callee.type||this.raise(this.state.lastTokEnd,"constructors in/after an Optional Chain are not allowed"),this.eat(u.questionDot)&&this.raise(this.state.start,"constructors in/after an Optional Chain are not allowed"),this.parseNewArguments(e),this.finishNode(e,"NewExpression")},r.parseNewArguments=function(e){if(this.eat(u.parenL)){var t=this.parseExprList(u.parenR);this.toReferencedList(t),e.arguments=t}else e.arguments=[]},r.parseTemplateElement=function(e){var t=this.startNode();return null===this.state.value&&(e?this.state.invalidTemplateEscapePosition=null:this.raise(this.state.invalidTemplateEscapePosition||0,"Invalid escape sequence in template")),t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value},this.next(),t.tail=this.match(u.backQuote),this.finishNode(t,"TemplateElement")},r.parseTemplate=function(e){var t=this.startNode();this.next(),t.expressions=[];var r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)this.expect(u.dollarBraceL),t.expressions.push(this.parseExpression()),this.expect(u.braceR),t.quasis.push(r=this.parseTemplateElement(e));return this.next(),this.finishNode(t,"TemplateLiteral")},r.parseObj=function(e,t){var r=[],n=Object.create(null),i=!0,a=this.startNode();a.properties=[],this.next();for(var s=null;!this.eat(u.braceR);){if(i)i=!1;else if(this.expect(u.comma),this.eat(u.braceR))break;if(this.match(u.at))if(this.hasPlugin("decorators"))this.raise(this.state.start,"Stage 2 decorators disallow object literal property decorators");else for(;this.match(u.at);)r.push(this.parseDecorator());var o=this.startNode(),l=!1,c=!1,p=void 0,f=void 0;if(r.length&&(o.decorators=r,r=[]),this.match(u.ellipsis)){if(o=this.parseSpread(e?{start:0}:void 0),e&&this.toAssignable(o,!0,"object pattern"),a.properties.push(o),!e)continue;var d=this.state.start;if(null!==s)this.unexpected(s,"Cannot have multiple rest elements when destructuring");else{if(this.eat(u.braceR))break;if(!this.match(u.comma)||this.lookahead().type!==u.braceR){s=d;continue}this.unexpected(d,"A trailing comma is not permitted after the rest element")}}o.method=!1,(e||t)&&(p=this.state.start,f=this.state.startLoc),e||(l=this.eat(u.star));var h=this.state.containsEsc;if(!e&&this.isContextual("async")){l&&this.unexpected();var y=this.parseIdentifier();this.match(u.colon)||this.match(u.parenL)||this.match(u.braceR)||this.match(u.eq)||this.match(u.comma)?(o.key=y,o.computed=!1):(c=!0,l=this.eat(u.star),this.parsePropertyName(o))}else this.parsePropertyName(o);this.parseObjPropValue(o,p,f,l,c,e,t,h),this.checkPropClash(o,n),o.shorthand&&this.addExtra(o,"shorthand",!0),a.properties.push(o)}return null!==s&&this.unexpected(s,"The rest element has to be the last element when destructuring"),r.length&&this.raise(this.state.start,"You have trailing decorators with no property"),this.finishNode(a,e?"ObjectPattern":"ObjectExpression")},r.isGetterOrSetterMethod=function(e,t){return!t&&!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&(this.match(u.string)||this.match(u.num)||this.match(u.bracketL)||this.match(u.name)||!!this.state.type.keyword)},r.checkGetterSetterParams=function(e){var t="get"===e.kind?0:1,r=e.start;e.params.length!==t&&("get"===e.kind?this.raise(r,"getter must not have any formal parameters"):this.raise(r,"setter must have exactly one formal parameter")),"set"===e.kind&&"RestElement"===e.params[0].type&&this.raise(r,"setter function argument must not be a rest parameter")},r.parseObjectMethod=function(e,t,r,n,i){return r||t||this.match(u.parenL)?(n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,"ObjectMethod")):!i&&this.isGetterOrSetterMethod(e,n)?((t||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),this.parseMethod(e,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):void 0},r.parseObjectProperty=function(e,t,r,n,i){return e.shorthand=!1,this.eat(u.colon)?(e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssign(!1,i),this.finishNode(e,"ObjectProperty")):e.computed||"Identifier"!==e.key.type?void 0:(this.checkReservedWord(e.key.name,e.key.start,!0,!0),n?e.value=this.parseMaybeDefault(t,r,e.key.__clone()):this.match(u.eq)&&i?(i.start||(i.start=this.state.start),e.value=this.parseMaybeDefault(t,r,e.key.__clone())):e.value=e.key.__clone(),e.shorthand=!0,this.finishNode(e,"ObjectProperty"))},r.parseObjPropValue=function(e,t,r,n,i,a,s,o){var u=this.parseObjectMethod(e,n,i,a,o)||this.parseObjectProperty(e,t,r,a,s);return u||this.unexpected(),u},r.parsePropertyName=function(e){if(this.eat(u.bracketL))e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(u.bracketR);else{var t=this.state.inPropertyName;this.state.inPropertyName=!0,e.key=this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseMaybePrivateName(),"PrivateName"!==e.key.type&&(e.computed=!1),this.state.inPropertyName=t}return e.key},r.initFunction=function(e,t){e.id=null,e.generator=!1,e.async=!!t},r.parseMethod=function(e,t,r,n,i){var a=this.state.inFunction,s=this.state.inMethod,o=this.state.inAsync,u=this.state.inGenerator;this.state.inFunction=!0,this.state.inMethod=e.kind||!0,this.state.inAsync=r,this.state.inGenerator=t,this.initFunction(e,r),e.generator=!!t;var l=n;return this.parseFunctionParams(e,l),this.parseFunctionBodyAndFinish(e,i),this.state.inFunction=a,this.state.inMethod=s,this.state.inAsync=o,this.state.inGenerator=u,e},r.parseArrowExpression=function(e,t,r){var n=this.state.yieldOrAwaitInPossibleArrowParameters;n&&("YieldExpression"===n.type?this.raise(n.start,"yield is not allowed in the parameters of an arrow function inside a generator"):this.raise(n.start,"await is not allowed in the parameters of an arrow function inside an async function"));var i=this.state.inFunction;this.state.inFunction=!0,this.initFunction(e,r),t&&this.setArrowFunctionParameters(e,t);var a=this.state.inAsync,s=this.state.inGenerator,o=this.state.maybeInArrowParameters;return this.state.inAsync=r,this.state.inGenerator=!1,this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.state.inAsync=a,this.state.inGenerator=s,this.state.inFunction=i,this.state.maybeInArrowParameters=o,this.finishNode(e,"ArrowFunctionExpression")},r.setArrowFunctionParameters=function(e,t){e.params=this.toAssignableList(t,!0,"arrow function parameters")},r.isStrictBody=function(e){if("BlockStatement"===e.body.type&&e.body.directives.length)for(var t=0,r=e.body.directives;t<r.length;t++)if("use strict"===r[t].value.value)return!0;return!1},r.parseFunctionBodyAndFinish=function(e,t,r){this.parseFunctionBody(e,r),this.finishNode(e,t)},r.parseFunctionBody=function(e,t){var r=t&&!this.match(u.braceL),n=this.state.inParameters;if(this.state.inParameters=!1,r)e.body=this.parseMaybeAssign();else{var i=this.state.inGenerator,a=this.state.inFunction,s=this.state.labels;this.state.inGenerator=e.generator,this.state.inFunction=!0,this.state.labels=[],e.body=this.parseBlock(!0),this.state.inFunction=a,this.state.inGenerator=i,this.state.labels=s}this.checkFunctionNameAndParams(e,t),this.state.inParameters=n},r.checkFunctionNameAndParams=function(e,t){var r=this.isStrictBody(e),n=this.state.strict||r||t,i=this.state.strict;if(r&&(this.state.strict=r),n){var a=Object.create(null);e.id&&this.checkLVal(e.id,!0,void 0,"function name");for(var s=0,o=e.params;s<o.length;s++){var u=o[s];r&&"Identifier"!==u.type&&this.raise(u.start,"Non-simple parameter in strict mode"),this.checkLVal(u,!0,a,"function parameter list")}}this.state.strict=i},r.parseExprList=function(e,t,r){for(var n=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(u.comma),this.eat(e))break;n.push(this.parseExprListItem(t,r))}return n},r.parseExprListItem=function(e,t,r,n){var i;if(e&&this.match(u.comma))i=null;else if(this.match(u.ellipsis)){var a=this.state.start,s=this.state.startLoc;i=this.parseParenItem(this.parseSpread(t,r),a,s),n&&this.match(u.comma)&&(n.start=this.state.start)}else i=this.parseMaybeAssign(!1,t,this.parseParenItem,r);return i},r.parseIdentifier=function(e){var t=this.startNode(),r=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,r)},r.createIdentifier=function(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")},r.parseIdentifierName=function(e,t){var r;if(t||this.checkReservedWord(this.state.value,this.state.start,!!this.state.type.keyword,!1),this.match(u.name))r=this.state.value;else{if(!this.state.type.keyword)throw this.unexpected();"class"!==(r=this.state.type.keyword)&&"function"!==r||this.state.lastTokEnd===this.state.lastTokStart+1&&46===this.input.charCodeAt(this.state.lastTokStart)||this.state.context.pop()}return!t&&"await"===r&&this.state.inAsync&&this.raise(e,"invalid use of await inside of an async function"),this.next(),r},r.checkReservedWord=function(e,t,r,n){this.state.strict&&(T.strict(e)||n&&T.strictBind(e))&&this.raise(t,e+" is a reserved word in strict mode"),this.state.inGenerator&&"yield"===e&&this.raise(t,"yield is a reserved word inside generator functions"),this.state.inClassProperty&&"arguments"===e&&this.raise(t,"'arguments' is not allowed in class field initializer"),(this.isReservedWord(e)||r&&this.isKeyword(e))&&this.raise(t,e+" is a reserved word")},r.parseAwait=function(e){return this.state.inAsync||!this.state.inFunction&&this.options.allowAwaitOutsideFunction||this.unexpected(),this.state.inParameters&&this.raise(e.start,"await is not allowed in async function parameters"),this.match(u.star)&&this.raise(e.start,"await* has been removed from the async functions proposal. Use Promise.all() instead."),this.state.maybeInArrowParameters&&!this.state.yieldOrAwaitInPossibleArrowParameters&&(this.state.yieldOrAwaitInPossibleArrowParameters=e),e.argument=this.parseMaybeUnary(),this.finishNode(e,"AwaitExpression")},r.parseYield=function(){var e=this.startNode();return this.state.inParameters&&this.raise(e.start,"yield is not allowed in generator parameters"),this.state.maybeInArrowParameters&&!this.state.yieldOrAwaitInPossibleArrowParameters&&(this.state.yieldOrAwaitInPossibleArrowParameters=e),this.next(),this.match(u.semi)||this.canInsertSemicolon()||!this.match(u.star)&&!this.state.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(u.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")},r.checkPipelineAtInfixOperator=function(e,t){if("smart"===this.getPluginOption("pipelineOperator","proposal")&&"SequenceExpression"===e.type)throw this.raise(t,"Pipeline head should not be a comma-separated sequence expression")},r.parseSmartPipelineBody=function(e,t,r){var n=this.checkSmartPipelineBodyStyle(e);return this.checkSmartPipelineBodyEarlyErrors(e,n,t),this.parseSmartPipelineBodyInStyle(e,n,t,r)},r.checkSmartPipelineBodyEarlyErrors=function(e,t,r){if(this.match(u.arrow))throw this.raise(this.state.start,'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized');if("PipelineTopicExpression"===t&&"SequenceExpression"===e.type)throw this.raise(r,"Pipeline body may not be a comma-separated sequence expression")},r.parseSmartPipelineBodyInStyle=function(e,t,r,n){var i=this.startNodeAt(r,n);switch(t){case"PipelineBareFunction":i.callee=e;break;case"PipelineBareConstructor":i.callee=e.callee;break;case"PipelineBareAwaitedFunction":i.callee=e.argument;break;case"PipelineTopicExpression":if(!this.topicReferenceWasUsedInCurrentTopicContext())throw this.raise(r,"Pipeline is in topic style but does not use topic reference");i.expression=e;break;default:throw this.raise(r,"Unknown pipeline style "+t)}return this.finishNode(i,t)},r.checkSmartPipelineBodyStyle=function(e){return e.type,this.isSimpleReference(e)?"PipelineBareFunction":"PipelineTopicExpression"},r.isSimpleReference=function(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}},r.withTopicPermittingContext=function(e){var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}},r.withTopicForbiddingContext=function(e){var t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}},r.registerTopicReference=function(){this.state.topicContext.maxTopicIndex=0},r.primaryTopicReferenceIsAllowedInCurrentTopicContext=function(){return this.state.topicContext.maxNumOfResolvableTopics>=1},r.topicReferenceWasUsedInCurrentTopicContext=function(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0},t}(function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.toAssignable=function(e,t,r){if(e)switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(var n=0;n<e.properties.length;n++){var i=e.properties[n],a=n===e.properties.length-1;this.toAssignableObjectExpressionProp(i,t,a)}break;case"ObjectProperty":this.toAssignable(e.value,t,r);break;case"SpreadElement":this.checkToRestConversion(e),e.type="RestElement";var s=e.argument;this.toAssignable(s,t,r);break;case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,t,r);break;case"AssignmentExpression":"="===e.operator?(e.type="AssignmentPattern",delete e.operator):this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");break;case"MemberExpression":if(!t)break;default:var o="Invalid left-hand side"+(r?" in "+r:"expression");this.raise(e.start,o)}return e},r.toAssignableObjectExpressionProp=function(e,t,r){if("ObjectMethod"===e.type){var n="get"===e.kind||"set"===e.kind?"Object pattern can't contain getter or setter":"Object pattern can't contain methods";this.raise(e.key.start,n)}else"SpreadElement"!==e.type||r?this.toAssignable(e,t,"object destructuring pattern"):this.raise(e.start,"The rest element has to be the last element when destructuring")},r.toAssignableList=function(e,t,r){var n=e.length;if(n){var i=e[n-1];if(i&&"RestElement"===i.type)--n;else if(i&&"SpreadElement"===i.type){i.type="RestElement";var a=i.argument;this.toAssignable(a,t,r),-1===["Identifier","MemberExpression","ArrayPattern","ObjectPattern"].indexOf(a.type)&&this.unexpected(a.start),--n}}for(var s=0;s<n;s++){var o=e[s];o&&"SpreadElement"===o.type&&this.raise(o.start,"The rest element has to be the last element when destructuring"),o&&this.toAssignable(o,t,r)}return e},r.toReferencedList=function(e,t){return e},r.toReferencedListDeep=function(e,t){this.toReferencedList(e,t);for(var r=0;r<e.length;r++){var n=e[r];n&&"ArrayExpression"===n.type&&this.toReferencedListDeep(n.elements)}return e},r.parseSpread=function(e,t){var r=this.startNode();return this.next(),r.argument=this.parseMaybeAssign(!1,e,void 0,t),this.finishNode(r,"SpreadElement")},r.parseRest=function(){var e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},r.shouldAllowYieldIdentifier=function(){return this.match(u._yield)&&!this.state.strict&&!this.state.inGenerator},r.parseBindingIdentifier=function(){return this.parseIdentifier(this.shouldAllowYieldIdentifier())},r.parseBindingAtom=function(){switch(this.state.type){case u._yield:case u.name:return this.parseBindingIdentifier();case u.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(u.bracketR,!0),this.finishNode(e,"ArrayPattern");case u.braceL:return this.parseObj(!0);default:throw this.unexpected()}},r.parseBindingList=function(e,t,r){for(var n=[],i=!0;!this.eat(e);)if(i?i=!1:this.expect(u.comma),t&&this.match(u.comma))n.push(null);else{if(this.eat(e))break;if(this.match(u.ellipsis)){if(n.push(this.parseAssignableListItemTypes(this.parseRest())),this.state.inFunction&&this.state.inParameters&&this.match(u.comma)){var a=this.lookahead().type===u.parenR?"A trailing comma is not permitted after the rest element":"Rest parameter must be last formal parameter";this.raise(this.state.start,a)}else this.expect(e);break}var s=[];for(this.match(u.at)&&this.hasPlugin("decorators")&&this.raise(this.state.start,"Stage 2 decorators cannot be used to decorate parameters");this.match(u.at);)s.push(this.parseDecorator());n.push(this.parseAssignableListItem(r,s))}return n},r.parseAssignableListItem=function(e,t){var r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);var n=this.parseMaybeDefault(r.start,r.loc.start,r);return t.length&&(r.decorators=t),n},r.parseAssignableListItemTypes=function(e){return e},r.parseMaybeDefault=function(e,t,r){if(t=t||this.state.startLoc,e=e||this.state.start,r=r||this.parseBindingAtom(),!this.eat(u.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},r.checkLVal=function(e,t,r,n){switch(e.type){case"Identifier":if(this.checkReservedWord(e.name,e.start,!1,!0),r){var i="_"+e.name;r[i]?this.raise(e.start,"Argument name clash in strict mode"):r[i]=!0}break;case"MemberExpression":t&&this.raise(e.start,"Binding member expression");break;case"ObjectPattern":for(var a=0,s=e.properties;a<s.length;a++){var o=s[a];"ObjectProperty"===o.type&&(o=o.value),this.checkLVal(o,t,r,"object destructuring pattern")}break;case"ArrayPattern":for(var u=0,l=e.elements;u<l.length;u++){var c=l[u];c&&this.checkLVal(c,t,r,"array destructuring pattern")}break;case"AssignmentPattern":this.checkLVal(e.left,t,r,"assignment pattern");break;case"RestElement":this.checkLVal(e.argument,t,r,"rest element");break;default:var p=(t?"Binding invalid":"Invalid")+" left-hand side"+(n?" in "+n:"expression");this.raise(e.start,p)}},r.checkToRestConversion=function(e){-1===["Identifier","MemberExpression"].indexOf(e.argument.type)&&this.raise(e.argument.start,"Invalid rest operator's argument")},t}(function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.startNode=function(){return new G(this,this.state.start,this.state.startLoc)},r.startNodeAt=function(e,t){return new G(this,e,t)},r.startNodeAtNode=function(e){return this.startNodeAt(e.start,e.loc.start)},r.finishNode=function(e,t){return this.finishNodeAt(e,t,this.state.lastTokEnd,this.state.lastTokEndLoc)},r.finishNodeAt=function(e,t,r,n){return e.type=t,e.end=r,e.loc.end=n,this.options.ranges&&(e.range[1]=r),this.processComment(e),e},r.resetStartLocationFromNode=function(e,t){e.start=t.start,e.loc.start=t.loc.start,this.options.ranges&&(e.range[0]=t.range[0])},t}(H)))));function re(e){if(null==e)throw new Error("Unexpected "+e+" value.");return e}function ne(e){if(!e)throw new Error("Assert fail")}function ie(e,t){return e.some((function(e){return Array.isArray(e)?e[0]===t:e===t}))}function ae(e,t,r){var n=e.find((function(e){return Array.isArray(e)?e[0]===t:e===t}));return n&&Array.isArray(n)?n[1][r]:null}var se=["minimal","smart"],oe=["estree","jsx","flow","typescript"],ue={estree:function(e){return function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.estreeParseRegExpLiteral=function(e){var t=e.pattern,r=e.flags,n=null;try{n=new RegExp(t,r)}catch(e){}var i=this.estreeParseLiteral(n);return i.regex={pattern:t,flags:r},i},r.estreeParseLiteral=function(e){return this.parseLiteral(e,"Literal")},r.directiveToStmt=function(e){var t=e.value,r=this.startNodeAt(e.start,e.loc.start),n=this.startNodeAt(t.start,t.loc.start);return n.value=t.value,n.raw=t.extra.raw,r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end),r.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)},r.initFunction=function(t,r){e.prototype.initFunction.call(this,t,r),t.expression=!1},r.checkDeclaration=function(t){c(t)?this.checkDeclaration(t.value):e.prototype.checkDeclaration.call(this,t)},r.checkGetterSetterParams=function(e){var t=e,r="get"===t.kind?0:1,n=t.start;t.value.params.length!==r&&("get"===t.kind?this.raise(n,"getter must not have any formal parameters"):this.raise(n,"setter must have exactly one formal parameter")),"set"===t.kind&&"RestElement"===t.value.params[0].type&&this.raise(n,"setter function argument must not be a rest parameter")},r.checkLVal=function(t,r,n,i){var a=this;switch(t.type){case"ObjectPattern":t.properties.forEach((function(e){a.checkLVal("Property"===e.type?e.value:e,r,n,"object destructuring pattern")}));break;default:e.prototype.checkLVal.call(this,t,r,n,i)}},r.checkPropClash=function(e,t){if(!e.computed&&c(e)){var r=e.key;"__proto__"===("Identifier"===r.type?r.name:String(r.value))&&(t.proto&&this.raise(r.start,"Redefinition of __proto__ property"),t.proto=!0)}},r.isStrictBody=function(e){if("BlockStatement"===e.body.type&&e.body.body.length>0)for(var t=0,r=e.body.body;t<r.length;t++){var n=r[t];if("ExpressionStatement"!==n.type||"Literal"!==n.expression.type)break;if("use strict"===n.expression.value)return!0}return!1},r.isValidDirective=function(e){return!("ExpressionStatement"!==e.type||"Literal"!==e.expression.type||"string"!=typeof e.expression.value||e.expression.extra&&e.expression.extra.parenthesized)},r.stmtToDirective=function(t){var r=e.prototype.stmtToDirective.call(this,t),n=t.expression.value;return r.value.value=n,r},r.parseBlockBody=function(t,r,n,i){var a=this;e.prototype.parseBlockBody.call(this,t,r,n,i);var s=t.directives.map((function(e){return a.directiveToStmt(e)}));t.body=s.concat(t.body),delete t.directives},r.pushClassMethod=function(e,t,r,n,i){this.parseMethod(t,r,n,i,"MethodDefinition"),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)},r.parseExprAtom=function(t){switch(this.state.type){case u.regexp:return this.estreeParseRegExpLiteral(this.state.value);case u.num:case u.string:return this.estreeParseLiteral(this.state.value);case u._null:return this.estreeParseLiteral(null);case u._true:return this.estreeParseLiteral(!0);case u._false:return this.estreeParseLiteral(!1);default:return e.prototype.parseExprAtom.call(this,t)}},r.parseLiteral=function(t,r,n,i){var a=e.prototype.parseLiteral.call(this,t,r,n,i);return a.raw=a.extra.raw,delete a.extra,a},r.parseFunctionBody=function(t,r){e.prototype.parseFunctionBody.call(this,t,r),t.expression="BlockStatement"!==t.body.type},r.parseMethod=function(t,r,n,i,a){var s=this.startNode();return s.kind=t.kind,delete(s=e.prototype.parseMethod.call(this,s,r,n,i,"FunctionExpression")).kind,t.value=s,this.finishNode(t,a)},r.parseObjectMethod=function(t,r,n,i,a){var s=e.prototype.parseObjectMethod.call(this,t,r,n,i,a);return s&&(s.type="Property","method"===s.kind&&(s.kind="init"),s.shorthand=!1),s},r.parseObjectProperty=function(t,r,n,i,a){var s=e.prototype.parseObjectProperty.call(this,t,r,n,i,a);return s&&(s.kind="init",s.type="Property"),s},r.toAssignable=function(t,r,n){return c(t)?(this.toAssignable(t.value,r,n),t):e.prototype.toAssignable.call(this,t,r,n)},r.toAssignableObjectExpressionProp=function(t,r,n){"get"===t.kind||"set"===t.kind?this.raise(t.key.start,"Object pattern can't contain getter or setter"):t.method?this.raise(t.key.start,"Object pattern can't contain methods"):e.prototype.toAssignableObjectExpressionProp.call(this,t,r,n)},t}(e)},jsx:function(e){return function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.jsxReadToken=function(){for(var e="",t=this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated JSX contents");var r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.exprAllowed?(++this.state.pos,this.finishToken(u.jsxTagStart)):this.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(u.jsxText,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:d(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}},r.jsxReadNewLine=function(e){var t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t},r.jsxReadString=function(e){for(var t="",r=++this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant");var n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):d(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}return t+=this.input.slice(r,this.state.pos++),this.finishToken(u.string,t)},r.jsxReadEntity=function(){for(var e,t="",r=0,n=this.input[this.state.pos],i=++this.state.pos;this.state.pos<this.input.length&&r++<10;){if(";"===(n=this.input[this.state.pos++])){"#"===t[0]?"x"===t[1]?(t=t.substr(2),M.test(t)&&(e=String.fromCodePoint(parseInt(t,16)))):(t=t.substr(1),B.test(t)&&(e=String.fromCodePoint(parseInt(t,10)))):e=L[t];break}t+=n}return e||(this.state.pos=i,"&")},r.jsxReadWord=function(){var e,t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(_(e)||45===e);return this.finishToken(u.jsxName,this.input.slice(t,this.state.pos))},r.jsxParseIdentifier=function(){var e=this.startNode();return this.match(u.jsxName)?e.name=this.state.value:this.state.type.keyword?e.name=this.state.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")},r.jsxParseNamespacedName=function(){var e=this.state.start,t=this.state.startLoc,r=this.jsxParseIdentifier();if(!this.eat(u.colon))return r;var n=this.startNodeAt(e,t);return n.namespace=r,n.name=this.jsxParseIdentifier(),this.finishNode(n,"JSXNamespacedName")},r.jsxParseElementName=function(){for(var e=this.state.start,t=this.state.startLoc,r=this.jsxParseNamespacedName();this.eat(u.dot);){var n=this.startNodeAt(e,t);n.object=r,n.property=this.jsxParseIdentifier(),r=this.finishNode(n,"JSXMemberExpression")}return r},r.jsxParseAttributeValue=function(){var e;switch(this.state.type){case u.braceL:if("JSXEmptyExpression"===(e=this.jsxParseExpressionContainer()).expression.type)throw this.raise(e.start,"JSX attributes must only be assigned a non-empty expression");return e;case u.jsxTagStart:case u.string:return this.parseExprAtom();default:throw this.raise(this.state.start,"JSX value should be either an expression or a quoted JSX text")}},r.jsxParseEmptyExpression=function(){var e=this.startNodeAt(this.state.lastTokEnd,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.start,this.state.startLoc)},r.jsxParseSpreadChild=function(){var e=this.startNode();return this.expect(u.braceL),this.expect(u.ellipsis),e.expression=this.parseExpression(),this.expect(u.braceR),this.finishNode(e,"JSXSpreadChild")},r.jsxParseExpressionContainer=function(){var e=this.startNode();return this.next(),this.match(u.braceR)?e.expression=this.jsxParseEmptyExpression():e.expression=this.parseExpression(),this.expect(u.braceR),this.finishNode(e,"JSXExpressionContainer")},r.jsxParseAttribute=function(){var e=this.startNode();return this.eat(u.braceL)?(this.expect(u.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(u.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(u.eq)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))},r.jsxParseOpeningElementAt=function(e,t){var r=this.startNodeAt(e,t);return this.match(u.jsxTagEnd)?(this.expect(u.jsxTagEnd),this.finishNode(r,"JSXOpeningFragment")):(r.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(r))},r.jsxParseOpeningElementAfterName=function(e){for(var t=[];!this.match(u.slash)&&!this.match(u.jsxTagEnd);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(u.slash),this.expect(u.jsxTagEnd),this.finishNode(e,"JSXOpeningElement")},r.jsxParseClosingElementAt=function(e,t){var r=this.startNodeAt(e,t);return this.match(u.jsxTagEnd)?(this.expect(u.jsxTagEnd),this.finishNode(r,"JSXClosingFragment")):(r.name=this.jsxParseElementName(),this.expect(u.jsxTagEnd),this.finishNode(r,"JSXClosingElement"))},r.jsxParseElementAt=function(e,t){var r=this.startNodeAt(e,t),n=[],i=this.jsxParseOpeningElementAt(e,t),a=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case u.jsxTagStart:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(u.slash)){a=this.jsxParseClosingElementAt(e,t);break e}n.push(this.jsxParseElementAt(e,t));break;case u.jsxText:n.push(this.parseExprAtom());break;case u.braceL:this.lookahead().type===u.ellipsis?n.push(this.jsxParseSpreadChild()):n.push(this.jsxParseExpressionContainer());break;default:throw this.unexpected()}j(i)&&!j(a)?this.raise(a.start,"Expected corresponding JSX closing tag for <>"):!j(i)&&j(a)?this.raise(a.start,"Expected corresponding JSX closing tag for <"+R(i.name)+">"):j(i)||j(a)||R(a.name)!==R(i.name)&&this.raise(a.start,"Expected corresponding JSX closing tag for <"+R(i.name)+">")}return j(i)?(r.openingFragment=i,r.closingFragment=a):(r.openingElement=i,r.closingElement=a),r.children=n,this.match(u.relational)&&"<"===this.state.value&&this.raise(this.state.start,"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"),j(i)?this.finishNode(r,"JSXFragment"):this.finishNode(r,"JSXElement")},r.jsxParseElement=function(){var e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)},r.parseExprAtom=function(t){return this.match(u.jsxText)?this.parseLiteral(this.state.value,"JSXText"):this.match(u.jsxTagStart)?this.jsxParseElement():this.isRelational("<")&&33!==this.state.input.charCodeAt(this.state.pos)?(this.finishToken(u.jsxTagStart),this.jsxParseElement()):e.prototype.parseExprAtom.call(this,t)},r.readToken=function(t){if(this.state.inPropertyName)return e.prototype.readToken.call(this,t);var r=this.curContext();if(r===v.j_expr)return this.jsxReadToken();if(r===v.j_oTag||r===v.j_cTag){if(w(t))return this.jsxReadWord();if(62===t)return++this.state.pos,this.finishToken(u.jsxTagEnd);if((34===t||39===t)&&r===v.j_oTag)return this.jsxReadString(t)}return 60===t&&this.state.exprAllowed&&33!==this.state.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(u.jsxTagStart)):e.prototype.readToken.call(this,t)},r.updateContext=function(t){if(this.match(u.braceL)){var r=this.curContext();r===v.j_oTag?this.state.context.push(v.braceExpression):r===v.j_expr?this.state.context.push(v.templateQuasi):e.prototype.updateContext.call(this,t),this.state.exprAllowed=!0}else{if(!this.match(u.slash)||t!==u.jsxTagStart)return e.prototype.updateContext.call(this,t);this.state.context.length-=2,this.state.context.push(v.j_cTag),this.state.exprAllowed=!1}},t}(e)},flow:function(e){return function(e){function t(t,r){var n;return(n=e.call(this,t,r)||this).flowPragma=void 0,n}n(t,e);var r=t.prototype;return r.shouldParseTypes=function(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma},r.addComment=function(t){if(void 0===this.flowPragma){var r=k.exec(t.value);if(r)if("flow"===r[1])this.flowPragma="flow";else{if("noflow"!==r[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}else this.flowPragma=null}return e.prototype.addComment.call(this,t)},r.flowParseTypeInitialiser=function(e){var t=this.state.inType;this.state.inType=!0,this.expect(e||u.colon);var r=this.flowParseType();return this.state.inType=t,r},r.flowParsePredicate=function(){var e=this.startNode(),t=this.state.startLoc,r=this.state.start;this.expect(u.modulo);var n=this.state.startLoc;return this.expectContextual("checks"),t.line===n.line&&t.column===n.column-1||this.raise(r,"Spaces between ´%´ and ´checks´ are not allowed here."),this.eat(u.parenL)?(e.value=this.parseExpression(),this.expect(u.parenR),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")},r.flowParseTypeAndPredicateInitialiser=function(){var e=this.state.inType;this.state.inType=!0,this.expect(u.colon);var t=null,r=null;return this.match(u.modulo)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(u.modulo)&&(r=this.flowParsePredicate())),[t,r]},r.flowParseDeclareClass=function(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")},r.flowParseDeclareFunction=function(e){this.next();var t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.isRelational("<")?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(u.parenL);var i=this.flowParseFunctionTypeParams();r.params=i.params,r.rest=i.rest,this.expect(u.parenR);var a=this.flowParseTypeAndPredicateInitialiser();return r.returnType=a[0],e.predicate=a[1],n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.finishNode(t,t.type),this.semicolon(),this.finishNode(e,"DeclareFunction")},r.flowParseDeclare=function(e,t){if(this.match(u._class))return this.flowParseDeclareClass(e);if(this.match(u._function))return this.flowParseDeclareFunction(e);if(this.match(u._var))return this.flowParseDeclareVariable(e);if(this.isContextual("module"))return this.lookahead().type===u.dot?this.flowParseDeclareModuleExports(e):(t&&this.unexpected(null,"`declare module` cannot be used inside another `declare module`"),this.flowParseDeclareModule(e));if(this.isContextual("type"))return this.flowParseDeclareTypeAlias(e);if(this.isContextual("opaque"))return this.flowParseDeclareOpaqueType(e);if(this.isContextual("interface"))return this.flowParseDeclareInterface(e);if(this.match(u._export))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()},r.flowParseDeclareVariable=function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.semicolon(),this.finishNode(e,"DeclareVariable")},r.flowParseDeclareModule=function(e){var t=this;this.next(),this.match(u.string)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();var r=e.body=this.startNode(),n=r.body=[];for(this.expect(u.braceL);!this.match(u.braceR);){var i=this.startNode();if(this.match(u._import)){var a=this.lookahead();"type"!==a.value&&"typeof"!==a.value&&this.unexpected(null,"Imports within a `declare module` body must always be `import type` or `import typeof`"),this.next(),this.parseImport(i)}else this.expectContextual("declare","Only declares and type imports are allowed inside declare module"),i=this.flowParseDeclare(i,!0);n.push(i)}this.expect(u.braceR),this.finishNode(r,"BlockStatement");var s=null,o=!1,l="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";return n.forEach((function(e){!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(o&&t.unexpected(e.start,"Duplicate `declare module.exports` statement"),"ES"===s&&t.unexpected(e.start,l),s="CommonJS",o=!0):("CommonJS"===s&&t.unexpected(e.start,l),s="ES")})),e.kind=s||"CommonJS",this.finishNode(e,"DeclareModule")},r.flowParseDeclareExportDeclaration=function(e,t){if(this.expect(u._export),this.eat(u._default))return this.match(u._function)||this.match(u._class)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(u._const)||this.match(u._let)||(this.isContextual("type")||this.isContextual("interface"))&&!t){var r=this.state.value,n=I[r];this.unexpected(this.state.start,"`declare export "+r+"` is not supported. Use `"+n+"` instead")}if(this.match(u._var)||this.match(u._function)||this.match(u._class)||this.isContextual("opaque"))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(u.star)||this.match(u.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque"))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()},r.flowParseDeclareModuleExports=function(e){return this.expectContextual("module"),this.expect(u.dot),this.expectContextual("exports"),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")},r.flowParseDeclareTypeAlias=function(e){return this.next(),this.flowParseTypeAlias(e),this.finishNode(e,"DeclareTypeAlias")},r.flowParseDeclareOpaqueType=function(e){return this.next(),this.flowParseOpaqueType(e,!0),this.finishNode(e,"DeclareOpaqueType")},r.flowParseDeclareInterface=function(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")},r.flowParseInterfaceish=function(e,t){if(void 0===t&&(t=!1),e.id=this.flowParseRestrictedIdentifier(!t),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(u._extends))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(u.comma));if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}if(this.isContextual("implements")){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})},r.flowParseInterfaceExtends=function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")},r.flowParseInterface=function(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")},r.checkNotUnderscore=function(e){if("_"===e)throw this.unexpected(null,"`_` is only allowed as a type argument to call or new")},r.checkReservedType=function(e,t){O.indexOf(e)>-1&&this.raise(t,"Cannot overwrite reserved type "+e)},r.flowParseRestrictedIdentifier=function(e){return this.checkReservedType(this.state.value,this.state.start),this.parseIdentifier(e)},r.flowParseTypeAlias=function(e){return e.id=this.flowParseRestrictedIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(u.eq),this.semicolon(),this.finishNode(e,"TypeAlias")},r.flowParseOpaqueType=function(e,t){return this.expectContextual("type"),e.id=this.flowParseRestrictedIdentifier(!0),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(u.colon)&&(e.supertype=this.flowParseTypeInitialiser(u.colon)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(u.eq)),this.semicolon(),this.finishNode(e,"OpaqueType")},r.flowParseTypeParameter=function(e,t){if(void 0===e&&(e=!0),void 0===t&&(t=!1),!e&&t)throw new Error("Cannot disallow a default value (`allowDefault`) while also requiring it (`requireDefault`).");var r=this.state.start,n=this.startNode(),i=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return n.name=a.name,n.variance=i,n.bound=a.typeAnnotation,this.match(u.eq)?e?(this.eat(u.eq),n.default=this.flowParseType()):this.unexpected():t&&this.unexpected(r,"Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),this.finishNode(n,"TypeParameter")},r.flowParseTypeParameterDeclaration=function(e){void 0===e&&(e=!0);var t=this.state.inType,r=this.startNode();r.params=[],this.state.inType=!0,this.isRelational("<")||this.match(u.jsxTagStart)?this.next():this.unexpected();var n=!1;do{var i=this.flowParseTypeParameter(e,n);r.params.push(i),i.default&&(n=!0),this.isRelational(">")||this.expect(u.comma)}while(!this.isRelational(">"));return this.expectRelational(">"),this.state.inType=t,this.finishNode(r,"TypeParameterDeclaration")},r.flowParseTypeParameterInstantiation=function(){var e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expectRelational("<");var r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.isRelational(">");)e.params.push(this.flowParseType()),this.isRelational(">")||this.expect(u.comma);return this.state.noAnonFunctionType=r,this.expectRelational(">"),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},r.flowParseTypeParameterInstantiationCallOrNew=function(){var e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expectRelational("<");!this.isRelational(">");)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.isRelational(">")||this.expect(u.comma);return this.expectRelational(">"),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},r.flowParseInterfaceType=function(){var e=this.startNode();if(this.expectContextual("interface"),e.extends=[],this.eat(u._extends))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(u.comma));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")},r.flowParseObjectPropertyKey=function(){return this.match(u.num)||this.match(u.string)?this.parseExprAtom():this.parseIdentifier(!0)},r.flowParseObjectTypeIndexer=function(e,t,r){return e.static=t,this.lookahead().type===u.colon?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(u.bracketR),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")},r.flowParseObjectTypeInternalSlot=function(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(u.bracketR),this.expect(u.bracketR),this.isRelational("<")||this.match(u.parenL)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(u.question)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")},r.flowParseObjectTypeMethodish=function(e){for(e.params=[],e.rest=null,e.typeParameters=null,this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration(!1)),this.expect(u.parenL);!this.match(u.parenR)&&!this.match(u.ellipsis);)e.params.push(this.flowParseFunctionTypeParam()),this.match(u.parenR)||this.expect(u.comma);return this.eat(u.ellipsis)&&(e.rest=this.flowParseFunctionTypeParam()),this.expect(u.parenR),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")},r.flowParseObjectTypeCallProperty=function(e,t){var r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")},r.flowParseObjectType=function(e){var t=e.allowStatic,r=e.allowExact,n=e.allowSpread,i=e.allowProto,a=e.allowInexact,s=this.state.inType;this.state.inType=!0;var o,l,c=this.startNode();c.callProperties=[],c.properties=[],c.indexers=[],c.internalSlots=[];var p=!1;for(r&&this.match(u.braceBarL)?(this.expect(u.braceBarL),o=u.braceBarR,l=!0):(this.expect(u.braceL),o=u.braceR,l=!1),c.exact=l;!this.match(o);){var f=!1,d=null,h=this.startNode();if(i&&this.isContextual("proto")){var y=this.lookahead();y.type!==u.colon&&y.type!==u.question&&(this.next(),d=this.state.start,t=!1)}if(t&&this.isContextual("static")){var m=this.lookahead();m.type!==u.colon&&m.type!==u.question&&(this.next(),f=!0)}var v=this.flowParseVariance();if(this.eat(u.bracketL))null!=d&&this.unexpected(d),this.eat(u.bracketL)?(v&&this.unexpected(v.start),c.internalSlots.push(this.flowParseObjectTypeInternalSlot(h,f))):c.indexers.push(this.flowParseObjectTypeIndexer(h,f,v));else if(this.match(u.parenL)||this.isRelational("<"))null!=d&&this.unexpected(d),v&&this.unexpected(v.start),c.callProperties.push(this.flowParseObjectTypeCallProperty(h,f));else{var g="init";if(this.isContextual("get")||this.isContextual("set")){var T=this.lookahead();T.type!==u.name&&T.type!==u.string&&T.type!==u.num||(g=this.state.value,this.next())}var E=this.flowParseObjectTypeProperty(h,f,d,v,g,n,a);null===E?p=!0:c.properties.push(E)}this.flowObjectTypeSemicolon()}this.expect(o),n&&(c.inexact=p);var S=this.finishNode(c,"ObjectTypeAnnotation");return this.state.inType=s,S},r.flowParseObjectTypeProperty=function(e,t,r,n,i,a,s){if(this.match(u.ellipsis)){a||this.unexpected(null,"Spread operator cannot appear in class or interface definitions"),null!=r&&this.unexpected(r),n&&this.unexpected(n.start,"Spread properties cannot have variance"),this.expect(u.ellipsis);var o=this.eat(u.comma)||this.eat(u.semi);if(this.match(u.braceR)){if(s)return null;this.unexpected(null,"Explicit inexact syntax is only allowed inside inexact objects")}return this.match(u.braceBarR)&&this.unexpected(null,"Explicit inexact syntax cannot appear inside an explicit exact object type"),o&&this.unexpected(null,"Explicit inexact syntax must appear at the end of an inexact object"),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty")}e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=i;var l=!1;return this.isRelational("<")||this.match(u.parenL)?(e.method=!0,null!=r&&this.unexpected(r),n&&this.unexpected(n.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),"get"!==i&&"set"!==i||this.flowCheckGetterSetterParams(e)):("init"!==i&&this.unexpected(),e.method=!1,this.eat(u.question)&&(l=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=l,this.finishNode(e,"ObjectTypeProperty")},r.flowCheckGetterSetterParams=function(e){var t="get"===e.kind?0:1,r=e.start;e.value.params.length+(e.value.rest?1:0)!==t&&("get"===e.kind?this.raise(r,"getter must not have any formal parameters"):this.raise(r,"setter must have exactly one formal parameter")),"set"===e.kind&&e.value.rest&&this.raise(r,"setter function argument must not be a rest parameter")},r.flowObjectTypeSemicolon=function(){this.eat(u.semi)||this.eat(u.comma)||this.match(u.braceR)||this.match(u.braceBarR)||this.unexpected()},r.flowParseQualifiedTypeIdentifier=function(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;for(var n=r||this.parseIdentifier();this.eat(u.dot);){var i=this.startNodeAt(e,t);i.qualification=n,i.id=this.parseIdentifier(),n=this.finishNode(i,"QualifiedTypeIdentifier")}return n},r.flowParseGenericType=function(e,t,r){var n=this.startNodeAt(e,t);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.isRelational("<")&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,"GenericTypeAnnotation")},r.flowParseTypeofType=function(){var e=this.startNode();return this.expect(u._typeof),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")},r.flowParseTupleType=function(){var e=this.startNode();for(e.types=[],this.expect(u.bracketL);this.state.pos<this.input.length&&!this.match(u.bracketR)&&(e.types.push(this.flowParseType()),!this.match(u.bracketR));)this.expect(u.comma);return this.expect(u.bracketR),this.finishNode(e,"TupleTypeAnnotation")},r.flowParseFunctionTypeParam=function(){var e=null,t=!1,r=null,n=this.startNode(),i=this.lookahead();return i.type===u.colon||i.type===u.question?(e=this.parseIdentifier(),this.eat(u.question)&&(t=!0),r=this.flowParseTypeInitialiser()):r=this.flowParseType(),n.name=e,n.optional=t,n.typeAnnotation=r,this.finishNode(n,"FunctionTypeParam")},r.reinterpretTypeAsFunctionTypeParam=function(e){var t=this.startNodeAt(e.start,e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")},r.flowParseFunctionTypeParams=function(e){void 0===e&&(e=[]);for(var t=null;!this.match(u.parenR)&&!this.match(u.ellipsis);)e.push(this.flowParseFunctionTypeParam()),this.match(u.parenR)||this.expect(u.comma);return this.eat(u.ellipsis)&&(t=this.flowParseFunctionTypeParam()),{params:e,rest:t}},r.flowIdentToTypeAnnotation=function(e,t,r,n){switch(n.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"void":return this.finishNode(r,"VoidTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");default:return this.checkNotUnderscore(n.name),this.flowParseGenericType(e,t,n)}},r.flowParsePrimaryType=function(){var e,t,r=this.state.start,n=this.state.startLoc,i=this.startNode(),a=!1,s=this.state.noAnonFunctionType;switch(this.state.type){case u.name:return this.isContextual("interface")?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,i,this.parseIdentifier());case u.braceL:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case u.braceBarL:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case u.bracketL:return this.flowParseTupleType();case u.relational:if("<"===this.state.value)return i.typeParameters=this.flowParseTypeParameterDeclaration(!1),this.expect(u.parenL),e=this.flowParseFunctionTypeParams(),i.params=e.params,i.rest=e.rest,this.expect(u.parenR),this.expect(u.arrow),i.returnType=this.flowParseType(),this.finishNode(i,"FunctionTypeAnnotation");break;case u.parenL:if(this.next(),!this.match(u.parenR)&&!this.match(u.ellipsis))if(this.match(u.name)){var o=this.lookahead().type;a=o!==u.question&&o!==u.colon}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,t=this.flowParseType(),this.state.noAnonFunctionType=s,this.state.noAnonFunctionType||!(this.match(u.comma)||this.match(u.parenR)&&this.lookahead().type===u.arrow))return this.expect(u.parenR),t;this.eat(u.comma)}return e=t?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(t)]):this.flowParseFunctionTypeParams(),i.params=e.params,i.rest=e.rest,this.expect(u.parenR),this.expect(u.arrow),i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation");case u.string:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case u._true:case u._false:return i.value=this.match(u._true),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case u.plusMin:if("-"===this.state.value)return this.next(),this.match(u.num)||this.unexpected(null,'Unexpected token, expected "number"'),this.parseLiteral(-this.state.value,"NumberLiteralTypeAnnotation",i.start,i.loc.start);this.unexpected();case u.num:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case u._null:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case u._this:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case u.star:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");default:if("typeof"===this.state.type.keyword)return this.flowParseTypeofType()}throw this.unexpected()},r.flowParsePostfixType=function(){for(var e=this.state.start,t=this.state.startLoc,r=this.flowParsePrimaryType();!this.canInsertSemicolon()&&this.match(u.bracketL);){var n=this.startNodeAt(e,t);n.elementType=r,this.expect(u.bracketL),this.expect(u.bracketR),r=this.finishNode(n,"ArrayTypeAnnotation")}return r},r.flowParsePrefixType=function(){var e=this.startNode();return this.eat(u.question)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()},r.flowParseAnonFunctionWithoutParens=function(){var e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(u.arrow)){var t=this.startNodeAt(e.start,e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e},r.flowParseIntersectionType=function(){var e=this.startNode();this.eat(u.bitwiseAND);var t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(u.bitwiseAND);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")},r.flowParseUnionType=function(){var e=this.startNode();this.eat(u.bitwiseOR);var t=this.flowParseIntersectionType();for(e.types=[t];this.eat(u.bitwiseOR);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")},r.flowParseType=function(){var e=this.state.inType;this.state.inType=!0;var t=this.flowParseUnionType();return this.state.inType=e,this.state.exprAllowed=this.state.exprAllowed||this.state.noAnonFunctionType,t},r.flowParseTypeOrImplicitInstantiation=function(){if(this.state.type===u.name&&"_"===this.state.value){var e=this.state.start,t=this.state.startLoc,r=this.parseIdentifier();return this.flowParseGenericType(e,t,r)}return this.flowParseType()},r.flowParseTypeAnnotation=function(){var e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")},r.flowParseTypeAnnotatableIdentifier=function(e){var t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(u.colon)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(t,t.type)),t},r.typeCastToParameter=function(e){return e.expression.typeAnnotation=e.typeAnnotation,this.finishNodeAt(e.expression,e.expression.type,e.typeAnnotation.end,e.typeAnnotation.loc.end)},r.flowParseVariance=function(){var e=null;return this.match(u.plusMin)&&(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")),e},r.parseFunctionBody=function(t,r){var n=this;return r?this.forwardNoArrowParamsConversionAt(t,(function(){return e.prototype.parseFunctionBody.call(n,t,!0)})):e.prototype.parseFunctionBody.call(this,t,!1)},r.parseFunctionBodyAndFinish=function(t,r,n){if(!n&&this.match(u.colon)){var i=this.startNode(),a=this.flowParseTypeAndPredicateInitialiser();i.typeAnnotation=a[0],t.predicate=a[1],t.returnType=i.typeAnnotation?this.finishNode(i,"TypeAnnotation"):null}e.prototype.parseFunctionBodyAndFinish.call(this,t,r,n)},r.parseStatement=function(t,r){if(this.state.strict&&this.match(u.name)&&"interface"===this.state.value){var n=this.startNode();return this.next(),this.flowParseInterface(n)}var i=e.prototype.parseStatement.call(this,t,r);return void 0!==this.flowPragma||this.isValidDirective(i)||(this.flowPragma=null),i},r.parseExpressionStatement=function(t,r){if("Identifier"===r.type)if("declare"===r.name){if(this.match(u._class)||this.match(u.name)||this.match(u._function)||this.match(u._var)||this.match(u._export))return this.flowParseDeclare(t)}else if(this.match(u.name)){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 e.prototype.parseExpressionStatement.call(this,t,r)},r.shouldParseExportDeclaration=function(){return this.isContextual("type")||this.isContextual("interface")||this.isContextual("opaque")||e.prototype.shouldParseExportDeclaration.call(this)},r.isExportDefaultSpecifier=function(){return(!this.match(u.name)||"type"!==this.state.value&&"interface"!==this.state.value&&"opaque"!=this.state.value)&&e.prototype.isExportDefaultSpecifier.call(this)},r.parseConditional=function(t,r,n,i,a){var s=this;if(!this.match(u.question))return t;if(a){var o=this.state.clone();try{return e.prototype.parseConditional.call(this,t,r,n,i)}catch(e){if(e instanceof SyntaxError)return this.state=o,a.start=e.pos||this.state.start,t;throw e}}this.expect(u.question);var l=this.state.clone(),c=this.state.noArrowAt,p=this.startNodeAt(n,i),f=this.tryParseConditionalConsequent(),d=f.consequent,h=f.failed,y=this.getArrowLikeExpressions(d),m=y[0],v=y[1];if(h||v.length>0){var g=c.concat();if(v.length>0){this.state=l,this.state.noArrowAt=g;for(var T=0;T<v.length;T++)g.push(v[T].start);var E=this.tryParseConditionalConsequent();d=E.consequent,h=E.failed;var S=this.getArrowLikeExpressions(d);m=S[0],v=S[1]}if(h&&m.length>1&&this.raise(l.start,"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),h&&1===m.length){this.state=l,this.state.noArrowAt=g.concat(m[0].start);var b=this.tryParseConditionalConsequent();d=b.consequent,h=b.failed}this.getArrowLikeExpressions(d,!0)}return this.state.noArrowAt=c,this.expect(u.colon),p.test=t,p.consequent=d,p.alternate=this.forwardNoArrowParamsConversionAt(p,(function(){return s.parseMaybeAssign(r,void 0,void 0,void 0)})),this.finishNode(p,"ConditionalExpression")},r.tryParseConditionalConsequent=function(){this.state.noArrowParamsConversionAt.push(this.state.start);var e=this.parseMaybeAssign(),t=!this.match(u.colon);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}},r.getArrowLikeExpressions=function(t,r){for(var n=this,i=[t],a=[];0!==i.length;){var s=i.pop();"ArrowFunctionExpression"===s.type?(s.typeParameters||!s.returnType?(this.toAssignableList(s.params,!0,"arrow function parameters"),e.prototype.checkFunctionNameAndParams.call(this,s,!0)):a.push(s),i.push(s.body)):"ConditionalExpression"===s.type&&(i.push(s.consequent),i.push(s.alternate))}if(r){for(var o=0;o<a.length;o++)this.toAssignableList(t.params,!0,"arrow function parameters");return[a,[]]}return function(e,t){for(var r=[],n=[],i=0;i<e.length;i++)(t(e[i])?r:n).push(e[i]);return[r,n]}(a,(function(e){try{return n.toAssignableList(e.params,!0,"arrow function parameters"),!0}catch(e){return!1}}))},r.forwardNoArrowParamsConversionAt=function(e,t){var r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r},r.parseParenItem=function(t,r,n){if(t=e.prototype.parseParenItem.call(this,t,r,n),this.eat(u.question)&&(t.optional=!0),this.match(u.colon)){var i=this.startNodeAt(r,n);return i.expression=t,i.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(i,"TypeCastExpression")}return t},r.assertModuleNodeAllowed=function(t){"ImportDeclaration"===t.type&&("type"===t.importKind||"typeof"===t.importKind)||"ExportNamedDeclaration"===t.type&&"type"===t.exportKind||"ExportAllDeclaration"===t.type&&"type"===t.exportKind||e.prototype.assertModuleNodeAllowed.call(this,t)},r.parseExport=function(t){return"ExportNamedDeclaration"!==(t=e.prototype.parseExport.call(this,t)).type&&"ExportAllDeclaration"!==t.type||(t.exportKind=t.exportKind||"value"),t},r.parseExportDeclaration=function(t){if(this.isContextual("type")){t.exportKind="type";var r=this.startNode();return this.next(),this.match(u.braceL)?(t.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(t),null):this.flowParseTypeAlias(r)}if(this.isContextual("opaque")){t.exportKind="type";var n=this.startNode();return this.next(),this.flowParseOpaqueType(n,!1)}if(this.isContextual("interface")){t.exportKind="type";var i=this.startNode();return this.next(),this.flowParseInterface(i)}return e.prototype.parseExportDeclaration.call(this,t)},r.shouldParseExportStar=function(){return e.prototype.shouldParseExportStar.call(this)||this.isContextual("type")&&this.lookahead().type===u.star},r.parseExportStar=function(t){return this.eatContextual("type")&&(t.exportKind="type"),e.prototype.parseExportStar.call(this,t)},r.parseExportNamespace=function(t){return"type"===t.exportKind&&this.unexpected(),e.prototype.parseExportNamespace.call(this,t)},r.parseClassId=function(t,r,n){e.prototype.parseClassId.call(this,t,r,n),this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration())},r.isKeyword=function(t){return(!this.state.inType||"void"!==t)&&e.prototype.isKeyword.call(this,t)},r.readToken=function(t){var r=this.input.charCodeAt(this.state.pos+1);return!this.state.inType||62!==t&&60!==t?function(e,t){return 64===e&&64===t}(t,r)?(this.state.isIterator=!0,e.prototype.readWord.call(this)):e.prototype.readToken.call(this,t):this.finishOp(u.relational,1)},r.toAssignable=function(t,r,n){return"TypeCastExpression"===t.type?e.prototype.toAssignable.call(this,this.typeCastToParameter(t),r,n):e.prototype.toAssignable.call(this,t,r,n)},r.toAssignableList=function(t,r,n){for(var i=0;i<t.length;i++){var a=t[i];a&&"TypeCastExpression"===a.type&&(t[i]=this.typeCastToParameter(a))}return e.prototype.toAssignableList.call(this,t,r,n)},r.toReferencedList=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];!n||"TypeCastExpression"!==n.type||n.extra&&n.extra.parenthesized||!(e.length>1)&&t||this.raise(n.typeAnnotation.start,"The type cast expression is expected to be wrapped with parenthesis")}return e},r.checkLVal=function(t,r,n,i){if("TypeCastExpression"!==t.type)return e.prototype.checkLVal.call(this,t,r,n,i)},r.parseClassProperty=function(t){return this.match(u.colon)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),e.prototype.parseClassProperty.call(this,t)},r.parseClassPrivateProperty=function(t){return this.match(u.colon)&&(t.typeAnnotation=this.flowParseTypeAnnotation()),e.prototype.parseClassPrivateProperty.call(this,t)},r.isClassMethod=function(){return this.isRelational("<")||e.prototype.isClassMethod.call(this)},r.isClassProperty=function(){return this.match(u.colon)||e.prototype.isClassProperty.call(this)},r.isNonstaticConstructor=function(t){return!this.match(u.colon)&&e.prototype.isNonstaticConstructor.call(this,t)},r.pushClassMethod=function(t,r,n,i,a){r.variance&&this.unexpected(r.variance.start),delete r.variance,this.isRelational("<")&&(r.typeParameters=this.flowParseTypeParameterDeclaration(!1)),e.prototype.pushClassMethod.call(this,t,r,n,i,a)},r.pushClassPrivateMethod=function(t,r,n,i){r.variance&&this.unexpected(r.variance.start),delete r.variance,this.isRelational("<")&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),e.prototype.pushClassPrivateMethod.call(this,t,r,n,i)},r.parseClassSuper=function(t){if(e.prototype.parseClassSuper.call(this,t),t.superClass&&this.isRelational("<")&&(t.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual("implements")){this.next();var r=t.implements=[];do{var n=this.startNode();n.id=this.flowParseRestrictedIdentifier(!0),this.isRelational("<")?n.typeParameters=this.flowParseTypeParameterInstantiation():n.typeParameters=null,r.push(this.finishNode(n,"ClassImplements"))}while(this.eat(u.comma))}},r.parsePropertyName=function(t){var r=this.flowParseVariance(),n=e.prototype.parsePropertyName.call(this,t);return t.variance=r,n},r.parseObjPropValue=function(t,r,n,i,a,s,o,l){var c;t.variance&&this.unexpected(t.variance.start),delete t.variance,this.isRelational("<")&&(c=this.flowParseTypeParameterDeclaration(!1),this.match(u.parenL)||this.unexpected()),e.prototype.parseObjPropValue.call(this,t,r,n,i,a,s,o,l),c&&((t.value||t).typeParameters=c)},r.parseAssignableListItemTypes=function(e){if(this.eat(u.question)){if("Identifier"!==e.type)throw this.raise(e.start,"A binding pattern parameter cannot be optional in an implementation signature.");e.optional=!0}return this.match(u.colon)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),this.finishNode(e,e.type),e},r.parseMaybeDefault=function(t,r,n){var i=e.prototype.parseMaybeDefault.call(this,t,r,n);return"AssignmentPattern"===i.type&&i.typeAnnotation&&i.right.start<i.typeAnnotation.start&&this.raise(i.typeAnnotation.start,"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`"),i},r.shouldParseDefaultImport=function(t){return F(t)?N(this.state):e.prototype.shouldParseDefaultImport.call(this,t)},r.parseImportSpecifierLocal=function(e,t,r,n){t.local=F(e)?this.flowParseRestrictedIdentifier(!0):this.parseIdentifier(),this.checkLVal(t.local,!0,void 0,n),e.specifiers.push(this.finishNode(t,r))},r.parseImportSpecifiers=function(t){t.importKind="value";var r=null;if(this.match(u._typeof)?r="typeof":this.isContextual("type")&&(r="type"),r){var n=this.lookahead();"type"===r&&n.type===u.star&&this.unexpected(n.start),(N(n)||n.type===u.braceL||n.type===u.star)&&(this.next(),t.importKind=r)}e.prototype.parseImportSpecifiers.call(this,t)},r.parseImportSpecifier=function(e){var t=this.startNode(),r=this.state.start,n=this.parseIdentifier(!0),i=null;"type"===n.name?i="type":"typeof"===n.name&&(i="typeof");var a=!1;if(this.isContextual("as")&&!this.isLookaheadContextual("as")){var s=this.parseIdentifier(!0);null===i||this.match(u.name)||this.state.type.keyword?(t.imported=n,t.importKind=null,t.local=this.parseIdentifier()):(t.imported=s,t.importKind=i,t.local=s.__clone())}else null!==i&&(this.match(u.name)||this.state.type.keyword)?(t.imported=this.parseIdentifier(!0),t.importKind=i,this.eatContextual("as")?t.local=this.parseIdentifier():(a=!0,t.local=t.imported.__clone())):(a=!0,t.imported=n,t.importKind=null,t.local=t.imported.__clone());var o=F(e),l=F(t);o&&l&&this.raise(r,"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"),(o||l)&&this.checkReservedType(t.local.name,t.local.start),!a||o||l||this.checkReservedWord(t.local.name,t.start,!0,!0),this.checkLVal(t.local,!0,void 0,"import specifier"),e.specifiers.push(this.finishNode(t,"ImportSpecifier"))},r.parseFunctionParams=function(t){var r=t.kind;"get"!==r&&"set"!==r&&this.isRelational("<")&&(t.typeParameters=this.flowParseTypeParameterDeclaration(!1)),e.prototype.parseFunctionParams.call(this,t)},r.parseVarHead=function(t){e.prototype.parseVarHead.call(this,t),this.match(u.colon)&&(t.id.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(t.id,t.id.type))},r.parseAsyncArrowFromCallExpression=function(t,r){if(this.match(u.colon)){var n=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,t.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=n}return e.prototype.parseAsyncArrowFromCallExpression.call(this,t,r)},r.shouldParseAsyncArrow=function(){return this.match(u.colon)||e.prototype.shouldParseAsyncArrow.call(this)},r.parseMaybeAssign=function(t,r,n,i){var a=this,s=null;if(this.hasPlugin("jsx")&&(this.match(u.jsxTagStart)||this.isRelational("<"))){var o=this.state.clone();try{return e.prototype.parseMaybeAssign.call(this,t,r,n,i)}catch(e){if(!(e instanceof SyntaxError))throw e;this.state=o;var l=this.state.context.length;this.state.context[l-1]===v.j_oTag&&(this.state.context.length-=2),s=e}}if(null!=s||this.isRelational("<")){var c,p;try{p=this.flowParseTypeParameterDeclaration(),(c=this.forwardNoArrowParamsConversionAt(p,(function(){return e.prototype.parseMaybeAssign.call(a,t,r,n,i)}))).typeParameters=p,this.resetStartLocationFromNode(c,p)}catch(e){throw s||e}if("ArrowFunctionExpression"===c.type)return c;if(null!=s)throw s;this.raise(p.start,"Expected an arrow function after this type parameter declaration")}return e.prototype.parseMaybeAssign.call(this,t,r,n,i)},r.parseArrow=function(t){if(this.match(u.colon)){var r=this.state.clone();try{var n=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;var i=this.startNode(),a=this.flowParseTypeAndPredicateInitialiser();i.typeAnnotation=a[0],t.predicate=a[1],this.state.noAnonFunctionType=n,this.canInsertSemicolon()&&this.unexpected(),this.match(u.arrow)||this.unexpected(),t.returnType=i.typeAnnotation?this.finishNode(i,"TypeAnnotation"):null}catch(e){if(!(e instanceof SyntaxError))throw e;this.state=r}}return e.prototype.parseArrow.call(this,t)},r.shouldParseArrow=function(){return this.match(u.colon)||e.prototype.shouldParseArrow.call(this)},r.setArrowFunctionParameters=function(t,r){-1!==this.state.noArrowParamsConversionAt.indexOf(t.start)?t.params=r:e.prototype.setArrowFunctionParameters.call(this,t,r)},r.checkFunctionNameAndParams=function(t,r){if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(t.start))return e.prototype.checkFunctionNameAndParams.call(this,t,r)},r.parseParenAndDistinguishExpression=function(t){return e.prototype.parseParenAndDistinguishExpression.call(this,t&&-1===this.state.noArrowAt.indexOf(this.state.start))},r.parseSubscripts=function(t,r,n,i){if("Identifier"===t.type&&"async"===t.name&&-1!==this.state.noArrowAt.indexOf(r)){this.next();var a=this.startNodeAt(r,n);a.callee=t,a.arguments=this.parseCallExpressionArguments(u.parenR,!1),t=this.finishNode(a,"CallExpression")}else if("Identifier"===t.type&&"async"===t.name&&this.isRelational("<")){var s,o=this.state.clone();try{var l=this.parseAsyncArrowWithTypeParameters(r,n);if(l)return l}catch(e){s=e}this.state=o;try{return e.prototype.parseSubscripts.call(this,t,r,n,i)}catch(e){throw s||e}}return e.prototype.parseSubscripts.call(this,t,r,n,i)},r.parseSubscript=function(t,r,n,i,a){if(this.match(u.questionDot)&&this.isLookaheadRelational("<")){if(this.expectPlugin("optionalChaining"),a.optionalChainMember=!0,i)return a.stop=!0,t;this.next();var s=this.startNodeAt(r,n);return s.callee=t,s.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(u.parenL),s.arguments=this.parseCallExpressionArguments(u.parenR,!1),s.optional=!0,this.finishNode(s,"OptionalCallExpression")}if(!i&&this.shouldParseTypes()&&this.isRelational("<")){var o=this.startNodeAt(r,n);o.callee=t;var l=this.state.clone();try{return o.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(u.parenL),o.arguments=this.parseCallExpressionArguments(u.parenR,!1),a.optionalChainMember?(o.optional=!1,this.finishNode(o,"OptionalCallExpression")):this.finishNode(o,"CallExpression")}catch(e){if(!(e instanceof SyntaxError))throw e;this.state=l}}return e.prototype.parseSubscript.call(this,t,r,n,i,a)},r.parseNewArguments=function(t){var r=null;if(this.shouldParseTypes()&&this.isRelational("<")){var n=this.state.clone();try{r=this.flowParseTypeParameterInstantiationCallOrNew()}catch(e){if(!(e instanceof SyntaxError))throw e;this.state=n}}t.typeArguments=r,e.prototype.parseNewArguments.call(this,t)},r.parseAsyncArrowWithTypeParameters=function(e,t){var r=this.startNodeAt(e,t);if(this.parseFunctionParams(r),this.parseArrow(r))return this.parseArrowExpression(r,void 0,!0)},r.readToken_mult_modulo=function(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();e.prototype.readToken_mult_modulo.call(this,t)},r.skipBlockComment=function(){return this.hasPlugin("flow")&&this.hasPlugin("flowComments")&&this.skipFlowComment()?(this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0)):this.hasPlugin("flow")&&this.state.hasFlowComment?(-1===(t=this.input.indexOf("*-/",this.state.pos+=2))&&this.raise(this.state.pos-2,"Unterminated comment"),void(this.state.pos=t+3)):void e.prototype.skipBlockComment.call(this);var t},r.skipFlowComment=function(){var e=this.input.charCodeAt(this.state.pos+2),t=this.input.charCodeAt(this.state.pos+3);return 58===e&&58===t?4:"flow-include"===this.input.slice(this.state.pos+2,14)?14:58===e&&58!==t&&2},r.hasFlowCommentCompletion=function(){-1===this.input.indexOf("*/",this.state.pos)&&this.raise(this.state.pos,"Unterminated comment")},t}(e)},typescript:function(e){return function(e){function t(){return e.apply(this,arguments)||this}n(t,e);var r=t.prototype;return r.tsIsIdentifier=function(){return this.match(u.name)},r.tsNextTokenCanFollowModifier=function(){return this.next(),!(this.hasPrecedingLineBreak()||this.match(u.parenL)||this.match(u.parenR)||this.match(u.colon)||this.match(u.eq)||this.match(u.question))},r.tsParseModifier=function(e){if(this.match(u.name)){var t=this.state.value;return-1!==e.indexOf(t)&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))?t:void 0}},r.tsIsListTerminator=function(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(u.braceR);case"HeritageClauseElement":return this.match(u.braceL);case"TupleElementTypes":return this.match(u.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")},r.tsParseList=function(e,t){for(var r=[];!this.tsIsListTerminator(e);)r.push(t());return r},r.tsParseDelimitedList=function(e,t){return re(this.tsParseDelimitedListWorker(e,t,!0))},r.tsTryParseDelimitedList=function(e,t){return this.tsParseDelimitedListWorker(e,t,!1)},r.tsParseDelimitedListWorker=function(e,t,r){for(var n=[];!this.tsIsListTerminator(e);){var i=t();if(null==i)return;if(n.push(i),!this.eat(u.comma)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(u.comma))}}return n},r.tsParseBracketedList=function(e,t,r,n){n||(r?this.expect(u.bracketL):this.expectRelational("<"));var i=this.tsParseDelimitedList(e,t);return r?this.expect(u.bracketR):this.expectRelational(">"),i},r.tsParseEntityName=function(e){for(var t=this.parseIdentifier();this.eat(u.dot);){var r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t},r.tsParseTypeReference=function(){var e=this.startNode();return e.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.isRelational("<")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")},r.tsParseThisTypePredicate=function(e){this.next();var t=this.startNode();return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),this.finishNode(t,"TSTypePredicate")},r.tsParseThisTypeNode=function(){var e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")},r.tsParseTypeQuery=function(){var e=this.startNode();return this.expect(u._typeof),e.exprName=this.tsParseEntityName(!0),this.finishNode(e,"TSTypeQuery")},r.tsParseTypeParameter=function(){var e=this.startNode();return e.name=this.parseIdentifierName(e.start),e.constraint=this.tsEatThenParseType(u._extends),e.default=this.tsEatThenParseType(u.eq),this.finishNode(e,"TSTypeParameter")},r.tsTryParseTypeParameters=function(){if(this.isRelational("<"))return this.tsParseTypeParameters()},r.tsParseTypeParameters=function(){var e=this.startNode();return this.isRelational("<")||this.match(u.jsxTagStart)?this.next():this.unexpected(),e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0),this.finishNode(e,"TSTypeParameterDeclaration")},r.tsFillSignature=function(e,t){var r=e===u.arrow;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(u.parenL),t.parameters=this.tsParseBindingListForSignature(),r?t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))},r.tsParseBindingListForSignature=function(){var e=this;return this.parseBindingList(u.parenR).map((function(t){if("Identifier"!==t.type&&"RestElement"!==t.type&&"ObjectPattern"!==t.type)throw e.unexpected(t.start,"Name in a signature must be an Identifier or ObjectPattern, instead got "+t.type);return t}))},r.tsParseTypeMemberSemicolon=function(){this.eat(u.comma)||this.semicolon()},r.tsParseSignatureMember=function(e){var t=this.startNode();return"TSConstructSignatureDeclaration"===e&&this.expect(u._new),this.tsFillSignature(u.colon,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)},r.tsIsUnambiguouslyIndexSignature=function(){return this.next(),this.eat(u.name)&&this.match(u.colon)},r.tsTryParseIndexSignature=function(e){if(this.match(u.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(u.bracketL);var t=this.parseIdentifier();this.expect(u.colon),t.typeAnnotation=this.tsParseTypeAnnotation(!1),this.expect(u.bracketR),e.parameters=[t];var r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}},r.tsParsePropertyOrMethodSignature=function(e,t){this.parsePropertyName(e),this.eat(u.question)&&(e.optional=!0);var r=e;if(t||!this.match(u.parenL)&&!this.isRelational("<")){var n=r;t&&(n.readonly=!0);var i=this.tsTryParseTypeAnnotation();return i&&(n.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(n,"TSPropertySignature")}var a=r;return this.tsFillSignature(u.colon,a),this.tsParseTypeMemberSemicolon(),this.finishNode(a,"TSMethodSignature")},r.tsParseTypeMember=function(){if(this.match(u.parenL)||this.isRelational("<"))return this.tsParseSignatureMember("TSCallSignatureDeclaration");if(this.match(u._new)&&this.tsLookAhead(this.tsIsStartOfConstructSignature.bind(this)))return this.tsParseSignatureMember("TSConstructSignatureDeclaration");var e=this.startNode(),t=!!this.tsParseModifier(["readonly"]),r=this.tsTryParseIndexSignature(e);return r?(t&&(e.readonly=!0),r):this.tsParsePropertyOrMethodSignature(e,t)},r.tsIsStartOfConstructSignature=function(){return this.next(),this.match(u.parenL)||this.isRelational("<")},r.tsParseTypeLiteral=function(){var e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")},r.tsParseObjectTypeMembers=function(){this.expect(u.braceL);var e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(u.braceR),e},r.tsIsStartOfMappedType=function(){return this.next(),this.eat(u.plusMin)?this.isContextual("readonly"):(this.isContextual("readonly")&&this.next(),!!this.match(u.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(u._in))))},r.tsParseMappedTypeParameter=function(){var e=this.startNode();return e.name=this.parseIdentifierName(e.start),e.constraint=this.tsExpectThenParseType(u._in),this.finishNode(e,"TSTypeParameter")},r.tsParseMappedType=function(){var e=this.startNode();return this.expect(u.braceL),this.match(u.plusMin)?(e.readonly=this.state.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(e.readonly=!0),this.expect(u.bracketL),e.typeParameter=this.tsParseMappedTypeParameter(),this.expect(u.bracketR),this.match(u.plusMin)?(e.optional=this.state.value,this.next(),this.expect(u.question)):this.eat(u.question)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(u.braceR),this.finishNode(e,"TSMappedType")},r.tsParseTupleType=function(){var e=this,t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var r=!1;return t.elementTypes.forEach((function(n,i){"TSRestType"===n.type?i!==t.elementTypes.length-1&&e.raise(n.start,"A rest element must be last in a tuple type."):"TSOptionalType"===n.type?r=!0:r&&e.raise(n.start,"A required element cannot follow an optional element.")})),this.finishNode(t,"TSTupleType")},r.tsParseTupleElementType=function(){if(this.match(u.ellipsis)){var e=this.startNode();return this.next(),e.typeAnnotation=this.tsParseType(),this.finishNode(e,"TSRestType")}var t=this.tsParseType();if(this.eat(u.question)){var r=this.startNodeAtNode(t);return r.typeAnnotation=t,this.finishNode(r,"TSOptionalType")}return t},r.tsParseParenthesizedType=function(){var e=this.startNode();return this.expect(u.parenL),e.typeAnnotation=this.tsParseType(),this.expect(u.parenR),this.finishNode(e,"TSParenthesizedType")},r.tsParseFunctionOrConstructorType=function(e){var t=this.startNode();return"TSConstructorType"===e&&this.expect(u._new),this.tsFillSignature(u.arrow,t),this.finishNode(t,e)},r.tsParseLiteralTypeNode=function(){var e=this,t=this.startNode();return t.literal=function(){switch(e.state.type){case u.num:return e.parseLiteral(e.state.value,"NumericLiteral");case u.string:return e.parseLiteral(e.state.value,"StringLiteral");case u._true:case u._false:return e.parseBooleanLiteral();default:throw e.unexpected()}}(),this.finishNode(t,"TSLiteralType")},r.tsParseNonArrayType=function(){switch(this.state.type){case u.name:case u._void:case u._null:var e=this.match(u._void)?"TSVoidKeyword":this.match(u._null)?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";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!==e&&this.lookahead().type!==u.dot){var t=this.startNode();return this.next(),this.finishNode(t,e)}return this.tsParseTypeReference();case u.string:case u.num:case u._true:case u._false:return this.tsParseLiteralTypeNode();case u.plusMin:if("-"===this.state.value){var r=this.startNode();if(this.next(),!this.match(u.num))throw this.unexpected();return r.literal=this.parseLiteral(-this.state.value,"NumericLiteral",r.start,r.loc.start),this.finishNode(r,"TSLiteralType")}break;case u._this:var n=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(n):n;case u._typeof:return this.tsParseTypeQuery();case u.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case u.bracketL:return this.tsParseTupleType();case u.parenL:return this.tsParseParenthesizedType()}throw this.unexpected()},r.tsParseArrayTypeOrHigher=function(){for(var e=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(u.bracketL);)if(this.match(u.bracketR)){var t=this.startNodeAtNode(e);t.elementType=e,this.expect(u.bracketR),e=this.finishNode(t,"TSArrayType")}else{var r=this.startNodeAtNode(e);r.objectType=e,r.indexType=this.tsParseType(),this.expect(u.bracketR),e=this.finishNode(r,"TSIndexedAccessType")}return e},r.tsParseTypeOperator=function(e){var t=this.startNode();return this.expectContextual(e),t.operator=e,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),this.finishNode(t,"TSTypeOperator")},r.tsParseInferType=function(){var e=this.startNode();this.expectContextual("infer");var t=this.startNode();return t.name=this.parseIdentifierName(t.start),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")},r.tsParseTypeOperatorOrHigher=function(){var e=this,t=["keyof","unique"].find((function(t){return e.isContextual(t)}));return t?this.tsParseTypeOperator(t):this.isContextual("infer")?this.tsParseInferType():this.tsParseArrayTypeOrHigher()},r.tsParseUnionOrIntersectionType=function(e,t,r){this.eat(r);var n=t();if(this.match(r)){for(var i=[n];this.eat(r);)i.push(t());var a=this.startNodeAtNode(n);a.types=i,n=this.finishNode(a,e)}return n},r.tsParseIntersectionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),u.bitwiseAND)},r.tsParseUnionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),u.bitwiseOR)},r.tsIsStartOfFunctionType=function(){return!!this.isRelational("<")||this.match(u.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))},r.tsSkipParameterStart=function(){if(this.match(u.name)||this.match(u._this))return this.next(),!0;if(this.match(u.braceL)){var e=1;for(this.next();e>0;)this.match(u.braceL)?++e:this.match(u.braceR)&&--e,this.next();return!0}return!1},r.tsIsUnambiguouslyStartOfFunctionType=function(){if(this.next(),this.match(u.parenR)||this.match(u.ellipsis))return!0;if(this.tsSkipParameterStart()){if(this.match(u.colon)||this.match(u.comma)||this.match(u.question)||this.match(u.eq))return!0;if(this.match(u.parenR)&&(this.next(),this.match(u.arrow)))return!0}return!1},r.tsParseTypeOrTypePredicateAnnotation=function(e){var t=this;return this.tsInType((function(){var r=t.startNode();t.expect(e);var n=t.tsIsIdentifier()&&t.tsTryParse(t.tsParseTypePredicatePrefix.bind(t));if(!n)return t.tsParseTypeAnnotation(!1,r);var i=t.tsParseTypeAnnotation(!1),a=t.startNodeAtNode(n);return a.parameterName=n,a.typeAnnotation=i,r.typeAnnotation=t.finishNode(a,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")}))},r.tsTryParseTypeOrTypePredicateAnnotation=function(){return this.match(u.colon)?this.tsParseTypeOrTypePredicateAnnotation(u.colon):void 0},r.tsTryParseTypeAnnotation=function(){return this.match(u.colon)?this.tsParseTypeAnnotation():void 0},r.tsTryParseType=function(){return this.tsEatThenParseType(u.colon)},r.tsParseTypePredicatePrefix=function(){var e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),e},r.tsParseTypeAnnotation=function(e,t){var r=this;return void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),this.tsInType((function(){e&&r.expect(u.colon),t.typeAnnotation=r.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")},r.tsParseType=function(){ne(this.state.inType);var e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(u._extends))return e;var t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsParseNonConditionalType(),this.expect(u.question),t.trueType=this.tsParseType(),this.expect(u.colon),t.falseType=this.tsParseType(),this.finishNode(t,"TSConditionalType")},r.tsParseNonConditionalType=function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(u._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.tsParseUnionTypeOrHigher()},r.tsParseTypeAssertion=function(){var e=this,t=this.startNode();return t.typeAnnotation=this.tsInType((function(){return e.tsParseType()})),this.expectRelational(">"),t.expression=this.parseMaybeUnary(),this.finishNode(t,"TSTypeAssertion")},r.tsParseHeritageClause=function(){return this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this))},r.tsParseExpressionWithTypeArguments=function(){var e=this.startNode();return e.expression=this.tsParseEntityName(!1),this.isRelational("<")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")},r.tsParseInterfaceDeclaration=function(e){e.id=this.parseIdentifier(),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(u._extends)&&(e.extends=this.tsParseHeritageClause());var t=this.startNode();return t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(t,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")},r.tsParseTypeAliasDeclaration=function(e){return e.id=this.parseIdentifier(),e.typeParameters=this.tsTryParseTypeParameters(),e.typeAnnotation=this.tsExpectThenParseType(u.eq),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")},r.tsInNoContext=function(e){var t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}},r.tsInType=function(e){var t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}},r.tsEatThenParseType=function(e){return this.match(e)?this.tsNextThenParseType():void 0},r.tsExpectThenParseType=function(e){var t=this;return this.tsDoThenParseType((function(){return t.expect(e)}))},r.tsNextThenParseType=function(){var e=this;return this.tsDoThenParseType((function(){return e.next()}))},r.tsDoThenParseType=function(e){var t=this;return this.tsInType((function(){return e(),t.tsParseType()}))},r.tsParseEnumMember=function(){var e=this.startNode();return e.id=this.match(u.string)?this.parseLiteral(this.state.value,"StringLiteral"):this.parseIdentifier(!0),this.eat(u.eq)&&(e.initializer=this.parseMaybeAssign()),this.finishNode(e,"TSEnumMember")},r.tsParseEnumDeclaration=function(e,t){return t&&(e.const=!0),e.id=this.parseIdentifier(),this.expect(u.braceL),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(u.braceR),this.finishNode(e,"TSEnumDeclaration")},r.tsParseModuleBlock=function(){var e=this.startNode();return this.expect(u.braceL),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,u.braceR),this.finishNode(e,"TSModuleBlock")},r.tsParseModuleOrNamespaceDeclaration=function(e){if(e.id=this.parseIdentifier(),this.eat(u.dot)){var t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t),e.body=t}else e.body=this.tsParseModuleBlock();return this.finishNode(e,"TSModuleDeclaration")},r.tsParseAmbientExternalModuleDeclaration=function(e){return this.isContextual("global")?(e.global=!0,e.id=this.parseIdentifier()):this.match(u.string)?e.id=this.parseExprAtom():this.unexpected(),this.match(u.braceL)?e.body=this.tsParseModuleBlock():this.semicolon(),this.finishNode(e,"TSModuleDeclaration")},r.tsParseImportEqualsDeclaration=function(e,t){return e.isExport=t||!1,e.id=this.parseIdentifier(),this.expect(u.eq),e.moduleReference=this.tsParseModuleReference(),this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")},r.tsIsExternalModuleReference=function(){return this.isContextual("require")&&this.lookahead().type===u.parenL},r.tsParseModuleReference=function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)},r.tsParseExternalModuleReference=function(){var e=this.startNode();if(this.expectContextual("require"),this.expect(u.parenL),!this.match(u.string))throw this.unexpected();return e.expression=this.parseLiteral(this.state.value,"StringLiteral"),this.expect(u.parenR),this.finishNode(e,"TSExternalModuleReference")},r.tsLookAhead=function(e){var t=this.state.clone(),r=e();return this.state=t,r},r.tsTryParseAndCatch=function(e){var t=this.state.clone();try{return e()}catch(e){if(e instanceof SyntaxError)return void(this.state=t);throw e}},r.tsTryParse=function(e){var t=this.state.clone(),r=e();return void 0!==r&&!1!==r?r:void(this.state=t)},r.nodeWithSamePosition=function(e,t){var r=this.startNodeAtNode(e);return r.type=t,r.end=e.end,r.loc.end=e.loc.end,e.leadingComments&&(r.leadingComments=e.leadingComments),e.trailingComments&&(r.trailingComments=e.trailingComments),e.innerComments&&(r.innerComments=e.innerComments),r},r.tsTryParseDeclare=function(e){switch(this.state.type){case u._function:return this.next(),this.parseFunction(e,!0);case u._class:return this.parseClass(e,!0,!1);case u._const:if(this.match(u._const)&&this.isLookaheadContextual("enum"))return this.expect(u._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(e,!0);case u._var:case u._let:return this.parseVarStatement(e,this.state.type);case u.name:var t=this.state.value;return"global"===t?this.tsParseAmbientExternalModuleDeclaration(e):this.tsParseDeclaration(e,t,!0)}},r.tsTryParseExportDeclaration=function(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)},r.tsParseExpressionStatement=function(e,t){switch(t.name){case"declare":var r=this.tsTryParseDeclare(e);if(r)return r.declare=!0,r;break;case"global":if(this.match(u.braceL)){var n=e;return n.global=!0,n.id=t,n.body=this.tsParseModuleBlock(),this.finishNode(n,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}},r.tsParseDeclaration=function(e,t,r){switch(t){case"abstract":if(r||this.match(u._class)){var n=e;return n.abstract=!0,r&&this.next(),this.parseClass(n,!0,!1)}break;case"enum":if(r||this.match(u.name))return r&&this.next(),this.tsParseEnumDeclaration(e,!1);break;case"interface":if(r||this.match(u.name))return r&&this.next(),this.tsParseInterfaceDeclaration(e);break;case"module":if(r&&this.next(),this.match(u.string))return this.tsParseAmbientExternalModuleDeclaration(e);if(r||this.match(u.name))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"namespace":if(r||this.match(u.name))return r&&this.next(),this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(r||this.match(u.name))return r&&this.next(),this.tsParseTypeAliasDeclaration(e)}},r.tsTryParseGenericAsyncArrowFunction=function(t,r){var n=this,i=this.tsTryParseAndCatch((function(){var i=n.startNodeAt(t,r);return i.typeParameters=n.tsParseTypeParameters(),e.prototype.parseFunctionParams.call(n,i),i.returnType=n.tsTryParseTypeOrTypePredicateAnnotation(),n.expect(u.arrow),i}));if(i){var a=this.state.inAsync,s=this.state.inGenerator;return this.state.inAsync=!0,this.state.inGenerator=!1,i.id=null,i.generator=!1,i.expression=!0,i.async=!0,this.parseFunctionBody(i,!0),this.state.inAsync=a,this.state.inGenerator=s,this.finishNode(i,"ArrowFunctionExpression")}},r.tsParseTypeArguments=function(){var e=this,t=this.startNode();return t.params=this.tsInType((function(){return e.tsInNoContext((function(){return e.expectRelational("<"),e.tsParseDelimitedList("TypeParametersOrArguments",e.tsParseType.bind(e))}))})),this.state.exprAllowed=!1,this.expectRelational(">"),this.finishNode(t,"TSTypeParameterInstantiation")},r.tsIsDeclarationStart=function(){if(this.match(u.name))switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return!0}return!1},r.isExportDefaultSpecifier=function(){return!this.tsIsDeclarationStart()&&e.prototype.isExportDefaultSpecifier.call(this)},r.parseAssignableListItem=function(e,t){var r,n=!1;e&&(r=this.parseAccessModifier(),n=!!this.tsParseModifier(["readonly"]));var i=this.parseMaybeDefault();this.parseAssignableListItemTypes(i);var a=this.parseMaybeDefault(i.start,i.loc.start,i);if(r||n){var s=this.startNodeAtNode(a);if(t.length&&(s.decorators=t),r&&(s.accessibility=r),n&&(s.readonly=n),"Identifier"!==a.type&&"AssignmentPattern"!==a.type)throw this.raise(s.start,"A parameter property may not be declared using a binding pattern.");return s.parameter=a,this.finishNode(s,"TSParameterProperty")}return t.length&&(i.decorators=t),a},r.parseFunctionBodyAndFinish=function(t,r,n){!n&&this.match(u.colon)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(u.colon));var i="FunctionDeclaration"===r?"TSDeclareFunction":"ClassMethod"===r?"TSDeclareMethod":void 0;i&&!this.match(u.braceL)&&this.isLineTerminator()?this.finishNode(t,i):e.prototype.parseFunctionBodyAndFinish.call(this,t,r,n)},r.parseSubscript=function(t,r,n,i,a){var s=this;if(!this.hasPrecedingLineBreak()&&this.match(u.bang)){this.state.exprAllowed=!1,this.next();var o=this.startNodeAt(r,n);return o.expression=t,this.finishNode(o,"TSNonNullExpression")}if(this.isRelational("<")){var l=this.tsTryParseAndCatch((function(){if(!i&&s.atPossibleAsync(t)){var e=s.tsTryParseGenericAsyncArrowFunction(r,n);if(e)return e}var o=s.startNodeAt(r,n);o.callee=t;var l=s.tsParseTypeArguments();if(l){if(!i&&s.eat(u.parenL))return o.arguments=s.parseCallExpressionArguments(u.parenR,!1),o.typeParameters=l,s.finishCallExpression(o);if(s.match(u.backQuote))return s.parseTaggedTemplateExpression(r,n,t,a,l)}s.unexpected()}));if(l)return l}return e.prototype.parseSubscript.call(this,t,r,n,i,a)},r.parseNewArguments=function(t){var r=this;if(this.isRelational("<")){var n=this.tsTryParseAndCatch((function(){var e=r.tsParseTypeArguments();return r.match(u.parenL)||r.unexpected(),e}));n&&(t.typeParameters=n)}e.prototype.parseNewArguments.call(this,t)},r.parseExprOp=function(t,r,n,i,a){if(re(u._in.binop)>i&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){var s=this.startNodeAt(r,n);return s.expression=t,s.typeAnnotation=this.tsNextThenParseType(),this.finishNode(s,"TSAsExpression"),this.parseExprOp(s,r,n,i,a)}return e.prototype.parseExprOp.call(this,t,r,n,i,a)},r.checkReservedWord=function(e,t,r,n){},r.checkDuplicateExports=function(){},r.parseImport=function(t){return this.match(u.name)&&this.lookahead().type===u.eq?this.tsParseImportEqualsDeclaration(t):e.prototype.parseImport.call(this,t)},r.parseExport=function(t){if(this.match(u._import))return this.expect(u._import),this.tsParseImportEqualsDeclaration(t,!0);if(this.eat(u.eq)){var r=t;return r.expression=this.parseExpression(),this.semicolon(),this.finishNode(r,"TSExportAssignment")}if(this.eatContextual("as")){var n=t;return this.expectContextual("namespace"),n.id=this.parseIdentifier(),this.semicolon(),this.finishNode(n,"TSNamespaceExportDeclaration")}return e.prototype.parseExport.call(this,t)},r.isAbstractClass=function(){return this.isContextual("abstract")&&this.lookahead().type===u._class},r.parseExportDefaultExpression=function(){if(this.isAbstractClass()){var t=this.startNode();return this.next(),this.parseClass(t,!0,!0),t.abstract=!0,t}if("interface"===this.state.value){var r=this.tsParseDeclaration(this.startNode(),this.state.value,!0);if(r)return r}return e.prototype.parseExportDefaultExpression.call(this)},r.parseStatementContent=function(t,r){if(this.state.type===u._const){var n=this.lookahead();if(n.type===u.name&&"enum"===n.value){var i=this.startNode();return this.expect(u._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(i,!0)}}return e.prototype.parseStatementContent.call(this,t,r)},r.parseAccessModifier=function(){return this.tsParseModifier(["public","protected","private"])},r.parseClassMember=function(t,r,n){var i=this.parseAccessModifier();i&&(r.accessibility=i),e.prototype.parseClassMember.call(this,t,r,n)},r.parseClassMemberWithIsStatic=function(t,r,n,i){var a=r,s=r,o=r,u=!1,l=!1;switch(this.tsParseModifier(["abstract","readonly"])){case"readonly":l=!0,u=!!this.tsParseModifier(["abstract"]);break;case"abstract":u=!0,l=!!this.tsParseModifier(["readonly"])}if(u&&(a.abstract=!0),l&&(o.readonly=!0),!u&&!i&&!a.accessibility){var c=this.tsTryParseIndexSignature(r);if(c)return void t.body.push(c)}if(l)return a.static=i,this.parseClassPropertyName(s),this.parsePostMemberNameModifiers(a),void this.pushClassProperty(t,s);e.prototype.parseClassMemberWithIsStatic.call(this,t,r,n,i)},r.parsePostMemberNameModifiers=function(e){this.eat(u.question)&&(e.optional=!0)},r.parseExpressionStatement=function(t,r){return("Identifier"===r.type?this.tsParseExpressionStatement(t,r):void 0)||e.prototype.parseExpressionStatement.call(this,t,r)},r.shouldParseExportDeclaration=function(){return!!this.tsIsDeclarationStart()||e.prototype.shouldParseExportDeclaration.call(this)},r.parseConditional=function(t,r,n,i,a){if(!a||!this.match(u.question))return e.prototype.parseConditional.call(this,t,r,n,i,a);var s=this.state.clone();try{return e.prototype.parseConditional.call(this,t,r,n,i)}catch(e){if(!(e instanceof SyntaxError))throw e;return this.state=s,a.start=e.pos||this.state.start,t}},r.parseParenItem=function(t,r,n){if(t=e.prototype.parseParenItem.call(this,t,r,n),this.eat(u.question)&&(t.optional=!0),this.match(u.colon)){var i=this.startNodeAt(r,n);return i.expression=t,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return t},r.parseExportDeclaration=function(t){var r,n=this.eatContextual("declare");return this.match(u.name)&&(r=this.tsTryParseExportDeclaration()),r||(r=e.prototype.parseExportDeclaration.call(this,t)),r&&n&&(r.declare=!0),r},r.parseClassId=function(t,r,n){if(r&&!n||!this.isContextual("implements")){e.prototype.parseClassId.apply(this,arguments);var i=this.tsTryParseTypeParameters();i&&(t.typeParameters=i)}},r.parseClassProperty=function(t){!t.optional&&this.eat(u.bang)&&(t.definite=!0);var r=this.tsTryParseTypeAnnotation();return r&&(t.typeAnnotation=r),e.prototype.parseClassProperty.call(this,t)},r.pushClassMethod=function(t,r,n,i,a){var s=this.tsTryParseTypeParameters();s&&(r.typeParameters=s),e.prototype.pushClassMethod.call(this,t,r,n,i,a)},r.pushClassPrivateMethod=function(t,r,n,i){var a=this.tsTryParseTypeParameters();a&&(r.typeParameters=a),e.prototype.pushClassPrivateMethod.call(this,t,r,n,i)},r.parseClassSuper=function(t){e.prototype.parseClassSuper.call(this,t),t.superClass&&this.isRelational("<")&&(t.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual("implements")&&(t.implements=this.tsParseHeritageClause())},r.parseObjPropValue=function(t){var r,n=this.tsTryParseTypeParameters();n&&(t.typeParameters=n);for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];(r=e.prototype.parseObjPropValue).call.apply(r,[this,t].concat(a))},r.parseFunctionParams=function(t,r){var n=this.tsTryParseTypeParameters();n&&(t.typeParameters=n),e.prototype.parseFunctionParams.call(this,t,r)},r.parseVarHead=function(t){e.prototype.parseVarHead.call(this,t),"Identifier"===t.id.type&&this.eat(u.bang)&&(t.definite=!0);var r=this.tsTryParseTypeAnnotation();r&&(t.id.typeAnnotation=r,this.finishNode(t.id,t.id.type))},r.parseAsyncArrowFromCallExpression=function(t,r){return this.match(u.colon)&&(t.returnType=this.tsParseTypeAnnotation()),e.prototype.parseAsyncArrowFromCallExpression.call(this,t,r)},r.parseMaybeAssign=function(){for(var t,r,n,i,a=arguments.length,s=new Array(a),o=0;o<a;o++)s[o]=arguments[o];if(this.match(u.jsxTagStart)){ne(this.curContext()===v.j_oTag),ne(this.state.context[this.state.context.length-2]===v.j_expr);var l=this.state.clone();try{var c;return(c=e.prototype.parseMaybeAssign).call.apply(c,[this].concat(s))}catch(e){if(!(e instanceof SyntaxError))throw e;this.state=l,ne(this.curContext()===v.j_oTag),this.state.context.pop(),ne(this.curContext()===v.j_expr),this.state.context.pop(),t=e}}if(void 0===t&&!this.isRelational("<"))return(r=e.prototype.parseMaybeAssign).call.apply(r,[this].concat(s));var p=this.state.clone();try{var f;i=this.tsParseTypeParameters(),"ArrowFunctionExpression"!==(n=(f=e.prototype.parseMaybeAssign).call.apply(f,[this].concat(s))).type&&this.unexpected()}catch(r){var d;if(!(r instanceof SyntaxError))throw r;if(t)throw t;return ne(!this.hasPlugin("jsx")),this.state=p,(d=e.prototype.parseMaybeAssign).call.apply(d,[this].concat(s))}return i&&0!==i.params.length&&this.resetStartLocationFromNode(n,i.params[0]),n.typeParameters=i,n},r.parseMaybeUnary=function(t){return!this.hasPlugin("jsx")&&this.eatRelational("<")?this.tsParseTypeAssertion():e.prototype.parseMaybeUnary.call(this,t)},r.parseArrow=function(t){if(this.match(u.colon)){var r=this.state.clone();try{var n=this.tsParseTypeOrTypePredicateAnnotation(u.colon);this.canInsertSemicolon()&&this.unexpected(),this.match(u.arrow)||this.unexpected(),t.returnType=n}catch(e){if(!(e instanceof SyntaxError))throw e;this.state=r}}return e.prototype.parseArrow.call(this,t)},r.parseAssignableListItemTypes=function(e){if(this.eat(u.question)){if("Identifier"!==e.type)throw this.raise(e.start,"A binding pattern parameter cannot be optional in an implementation signature.");e.optional=!0}var t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.finishNode(e,e.type)},r.toAssignable=function(t,r,n){switch(t.type){case"TSTypeCastExpression":return e.prototype.toAssignable.call(this,this.typeCastToParameter(t),r,n);case"TSParameterProperty":return e.prototype.toAssignable.call(this,t,r,n);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return t.expression=this.toAssignable(t.expression,r,n),t;default:return e.prototype.toAssignable.call(this,t,r,n)}},r.checkLVal=function(t,r,n,i){switch(t.type){case"TSTypeCastExpression":return;case"TSParameterProperty":return void this.checkLVal(t.parameter,r,n,"parameter property");case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return void this.checkLVal(t.expression,r,n,i);default:return void e.prototype.checkLVal.call(this,t,r,n,i)}},r.parseBindingAtom=function(){switch(this.state.type){case u._this:return this.parseIdentifier(!0);default:return e.prototype.parseBindingAtom.call(this)}},r.parseMaybeDecoratorArguments=function(t){if(this.isRelational("<")){var r=this.tsParseTypeArguments();if(this.match(u.parenL)){var n=e.prototype.parseMaybeDecoratorArguments.call(this,t);return n.typeParameters=r,n}this.unexpected(this.state.start,u.parenL)}return e.prototype.parseMaybeDecoratorArguments.call(this,t)},r.isClassMethod=function(){return this.isRelational("<")||e.prototype.isClassMethod.call(this)},r.isClassProperty=function(){return this.match(u.bang)||this.match(u.colon)||e.prototype.isClassProperty.call(this)},r.parseMaybeDefault=function(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];var a=(t=e.prototype.parseMaybeDefault).call.apply(t,[this].concat(n));return"AssignmentPattern"===a.type&&a.typeAnnotation&&a.right.start<a.typeAnnotation.start&&this.raise(a.typeAnnotation.start,"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`"),a},r.readToken=function(t){return!this.state.inType||62!==t&&60!==t?e.prototype.readToken.call(this,t):this.finishOp(u.relational,1)},r.toAssignableList=function(t,r,n){for(var i=0;i<t.length;i++){var a=t[i];a&&"TSTypeCastExpression"===a.type&&(t[i]=this.typeCastToParameter(a))}return e.prototype.toAssignableList.call(this,t,r,n)},r.typeCastToParameter=function(e){return e.expression.typeAnnotation=e.typeAnnotation,this.finishNodeAt(e.expression,e.expression.type,e.typeAnnotation.end,e.typeAnnotation.loc.end)},r.toReferencedList=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];n&&n._exprListItem&&"TsTypeCastExpression"===n.type&&this.raise(n.start,"Did not expect a type annotation here.")}return e},r.shouldParseArrow=function(){return this.match(u.colon)||e.prototype.shouldParseArrow.call(this)},r.shouldParseAsyncArrow=function(){return this.match(u.colon)||e.prototype.shouldParseAsyncArrow.call(this)},r.canHaveLeadingDecorator=function(){return e.prototype.canHaveLeadingDecorator.call(this)||this.isAbstractClass()},r.jsxParseOpeningElementAfterName=function(t){var r=this,n=this.tsTryParseAndCatch((function(){return r.tsParseTypeArguments()}));return n&&(t.typeParameters=n),e.prototype.jsxParseOpeningElementAfterName.call(this,t)},t}(e)}};function le(e,t){var r=te;return e&&e.plugins&&(function(e){if(ie(e,"decorators")){if(ie(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");var t=ae(e,"decorators","decoratorsBeforeExport");if(null==t)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 t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(ie(e,"flow")&&ie(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(ie(e,"pipelineOperator")&&-1===se.indexOf(ae(e,"pipelineOperator","proposal")))throw new Error("'pipelineOperator' requires 'proposal' option whose value should be one of: "+se.map((function(e){return"'"+e+"'"})).join(", "))}(e.plugins),r=function(e){var t=oe.filter((function(t){return ie(e,t)})),r=t.join("/"),n=ce[r];if(!n){n=te;for(var i=0;i<t.length;i++){var a=t[i];n=ue[a](n)}ce[r]=n}return n}(e.plugins)),new r(e,t)}var ce={};t.parse=function(e,t){if(!t||"unambiguous"!==t.sourceType)return le(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";var r=le(t,e),n=r.parse();return r.sawUnambiguousESM||(n.program.sourceType="script"),n}catch(r){try{return t.sourceType="script",le(t,e).parse()}catch(e){}throw r}},t.parseExpression=function(e,t){var r=le(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()},t.tokTypes=u}));t(v);var g=function(e){var t=Object.keys(o.parse(o.extract(e)));return-1!==t.indexOf("prettier")||-1!==t.indexOf("format")};function T(e,t){return Object.assign({sourceType:"module",allowAwaitOutsideFunction:!0,allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,plugins:["jsx","doExpressions","objectRestSpread","classProperties","exportDefaultFrom","exportNamespaceFrom","asyncGenerators","functionBind","functionSent","dynamicImport","numericSeparator","importMeta","optionalCatchBinding","optionalChaining","classPrivateProperties",["pipelineOperator",{proposal:"minimal"}],"nullishCoalescingOperator","bigInt","throwExpressions","logicalAssignment","classPrivateMethods"].concat(t)},e)}function E(t,r){return function(n,i,a){var s,o=v,u=[T({strictMode:!0},["decorators-legacy"].concat(r)),T({strictMode:!1},["decorators-legacy"].concat(r)),T({strictMode:!0},[["decorators",{decoratorsBeforeExport:!1}]].concat(r)),T({strictMode:!1},[["decorators",{decoratorsBeforeExport:!1}]].concat(r))];try{s=function(e,t){for(var r,n=0;n<t.length;n++)try{return e(t[n])}catch(e){r||(r=e)}throw r}(o[t].bind(null,n),u)}catch(t){throw e(t.message.replace(/ \(.*\)/,""),{start:{line:t.loc.line,column:t.loc.column+1}})}return delete s.tokens,m(s,Object.assign({},a,{originalText:n}))}}var S=E("parse",["flow"]),b=E("parse",[["flow",{all:!0}]]),x=E("parseExpression");function D(t,r){switch(t.type){case"ArrayExpression":return t.elements.forEach(n);case"ObjectExpression":return t.properties.forEach(n);case"ObjectProperty":if(t.computed)throw i("computed");if(t.shorthand)throw i("shorthand");return[t.key,t.value].forEach(n);case"UnaryExpression":switch(t.operator){case"+":case"-":return n(t.argument);default:throw i("operator")}case"Identifier":if(r&&"ObjectProperty"===r.type&&r.key===t)return;throw i();case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":return;default:throw i()}function n(e){return D(e,t)}function i(r){var n=r?"".concat(t.type," with ").concat(r,"=").concat(JSON.stringify(t[r])):t.type;return e("".concat(n," is not allowed in JSON."),{start:{line:t.loc.start.line,column:t.loc.start.column+1}})}}var A=Object.assign({parse:S,astFormat:"estree",hasPragma:g},l),C=Object.assign({},A,{parse:b}),P=Object.assign({},A,{parse:x});return{parsers:{babel:A,"babel-flow":C,babylon:A,json:Object.assign({},P,{hasPragma:function(){return!0}}),json5:P,"json-stringify":Object.assign({parse:function(e,t,r){var n=x(e,t,r);return n.comments.forEach(D),D(n),n},astFormat:"estree-json"},l),__js_expression:P,__vue_expression:P,__vue_event_binding:A}}}()},function(e,t,r){var n=r(269);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},function(e,t,r){var n=r(270),i=r(82);e.exports=function(e,t){for(var r=0,a=(t=n(t,e)).length;null!=e&&r<a;)e=e[i(t[r++])];return r&&r==a?e:void 0}},function(e,t,r){var n=r(14),i=r(136),a=r(614),s=r(111);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:a(s(e))}},function(e,t,r){var n=r(619),i=r(627),a=r(119),s=r(14),o=r(631);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?s(e)?i(e[0],e[1]):n(e):o(e)}},function(e,t,r){var n=r(621),i=r(13);e.exports=function e(t,r,a,s,o){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,a,s,e,o))}},function(e,t,r){var n=r(182),i=r(622),a=r(184),s=1,o=2;e.exports=function(e,t,r,u,l,c){var p=r&s,f=e.length,d=t.length;if(f!=d&&!(p&&d>f))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var y=-1,m=!0,v=r&o?new n:void 0;for(c.set(e,t),c.set(t,e);++y<f;){var g=e[y],T=t[y];if(u)var E=p?u(T,g,y,t,e,c):u(g,T,y,e,t,c);if(void 0!==E){if(E)continue;m=!1;break}if(v){if(!i(t,(function(e,t){if(!a(v,t)&&(g===e||l(g,e,r,u,c)))return v.push(t)}))){m=!1;break}}else if(g!==T&&!l(g,T,r,u,c)){m=!1;break}}return c.delete(e),c.delete(t),m}},function(e,t,r){var n=r(27);e.exports=function(e){return e==e&&!n(e)}},function(e,t){e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},,,,,function(e,t,r){var n={sampleCodeAnalyzers:{react:r(299),vue:r(635),angular:r(640),html:function(){}},sampleCodeBuilders:{react:r(643),vue:r(644),angular:r(653),html:r(654)}},i=function(e,t){var r=t[e];if(!r)throw"Unsupported framework detected: ".concat(e);return r};e.exports={getSampleCodeAnalyzer:function(e){return i(e,n.sampleCodeAnalyzers)},getSampleCodeBuilder:function(e){return i(e,n.sampleCodeBuilders)}}},function(e,t){var r={html:"markup",vue:"markup",react:"jsx"};e.exports={getLanguageByFramework:function(e){return r[e]||"markup"}}},,,,,,,,,,,,,,,,,,function(e,t,r){function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(3),s=r(89).get,o=r(401).getStorySubject,u=r(1).INJECTED_SOURCE_PLACEHOLDER,l=r(137),c=l.getAvailableKnobsFunctions,p=l.isKnownKnobMethodCall,f=l.extractKnobProperties;function d(e,t,r){return t.openingElement.attributes.map((function(t){return function(e,t,r){if(a.isJSXSpreadAttribute(e))return{value:r.substring(e.start,e.end),isExpression:!0};var o=s(e,"name.name"),u=function(e,t,r){if(a.isStringLiteral(e))return{value:e.value};if(!a.isJSXExpressionContainer(e))return{};var n=e.expression;if(a.isIdentifier(n))return{value:n.name,isExpression:!0};if(p(n,t))return f(n);return{value:m(r,n.start,n.end),isExpression:!0}}(e.value,t,r);return function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(r,!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({name:o},u)}(t,r,e)}))}function h(e,t){var r=m(e,0,t.start),n=m(e,t.end);return"".concat(r).concat(u).concat(n)}function y(e,t,r){return 0===e.length?[]:e.map((function(e){return a.isJSXExpressionContainer(e)&&p(e.expression,r)?f(e.expression):{value:m(t,e.start,e.end)}}))}function m(e,t,r){return e.substring(t,r)}e.exports=function(e,t){try{var r=o(e.frameworkMetadata.returnStatement,e.dsmInfo);if(!r)return null;var n=c(e.importDeclarations),i=e.frameworkMetadata.returnStatement;return{componentName:r.openingElement.name.name,props:d(i,r,n),children:y(r.children,i,n),sourceTemplate:h(i,r)}}catch(r){return t&&t.error("Failed to analyze sample code for story ".concat(e?"".concat(e.kind," - ").concat(e.name):""," \n ").concat(r.stack)),null}}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,((n=r(163))&&n.__esModule?n:{default:n}).default)("React.Component");t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e&&/^[a-z]/.test(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[];for(let r=0;r<e.children.length;r++){let n=e.children[r];(0,i.isJSXText)(n)?(0,a.default)(n,t):((0,i.isJSXExpressionContainer)(n)&&(n=n.expression),(0,i.isJSXEmptyExpression)(n)||t.push(n))}return t};var n,i=r(6),a=(n=r(303))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e<r.length;e++)r[e].match(/[^ \t]/)&&(i=e);let a="";for(let e=0;e<r.length;e++){const t=r[e],n=0===e,s=e===r.length-1,o=e===i;let u=t.replace(/\t/g," ");n||(u=u.replace(/^[ ]+/,"")),s||(u=u.replace(/[ ]+$/,"")),u&&(o||(u+=" "),a+=u)}a&&t.push((0,n.stringLiteral)(a))};var n=r(19)},function(e,t,r){"use strict";function n(){const e=s(r(50));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){const r=i.BUILDER_KEYS[e],s=t.length;if(s>r.length)throw new Error(`${e}: Too many arguments passed. Received ${s} but can receive no more than ${r.length}`);const o={type:e};let u=0;r.forEach(r=>{const a=i.NODE_FIELDS[e][r];let l;u<s&&(l=t[u]),void 0===l&&(l=(0,n().default)(a.default)),o[r]=l,u++});for(const e in o)(0,a.default)(o,e,o[e]);return o};var i=r(26),a=s(r(176));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){var n=r(96),i=r(328),a=r(165),s=r(329),o=r(331),u=r(334),l=r(335),c=r(336),p=r(338),f=r(172),d=r(339),h=r(43),y=r(340),m=r(341),v=r(346),g=r(14),T=r(47),E=r(348),S=r(27),b=r(350),x=r(44),D=1,A=2,C=4,P="[object Arguments]",w="[object Function]",_="[object GeneratorFunction]",O="[object Object]",F={};F[P]=F["[object Array]"]=F["[object ArrayBuffer]"]=F["[object DataView]"]=F["[object Boolean]"]=F["[object Date]"]=F["[object Float32Array]"]=F["[object Float64Array]"]=F["[object Int8Array]"]=F["[object Int16Array]"]=F["[object Int32Array]"]=F["[object Map]"]=F["[object Number]"]=F[O]=F["[object RegExp]"]=F["[object Set]"]=F["[object String]"]=F["[object Symbol]"]=F["[object Uint8Array]"]=F["[object Uint8ClampedArray]"]=F["[object Uint16Array]"]=F["[object Uint32Array]"]=!0,F["[object Error]"]=F[w]=F["[object WeakMap]"]=!1,e.exports=function e(t,r,N,I,k,L){var M,B=r&D,j=r&A,R=r&C;if(N&&(M=k?N(t,I,k,L):N(t)),void 0!==M)return M;if(!S(t))return t;var V=g(t);if(V){if(M=y(t),!B)return l(t,M)}else{var q=h(t),U=q==w||q==_;if(T(t))return u(t,B);if(q==O||q==P||U&&!k){if(M=j||U?{}:v(t),!B)return j?p(t,o(M,t)):c(t,s(M,t))}else{if(!F[q])return k?t:{};M=m(t,q,B)}}L||(L=new n);var K=L.get(t);if(K)return K;L.set(t,M),b(t)?t.forEach((function(n){M.add(e(n,r,N,n,t,L))})):E(t)&&t.forEach((function(n,i){M.set(i,e(n,r,N,i,t,L))}));var X=R?j?d:f:j?keysIn:x,J=V?void 0:X(t);return i(J||t,(function(n,i){J&&(n=t[i=n]),a(M,i,e(n,r,N,i,t,L))})),M}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(67),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(67);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(67);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(67);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},function(e,t,r){var n=r(66);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(66),i=r(63),a=r(97),s=200;e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!i||o.length<s-1)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(o)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(317),i=r(66),a=r(63);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||i),string:new n}}},function(e,t,r){var n=r(318),i=r(319),a=r(320),s=r(321),o=r(322);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=o,e.exports=u},function(e,t,r){var n=r(68);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(68),i="__lodash_hash_undefined__",a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return r===i?void 0:r}return a.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(68),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},function(e,t,r){var n=r(68),i="__lodash_hash_undefined__";e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?i:t,this}},function(e,t,r){var n=r(69);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(69);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(69);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(69);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(70),i=r(44);e.exports=function(e,t){return e&&n(t,i(t),e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t,r){var n=r(70),i=r(99);e.exports=function(e,t){return e&&n(t,i(t),e)}},function(e,t,r){var n=r(27),i=r(46),a=r(333),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return a(e);var t=i(e),r=[];for(var o in e)("constructor"!=o||!t&&s.call(e,o))&&r.push(o);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){var n=r(10),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,o=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=o?o(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(33)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(70),i=r(100);e.exports=function(e,t){return n(e,i(e),t)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[i++]=s)}return a}},function(e,t,r){var n=r(70),i=r(170);e.exports=function(e,t){return n(e,i(e),t)}},function(e,t,r){var n=r(173),i=r(170),a=r(99);e.exports=function(e){return n(e,a,i)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(102),i=r(342),a=r(343),s=r(344),o=r(345),u="[object Boolean]",l="[object Date]",c="[object Map]",p="[object Number]",f="[object RegExp]",d="[object Set]",h="[object String]",y="[object Symbol]",m="[object ArrayBuffer]",v="[object DataView]",g="[object Float32Array]",T="[object Float64Array]",E="[object Int8Array]",S="[object Int16Array]",b="[object Int32Array]",x="[object Uint8Array]",D="[object Uint8ClampedArray]",A="[object Uint16Array]",C="[object Uint32Array]";e.exports=function(e,t,r){var P=e.constructor;switch(t){case m:return n(e);case u:case l:return new P(+e);case v:return i(e,r);case g:case T:case E:case S:case b:case x:case D:case A:case C:return o(e,r);case c:return new P;case p:case h:return new P(e);case f:return a(e);case d:return new P;case y:return s(e)}}},function(e,t,r){var n=r(102);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(40),i=n?n.prototype:void 0,a=i?i.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},function(e,t,r){var n=r(102);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(347),i=r(101),a=r(46);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:n(i(e))}},function(e,t,r){var n=r(27),i=Object.create,a=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=a},function(e,t,r){var n=r(349),i=r(48),a=r(49),s=a&&a.isMap,o=s?i(s):n;e.exports=o},function(e,t,r){var n=r(43),i=r(13),a="[object Map]";e.exports=function(e){return i(e)&&n(e)==a}},function(e,t,r){var n=r(351),i=r(48),a=r(49),s=a&&a.isSet,o=s?i(s):n;e.exports=o},function(e,t,r){var n=r(43),i=r(13),a="[object Set]";e.exports=function(e){return i(e)&&n(e)==a}},function(e,t){!function(){"use strict";function t(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function r(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}e.exports={isExpression:function(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(e){return t(e)||null!=e&&"FunctionDeclaration"===e.type},isProblematicIfStatement:function(e){var t;if("IfStatement"!==e.type)return!1;if(null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=r(t)}while(t);return!1},trailingStatement:r}}()},function(e,t,r){!function(){"use strict";var t=r(175);function n(e,t){return!(!t&&"yield"===e)&&i(e,t)}function i(e,t){if(t&&function(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function a(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function s(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function o(e){var r,n,i;if(0===e.length)return!1;if(i=e.charCodeAt(0),!t.isIdentifierStartES5(i))return!1;for(r=1,n=e.length;r<n;++r)if(i=e.charCodeAt(r),!t.isIdentifierPartES5(i))return!1;return!0}function u(e){var r,n,i,a,s;if(0===e.length)return!1;for(s=t.isIdentifierStartES6,r=0,n=e.length;r<n;++r){if(55296<=(i=e.charCodeAt(r))&&i<=56319){if(++r>=n)return!1;if(!(56320<=(a=e.charCodeAt(r))&&a<=57343))return!1;i=1024*(i-55296)+(a-56320)+65536}if(!s(i))return!1;s=t.isIdentifierPartES6}return!0}e.exports={isKeywordES5:n,isKeywordES6:i,isReservedWordES5:a,isReservedWordES6:s,isRestrictedWord:function(e){return"eval"===e||"arguments"===e},isIdentifierNameES5:o,isIdentifierNameES6:u,isIdentifierES5:function(e,t){return o(e)&&!a(e,t)},isIdentifierES6:function(e,t){return u(e)&&!s(e,t)}}}()},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(32));const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}}),(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),i("DeclareClass","TypeParameterInstantiation"),(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}}),i("DeclareInterface"),(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}}),(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}}),(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}}),(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)(["type","value"]))}}),(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}}),(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]}),(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}}),(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]}),(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),i("InterfaceDeclaration"),(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}}),(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}}),(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:!1},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}}),(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}}),(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}}),(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}}),(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}}),(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(32));(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression")}}}),(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]}),(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}}),(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression")},selfClosing:{default:!1,validate:(0,n.assertValueType)("boolean")},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]}),(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(32));(0,n.default)("Noop",{visitor:[]}),(0,n.default)("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(32)),i=r(106);(0,n.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:{}}),(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,n.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0}})}),(0,n.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,n.assertNodeType)("Expression")},property:{validate:function(){const e=(0,n.assertNodeType)("Identifier"),t=(0,n.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},computed:{default:!1},optional:{validate:(0,n.assertValueType)("boolean")}}}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,n.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")},arguments:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement","JSXNamespacedName")))},optional:{validate:(0,n.assertValueType)("boolean")},typeArguments:{validate:(0,n.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("ClassPrivateProperty",{visitor:["key","value"],builder:["key","value"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:!0}}}),(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Method","Private","Function"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})}),(0,n.default)("Import",{aliases:["Expression"]}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(32)),i=r(103),a=r(106);const s=(0,n.assertValueType)("boolean"),o={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}}),(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,o)}),(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,o)}),(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const u={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")},l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:u};(0,n.default)("TSCallSignatureDeclaration",l),(0,n.default)("TSConstructSignatureDeclaration",l);const c={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(s),optional:(0,n.validateOptional)(s)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},c,{readonly:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})}),(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},u,c)}),(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(s),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSUnknownKeyword","TSNumberKeyword","TSObjectKeyword","TSBooleanKeyword","TSStringKeyword","TSSymbolKeyword","TSVoidKeyword","TSUndefinedKeyword","TSNullKeyword","TSNeverKeyword"];for(const e of p)(0,n.default)(e,{aliases:["TSType"],visitor:[],fields:{}});(0,n.default)("TSThisType",{aliases:["TSType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","typeAnnotation"],fields:u};(0,n.default)("TSFunctionType",f),(0,n.default)("TSConstructorType",f),(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateType)("TSTypeAnnotation")}}),(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)("TSEntityName")}}),(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}}),(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}}),(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)("TSType")}}),(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});const d={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",d),(0,n.default)("TSIntersectionType",d),(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}}),(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}}),(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}}),(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(s),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)("TSType")}}),(0,n.default)("TSLiteralType",{aliases:["TSType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral"])}}),(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}}),(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}}),(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(s),const:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}}),(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}}),(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(s),global:(0,n.validateOptional)(s),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),(0,n.default)("TSModuleBlock",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}}),(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(s),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}}),(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}}),(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}}),(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}}),(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}}),(0,n.default)("TSTypeParameter",{visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:!0},default:{validate:(0,n.assertNodeType)("TSType"),optional:!0}}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,i.default)(e)){const t=e&&e.type||JSON.stringify(e);throw new TypeError(`Not a valid node of type "${t}"`)}};var n,i=(n=r(177))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertArrayExpression=function(e,t={}){a("ArrayExpression",e,t)},t.assertAssignmentExpression=function(e,t={}){a("AssignmentExpression",e,t)},t.assertBinaryExpression=function(e,t={}){a("BinaryExpression",e,t)},t.assertInterpreterDirective=function(e,t={}){a("InterpreterDirective",e,t)},t.assertDirective=function(e,t={}){a("Directive",e,t)},t.assertDirectiveLiteral=function(e,t={}){a("DirectiveLiteral",e,t)},t.assertBlockStatement=function(e,t={}){a("BlockStatement",e,t)},t.assertBreakStatement=function(e,t={}){a("BreakStatement",e,t)},t.assertCallExpression=function(e,t={}){a("CallExpression",e,t)},t.assertCatchClause=function(e,t={}){a("CatchClause",e,t)},t.assertConditionalExpression=function(e,t={}){a("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t={}){a("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t={}){a("DebuggerStatement",e,t)},t.assertDoWhileStatement=function(e,t={}){a("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t={}){a("EmptyStatement",e,t)},t.assertExpressionStatement=function(e,t={}){a("ExpressionStatement",e,t)},t.assertFile=function(e,t={}){a("File",e,t)},t.assertForInStatement=function(e,t={}){a("ForInStatement",e,t)},t.assertForStatement=function(e,t={}){a("ForStatement",e,t)},t.assertFunctionDeclaration=function(e,t={}){a("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t={}){a("FunctionExpression",e,t)},t.assertIdentifier=function(e,t={}){a("Identifier",e,t)},t.assertIfStatement=function(e,t={}){a("IfStatement",e,t)},t.assertLabeledStatement=function(e,t={}){a("LabeledStatement",e,t)},t.assertStringLiteral=function(e,t={}){a("StringLiteral",e,t)},t.assertNumericLiteral=function(e,t={}){a("NumericLiteral",e,t)},t.assertNullLiteral=function(e,t={}){a("NullLiteral",e,t)},t.assertBooleanLiteral=function(e,t={}){a("BooleanLiteral",e,t)},t.assertRegExpLiteral=function(e,t={}){a("RegExpLiteral",e,t)},t.assertLogicalExpression=function(e,t={}){a("LogicalExpression",e,t)},t.assertMemberExpression=function(e,t={}){a("MemberExpression",e,t)},t.assertNewExpression=function(e,t={}){a("NewExpression",e,t)},t.assertProgram=function(e,t={}){a("Program",e,t)},t.assertObjectExpression=function(e,t={}){a("ObjectExpression",e,t)},t.assertObjectMethod=function(e,t={}){a("ObjectMethod",e,t)},t.assertObjectProperty=function(e,t={}){a("ObjectProperty",e,t)},t.assertRestElement=function(e,t={}){a("RestElement",e,t)},t.assertReturnStatement=function(e,t={}){a("ReturnStatement",e,t)},t.assertSequenceExpression=function(e,t={}){a("SequenceExpression",e,t)},t.assertSwitchCase=function(e,t={}){a("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t={}){a("SwitchStatement",e,t)},t.assertThisExpression=function(e,t={}){a("ThisExpression",e,t)},t.assertThrowStatement=function(e,t={}){a("ThrowStatement",e,t)},t.assertTryStatement=function(e,t={}){a("TryStatement",e,t)},t.assertUnaryExpression=function(e,t={}){a("UnaryExpression",e,t)},t.assertUpdateExpression=function(e,t={}){a("UpdateExpression",e,t)},t.assertVariableDeclaration=function(e,t={}){a("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t={}){a("VariableDeclarator",e,t)},t.assertWhileStatement=function(e,t={}){a("WhileStatement",e,t)},t.assertWithStatement=function(e,t={}){a("WithStatement",e,t)},t.assertAssignmentPattern=function(e,t={}){a("AssignmentPattern",e,t)},t.assertArrayPattern=function(e,t={}){a("ArrayPattern",e,t)},t.assertArrowFunctionExpression=function(e,t={}){a("ArrowFunctionExpression",e,t)},t.assertClassBody=function(e,t={}){a("ClassBody",e,t)},t.assertClassDeclaration=function(e,t={}){a("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t={}){a("ClassExpression",e,t)},t.assertExportAllDeclaration=function(e,t={}){a("ExportAllDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t={}){a("ExportDefaultDeclaration",e,t)},t.assertExportNamedDeclaration=function(e,t={}){a("ExportNamedDeclaration",e,t)},t.assertExportSpecifier=function(e,t={}){a("ExportSpecifier",e,t)},t.assertForOfStatement=function(e,t={}){a("ForOfStatement",e,t)},t.assertImportDeclaration=function(e,t={}){a("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t={}){a("ImportDefaultSpecifier",e,t)},t.assertImportNamespaceSpecifier=function(e,t={}){a("ImportNamespaceSpecifier",e,t)},t.assertImportSpecifier=function(e,t={}){a("ImportSpecifier",e,t)},t.assertMetaProperty=function(e,t={}){a("MetaProperty",e,t)},t.assertClassMethod=function(e,t={}){a("ClassMethod",e,t)},t.assertObjectPattern=function(e,t={}){a("ObjectPattern",e,t)},t.assertSpreadElement=function(e,t={}){a("SpreadElement",e,t)},t.assertSuper=function(e,t={}){a("Super",e,t)},t.assertTaggedTemplateExpression=function(e,t={}){a("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t={}){a("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t={}){a("TemplateLiteral",e,t)},t.assertYieldExpression=function(e,t={}){a("YieldExpression",e,t)},t.assertAnyTypeAnnotation=function(e,t={}){a("AnyTypeAnnotation",e,t)},t.assertArrayTypeAnnotation=function(e,t={}){a("ArrayTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t={}){a("BooleanTypeAnnotation",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t={}){a("BooleanLiteralTypeAnnotation",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t={}){a("NullLiteralTypeAnnotation",e,t)},t.assertClassImplements=function(e,t={}){a("ClassImplements",e,t)},t.assertDeclareClass=function(e,t={}){a("DeclareClass",e,t)},t.assertDeclareFunction=function(e,t={}){a("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t={}){a("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t={}){a("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t={}){a("DeclareModuleExports",e,t)},t.assertDeclareTypeAlias=function(e,t={}){a("DeclareTypeAlias",e,t)},t.assertDeclareOpaqueType=function(e,t={}){a("DeclareOpaqueType",e,t)},t.assertDeclareVariable=function(e,t={}){a("DeclareVariable",e,t)},t.assertDeclareExportDeclaration=function(e,t={}){a("DeclareExportDeclaration",e,t)},t.assertDeclareExportAllDeclaration=function(e,t={}){a("DeclareExportAllDeclaration",e,t)},t.assertDeclaredPredicate=function(e,t={}){a("DeclaredPredicate",e,t)},t.assertExistsTypeAnnotation=function(e,t={}){a("ExistsTypeAnnotation",e,t)},t.assertFunctionTypeAnnotation=function(e,t={}){a("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t={}){a("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t={}){a("GenericTypeAnnotation",e,t)},t.assertInferredPredicate=function(e,t={}){a("InferredPredicate",e,t)},t.assertInterfaceExtends=function(e,t={}){a("InterfaceExtends",e,t)},t.assertInterfaceDeclaration=function(e,t={}){a("InterfaceDeclaration",e,t)},t.assertInterfaceTypeAnnotation=function(e,t={}){a("InterfaceTypeAnnotation",e,t)},t.assertIntersectionTypeAnnotation=function(e,t={}){a("IntersectionTypeAnnotation",e,t)},t.assertMixedTypeAnnotation=function(e,t={}){a("MixedTypeAnnotation",e,t)},t.assertEmptyTypeAnnotation=function(e,t={}){a("EmptyTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t={}){a("NullableTypeAnnotation",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t={}){a("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t={}){a("NumberTypeAnnotation",e,t)},t.assertObjectTypeAnnotation=function(e,t={}){a("ObjectTypeAnnotation",e,t)},t.assertObjectTypeInternalSlot=function(e,t={}){a("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeCallProperty=function(e,t={}){a("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t={}){a("ObjectTypeIndexer",e,t)},t.assertObjectTypeProperty=function(e,t={}){a("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t={}){a("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t={}){a("OpaqueType",e,t)},t.assertQualifiedTypeIdentifier=function(e,t={}){a("QualifiedTypeIdentifier",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t={}){a("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t={}){a("StringTypeAnnotation",e,t)},t.assertThisTypeAnnotation=function(e,t={}){a("ThisTypeAnnotation",e,t)},t.assertTupleTypeAnnotation=function(e,t={}){a("TupleTypeAnnotation",e,t)},t.assertTypeofTypeAnnotation=function(e,t={}){a("TypeofTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t={}){a("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t={}){a("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t={}){a("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t={}){a("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t={}){a("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t={}){a("TypeParameterInstantiation",e,t)},t.assertUnionTypeAnnotation=function(e,t={}){a("UnionTypeAnnotation",e,t)},t.assertVariance=function(e,t={}){a("Variance",e,t)},t.assertVoidTypeAnnotation=function(e,t={}){a("VoidTypeAnnotation",e,t)},t.assertJSXAttribute=function(e,t={}){a("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t={}){a("JSXClosingElement",e,t)},t.assertJSXElement=function(e,t={}){a("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t={}){a("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t={}){a("JSXExpressionContainer",e,t)},t.assertJSXSpreadChild=function(e,t={}){a("JSXSpreadChild",e,t)},t.assertJSXIdentifier=function(e,t={}){a("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t={}){a("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t={}){a("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t={}){a("JSXOpeningElement",e,t)},t.assertJSXSpreadAttribute=function(e,t={}){a("JSXSpreadAttribute",e,t)},t.assertJSXText=function(e,t={}){a("JSXText",e,t)},t.assertJSXFragment=function(e,t={}){a("JSXFragment",e,t)},t.assertJSXOpeningFragment=function(e,t={}){a("JSXOpeningFragment",e,t)},t.assertJSXClosingFragment=function(e,t={}){a("JSXClosingFragment",e,t)},t.assertNoop=function(e,t={}){a("Noop",e,t)},t.assertParenthesizedExpression=function(e,t={}){a("ParenthesizedExpression",e,t)},t.assertAwaitExpression=function(e,t={}){a("AwaitExpression",e,t)},t.assertBindExpression=function(e,t={}){a("BindExpression",e,t)},t.assertClassProperty=function(e,t={}){a("ClassProperty",e,t)},t.assertOptionalMemberExpression=function(e,t={}){a("OptionalMemberExpression",e,t)},t.assertPipelineTopicExpression=function(e,t={}){a("PipelineTopicExpression",e,t)},t.assertPipelineBareFunction=function(e,t={}){a("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t={}){a("PipelinePrimaryTopicReference",e,t)},t.assertOptionalCallExpression=function(e,t={}){a("OptionalCallExpression",e,t)},t.assertClassPrivateProperty=function(e,t={}){a("ClassPrivateProperty",e,t)},t.assertClassPrivateMethod=function(e,t={}){a("ClassPrivateMethod",e,t)},t.assertImport=function(e,t={}){a("Import",e,t)},t.assertDecorator=function(e,t={}){a("Decorator",e,t)},t.assertDoExpression=function(e,t={}){a("DoExpression",e,t)},t.assertExportDefaultSpecifier=function(e,t={}){a("ExportDefaultSpecifier",e,t)},t.assertExportNamespaceSpecifier=function(e,t={}){a("ExportNamespaceSpecifier",e,t)},t.assertPrivateName=function(e,t={}){a("PrivateName",e,t)},t.assertBigIntLiteral=function(e,t={}){a("BigIntLiteral",e,t)},t.assertTSParameterProperty=function(e,t={}){a("TSParameterProperty",e,t)},t.assertTSDeclareFunction=function(e,t={}){a("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t={}){a("TSDeclareMethod",e,t)},t.assertTSQualifiedName=function(e,t={}){a("TSQualifiedName",e,t)},t.assertTSCallSignatureDeclaration=function(e,t={}){a("TSCallSignatureDeclaration",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t={}){a("TSConstructSignatureDeclaration",e,t)},t.assertTSPropertySignature=function(e,t={}){a("TSPropertySignature",e,t)},t.assertTSMethodSignature=function(e,t={}){a("TSMethodSignature",e,t)},t.assertTSIndexSignature=function(e,t={}){a("TSIndexSignature",e,t)},t.assertTSAnyKeyword=function(e,t={}){a("TSAnyKeyword",e,t)},t.assertTSUnknownKeyword=function(e,t={}){a("TSUnknownKeyword",e,t)},t.assertTSNumberKeyword=function(e,t={}){a("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t={}){a("TSObjectKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t={}){a("TSBooleanKeyword",e,t)},t.assertTSStringKeyword=function(e,t={}){a("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t={}){a("TSSymbolKeyword",e,t)},t.assertTSVoidKeyword=function(e,t={}){a("TSVoidKeyword",e,t)},t.assertTSUndefinedKeyword=function(e,t={}){a("TSUndefinedKeyword",e,t)},t.assertTSNullKeyword=function(e,t={}){a("TSNullKeyword",e,t)},t.assertTSNeverKeyword=function(e,t={}){a("TSNeverKeyword",e,t)},t.assertTSThisType=function(e,t={}){a("TSThisType",e,t)},t.assertTSFunctionType=function(e,t={}){a("TSFunctionType",e,t)},t.assertTSConstructorType=function(e,t={}){a("TSConstructorType",e,t)},t.assertTSTypeReference=function(e,t={}){a("TSTypeReference",e,t)},t.assertTSTypePredicate=function(e,t={}){a("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t={}){a("TSTypeQuery",e,t)},t.assertTSTypeLiteral=function(e,t={}){a("TSTypeLiteral",e,t)},t.assertTSArrayType=function(e,t={}){a("TSArrayType",e,t)},t.assertTSTupleType=function(e,t={}){a("TSTupleType",e,t)},t.assertTSOptionalType=function(e,t={}){a("TSOptionalType",e,t)},t.assertTSRestType=function(e,t={}){a("TSRestType",e,t)},t.assertTSUnionType=function(e,t={}){a("TSUnionType",e,t)},t.assertTSIntersectionType=function(e,t={}){a("TSIntersectionType",e,t)},t.assertTSConditionalType=function(e,t={}){a("TSConditionalType",e,t)},t.assertTSInferType=function(e,t={}){a("TSInferType",e,t)},t.assertTSParenthesizedType=function(e,t={}){a("TSParenthesizedType",e,t)},t.assertTSTypeOperator=function(e,t={}){a("TSTypeOperator",e,t)},t.assertTSIndexedAccessType=function(e,t={}){a("TSIndexedAccessType",e,t)},t.assertTSMappedType=function(e,t={}){a("TSMappedType",e,t)},t.assertTSLiteralType=function(e,t={}){a("TSLiteralType",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t={}){a("TSExpressionWithTypeArguments",e,t)},t.assertTSInterfaceDeclaration=function(e,t={}){a("TSInterfaceDeclaration",e,t)},t.assertTSInterfaceBody=function(e,t={}){a("TSInterfaceBody",e,t)},t.assertTSTypeAliasDeclaration=function(e,t={}){a("TSTypeAliasDeclaration",e,t)},t.assertTSAsExpression=function(e,t={}){a("TSAsExpression",e,t)},t.assertTSTypeAssertion=function(e,t={}){a("TSTypeAssertion",e,t)},t.assertTSEnumDeclaration=function(e,t={}){a("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t={}){a("TSEnumMember",e,t)},t.assertTSModuleDeclaration=function(e,t={}){a("TSModuleDeclaration",e,t)},t.assertTSModuleBlock=function(e,t={}){a("TSModuleBlock",e,t)},t.assertTSImportEqualsDeclaration=function(e,t={}){a("TSImportEqualsDeclaration",e,t)},t.assertTSExternalModuleReference=function(e,t={}){a("TSExternalModuleReference",e,t)},t.assertTSNonNullExpression=function(e,t={}){a("TSNonNullExpression",e,t)},t.assertTSExportAssignment=function(e,t={}){a("TSExportAssignment",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t={}){a("TSNamespaceExportDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t={}){a("TSTypeAnnotation",e,t)},t.assertTSTypeParameterInstantiation=function(e,t={}){a("TSTypeParameterInstantiation",e,t)},t.assertTSTypeParameterDeclaration=function(e,t={}){a("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameter=function(e,t={}){a("TSTypeParameter",e,t)},t.assertExpression=function(e,t={}){a("Expression",e,t)},t.assertBinary=function(e,t={}){a("Binary",e,t)},t.assertScopable=function(e,t={}){a("Scopable",e,t)},t.assertBlockParent=function(e,t={}){a("BlockParent",e,t)},t.assertBlock=function(e,t={}){a("Block",e,t)},t.assertStatement=function(e,t={}){a("Statement",e,t)},t.assertTerminatorless=function(e,t={}){a("Terminatorless",e,t)},t.assertCompletionStatement=function(e,t={}){a("CompletionStatement",e,t)},t.assertConditional=function(e,t={}){a("Conditional",e,t)},t.assertLoop=function(e,t={}){a("Loop",e,t)},t.assertWhile=function(e,t={}){a("While",e,t)},t.assertExpressionWrapper=function(e,t={}){a("ExpressionWrapper",e,t)},t.assertFor=function(e,t={}){a("For",e,t)},t.assertForXStatement=function(e,t={}){a("ForXStatement",e,t)},t.assertFunction=function(e,t={}){a("Function",e,t)},t.assertFunctionParent=function(e,t={}){a("FunctionParent",e,t)},t.assertPureish=function(e,t={}){a("Pureish",e,t)},t.assertDeclaration=function(e,t={}){a("Declaration",e,t)},t.assertPatternLike=function(e,t={}){a("PatternLike",e,t)},t.assertLVal=function(e,t={}){a("LVal",e,t)},t.assertTSEntityName=function(e,t={}){a("TSEntityName",e,t)},t.assertLiteral=function(e,t={}){a("Literal",e,t)},t.assertImmutable=function(e,t={}){a("Immutable",e,t)},t.assertUserWhitespacable=function(e,t={}){a("UserWhitespacable",e,t)},t.assertMethod=function(e,t={}){a("Method",e,t)},t.assertObjectMember=function(e,t={}){a("ObjectMember",e,t)},t.assertProperty=function(e,t={}){a("Property",e,t)},t.assertUnaryLike=function(e,t={}){a("UnaryLike",e,t)},t.assertPattern=function(e,t={}){a("Pattern",e,t)},t.assertClass=function(e,t={}){a("Class",e,t)},t.assertModuleDeclaration=function(e,t={}){a("ModuleDeclaration",e,t)},t.assertExportDeclaration=function(e,t={}){a("ExportDeclaration",e,t)},t.assertModuleSpecifier=function(e,t={}){a("ModuleSpecifier",e,t)},t.assertFlow=function(e,t={}){a("Flow",e,t)},t.assertFlowType=function(e,t={}){a("FlowType",e,t)},t.assertFlowBaseAnnotation=function(e,t={}){a("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t={}){a("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t={}){a("FlowPredicate",e,t)},t.assertJSX=function(e,t={}){a("JSX",e,t)},t.assertPrivate=function(e,t={}){a("Private",e,t)},t.assertTSTypeElement=function(e,t={}){a("TSTypeElement",e,t)},t.assertTSType=function(e,t={}){a("TSType",e,t)},t.assertNumberLiteral=function(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),a("NumberLiteral",e,t)},t.assertRegexLiteral=function(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),a("RegexLiteral",e,t)},t.assertRestProperty=function(e,t){console.trace("The node type RestProperty has been renamed to RestElement"),a("RestProperty",e,t)},t.assertSpreadProperty=function(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement"),a("SpreadProperty",e,t)};var n,i=(n=r(104))&&n.__esModule?n:{default:n};function a(e,t,r){if(!(0,i.default)(e,t,r))throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, but instead got "${t.type}".`)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"===e)return(0,n.stringTypeAnnotation)();if("number"===e)return(0,n.numberTypeAnnotation)();if("undefined"===e)return(0,n.voidTypeAnnotation)();if("boolean"===e)return(0,n.booleanTypeAnnotation)();if("function"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));if("object"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));if("symbol"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));throw new Error("Invalid typeof value")};var n=r(19)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,a.default)(e);return 1===t.length?t[0]:(0,i.unionTypeAnnotation)(t)};var n,i=r(19),a=(n=r(178))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)};var n,i=(n=r(54))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,i.default)(e);return t.loc=null,t};var n,i=(n=r(179))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n){return(0,i.default)(e,t,[{type:n?"CommentLine":"CommentBlock",value:r}])};var n,i=(n=r(180))&&n.__esModule?n:{default:n}},function(e,t,r){var n=r(182),i=r(369),a=r(372),s=r(184),o=r(373),u=r(109),l=200;e.exports=function(e,t,r){var c=-1,p=i,f=e.length,d=!0,h=[],y=h;if(r)d=!1,p=a;else if(f>=l){var m=t?null:o(e);if(m)return u(m);d=!1,p=s,y=new n}else y=t?[]:h;e:for(;++c<f;){var v=e[c],g=t?t(v):v;if(v=r||0!==v?v:0,d&&g==g){for(var T=y.length;T--;)if(y[T]===g)continue e;t&&y.push(g),h.push(v)}else p(y,g,r)||(y!==h&&y.push(g),h.push(v))}return h}},function(e,t){var r="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,r),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(108);e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},function(e,t){e.exports=function(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}},function(e,t,r){var n=r(94),i=r(374),a=r(109),s=n&&1/a(new n([,-0]))[1]==1/0?function(e){return new n(e)}:i;e.exports=s},function(e,t){e.exports=function(){}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.COMMENT_KEYS.forEach(t=>{e[t]=null}),e};var n=r(35)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(26);const i=n.FLIPPED_ALIAS_KEYS.Expression;t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS.Binary;t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS.Scopable;t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS.BlockParent;t.BLOCKPARENT_TYPES=o;const u=n.FLIPPED_ALIAS_KEYS.Block;t.BLOCK_TYPES=u;const l=n.FLIPPED_ALIAS_KEYS.Statement;t.STATEMENT_TYPES=l;const c=n.FLIPPED_ALIAS_KEYS.Terminatorless;t.TERMINATORLESS_TYPES=c;const p=n.FLIPPED_ALIAS_KEYS.CompletionStatement;t.COMPLETIONSTATEMENT_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS.Conditional;t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS.Loop;t.LOOP_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS.While;t.WHILE_TYPES=h;const y=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper;t.EXPRESSIONWRAPPER_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS.For;t.FOR_TYPES=m;const v=n.FLIPPED_ALIAS_KEYS.ForXStatement;t.FORXSTATEMENT_TYPES=v;const g=n.FLIPPED_ALIAS_KEYS.Function;t.FUNCTION_TYPES=g;const T=n.FLIPPED_ALIAS_KEYS.FunctionParent;t.FUNCTIONPARENT_TYPES=T;const E=n.FLIPPED_ALIAS_KEYS.Pureish;t.PUREISH_TYPES=E;const S=n.FLIPPED_ALIAS_KEYS.Declaration;t.DECLARATION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS.PatternLike;t.PATTERNLIKE_TYPES=b;const x=n.FLIPPED_ALIAS_KEYS.LVal;t.LVAL_TYPES=x;const D=n.FLIPPED_ALIAS_KEYS.TSEntityName;t.TSENTITYNAME_TYPES=D;const A=n.FLIPPED_ALIAS_KEYS.Literal;t.LITERAL_TYPES=A;const C=n.FLIPPED_ALIAS_KEYS.Immutable;t.IMMUTABLE_TYPES=C;const P=n.FLIPPED_ALIAS_KEYS.UserWhitespacable;t.USERWHITESPACABLE_TYPES=P;const w=n.FLIPPED_ALIAS_KEYS.Method;t.METHOD_TYPES=w;const _=n.FLIPPED_ALIAS_KEYS.ObjectMember;t.OBJECTMEMBER_TYPES=_;const O=n.FLIPPED_ALIAS_KEYS.Property;t.PROPERTY_TYPES=O;const F=n.FLIPPED_ALIAS_KEYS.UnaryLike;t.UNARYLIKE_TYPES=F;const N=n.FLIPPED_ALIAS_KEYS.Pattern;t.PATTERN_TYPES=N;const I=n.FLIPPED_ALIAS_KEYS.Class;t.CLASS_TYPES=I;const k=n.FLIPPED_ALIAS_KEYS.ModuleDeclaration;t.MODULEDECLARATION_TYPES=k;const L=n.FLIPPED_ALIAS_KEYS.ExportDeclaration;t.EXPORTDECLARATION_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier;t.MODULESPECIFIER_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS.Flow;t.FLOW_TYPES=B;const j=n.FLIPPED_ALIAS_KEYS.FlowType;t.FLOWTYPE_TYPES=j;const R=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;t.FLOWBASEANNOTATION_TYPES=R;const V=n.FLIPPED_ALIAS_KEYS.FlowDeclaration;t.FLOWDECLARATION_TYPES=V;const q=n.FLIPPED_ALIAS_KEYS.FlowPredicate;t.FLOWPREDICATE_TYPES=q;const U=n.FLIPPED_ALIAS_KEYS.JSX;t.JSX_TYPES=U;const K=n.FLIPPED_ALIAS_KEYS.Private;t.PRIVATE_TYPES=K;const X=n.FLIPPED_ALIAS_KEYS.TSTypeElement;t.TSTYPEELEMENT_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS.TSType;t.TSTYPE_TYPES=J},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="body"){return e[t]=(0,i.default)(e[t],e)};var n,i=(n=r(188))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"eval"!==(e=(0,i.default)(e))&&"arguments"!==e||(e="_"+e);return e};var n,i=(n=r(189))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=e.key||e.property){!e.computed&&(0,n.isIdentifier)(t)&&(t=(0,i.stringLiteral)(t.name));return t};var n=r(6),i=r(19)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.isExpressionStatement)(e)&&(e=e.expression);if((0,n.isExpression)(e))return e;(0,n.isClass)(e)?e.type="ClassExpression":(0,n.isFunction)(e)&&(e.type="FunctionExpression");if(!(0,n.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e};var n=r(6)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(6),i=s(r(54)),a=s(r(190));function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t=e.key){let r;return"method"===e.kind?o.increment()+"":(r=(0,n.isIdentifier)(t)?t.name:(0,n.isStringLiteral)(t)?JSON.stringify(t.value):JSON.stringify((0,a.default)((0,i.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r=`static:${r}`),r)}o.uid=0,o.increment=function(){return o.uid>=Number.MAX_SAFE_INTEGER?o.uid=0:o.uid++}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!e.length)return;const r=[],n=(0,i.default)(e,t,r);if(!n)return;for(const e of r)t.push(e);return n};var n,i=(n=r(383))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,o){const u=[];let l=!0;for(const c of t)if(l=!1,(0,i.isExpression)(c))u.push(c);else if((0,i.isExpressionStatement)(c))u.push(c.expression);else if((0,i.isVariableDeclaration)(c)){if("var"!==c.kind)return;for(const e of c.declarations){const t=(0,n.default)(e);for(const e in t)o.push({kind:c.kind,id:(0,s.default)(t[e])});e.init&&u.push((0,a.assignmentExpression)("=",e.id,e.init))}l=!0}else if((0,i.isIfStatement)(c)){const t=c.consequent?e([c.consequent],r,o):r.buildUndefinedNode(),n=c.alternate?e([c.alternate],r,o):r.buildUndefinedNode();if(!t||!n)return;u.push((0,a.conditionalExpression)(c.test,t,n))}else if((0,i.isBlockStatement)(c)){const t=e(c.body,r,o);if(!t)return;u.push(t)}else{if(!(0,i.isEmptyStatement)(c))return;l=!0}l&&u.push(r.buildUndefinedNode());return 1===u.length?u[0]:(0,a.sequenceExpression)(u)};var n=o(r(73)),i=r(6),a=r(19),s=o(r(54));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isStatement)(e))return e;let r,a=!1;if((0,n.isClass)(e))a=!0,r="ClassDeclaration";else if((0,n.isFunction)(e))a=!0,r="FunctionDeclaration";else if((0,n.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);a&&!e.id&&(r=!1);if(!r){if(t)return!1;throw new Error(`cannot turn ${e.type} to a statement`)}return e.type=r,e};var n=r(6),i=r(19)},function(e,t,r){"use strict";function n(){const e=o(r(74));return n=function(){return e},e}function i(){const e=o(r(75));return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if(void 0===t)return(0,s.identifier)("undefined");if(!0===t||!1===t)return(0,s.booleanLiteral)(t);if(null===t)return(0,s.nullLiteral)();if("string"==typeof t)return(0,s.stringLiteral)(t);if("number"==typeof t){let e;if(Number.isFinite(t))e=(0,s.numericLiteral)(Math.abs(t));else{let r;r=Number.isNaN(t)?(0,s.numericLiteral)(0):(0,s.numericLiteral)(1),e=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,s.unaryExpression)("-",e)),e}if((0,i().default)(t)){const e=t.source,r=t.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,s.arrayExpression)(t.map(e));if((0,n().default)(t)){const r=[];for(const n in t){let i;i=(0,a.default)(n)?(0,s.identifier)(n):(0,s.stringLiteral)(n),r.push((0,s.objectProperty)(i,e(t[n])))}return(0,s.objectExpression)(r)}throw new Error("don't know how to turn this value into a node")};var a=o(r(52)),s=r(19);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){var n=r(24),i=r(13),a="[object RegExp]";e.exports=function(e){return i(e)&&n(e)==a}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=!1){return e.object=(0,n.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e};var n=r(19)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!t)return e;for(const r of i.INHERIT_KEYS.optional)null==e[r]&&(e[r]=t[r]);for(const r in t)"_"===r[0]&&"__clone"!==r&&(e[r]=t[r]);for(const r of i.INHERIT_KEYS.force)e[r]=t[r];return(0,a.default)(e,t),e};var n,i=r(35),a=(n=r(186))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.object=(0,n.memberExpression)(t,e.object),e};var n=r(19)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e,t,!0)};var n,i=(n=r(73))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){"function"==typeof t&&(t={enter:t});const{enter:i,exit:a}=t;!function e(t,r,i,a,s){const o=n.VISITOR_KEYS[t.type];if(!o)return;r&&r(t,s,a);for(const n of o){const o=t[n];if(Array.isArray(o))for(let u=0;u<o.length;u++){const l=o[u];l&&(s.push({node:t,key:n,index:u}),e(l,r,i,a,s),s.pop())}else o&&(s.push({node:t,key:n}),e(o,r,i,a,s),s.pop())}i&&i(t,s,a)}(e,i,a,r,[])};var n=r(26)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=i.default.keys[t.type];if(r)for(let n=0;n<r.length;n++){const i=r[n],a=t[i];if(Array.isArray(a)){if(a.indexOf(e)>=0)return!0}else if(a===e)return!0}return!1};var n,i=(n=r(73))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.isFunctionDeclaration)(e)||(0,i.isClassDeclaration)(e)||(0,a.default)(e)};var n,i=r(6),a=(n=r(193))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.default)(e.type,"Immutable"))return!0;if((0,a.isIdentifier)(e))return"undefined"===e.name;return!1};var n,i=(n=r(105))&&n.__esModule?n:{default:n},a=r(6)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){if("object"!=typeof t||"object"!=typeof r||null==t||null==r)return t===r;if(t.type!==r.type)return!1;const i=Object.keys(n.NODE_FIELDS[t.type]||t.type);const a=n.VISITOR_KEYS[t.type];for(const n of i){if(typeof t[n]!=typeof r[n])return!1;if(Array.isArray(t[n])){if(!Array.isArray(r[n]))return!1;if(t[n].length!==r[n].length)return!1;for(let i=0;i<t[n].length;i++)if(!e(t[n][i],r[n][i]))return!1}else if("object"!=typeof t[n]||a&&a.includes(n)){if(!e(t[n],r[n]))return!1}else for(const e in t[n])if(t[n][e]!==r[n][e])return!1}return!0};var n=r(26)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"ExportSpecifier":return!t.source&&t.local===e;case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e?!!t.computed:t.value===e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"LabeledStatement":case"CatchClause":case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==e}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isBlockStatement)(e)&&(0,n.isFunction)(t,{body:e}))return!1;if((0,n.isBlockStatement)(e)&&(0,n.isCatchClause)(t,{body:e}))return!1;return(0,n.isScopable)(e)};var n=r(6)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})};var n=r(6)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)&&!a.has(e)};var n,i=(n=r(52))&&n.__esModule?n:{default:n};const a=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]};var n=r(6),i=r(35)},function(e,t,r){var n=r(36).default,i=r(3),a=r(135),s=r(268);function o(e,t){var r=function(e){var t=a(e);return function(e){if(!e)return!1;var t=s(e,"program.body[0]");return i.isExpressionStatement(t)&&(i.isJSXElement(t.expression)||i.isJSXFragment(t.expression))}(t)?t:null}(e);if(!r)return null;var o=function(e){var t=e.component;if(t)return function(e){return e===t};return function(e){return e[0]!==e[0].toLowerCase()&&"Fragment"!==e}}(t),u=null;return n(r,{JSXElement:function(e){var t=s(e,"node.openingElement.name.name");t&&o(t)&&(u=e.node,e.stop())}}),u}e.exports={getStorySubject:o,getComponentName:function(e,t){var r=o(e,t);return r?r.openingElement.name.name:null}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,i=(n=r(45))&&n.__esModule?n:{default:n};function a(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return a=function(){return e},e}const s=!1;t.default=class{constructor(e,t,r,n){this.queue=null,this.parentPath=n,this.scope=e,this.state=r,this.opts=t}shouldVisit(e){const t=this.opts;if(t.enter||t.exit)return!0;if(t[e.type])return!0;const r=a().VISITOR_KEYS[e.type];if(!r||!r.length)return!1;for(const t of r)if(e[t])return!0;return!1}create(e,t,r,n){return i.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:n})}maybeQueue(e,t){if(this.trap)throw new Error("Infinite cycle detected");this.queue&&(t?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,t,r){if(0===e.length)return!1;const n=[];for(let i=0;i<e.length;i++){const a=e[i];a&&this.shouldVisit(a)&&n.push(this.create(t,e,i,r))}return this.visitQueue(n)}visitSingle(e,t){return!!this.shouldVisit(e[t])&&this.visitQueue([this.create(e,e,t)])}visitQueue(e){this.queue=e,this.priorityQueue=[];const t=[];let r=!1;for(const n of e)if(n.resync(),0!==n.contexts.length&&n.contexts[n.contexts.length-1]===this||n.pushContext(this),null!==n.key&&(s&&e.length>=1e4&&(this.trap=!0),!(t.indexOf(n.node)>=0))){if(t.push(n.node),n.visit()){r=!0;break}if(this.priorityQueue.length&&(r=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,r))break}for(const t of e)t.popContext();return this.queue=null,r}visit(e,t){const r=e[t];return!!r&&(Array.isArray(r)?this.visitMultiple(r,e,t):this.visitSingle(e,t))}}},function(e,t,r){(function(n){t.log=function(...e){return"object"==typeof console&&console.log&&console.log(...e)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;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+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=r(404)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(41))},function(e,t,r){e.exports=function(e){function t(e){let t=0;for(let r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t|=0;return n.colors[Math.abs(t)%n.colors.length]}function n(e){let r;function s(...e){if(!s.enabled)return;const t=s,i=Number(new Date),a=i-(r||i);t.diff=a,t.prev=r,t.curr=i,r=i,e[0]=n.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return r;o++;const a=n.formatters[i];if("function"==typeof a){const n=e[o];r=a.call(t,n),e.splice(o,1),o--}return r}),n.formatArgs.call(t,e),(t.log||n.log).apply(t,e)}return s.namespace=e,s.enabled=n.enabled(e),s.useColors=n.useColors(),s.color=t(e),s.destroy=i,s.extend=a,"function"==typeof n.init&&n.init(s),n.instances.push(s),s}function i(){const e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}function a(e,t){const r=n(this.namespace+(void 0===t?":":t)+e);return r.log=this.log,r}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},n.disable=function(){const e=[...n.names.map(s),...n.skips.map(s).map(e=>"-"+e)].join(",");return n.enable(""),e},n.enable=function(e){let t;n.save(e),n.names=[],n.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(t=0;t<i;t++)r[t]&&("-"===(e=r[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")));for(t=0;t<n.instances.length;t++){const e=n.instances[t];e.enabled=n.enabled(e.namespace)}},n.enabled=function(e){if("*"===e[e.length-1])return!0;let t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=r(405),Object.keys(e).forEach(t=>{n[t]=e[t]}),n.instances=[],n.names=[],n.skips=[],n.formatters={},n.selectColor=t,n.enable(n.load()),n}},function(e,t){var r=1e3,n=60*r,i=60*n,a=24*i,s=7*a,o=365.25*a;function u(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var u=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return u*o;case"weeks":case"week":case"w":return u*s;case"days":case"day":case"d":return u*a;case"hours":case"hour":case"hrs":case"hr":case"h":return u*i;case"minutes":case"minute":case"mins":case"min":case"m":return u*n;case"seconds":case"second":case"secs":case"sec":case"s":return u*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:return}}(e);if("number"===l&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=a)return u(e,t,a,"day");if(t>=i)return u(e,t,i,"hour");if(t>=n)return u(e,t,n,"minute");if(t>=r)return u(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=a)return Math.round(e/a)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=n)return Math.round(e/n)+"m";if(t>=r)return Math.round(e/r)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){var n=r(24),i=r(14),a=r(13),s="[object String]";e.exports=function(e){return"string"==typeof e||!i(e)&&a(e)&&n(e)==s}},function(e,t,r){var n=r(408),i=1/0,a=17976931348623157e292;e.exports=function(e){return e?(e=n(e))===i||e===-i?(e<0?-1:1)*a:e==e?e:0:0===e?e:0}},function(e,t,r){var n=r(27),i=r(77),a=NaN,s=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var r=u.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):o.test(e)?a:+e}},function(e,t,r){var n=r(410),i=r(44);e.exports=function(e){return null==e?[]:n(e,i(e))}},function(e,t,r){var n=r(196);e.exports=function(e,t){return n(t,(function(t){return e[t]}))}},function(e,t){var r=9007199254740991,n=Math.floor;e.exports=function(e,t){var i="";if(!e||t<1||t>r)return i;do{t%2&&(i+=e),(t=n(t/2))&&(e+=e)}while(t);return i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;i(r(200));function n(){const e=i(r(413));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}const a={ReferencedIdentifier({node:e},t){e.name===t.oldName&&(e.name=t.newName)},Scope(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||e.skip()},"AssignmentExpression|Declaration"(e,t){const r=e.getOuterBindingIdentifiers();for(const e in r)e===t.oldName&&(r[e].name=t.newName)}};t.default=class{constructor(e,t,r){this.newName=r,this.oldName=t,this.binding=e}maybeConvertFromExportDeclaration(e){const t=e.parentPath;t.isExportDeclaration()&&(t.isExportDefaultDeclaration()&&!t.get("declaration").node.id||(0,n().default)(t))}maybeConvertFromClassFunctionDeclaration(e){}maybeConvertFromClassFunctionExpression(e){}rename(e){const{binding:t,oldName:r,newName:n}=this,{scope:i,path:s}=t,o=s.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(o){o.getOuterBindingIdentifiers()[r]===t.identifier&&this.maybeConvertFromExportDeclaration(o)}i.traverse(e||i.block,a,this),e||(i.removeOwnBinding(r),i.bindings[n]=t,this.binding.identifier.name=n),t.type,o&&(this.maybeConvertFromClassFunctionDeclaration(o),this.maybeConvertFromClassFunctionExpression(o))}}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(414));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e.isExportDeclaration())throw new Error("Only export declarations can be splitted.");const t=e.isExportDefaultDeclaration(),r=e.get("declaration"),i=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||i,a=r.isScope()?r.scope.parent:r.scope;let s=r.node.id,o=!1;s||(o=!0,s=a.generateUidIdentifier("default"),(t||r.isFunctionExpression()||r.isClassExpression())&&(r.node.id=n().cloneNode(s)));const u=t?r:n().variableDeclaration("var",[n().variableDeclarator(n().cloneNode(s),r.node)]),l=n().exportNamedDeclaration(null,[n().exportSpecifier(n().cloneNode(s),n().identifier("default"))]);return e.insertAfter(l),e.replaceWith(u),o&&a.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const a=r.getOuterBindingIdentifiers(),s=Object.keys(a).map(e=>n().exportSpecifier(n().identifier(e),n().identifier(e))),o=n().exportNamedDeclaration(null,s);return e.insertAfter(o),e.replaceWith(r.node),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0};Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return O.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"isPlaceholderType",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return ce.default}}),t.react=void 0;var i=fe(r(415)),a=fe(r(416)),s=fe(r(417)),o=fe(r(425)),u=r(426);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var l=fe(r(427)),c=fe(r(428)),p=r(20);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var f=fe(r(56)),d=fe(r(207)),h=fe(r(429)),y=fe(r(430)),m=fe(r(431)),v=fe(r(208)),g=fe(r(209)),T=fe(r(210)),E=fe(r(211)),S=fe(r(212)),b=fe(r(432)),x=r(433);Object.keys(x).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}}))}));var D=r(37);Object.keys(D).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return D[e]}}))}));var A=fe(r(434)),C=fe(r(435)),P=fe(r(213)),w=fe(r(436)),_=fe(r(437)),O=fe(r(214)),F=fe(r(438)),N=fe(r(439)),I=fe(r(441)),k=fe(r(442)),L=r(15);Object.keys(L).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return L[e]}}))}));var M=fe(r(443)),B=fe(r(444)),j=fe(r(445)),R=fe(r(217)),V=fe(r(215)),q=fe(r(206)),U=fe(r(78)),K=fe(r(446)),X=fe(r(447)),J=fe(r(216)),Y=fe(r(112)),W=fe(r(114)),$=fe(r(448)),H=fe(r(449)),z=fe(r(450)),G=fe(r(218)),Q=fe(r(205)),Z=fe(r(451)),ee=fe(r(203)),te=fe(r(452)),re=fe(r(453)),ne=fe(r(454)),ie=fe(r(115)),ae=fe(r(455)),se=fe(r(55)),oe=fe(r(456)),ue=fe(r(202)),le=fe(r(116)),ce=fe(r(201)),pe=r(7);function fe(e){return e&&e.__esModule?e:{default:e}}Object.keys(pe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pe[e]}}))}));const de={isReactComponent:i.default,isCompatTag:a.default,buildChildren:s.default};t.react=de},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,((n=r(201))&&n.__esModule?n:{default:n}).default)("React.Component");t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e&&/^[a-z]/.test(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[];for(let r=0;r<e.children.length;r++){let n=e.children[r];(0,i.isJSXText)(n)?(0,a.default)(n,t):((0,i.isJSXExpressionContainer)(n)&&(n=n.expression),(0,i.isJSXEmptyExpression)(n)||t.push(n))}return t};var n,i=r(7),a=(n=r(418))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e<r.length;e++)r[e].match(/[^ \t]/)&&(i=e);let a="";for(let e=0;e<r.length;e++){const t=r[e],n=0===e,s=e===r.length-1,o=e===i;let u=t.replace(/\t/g," ");n||(u=u.replace(/^[ ]+/,"")),s||(u=u.replace(/[ ]+$/,"")),u&&(o||(u+=" "),a+=u)}a&&t.push((0,n.stringLiteral)(a))};var n=r(20)},function(e,t,r){"use strict";function n(){const e=s(r(50));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){const r=i.BUILDER_KEYS[e],s=t.length;if(s>r.length)throw new Error(`${e}: Too many arguments passed. Received ${s} but can receive no more than ${r.length}`);const o={type:e};let u=0;r.forEach(r=>{const a=i.NODE_FIELDS[e][r];let l;u<s&&(l=t[u]),void 0===l&&(l=(0,n().default)(a.default)),o[r]=l,u++});for(const e of Object.keys(o))(0,a.default)(o,e,o[e]);return o};var i=r(15),a=s(r(116));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(29));const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}}),(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),i("DeclareClass"),(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}}),i("DeclareInterface"),(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}}),(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}}),(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}}),(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}}),(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}}),(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]}),(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}}),(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]}),(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),i("InterfaceDeclaration"),(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}}),(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}}),(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:!1},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}}),(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}}),(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}}),(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}}),(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}}),(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(29));(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]}),(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}}),(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1,validate:(0,n.assertValueType)("boolean")},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]}),(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(29)),i=r(204);(0,n.default)("Noop",{visitor:[]}),(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}}),(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(29)),i=r(117);(0,n.default)("ArgumentPlaceholder",{}),(0,n.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:{}}),(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,n.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0}})}),(0,n.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,n.assertNodeType)("Expression")},property:{validate:function(){const e=(0,n.assertNodeType)("Identifier"),t=(0,n.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},computed:{default:!1},optional:{validate:(0,n.assertValueType)("boolean")}}}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,n.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")},arguments:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement","JSXNamespacedName")))},optional:{validate:(0,n.assertValueType)("boolean")},typeArguments:{validate:(0,n.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}}}),(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})}),(0,n.default)("Import",{aliases:["Expression"]}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(29)),i=r(113),a=r(117);const s=(0,n.assertValueType)("boolean"),o={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}}),(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,{},o)}),(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,{},o)}),(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const u={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")},l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:u};(0,n.default)("TSCallSignatureDeclaration",l),(0,n.default)("TSConstructSignatureDeclaration",l);const c={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(s),optional:(0,n.validateOptional)(s)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},c,{readonly:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})}),(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},u,{},c)}),(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(s),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p)(0,n.default)(e,{aliases:["TSType"],visitor:[],fields:{}});(0,n.default)("TSThisType",{aliases:["TSType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"],fields:u};(0,n.default)("TSFunctionType",f),(0,n.default)("TSConstructorType",f),(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateType)("TSTypeAnnotation")}}),(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}}),(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}}),(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}}),(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)("TSType")}}),(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});const d={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",d),(0,n.default)("TSIntersectionType",d),(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}}),(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}}),(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}}),(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(s),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)("TSType")}}),(0,n.default)("TSLiteralType",{aliases:["TSType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral"])}}),(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}}),(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}}),(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(s),const:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}}),(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}}),(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(s),global:(0,n.validateOptional)(s),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}}),(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(s),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}}),(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}}),(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}}),(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}}),(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}}),(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:!0},default:{validate:(0,n.assertNodeType)("TSType"),optional:!0}}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,i.default)(e)){const t=e&&e.type||JSON.stringify(e);throw new TypeError(`Not a valid node of type "${t}"`)}};var n,i=(n=r(205))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertArrayExpression=function(e,t={}){a("ArrayExpression",e,t)},t.assertAssignmentExpression=function(e,t={}){a("AssignmentExpression",e,t)},t.assertBinaryExpression=function(e,t={}){a("BinaryExpression",e,t)},t.assertInterpreterDirective=function(e,t={}){a("InterpreterDirective",e,t)},t.assertDirective=function(e,t={}){a("Directive",e,t)},t.assertDirectiveLiteral=function(e,t={}){a("DirectiveLiteral",e,t)},t.assertBlockStatement=function(e,t={}){a("BlockStatement",e,t)},t.assertBreakStatement=function(e,t={}){a("BreakStatement",e,t)},t.assertCallExpression=function(e,t={}){a("CallExpression",e,t)},t.assertCatchClause=function(e,t={}){a("CatchClause",e,t)},t.assertConditionalExpression=function(e,t={}){a("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t={}){a("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t={}){a("DebuggerStatement",e,t)},t.assertDoWhileStatement=function(e,t={}){a("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t={}){a("EmptyStatement",e,t)},t.assertExpressionStatement=function(e,t={}){a("ExpressionStatement",e,t)},t.assertFile=function(e,t={}){a("File",e,t)},t.assertForInStatement=function(e,t={}){a("ForInStatement",e,t)},t.assertForStatement=function(e,t={}){a("ForStatement",e,t)},t.assertFunctionDeclaration=function(e,t={}){a("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t={}){a("FunctionExpression",e,t)},t.assertIdentifier=function(e,t={}){a("Identifier",e,t)},t.assertIfStatement=function(e,t={}){a("IfStatement",e,t)},t.assertLabeledStatement=function(e,t={}){a("LabeledStatement",e,t)},t.assertStringLiteral=function(e,t={}){a("StringLiteral",e,t)},t.assertNumericLiteral=function(e,t={}){a("NumericLiteral",e,t)},t.assertNullLiteral=function(e,t={}){a("NullLiteral",e,t)},t.assertBooleanLiteral=function(e,t={}){a("BooleanLiteral",e,t)},t.assertRegExpLiteral=function(e,t={}){a("RegExpLiteral",e,t)},t.assertLogicalExpression=function(e,t={}){a("LogicalExpression",e,t)},t.assertMemberExpression=function(e,t={}){a("MemberExpression",e,t)},t.assertNewExpression=function(e,t={}){a("NewExpression",e,t)},t.assertProgram=function(e,t={}){a("Program",e,t)},t.assertObjectExpression=function(e,t={}){a("ObjectExpression",e,t)},t.assertObjectMethod=function(e,t={}){a("ObjectMethod",e,t)},t.assertObjectProperty=function(e,t={}){a("ObjectProperty",e,t)},t.assertRestElement=function(e,t={}){a("RestElement",e,t)},t.assertReturnStatement=function(e,t={}){a("ReturnStatement",e,t)},t.assertSequenceExpression=function(e,t={}){a("SequenceExpression",e,t)},t.assertParenthesizedExpression=function(e,t={}){a("ParenthesizedExpression",e,t)},t.assertSwitchCase=function(e,t={}){a("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t={}){a("SwitchStatement",e,t)},t.assertThisExpression=function(e,t={}){a("ThisExpression",e,t)},t.assertThrowStatement=function(e,t={}){a("ThrowStatement",e,t)},t.assertTryStatement=function(e,t={}){a("TryStatement",e,t)},t.assertUnaryExpression=function(e,t={}){a("UnaryExpression",e,t)},t.assertUpdateExpression=function(e,t={}){a("UpdateExpression",e,t)},t.assertVariableDeclaration=function(e,t={}){a("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t={}){a("VariableDeclarator",e,t)},t.assertWhileStatement=function(e,t={}){a("WhileStatement",e,t)},t.assertWithStatement=function(e,t={}){a("WithStatement",e,t)},t.assertAssignmentPattern=function(e,t={}){a("AssignmentPattern",e,t)},t.assertArrayPattern=function(e,t={}){a("ArrayPattern",e,t)},t.assertArrowFunctionExpression=function(e,t={}){a("ArrowFunctionExpression",e,t)},t.assertClassBody=function(e,t={}){a("ClassBody",e,t)},t.assertClassDeclaration=function(e,t={}){a("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t={}){a("ClassExpression",e,t)},t.assertExportAllDeclaration=function(e,t={}){a("ExportAllDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t={}){a("ExportDefaultDeclaration",e,t)},t.assertExportNamedDeclaration=function(e,t={}){a("ExportNamedDeclaration",e,t)},t.assertExportSpecifier=function(e,t={}){a("ExportSpecifier",e,t)},t.assertForOfStatement=function(e,t={}){a("ForOfStatement",e,t)},t.assertImportDeclaration=function(e,t={}){a("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t={}){a("ImportDefaultSpecifier",e,t)},t.assertImportNamespaceSpecifier=function(e,t={}){a("ImportNamespaceSpecifier",e,t)},t.assertImportSpecifier=function(e,t={}){a("ImportSpecifier",e,t)},t.assertMetaProperty=function(e,t={}){a("MetaProperty",e,t)},t.assertClassMethod=function(e,t={}){a("ClassMethod",e,t)},t.assertObjectPattern=function(e,t={}){a("ObjectPattern",e,t)},t.assertSpreadElement=function(e,t={}){a("SpreadElement",e,t)},t.assertSuper=function(e,t={}){a("Super",e,t)},t.assertTaggedTemplateExpression=function(e,t={}){a("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t={}){a("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t={}){a("TemplateLiteral",e,t)},t.assertYieldExpression=function(e,t={}){a("YieldExpression",e,t)},t.assertAnyTypeAnnotation=function(e,t={}){a("AnyTypeAnnotation",e,t)},t.assertArrayTypeAnnotation=function(e,t={}){a("ArrayTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t={}){a("BooleanTypeAnnotation",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t={}){a("BooleanLiteralTypeAnnotation",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t={}){a("NullLiteralTypeAnnotation",e,t)},t.assertClassImplements=function(e,t={}){a("ClassImplements",e,t)},t.assertDeclareClass=function(e,t={}){a("DeclareClass",e,t)},t.assertDeclareFunction=function(e,t={}){a("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t={}){a("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t={}){a("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t={}){a("DeclareModuleExports",e,t)},t.assertDeclareTypeAlias=function(e,t={}){a("DeclareTypeAlias",e,t)},t.assertDeclareOpaqueType=function(e,t={}){a("DeclareOpaqueType",e,t)},t.assertDeclareVariable=function(e,t={}){a("DeclareVariable",e,t)},t.assertDeclareExportDeclaration=function(e,t={}){a("DeclareExportDeclaration",e,t)},t.assertDeclareExportAllDeclaration=function(e,t={}){a("DeclareExportAllDeclaration",e,t)},t.assertDeclaredPredicate=function(e,t={}){a("DeclaredPredicate",e,t)},t.assertExistsTypeAnnotation=function(e,t={}){a("ExistsTypeAnnotation",e,t)},t.assertFunctionTypeAnnotation=function(e,t={}){a("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t={}){a("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t={}){a("GenericTypeAnnotation",e,t)},t.assertInferredPredicate=function(e,t={}){a("InferredPredicate",e,t)},t.assertInterfaceExtends=function(e,t={}){a("InterfaceExtends",e,t)},t.assertInterfaceDeclaration=function(e,t={}){a("InterfaceDeclaration",e,t)},t.assertInterfaceTypeAnnotation=function(e,t={}){a("InterfaceTypeAnnotation",e,t)},t.assertIntersectionTypeAnnotation=function(e,t={}){a("IntersectionTypeAnnotation",e,t)},t.assertMixedTypeAnnotation=function(e,t={}){a("MixedTypeAnnotation",e,t)},t.assertEmptyTypeAnnotation=function(e,t={}){a("EmptyTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t={}){a("NullableTypeAnnotation",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t={}){a("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t={}){a("NumberTypeAnnotation",e,t)},t.assertObjectTypeAnnotation=function(e,t={}){a("ObjectTypeAnnotation",e,t)},t.assertObjectTypeInternalSlot=function(e,t={}){a("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeCallProperty=function(e,t={}){a("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t={}){a("ObjectTypeIndexer",e,t)},t.assertObjectTypeProperty=function(e,t={}){a("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t={}){a("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t={}){a("OpaqueType",e,t)},t.assertQualifiedTypeIdentifier=function(e,t={}){a("QualifiedTypeIdentifier",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t={}){a("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t={}){a("StringTypeAnnotation",e,t)},t.assertThisTypeAnnotation=function(e,t={}){a("ThisTypeAnnotation",e,t)},t.assertTupleTypeAnnotation=function(e,t={}){a("TupleTypeAnnotation",e,t)},t.assertTypeofTypeAnnotation=function(e,t={}){a("TypeofTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t={}){a("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t={}){a("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t={}){a("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t={}){a("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t={}){a("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t={}){a("TypeParameterInstantiation",e,t)},t.assertUnionTypeAnnotation=function(e,t={}){a("UnionTypeAnnotation",e,t)},t.assertVariance=function(e,t={}){a("Variance",e,t)},t.assertVoidTypeAnnotation=function(e,t={}){a("VoidTypeAnnotation",e,t)},t.assertJSXAttribute=function(e,t={}){a("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t={}){a("JSXClosingElement",e,t)},t.assertJSXElement=function(e,t={}){a("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t={}){a("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t={}){a("JSXExpressionContainer",e,t)},t.assertJSXSpreadChild=function(e,t={}){a("JSXSpreadChild",e,t)},t.assertJSXIdentifier=function(e,t={}){a("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t={}){a("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t={}){a("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t={}){a("JSXOpeningElement",e,t)},t.assertJSXSpreadAttribute=function(e,t={}){a("JSXSpreadAttribute",e,t)},t.assertJSXText=function(e,t={}){a("JSXText",e,t)},t.assertJSXFragment=function(e,t={}){a("JSXFragment",e,t)},t.assertJSXOpeningFragment=function(e,t={}){a("JSXOpeningFragment",e,t)},t.assertJSXClosingFragment=function(e,t={}){a("JSXClosingFragment",e,t)},t.assertNoop=function(e,t={}){a("Noop",e,t)},t.assertPlaceholder=function(e,t={}){a("Placeholder",e,t)},t.assertV8IntrinsicIdentifier=function(e,t={}){a("V8IntrinsicIdentifier",e,t)},t.assertArgumentPlaceholder=function(e,t={}){a("ArgumentPlaceholder",e,t)},t.assertAwaitExpression=function(e,t={}){a("AwaitExpression",e,t)},t.assertBindExpression=function(e,t={}){a("BindExpression",e,t)},t.assertClassProperty=function(e,t={}){a("ClassProperty",e,t)},t.assertOptionalMemberExpression=function(e,t={}){a("OptionalMemberExpression",e,t)},t.assertPipelineTopicExpression=function(e,t={}){a("PipelineTopicExpression",e,t)},t.assertPipelineBareFunction=function(e,t={}){a("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t={}){a("PipelinePrimaryTopicReference",e,t)},t.assertOptionalCallExpression=function(e,t={}){a("OptionalCallExpression",e,t)},t.assertClassPrivateProperty=function(e,t={}){a("ClassPrivateProperty",e,t)},t.assertClassPrivateMethod=function(e,t={}){a("ClassPrivateMethod",e,t)},t.assertImport=function(e,t={}){a("Import",e,t)},t.assertDecorator=function(e,t={}){a("Decorator",e,t)},t.assertDoExpression=function(e,t={}){a("DoExpression",e,t)},t.assertExportDefaultSpecifier=function(e,t={}){a("ExportDefaultSpecifier",e,t)},t.assertExportNamespaceSpecifier=function(e,t={}){a("ExportNamespaceSpecifier",e,t)},t.assertPrivateName=function(e,t={}){a("PrivateName",e,t)},t.assertBigIntLiteral=function(e,t={}){a("BigIntLiteral",e,t)},t.assertTSParameterProperty=function(e,t={}){a("TSParameterProperty",e,t)},t.assertTSDeclareFunction=function(e,t={}){a("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t={}){a("TSDeclareMethod",e,t)},t.assertTSQualifiedName=function(e,t={}){a("TSQualifiedName",e,t)},t.assertTSCallSignatureDeclaration=function(e,t={}){a("TSCallSignatureDeclaration",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t={}){a("TSConstructSignatureDeclaration",e,t)},t.assertTSPropertySignature=function(e,t={}){a("TSPropertySignature",e,t)},t.assertTSMethodSignature=function(e,t={}){a("TSMethodSignature",e,t)},t.assertTSIndexSignature=function(e,t={}){a("TSIndexSignature",e,t)},t.assertTSAnyKeyword=function(e,t={}){a("TSAnyKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t={}){a("TSBooleanKeyword",e,t)},t.assertTSBigIntKeyword=function(e,t={}){a("TSBigIntKeyword",e,t)},t.assertTSNeverKeyword=function(e,t={}){a("TSNeverKeyword",e,t)},t.assertTSNullKeyword=function(e,t={}){a("TSNullKeyword",e,t)},t.assertTSNumberKeyword=function(e,t={}){a("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t={}){a("TSObjectKeyword",e,t)},t.assertTSStringKeyword=function(e,t={}){a("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t={}){a("TSSymbolKeyword",e,t)},t.assertTSUndefinedKeyword=function(e,t={}){a("TSUndefinedKeyword",e,t)},t.assertTSUnknownKeyword=function(e,t={}){a("TSUnknownKeyword",e,t)},t.assertTSVoidKeyword=function(e,t={}){a("TSVoidKeyword",e,t)},t.assertTSThisType=function(e,t={}){a("TSThisType",e,t)},t.assertTSFunctionType=function(e,t={}){a("TSFunctionType",e,t)},t.assertTSConstructorType=function(e,t={}){a("TSConstructorType",e,t)},t.assertTSTypeReference=function(e,t={}){a("TSTypeReference",e,t)},t.assertTSTypePredicate=function(e,t={}){a("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t={}){a("TSTypeQuery",e,t)},t.assertTSTypeLiteral=function(e,t={}){a("TSTypeLiteral",e,t)},t.assertTSArrayType=function(e,t={}){a("TSArrayType",e,t)},t.assertTSTupleType=function(e,t={}){a("TSTupleType",e,t)},t.assertTSOptionalType=function(e,t={}){a("TSOptionalType",e,t)},t.assertTSRestType=function(e,t={}){a("TSRestType",e,t)},t.assertTSUnionType=function(e,t={}){a("TSUnionType",e,t)},t.assertTSIntersectionType=function(e,t={}){a("TSIntersectionType",e,t)},t.assertTSConditionalType=function(e,t={}){a("TSConditionalType",e,t)},t.assertTSInferType=function(e,t={}){a("TSInferType",e,t)},t.assertTSParenthesizedType=function(e,t={}){a("TSParenthesizedType",e,t)},t.assertTSTypeOperator=function(e,t={}){a("TSTypeOperator",e,t)},t.assertTSIndexedAccessType=function(e,t={}){a("TSIndexedAccessType",e,t)},t.assertTSMappedType=function(e,t={}){a("TSMappedType",e,t)},t.assertTSLiteralType=function(e,t={}){a("TSLiteralType",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t={}){a("TSExpressionWithTypeArguments",e,t)},t.assertTSInterfaceDeclaration=function(e,t={}){a("TSInterfaceDeclaration",e,t)},t.assertTSInterfaceBody=function(e,t={}){a("TSInterfaceBody",e,t)},t.assertTSTypeAliasDeclaration=function(e,t={}){a("TSTypeAliasDeclaration",e,t)},t.assertTSAsExpression=function(e,t={}){a("TSAsExpression",e,t)},t.assertTSTypeAssertion=function(e,t={}){a("TSTypeAssertion",e,t)},t.assertTSEnumDeclaration=function(e,t={}){a("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t={}){a("TSEnumMember",e,t)},t.assertTSModuleDeclaration=function(e,t={}){a("TSModuleDeclaration",e,t)},t.assertTSModuleBlock=function(e,t={}){a("TSModuleBlock",e,t)},t.assertTSImportType=function(e,t={}){a("TSImportType",e,t)},t.assertTSImportEqualsDeclaration=function(e,t={}){a("TSImportEqualsDeclaration",e,t)},t.assertTSExternalModuleReference=function(e,t={}){a("TSExternalModuleReference",e,t)},t.assertTSNonNullExpression=function(e,t={}){a("TSNonNullExpression",e,t)},t.assertTSExportAssignment=function(e,t={}){a("TSExportAssignment",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t={}){a("TSNamespaceExportDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t={}){a("TSTypeAnnotation",e,t)},t.assertTSTypeParameterInstantiation=function(e,t={}){a("TSTypeParameterInstantiation",e,t)},t.assertTSTypeParameterDeclaration=function(e,t={}){a("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameter=function(e,t={}){a("TSTypeParameter",e,t)},t.assertExpression=function(e,t={}){a("Expression",e,t)},t.assertBinary=function(e,t={}){a("Binary",e,t)},t.assertScopable=function(e,t={}){a("Scopable",e,t)},t.assertBlockParent=function(e,t={}){a("BlockParent",e,t)},t.assertBlock=function(e,t={}){a("Block",e,t)},t.assertStatement=function(e,t={}){a("Statement",e,t)},t.assertTerminatorless=function(e,t={}){a("Terminatorless",e,t)},t.assertCompletionStatement=function(e,t={}){a("CompletionStatement",e,t)},t.assertConditional=function(e,t={}){a("Conditional",e,t)},t.assertLoop=function(e,t={}){a("Loop",e,t)},t.assertWhile=function(e,t={}){a("While",e,t)},t.assertExpressionWrapper=function(e,t={}){a("ExpressionWrapper",e,t)},t.assertFor=function(e,t={}){a("For",e,t)},t.assertForXStatement=function(e,t={}){a("ForXStatement",e,t)},t.assertFunction=function(e,t={}){a("Function",e,t)},t.assertFunctionParent=function(e,t={}){a("FunctionParent",e,t)},t.assertPureish=function(e,t={}){a("Pureish",e,t)},t.assertDeclaration=function(e,t={}){a("Declaration",e,t)},t.assertPatternLike=function(e,t={}){a("PatternLike",e,t)},t.assertLVal=function(e,t={}){a("LVal",e,t)},t.assertTSEntityName=function(e,t={}){a("TSEntityName",e,t)},t.assertLiteral=function(e,t={}){a("Literal",e,t)},t.assertImmutable=function(e,t={}){a("Immutable",e,t)},t.assertUserWhitespacable=function(e,t={}){a("UserWhitespacable",e,t)},t.assertMethod=function(e,t={}){a("Method",e,t)},t.assertObjectMember=function(e,t={}){a("ObjectMember",e,t)},t.assertProperty=function(e,t={}){a("Property",e,t)},t.assertUnaryLike=function(e,t={}){a("UnaryLike",e,t)},t.assertPattern=function(e,t={}){a("Pattern",e,t)},t.assertClass=function(e,t={}){a("Class",e,t)},t.assertModuleDeclaration=function(e,t={}){a("ModuleDeclaration",e,t)},t.assertExportDeclaration=function(e,t={}){a("ExportDeclaration",e,t)},t.assertModuleSpecifier=function(e,t={}){a("ModuleSpecifier",e,t)},t.assertFlow=function(e,t={}){a("Flow",e,t)},t.assertFlowType=function(e,t={}){a("FlowType",e,t)},t.assertFlowBaseAnnotation=function(e,t={}){a("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t={}){a("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t={}){a("FlowPredicate",e,t)},t.assertJSX=function(e,t={}){a("JSX",e,t)},t.assertPrivate=function(e,t={}){a("Private",e,t)},t.assertTSTypeElement=function(e,t={}){a("TSTypeElement",e,t)},t.assertTSType=function(e,t={}){a("TSType",e,t)},t.assertNumberLiteral=function(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),a("NumberLiteral",e,t)},t.assertRegexLiteral=function(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),a("RegexLiteral",e,t)},t.assertRestProperty=function(e,t){console.trace("The node type RestProperty has been renamed to RestElement"),a("RestProperty",e,t)},t.assertSpreadProperty=function(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement"),a("SpreadProperty",e,t)};var n,i=(n=r(114))&&n.__esModule?n:{default:n};function a(e,t,r){if(!(0,i.default)(e,t,r))throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"===e)return(0,n.stringTypeAnnotation)();if("number"===e)return(0,n.numberTypeAnnotation)();if("undefined"===e)return(0,n.voidTypeAnnotation)();if("boolean"===e)return(0,n.booleanTypeAnnotation)();if("function"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));if("object"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));if("symbol"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));throw new Error("Invalid typeof value")};var n=r(20)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,a.default)(e);return 1===t.length?t[0]:(0,i.unionTypeAnnotation)(t)};var n,i=r(20),a=(n=r(206))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)};var n,i=(n=r(56))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,i.default)(e);return t.loc=null,t};var n,i=(n=r(207))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n){return(0,i.default)(e,t,[{type:n?"CommentLine":"CommentBlock",value:r}])};var n,i=(n=r(208))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.COMMENT_KEYS.forEach(t=>{e[t]=null}),e};var n=r(37)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(15);const i=n.FLIPPED_ALIAS_KEYS.Expression;t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS.Binary;t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS.Scopable;t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS.BlockParent;t.BLOCKPARENT_TYPES=o;const u=n.FLIPPED_ALIAS_KEYS.Block;t.BLOCK_TYPES=u;const l=n.FLIPPED_ALIAS_KEYS.Statement;t.STATEMENT_TYPES=l;const c=n.FLIPPED_ALIAS_KEYS.Terminatorless;t.TERMINATORLESS_TYPES=c;const p=n.FLIPPED_ALIAS_KEYS.CompletionStatement;t.COMPLETIONSTATEMENT_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS.Conditional;t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS.Loop;t.LOOP_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS.While;t.WHILE_TYPES=h;const y=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper;t.EXPRESSIONWRAPPER_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS.For;t.FOR_TYPES=m;const v=n.FLIPPED_ALIAS_KEYS.ForXStatement;t.FORXSTATEMENT_TYPES=v;const g=n.FLIPPED_ALIAS_KEYS.Function;t.FUNCTION_TYPES=g;const T=n.FLIPPED_ALIAS_KEYS.FunctionParent;t.FUNCTIONPARENT_TYPES=T;const E=n.FLIPPED_ALIAS_KEYS.Pureish;t.PUREISH_TYPES=E;const S=n.FLIPPED_ALIAS_KEYS.Declaration;t.DECLARATION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS.PatternLike;t.PATTERNLIKE_TYPES=b;const x=n.FLIPPED_ALIAS_KEYS.LVal;t.LVAL_TYPES=x;const D=n.FLIPPED_ALIAS_KEYS.TSEntityName;t.TSENTITYNAME_TYPES=D;const A=n.FLIPPED_ALIAS_KEYS.Literal;t.LITERAL_TYPES=A;const C=n.FLIPPED_ALIAS_KEYS.Immutable;t.IMMUTABLE_TYPES=C;const P=n.FLIPPED_ALIAS_KEYS.UserWhitespacable;t.USERWHITESPACABLE_TYPES=P;const w=n.FLIPPED_ALIAS_KEYS.Method;t.METHOD_TYPES=w;const _=n.FLIPPED_ALIAS_KEYS.ObjectMember;t.OBJECTMEMBER_TYPES=_;const O=n.FLIPPED_ALIAS_KEYS.Property;t.PROPERTY_TYPES=O;const F=n.FLIPPED_ALIAS_KEYS.UnaryLike;t.UNARYLIKE_TYPES=F;const N=n.FLIPPED_ALIAS_KEYS.Pattern;t.PATTERN_TYPES=N;const I=n.FLIPPED_ALIAS_KEYS.Class;t.CLASS_TYPES=I;const k=n.FLIPPED_ALIAS_KEYS.ModuleDeclaration;t.MODULEDECLARATION_TYPES=k;const L=n.FLIPPED_ALIAS_KEYS.ExportDeclaration;t.EXPORTDECLARATION_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier;t.MODULESPECIFIER_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS.Flow;t.FLOW_TYPES=B;const j=n.FLIPPED_ALIAS_KEYS.FlowType;t.FLOWTYPE_TYPES=j;const R=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;t.FLOWBASEANNOTATION_TYPES=R;const V=n.FLIPPED_ALIAS_KEYS.FlowDeclaration;t.FLOWDECLARATION_TYPES=V;const q=n.FLIPPED_ALIAS_KEYS.FlowPredicate;t.FLOWPREDICATE_TYPES=q;const U=n.FLIPPED_ALIAS_KEYS.JSX;t.JSX_TYPES=U;const K=n.FLIPPED_ALIAS_KEYS.Private;t.PRIVATE_TYPES=K;const X=n.FLIPPED_ALIAS_KEYS.TSTypeElement;t.TSTYPEELEMENT_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS.TSType;t.TSTYPE_TYPES=J},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="body"){return e[t]=(0,i.default)(e[t],e)};var n,i=(n=r(213))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"eval"!==(e=(0,i.default)(e))&&"arguments"!==e||(e="_"+e);return e};var n,i=(n=r(214))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=e.key||e.property){!e.computed&&(0,n.isIdentifier)(t)&&(t=(0,i.stringLiteral)(t.name));return t};var n=r(7),i=r(20)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.isExpressionStatement)(e)&&(e=e.expression);if((0,n.isExpression)(e))return e;(0,n.isClass)(e)?e.type="ClassExpression":(0,n.isFunction)(e)&&(e.type="FunctionExpression");if(!(0,n.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e};var n=r(7)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(7),i=s(r(56)),a=s(r(215));function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t=e.key){let r;return"method"===e.kind?o.increment()+"":(r=(0,n.isIdentifier)(t)?t.name:(0,n.isStringLiteral)(t)?JSON.stringify(t.value):JSON.stringify((0,a.default)((0,i.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r=`static:${r}`),r)}o.uid=0,o.increment=function(){return o.uid>=Number.MAX_SAFE_INTEGER?o.uid=0:o.uid++}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!e.length)return;const r=[],n=(0,i.default)(e,t,r);if(!n)return;for(const e of r)t.push(e);return n};var n,i=(n=r(440))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,o){const u=[];let l=!0;for(const c of t)if(l=!1,(0,i.isExpression)(c))u.push(c);else if((0,i.isExpressionStatement)(c))u.push(c.expression);else if((0,i.isVariableDeclaration)(c)){if("var"!==c.kind)return;for(const e of c.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t))o.push({kind:c.kind,id:(0,s.default)(t[e])});e.init&&u.push((0,a.assignmentExpression)("=",e.id,e.init))}l=!0}else if((0,i.isIfStatement)(c)){const t=c.consequent?e([c.consequent],r,o):r.buildUndefinedNode(),n=c.alternate?e([c.alternate],r,o):r.buildUndefinedNode();if(!t||!n)return;u.push((0,a.conditionalExpression)(c.test,t,n))}else if((0,i.isBlockStatement)(c)){const t=e(c.body,r,o);if(!t)return;u.push(t)}else{if(!(0,i.isEmptyStatement)(c))return;l=!0}l&&u.push(r.buildUndefinedNode());return 1===u.length?u[0]:(0,a.sequenceExpression)(u)};var n=o(r(78)),i=r(7),a=r(20),s=o(r(56));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isStatement)(e))return e;let r,a=!1;if((0,n.isClass)(e))a=!0,r="ClassDeclaration";else if((0,n.isFunction)(e))a=!0,r="FunctionDeclaration";else if((0,n.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);a&&!e.id&&(r=!1);if(!r){if(t)return!1;throw new Error(`cannot turn ${e.type} to a statement`)}return e.type=r,e};var n=r(7),i=r(20)},function(e,t,r){"use strict";function n(){const e=o(r(74));return n=function(){return e},e}function i(){const e=o(r(75));return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if(void 0===t)return(0,s.identifier)("undefined");if(!0===t||!1===t)return(0,s.booleanLiteral)(t);if(null===t)return(0,s.nullLiteral)();if("string"==typeof t)return(0,s.stringLiteral)(t);if("number"==typeof t){let e;if(Number.isFinite(t))e=(0,s.numericLiteral)(Math.abs(t));else{let r;r=Number.isNaN(t)?(0,s.numericLiteral)(0):(0,s.numericLiteral)(1),e=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,s.unaryExpression)("-",e)),e}if((0,i().default)(t)){const e=t.source,r=t.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,s.arrayExpression)(t.map(e));if((0,n().default)(t)){const r=[];for(const n of Object.keys(t)){let i;i=(0,a.default)(n)?(0,s.identifier)(n):(0,s.stringLiteral)(n),r.push((0,s.objectProperty)(i,e(t[n])))}return(0,s.objectExpression)(r)}throw new Error("don't know how to turn this value into a node")};var a=o(r(55)),s=r(20);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=!1){return e.object=(0,n.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e};var n=r(20)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!t)return e;for(const r of i.INHERIT_KEYS.optional)null==e[r]&&(e[r]=t[r]);for(const r of Object.keys(t))"_"===r[0]&&"__clone"!==r&&(e[r]=t[r]);for(const r of i.INHERIT_KEYS.force)e[r]=t[r];return(0,a.default)(e,t),e};var n,i=r(37),a=(n=r(211))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.object=(0,n.memberExpression)(t,e.object),e};var n=r(20)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e,t,!0)};var n,i=(n=r(78))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){"function"==typeof t&&(t={enter:t});const{enter:i,exit:a}=t;!function e(t,r,i,a,s){const o=n.VISITOR_KEYS[t.type];if(!o)return;r&&r(t,s,a);for(const n of o){const o=t[n];if(Array.isArray(o))for(let u=0;u<o.length;u++){const l=o[u];l&&(s.push({node:t,key:n,index:u}),e(l,r,i,a,s),s.pop())}else o&&(s.push({node:t,key:n}),e(o,r,i,a,s),s.pop())}i&&i(t,s,a)}(e,i,a,r,[])};var n=r(15)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(r&&"Identifier"===e.type&&"ObjectProperty"===t.type&&"ObjectExpression"===r.type)return!1;const n=i.default.keys[t.type];if(n)for(let r=0;r<n.length;r++){const i=n[r],a=t[i];if(Array.isArray(a)){if(a.indexOf(e)>=0)return!0}else if(a===e)return!0}return!1};var n,i=(n=r(78))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.isFunctionDeclaration)(e)||(0,i.isClassDeclaration)(e)||(0,a.default)(e)};var n,i=r(7),a=(n=r(218))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.default)(e.type,"Immutable"))return!0;if((0,a.isIdentifier)(e))return"undefined"===e.name;return!1};var n,i=(n=r(115))&&n.__esModule?n:{default:n},a=r(7)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){if("object"!=typeof t||"object"!=typeof r||null==t||null==r)return t===r;if(t.type!==r.type)return!1;const i=Object.keys(n.NODE_FIELDS[t.type]||t.type);const a=n.VISITOR_KEYS[t.type];for(const n of i){if(typeof t[n]!=typeof r[n])return!1;if(null!=t[n]||null!=r[n]){if(null==t[n]||null==r[n])return!1;if(Array.isArray(t[n])){if(!Array.isArray(r[n]))return!1;if(t[n].length!==r[n].length)return!1;for(let i=0;i<t[n].length;i++)if(!e(t[n][i],r[n][i]))return!1}else if("object"!=typeof t[n]||a&&a.includes(n)){if(!e(t[n],r[n]))return!1}else for(const e of Object.keys(t[n]))if(t[n][e]!==r[n][e])return!1}}return!0};var n=r(15)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"ExportSpecifier":return!t.source&&t.local===e;case"PrivateName":return!1;case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e?!!t.computed:t.value!==e||(!r||"ObjectPattern"!==r.type);case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"LabeledStatement":case"CatchClause":case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":return t.key!==e||!!t.computed}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isBlockStatement)(e)&&(0,n.isFunction)(t,{body:e}))return!1;if((0,n.isBlockStatement)(e)&&(0,n.isCatchClause)(t,{body:e}))return!1;return(0,n.isScopable)(e)};var n=r(7)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})};var n=r(7)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)&&!a.has(e)};var n,i=(n=r(55))&&n.__esModule?n:{default:n};const a=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]};var n=r(7),i=r(37)},function(e,t,r){var n=r(458),i=r(51),a=r(198),s=r(99),o=Object.prototype,u=o.hasOwnProperty,l=n((function(e,t){e=Object(e);var r=-1,n=t.length,l=n>2?t[2]:void 0;for(l&&a(t[0],t[1],l)&&(n=1);++r<n;)for(var c=t[r],p=s(c),f=-1,d=p.length;++f<d;){var h=p[f],y=e[h];(void 0===y||i(y,o[h])&&!u.call(e,h))&&(e[h]=c[h])}return e}));e.exports=l},function(e,t,r){var n=r(119),i=r(459),a=r(461);e.exports=function(e,t){return a(i(e,t,n),e+"")}},function(e,t,r){var n=r(460),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var a=arguments,s=-1,o=i(a.length-t,0),u=Array(o);++s<o;)u[s]=a[t+s];s=-1;for(var l=Array(t+1);++s<t;)l[s]=a[s];return l[t]=r(u),n(e,this,l)}}},function(e,t){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},function(e,t,r){var n=r(462),i=r(464)(n);e.exports=i},function(e,t,r){var n=r(463),i=r(167),a=r(119),s=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:a;e.exports=s},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var r=800,n=16,i=Date.now;e.exports=function(e){var t=0,a=0;return function(){var s=i(),o=n-(s-a);if(a=s,o>0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,r){"use strict";e.exports=r(466)},function(e){e.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return new s(e,t,r).generate()},t.CodeGenerator=void 0;var n=a(r(468)),i=a(r(476));function a(e){return e&&e.__esModule?e:{default:e}}class s extends i.default{constructor(e,t={},r){super(function(e,t){const r={auxiliaryCommentBefore:t.auxiliaryCommentBefore,auxiliaryCommentAfter:t.auxiliaryCommentAfter,shouldPrintComment:t.shouldPrintComment,retainLines:t.retainLines,retainFunctionParens:t.retainFunctionParens,comments:null==t.comments||t.comments,compact:t.compact,minified:t.minified,concise:t.concise,jsonCompatibleStrings:t.jsonCompatibleStrings,indent:{adjustMultilineComment:!0,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:!0},t.jsescOption)};r.minified?(r.compact=!0,r.shouldPrintComment=r.shouldPrintComment||(()=>r.comments)):r.shouldPrintComment=r.shouldPrintComment||(e=>r.comments||e.indexOf("@license")>=0||e.indexOf("@preserve")>=0);"auto"===r.compact&&(r.compact=e.length>5e5,r.compact&&console.error("[BABEL] Note: The code generator has deoptimised the styling of "+`${t.filename} as it exceeds the max of 500KB.`));r.compact&&(r.indent.adjustMultilineComment=!1);return r}(r,t),t.sourceMaps?new n.default(t,r):null),this.ast=e}generate(){return super.generate(this.ast)}}t.CodeGenerator=class{constructor(e,t,r){this._generator=new s(e,t,r)}generate(){return this._generator.generate()}}},function(e,t,r){"use strict";function n(){const e=(t=r(469))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(e,t){this._cachedMap=null,this._code=t,this._opts=e,this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new(n().default.SourceMapGenerator)({sourceRoot:this._opts.sourceRoot}),t=this._code;"string"==typeof t?e.setSourceContent(this._opts.sourceFileName,t):"object"==typeof t&&Object.keys(t).forEach(r=>{e.setSourceContent(r,t[r])}),this._rawMappings.forEach(e.addMapping,e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,i,a,s){this._lastGenLine!==e&&null===r||(s||this._lastGenLine!==e||this._lastSourceLine!==r||this._lastSourceColumn!==n)&&(this._cachedMap=null,this._lastGenLine=e,this._lastSourceLine=r,this._lastSourceColumn=n,this._rawMappings.push({name:i||void 0,generated:{line:e,column:t},source:null==r?void 0:a||this._opts.sourceFileName,original:null==r?void 0:{line:r,column:n}}))}}},function(e,t,r){t.SourceMapGenerator=r(219).SourceMapGenerator,t.SourceMapConsumer=r(472).SourceMapConsumer,t.SourceNode=r(475).SourceNode},function(e,t){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},function(e,t,r){var n=r(57);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,r,i,a,s,o;t=this._last,r=e,i=t.generatedLine,a=r.generatedLine,s=t.generatedColumn,o=r.generatedColumn,a>i||a==i&&o>=s||n.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=i},function(e,t,r){var n=r(57),i=r(473),a=r(221).ArraySet,s=r(220),o=r(474).quickSort;function u(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new p(t):new l(t)}function l(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=n.getArg(t,"version"),i=n.getArg(t,"sources"),s=n.getArg(t,"names",[]),o=n.getArg(t,"sourceRoot",null),u=n.getArg(t,"sourcesContent",null),l=n.getArg(t,"mappings"),c=n.getArg(t,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);i=i.map(String).map(n.normalize).map((function(e){return o&&n.isAbsolute(o)&&n.isAbsolute(e)?n.relative(o,e):e})),this._names=a.fromArray(s.map(String),!0),this._sources=a.fromArray(i,!0),this.sourceRoot=o,this.sourcesContent=u,this._mappings=l,this.file=c}function c(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function p(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=n.getArg(t,"version"),i=n.getArg(t,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new a,this._names=new a;var s={line:-1,column:0};this._sections=i.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=n.getArg(e,"offset"),r=n.getArg(t,"line"),i=n.getArg(t,"column");if(r<s.line||r===s.line&&i<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=t,{generatedOffset:{generatedLine:r+1,generatedColumn:i+1},consumer:new u(n.getArg(e,"map"))}}))}u.fromSourceMap=function(e){return l.fromSourceMap(e)},u.prototype._version=3,u.prototype.__generatedMappings=null,Object.defineProperty(u.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),u.prototype.__originalMappings=null,Object.defineProperty(u.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),u.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},u.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},u.GENERATED_ORDER=1,u.ORIGINAL_ORDER=2,u.GREATEST_LOWER_BOUND=1,u.LEAST_UPPER_BOUND=2,u.prototype.eachMapping=function(e,t,r){var i,a=t||null;switch(r||u.GENERATED_ORDER){case u.GENERATED_ORDER:i=this._generatedMappings;break;case u.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var s=this.sourceRoot;i.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=s&&(t=n.join(s,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,a)},u.prototype.allGeneratedPositionsFor=function(e){var t=n.getArg(e,"line"),r={source:n.getArg(e,"source"),originalLine:t,originalColumn:n.getArg(e,"column",0)};if(null!=this.sourceRoot&&(r.source=n.relative(this.sourceRoot,r.source)),!this._sources.has(r.source))return[];r.source=this._sources.indexOf(r.source);var a=[],s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(void 0===e.column)for(var u=o.originalLine;o&&o.originalLine===u;)a.push({line:n.getArg(o,"generatedLine",null),column:n.getArg(o,"generatedColumn",null),lastColumn:n.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var l=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==l;)a.push({line:n.getArg(o,"generatedLine",null),column:n.getArg(o,"generatedColumn",null),lastColumn:n.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return a},t.SourceMapConsumer=u,l.prototype=Object.create(u.prototype),l.prototype.consumer=u,l.fromSourceMap=function(e){var t=Object.create(l.prototype),r=t._names=a.fromArray(e._names.toArray(),!0),i=t._sources=a.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var s=e._mappings.toArray().slice(),u=t.__generatedMappings=[],p=t.__originalMappings=[],f=0,d=s.length;f<d;f++){var h=s[f],y=new c;y.generatedLine=h.generatedLine,y.generatedColumn=h.generatedColumn,h.source&&(y.source=i.indexOf(h.source),y.originalLine=h.originalLine,y.originalColumn=h.originalColumn,h.name&&(y.name=r.indexOf(h.name)),p.push(y)),u.push(y)}return o(t.__originalMappings,n.compareByOriginalPositions),t},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._sources.toArray().map((function(e){return null!=this.sourceRoot?n.join(this.sourceRoot,e):e}),this)}}),l.prototype._parseMappings=function(e,t){for(var r,i,a,u,l,p=1,f=0,d=0,h=0,y=0,m=0,v=e.length,g=0,T={},E={},S=[],b=[];g<v;)if(";"===e.charAt(g))p++,g++,f=0;else if(","===e.charAt(g))g++;else{for((r=new c).generatedLine=p,u=g;u<v&&!this._charIsMappingSeparator(e,u);u++);if(a=T[i=e.slice(g,u)])g+=i.length;else{for(a=[];g<u;)s.decode(e,g,E),l=E.value,g=E.rest,a.push(l);if(2===a.length)throw new Error("Found a source, but no line and column");if(3===a.length)throw new Error("Found a source and line, but no column");T[i]=a}r.generatedColumn=f+a[0],f=r.generatedColumn,a.length>1&&(r.source=y+a[1],y+=a[1],r.originalLine=d+a[2],d=r.originalLine,r.originalLine+=1,r.originalColumn=h+a[3],h=r.originalColumn,a.length>4&&(r.name=m+a[4],m+=a[4])),b.push(r),"number"==typeof r.originalLine&&S.push(r)}o(b,n.compareByGeneratedPositionsDeflated),this.__generatedMappings=b,o(S,n.compareByOriginalPositions),this.__originalMappings=S},l.prototype._findMapping=function(e,t,r,n,a,s){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return i.search(e,t,a,s)},l.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(e){var t={generatedLine:n.getArg(e,"line"),generatedColumn:n.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",n.compareByGeneratedPositionsDeflated,n.getArg(e,"bias",u.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var a=n.getArg(i,"source",null);null!==a&&(a=this._sources.at(a),null!=this.sourceRoot&&(a=n.join(this.sourceRoot,a)));var s=n.getArg(i,"name",null);return null!==s&&(s=this._names.at(s)),{source:a,line:n.getArg(i,"originalLine",null),column:n.getArg(i,"originalColumn",null),name:s}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},l.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=n.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var r;if(null!=this.sourceRoot&&(r=n.urlParse(this.sourceRoot))){var i=e.replace(/^file:\/\//,"");if("file"==r.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!r.path||"/"==r.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(e){var t=n.getArg(e,"source");if(null!=this.sourceRoot&&(t=n.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var r={source:t=this._sources.indexOf(t),originalLine:n.getArg(e,"line"),originalColumn:n.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,n.getArg(e,"bias",u.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:n.getArg(a,"generatedLine",null),column:n.getArg(a,"generatedColumn",null),lastColumn:n.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=l,p.prototype=Object.create(u.prototype),p.prototype.constructor=u,p.prototype._version=3,Object.defineProperty(p.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),p.prototype.originalPositionFor=function(e){var t={generatedLine:n.getArg(e,"line"),generatedColumn:n.getArg(e,"column")},r=i.search(t,this._sections,(function(e,t){var r=e.generatedLine-t.generatedOffset.generatedLine;return r||e.generatedColumn-t.generatedOffset.generatedColumn})),a=this._sections[r];return a?a.consumer.originalPositionFor({line:t.generatedLine-(a.generatedOffset.generatedLine-1),column:t.generatedColumn-(a.generatedOffset.generatedLine===t.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},p.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},p.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r].consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},p.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer.sources.indexOf(n.getArg(e,"source"))){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},p.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],a=i.consumer._generatedMappings,s=0;s<a.length;s++){var u=a[s],l=i.consumer._sources.at(u.source);null!==i.consumer.sourceRoot&&(l=n.join(i.consumer.sourceRoot,l)),this._sources.add(l),l=this._sources.indexOf(l);var c=i.consumer._names.at(u.name);this._names.add(c),c=this._names.indexOf(c);var p={source:l,generatedLine:u.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:u.generatedColumn+(i.generatedOffset.generatedLine===u.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:u.originalLine,originalColumn:u.originalColumn,name:c};this.__generatedMappings.push(p),"number"==typeof p.originalLine&&this.__originalMappings.push(p)}o(this.__generatedMappings,n.compareByGeneratedPositionsDeflated),o(this.__originalMappings,n.compareByOriginalPositions)},t.IndexedSourceMapConsumer=p},function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,n,i){if(0===r.length)return-1;var a=function e(r,n,i,a,s,o){var u=Math.floor((n-r)/2)+r,l=s(i,a[u],!0);return 0===l?u:l>0?n-u>1?e(u,n,i,a,s,o):o==t.LEAST_UPPER_BOUND?n<a.length?n:-1:u:u-r>1?e(r,u,i,a,s,o):o==t.LEAST_UPPER_BOUND?u:r<0?-1:r}(-1,r.length,e,r,n,i||t.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===n(r[a],r[a-1],!0);)--a;return a}},function(e,t){function r(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function n(e,t,i,a){if(i<a){var s=i-1;r(e,(c=i,p=a,Math.round(c+Math.random()*(p-c))),a);for(var o=e[a],u=i;u<a;u++)t(e[u],o)<=0&&r(e,s+=1,u);r(e,s+1,u);var l=s+1;n(e,t,i,l-1),n(e,t,l+1,a)}var c,p}t.quickSort=function(e,t){n(e,t,0,e.length-1)}},function(e,t,r){var n=r(219).SourceMapGenerator,i=r(57),a=/(\r?\n)/,s="$$$isSourceNode$$$";function o(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==i?null:i,this[s]=!0,null!=n&&this.add(n)}o.fromStringWithSourceMap=function(e,t,r){var n=new o,s=e.split(a),u=0,l=function(){return e()+(e()||"");function e(){return u<s.length?s[u++]:void 0}},c=1,p=0,f=null;return t.eachMapping((function(e){if(null!==f){if(!(c<e.generatedLine)){var t=(r=s[u]).substr(0,e.generatedColumn-p);return s[u]=r.substr(e.generatedColumn-p),p=e.generatedColumn,d(f,t),void(f=e)}d(f,l()),c++,p=0}for(;c<e.generatedLine;)n.add(l()),c++;if(p<e.generatedColumn){var r=s[u];n.add(r.substr(0,e.generatedColumn)),s[u]=r.substr(e.generatedColumn),p=e.generatedColumn}f=e}),this),u<s.length&&(f&&d(f,l()),n.add(s.splice(u).join(""))),t.sources.forEach((function(e){var a=t.sourceContentFor(e);null!=a&&(null!=r&&(e=i.join(r,e)),n.setSourceContent(e,a))})),n;function d(e,t){if(null===e||void 0===e.source)n.add(t);else{var a=r?i.join(r,e.source):e.source;n.add(new o(e.originalLine,e.originalColumn,a,t,e.name))}}},o.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},o.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[s]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},o.prototype.walk=function(e){for(var t,r=0,n=this.children.length;r<n;r++)(t=this.children[r])[s]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},o.prototype.join=function(e){var t,r,n=this.children.length;if(n>0){for(t=[],r=0;r<n-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},o.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[s]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},o.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},o.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][s]&&this.children[t].walkSourceContents(e);var n=Object.keys(this.sourceContents);for(t=0,r=n.length;t<r;t++)e(i.fromSetString(n[t]),this.sourceContents[n[t]])},o.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},o.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new n(e),i=!1,a=null,s=null,o=null,u=null;return this.walk((function(e,n){t.code+=e,null!==n.source&&null!==n.line&&null!==n.column?(a===n.source&&s===n.line&&o===n.column&&u===n.name||r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name}),a=n.source,s=n.line,o=n.column,u=n.name,i=!0):i&&(r.addMapping({generated:{line:t.line,column:t.column}}),a=null,i=!1);for(var l=0,c=e.length;l<c;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===c?(a=null,i=!1):i&&r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}},t.SourceNode=o},function(e,t,r){"use strict";function n(){const e=p(r(477));return n=function(){return e},e}function i(){const e=p(r(197));return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=p(r(478)),s=c(r(222));function o(){const e=c(r(21));return o=function(){return e},e}var u=c(r(523));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function c(e){if(e&&e.__esModule)return e;var t=l();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}}return r.default=e,t&&t.set(e,r),r}function p(e){return e&&e.__esModule?e:{default:e}}const f=/e/i,d=/\.0+$/,h=/^0[box]/;class y{constructor(e,t){this.inForStatementInitCounter=0,this._printStack=[],this._indent=0,this._insideAux=!1,this._printedCommentStarts={},this._parenPushNewlineState=null,this._noLineTerminator=!1,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new WeakSet,this._endsWithInteger=!1,this._endsWithWord=!1,this.format=e||{},this._buf=new a.default(t)}generate(e){return this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(e=!1){this._maybeAddAuxComment(),this._append(";",!e)}rightBrace(){this.format.minified&&this._buf.removeLastSemicolon(),this.token("}")}space(e=!1){this.format.compact||(this._buf.hasContent()&&!this.endsWith(" ")&&!this.endsWith("\n")||e)&&this._space()}word(e){(this._endsWithWord||this.endsWith("/")&&0===e.indexOf("/"))&&this._space(),this._maybeAddAuxComment(),this._append(e),this._endsWithWord=!0}number(e){this.word(e),this._endsWithInteger=(0,n().default)(+e)&&!h.test(e)&&!f.test(e)&&!d.test(e)&&"."!==e[e.length-1]}token(e){("--"===e&&this.endsWith("!")||"+"===e[0]&&this.endsWith("+")||"-"===e[0]&&this.endsWith("-")||"."===e[0]&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(e)}newline(e){if(!this.format.retainLines&&!this.format.compact)if(this.format.concise)this.space();else if(!(this.endsWith("\n\n")||("number"!=typeof e&&(e=1),e=Math.min(2,e),(this.endsWith("{\n")||this.endsWith(":\n"))&&e--,e<=0)))for(let t=0;t<e;t++)this._newline()}endsWith(e){return this._buf.endsWith(e)}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,t){this._catchUp("start",e),this._buf.exactSource(e,t)}source(e,t){this._catchUp(e,t),this._buf.source(e,t)}withSource(e,t,r){this._catchUp(e,t),this._buf.withSource(e,t,r)}_space(){this._append(" ",!0)}_newline(){this._append("\n",!0)}_append(e,t=!1){this._maybeAddParen(e),this._maybeIndent(e),t?this._buf.queue(e):this._buf.append(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&this.endsWith("\n")&&"\n"!==e[0]&&this._buf.queue(this._getIndent())}_maybeAddParen(e){const t=this._parenPushNewlineState;if(!t)return;let r;for(this._parenPushNewlineState=null,r=0;r<e.length&&" "===e[r];r++)continue;if(r===e.length)return;const n=e[r];if("\n"!==n){if("/"!==n)return;if(r+1===e.length)return;const t=e[r+1];if("/"!==t&&"*"!==t)return}this.token("("),this.indent(),t.printed=!0}_catchUp(e,t){if(!this.format.retainLines)return;const r=t?t[e]:null;if(r&&null!==r.line){const e=r.line-this._buf.getCurrentLine();for(let t=0;t<e;t++)this._newline()}}_getIndent(){return(0,i().default)(this.format.indent.style,this._indent)}startTerminatorless(e=!1){return e?(this._noLineTerminator=!0,null):this._parenPushNewlineState={printed:!1}}endTerminatorless(e){this._noLineTerminator=!1,e&&e.printed&&(this.dedent(),this.newline(),this.token(")"))}print(e,t){if(!e)return;const r=this.format.concise;e._compact&&(this.format.concise=!0);const n=this[e.type];if(!n)throw new ReferenceError(`unknown node of type ${JSON.stringify(e.type)} with constructor ${JSON.stringify(e&&e.constructor.name)}`);this._printStack.push(e);const i=this._insideAux;this._insideAux=!e.loc,this._maybeAddAuxComment(this._insideAux&&!i);let a=s.needsParens(e,t,this._printStack);this.format.retainFunctionParens&&"FunctionExpression"===e.type&&e.extra&&e.extra.parenthesized&&(a=!0),a&&this.token("("),this._printLeadingComments(e);const u=o().isProgram(e)||o().isFile(e)?null:e.loc;this.withSource("start",u,()=>{n.call(this,e,t)}),this._printTrailingComments(e),a&&this.token(")"),this._printStack.pop(),this.format.concise=r,this._insideAux=i}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;const e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e})}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;const e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e})}getPossibleRaw(e){const t=e.extra;if(t&&null!=t.raw&&null!=t.rawValue&&e.value===t.rawValue)return t.raw}printJoin(e,t,r={}){if(!e||!e.length)return;r.indent&&this.indent();const n={addNewlines:r.addNewlines};for(let i=0;i<e.length;i++){const a=e[i];a&&(r.statement&&this._printNewline(!0,a,t,n),this.print(a,t),r.iterator&&r.iterator(a,i),r.separator&&i<e.length-1&&r.separator.call(this),r.statement&&this._printNewline(!1,a,t,n))}r.indent&&this.dedent()}printAndIndentOnComments(e,t){const r=e.leadingComments&&e.leadingComments.length>0;r&&this.indent(),this.print(e,t),r&&this.dedent()}printBlock(e){const t=e.body;o().isEmptyStatement(t)||this.space(),this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(!1,e))}_printLeadingComments(e){this._printComments(this._getComments(!0,e))}printInnerComments(e,t=!0){e.innerComments&&e.innerComments.length&&(t&&this.indent(),this._printComments(e.innerComments),t&&this.dedent())}printSequence(e,t,r={}){return r.statement=!0,this.printJoin(e,t,r)}printList(e,t,r={}){return null==r.separator&&(r.separator=m),this.printJoin(e,t,r)}_printNewline(e,t,r,n){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space();let i=0;if(this._buf.hasContent()){e||i++,n.addNewlines&&(i+=n.addNewlines(e,t)||0),(e?s.needsWhitespaceBefore:s.needsWhitespaceAfter)(t,r)&&i++}this.newline(i)}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;if(this._printedComments.add(e),null!=e.start){if(this._printedCommentStarts[e.start])return;this._printedCommentStarts[e.start]=!0}const t="CommentBlock"===e.type;this.newline(this._buf.hasContent()&&!this._noLineTerminator&&t?1:0),this.endsWith("[")||this.endsWith("{")||this.space();let r=t||this._noLineTerminator?`/*${e.value}*/`:`//${e.value}\n`;if(t&&this.format.indent.adjustMultilineComment){const t=e.loc&&e.loc.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");r=r.replace(e,"\n")}const n=Math.max(this._getIndent().length,this._buf.getCurrentColumn());r=r.replace(/\n(?!$)/g,`\n${(0,i().default)(" ",n)}`)}this.endsWith("/")&&this._space(),this.withSource("start",e.loc,()=>{this._append(r)}),this.newline(t&&!this._noLineTerminator?1:0)}_printComments(e){if(e&&e.length)for(const t of e)this._printComment(t)}}function m(){this.token(","),this.space()}t.default=y,Object.assign(y.prototype,u)},function(e,t,r){var n=r(76);e.exports=function(e){return"number"==typeof e&&e==n(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=/^[ \t]+$/;t.default=class{constructor(e){this._map=null,this._buf=[],this._last="",this._queue=[],this._position={line:1,column:0},this._sourcePosition={identifierName:null,line:null,column:null,filename:null},this._disallowedPop=null,this._map=e}get(){this._flush();const e=this._map,t={code:this._buf.join("").trimRight(),map:null,rawMappings:e&&e.getRawMappings()};return e&&Object.defineProperty(t,"map",{configurable:!0,enumerable:!0,get(){return this.map=e.get()},set(e){Object.defineProperty(this,"map",{value:e,writable:!0})}}),t}append(e){this._flush();const{line:t,column:r,filename:n,identifierName:i,force:a}=this._sourcePosition;this._append(e,t,r,i,n,a)}queue(e){if("\n"===e)for(;this._queue.length>0&&n.test(this._queue[0][0]);)this._queue.shift();const{line:t,column:r,filename:i,identifierName:a,force:s}=this._sourcePosition;this._queue.unshift([e,t,r,a,i,s])}_flush(){let e;for(;e=this._queue.pop();)this._append(...e)}_append(e,t,r,n,i,a){this._map&&"\n"!==e[0]&&this._map.mark(this._position.line,this._position.column,t,r,n,i,a),this._buf.push(e),this._last=e[e.length-1];for(let t=0;t<e.length;t++)"\n"===e[t]?(this._position.line++,this._position.column=0):this._position.column++}removeTrailingNewline(){this._queue.length>0&&"\n"===this._queue[0][0]&&this._queue.shift()}removeLastSemicolon(){this._queue.length>0&&";"===this._queue[0][0]&&this._queue.shift()}endsWith(e){if(1===e.length){let t;if(this._queue.length>0){const e=this._queue[0][0];t=e[e.length-1]}else t=this._last;return t===e}const t=this._last+this._queue.reduce((e,t)=>t[0]+e,"");return e.length<=t.length&&t.slice(-e.length)===e}hasContent(){return this._queue.length>0||!!this._last}exactSource(e,t){this.source("start",e,!0),t(),this.source("end",e),this._disallowPop("start",e)}source(e,t,r){e&&!t||this._normalizePosition(e,t,this._sourcePosition,r)}withSource(e,t,r){if(!this._map)return r();const n=this._sourcePosition.line,i=this._sourcePosition.column,a=this._sourcePosition.filename,s=this._sourcePosition.identifierName;this.source(e,t),r(),this._sourcePosition.force&&this._sourcePosition.line===n&&this._sourcePosition.column===i&&this._sourcePosition.filename===a||this._disallowedPop&&this._disallowedPop.line===n&&this._disallowedPop.column===i&&this._disallowedPop.filename===a||(this._sourcePosition.line=n,this._sourcePosition.column=i,this._sourcePosition.filename=a,this._sourcePosition.identifierName=s,this._sourcePosition.force=!1,this._disallowedPop=null)}_disallowPop(e,t){e&&!t||(this._disallowedPop=this._normalizePosition(e,t))}_normalizePosition(e,t,r,n){const i=t?t[e]:null;void 0===r&&(r={identifierName:null,line:null,column:null,filename:null,force:!1});const a=r.line,s=r.column,o=r.filename;return r.identifierName="start"===e&&t&&t.identifierName||null,r.line=i?i.line:null,r.column=i?i.column:null,r.filename=t&&t.filename||null,(n||r.line!==a||r.column!==s||r.filename!==o)&&(r.force=n),r}getCurrentColumn(){const e=this._queue.reduce((e,t)=>t[0]+e,""),t=e.lastIndexOf("\n");return-1===t?this._position.column+e.length:e.length-1-t}getCurrentLine(){const e=this._queue.reduce((e,t)=>t[0]+e,"");let t=0;for(let r=0;r<e.length;r++)"\n"===e[r]&&t++;return this._position.line+t}}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t=i();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=n?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}}r.default=e,t&&t.set(e,r);return r}(r(21));return n=function(){return e},e}function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(e,t={}){return n().isMemberExpression(e)?(a(e.object,t),e.computed&&a(e.property,t)):n().isBinary(e)||n().isAssignmentExpression(e)?(a(e.left,t),a(e.right,t)):n().isCallExpression(e)?(t.hasCall=!0,a(e.callee,t)):n().isFunction(e)?t.hasFunction=!0:n().isIdentifier(e)&&(t.hasHelper=t.hasHelper||s(e.callee)),t}function s(e){return n().isMemberExpression(e)?s(e.object)||s(e.property):n().isIdentifier(e)?"require"===e.name||"_"===e.name[0]:n().isCallExpression(e)?s(e.callee):!(!n().isBinary(e)&&!n().isAssignmentExpression(e))&&(n().isIdentifier(e.left)&&s(e.left)||s(e.right))}function o(e){return n().isLiteral(e)||n().isObjectExpression(e)||n().isArrayExpression(e)||n().isIdentifier(e)||n().isMemberExpression(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.list=t.nodes=void 0;const u={AssignmentExpression(e){const t=a(e.right);if(t.hasCall&&t.hasHelper||t.hasFunction)return{before:t.hasFunction,after:!0}},SwitchCase:(e,t)=>({before:e.consequent.length||t.cases[0]===e,after:!e.consequent.length&&t.cases[t.cases.length-1]===e}),LogicalExpression(e){if(n().isFunction(e.left)||n().isFunction(e.right))return{after:!0}},Literal(e){if("use strict"===e.value)return{after:!0}},CallExpression(e){if(n().isFunction(e.callee)||s(e))return{before:!0,after:!0}},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const r=e.declarations[t];let n=s(r.id)&&!o(r.init);if(!n){const e=a(r.init);n=s(r.init)&&e.hasCall||e.hasFunction}if(n)return{before:!0,after:!0}}},IfStatement(e){if(n().isBlockStatement(e.consequent))return{before:!0,after:!0}}};t.nodes=u,u.ObjectProperty=u.ObjectTypeProperty=u.ObjectMethod=function(e,t){if(t.properties[0]===e)return{before:!0}},u.ObjectTypeCallProperty=function(e,t){if(!(t.callProperties[0]!==e||t.properties&&t.properties.length))return{before:!0}},u.ObjectTypeIndexer=function(e,t){if(!(t.indexers[0]!==e||t.properties&&t.properties.length||t.callProperties&&t.callProperties.length))return{before:!0}},u.ObjectTypeInternalSlot=function(e,t){if(!(t.internalSlots[0]!==e||t.properties&&t.properties.length||t.callProperties&&t.callProperties.length||t.indexers&&t.indexers.length))return{before:!0}};const l={VariableDeclaration:e=>e.declarations.map(e=>e.init),ArrayExpression:e=>e.elements,ObjectExpression:e=>e.properties};t.list=l,[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach((function([e,t]){"boolean"==typeof t&&(t={after:t,before:t}),[e].concat(n().FLIPPED_ALIAS_KEYS[e]||[]).forEach((function(e){u[e]=function(){return t}}))}))},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,((n=r(223))&&n.__esModule?n:{default:n}).default)("React.Component");t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e&&/^[a-z]/.test(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[];for(let r=0;r<e.children.length;r++){let n=e.children[r];(0,i.isJSXText)(n)?(0,a.default)(n,t):((0,i.isJSXExpressionContainer)(n)&&(n=n.expression),(0,i.isJSXEmptyExpression)(n)||t.push(n))}return t};var n,i=r(8),a=(n=r(483))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e<r.length;e++)r[e].match(/[^ \t]/)&&(i=e);let a="";for(let e=0;e<r.length;e++){const t=r[e],n=0===e,s=e===r.length-1,o=e===i;let u=t.replace(/\t/g," ");n||(u=u.replace(/^[ ]+/,"")),s||(u=u.replace(/[ ]+$/,"")),u&&(o||(u+=" "),a+=u)}a&&t.push((0,n.stringLiteral)(a))};var n=r(22)},function(e,t,r){"use strict";function n(){const e=s(r(50));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){const r=i.BUILDER_KEYS[e],s=t.length;if(s>r.length)throw new Error(`${e}: Too many arguments passed. Received ${s} but can receive no more than ${r.length}`);const o={type:e};let u=0;r.forEach(r=>{const a=i.NODE_FIELDS[e][r];let l;u<s&&(l=t[u]),void 0===l&&(l=(0,n().default)(a.default)),o[r]=l,u++});for(const e of Object.keys(o))(0,a.default)(o,e,o[e]);return o};var i=r(16),a=s(r(124));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(30));const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}}),(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),i("DeclareClass"),(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}}),i("DeclareInterface"),(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}}),(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}}),(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}}),(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}}),(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}}),(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]}),(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}}),(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]}),(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),i("InterfaceDeclaration"),(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}}),(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}}),(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:!1},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}}),(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}}),(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}}),(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}}),(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}}),(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(30));(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]}),(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}}),(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1,validate:(0,n.assertValueType)("boolean")},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]}),(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(30)),i=r(226);(0,n.default)("Noop",{visitor:[]}),(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}}),(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(30)),i=r(125);(0,n.default)("ArgumentPlaceholder",{}),(0,n.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:{}}),(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,n.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0}})}),(0,n.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,n.assertNodeType)("Expression")},property:{validate:function(){const e=(0,n.assertNodeType)("Identifier"),t=(0,n.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},computed:{default:!1},optional:{validate:(0,n.assertValueType)("boolean")}}}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,n.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")},arguments:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement","JSXNamespacedName")))},optional:{validate:(0,n.assertValueType)("boolean")},typeArguments:{validate:(0,n.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}}}),(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})}),(0,n.default)("Import",{aliases:["Expression"]}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(30)),i=r(121),a=r(125);const s=(0,n.assertValueType)("boolean"),o={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}}),(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,{},o)}),(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,{},o)}),(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const u={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")},l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:u};(0,n.default)("TSCallSignatureDeclaration",l),(0,n.default)("TSConstructSignatureDeclaration",l);const c={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(s),optional:(0,n.validateOptional)(s)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},c,{readonly:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})}),(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},u,{},c)}),(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(s),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p)(0,n.default)(e,{aliases:["TSType"],visitor:[],fields:{}});(0,n.default)("TSThisType",{aliases:["TSType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"],fields:u};(0,n.default)("TSFunctionType",f),(0,n.default)("TSConstructorType",f),(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateType)("TSTypeAnnotation")}}),(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}}),(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}}),(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}}),(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)("TSType")}}),(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});const d={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",d),(0,n.default)("TSIntersectionType",d),(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}}),(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}}),(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}}),(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(s),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)("TSType")}}),(0,n.default)("TSLiteralType",{aliases:["TSType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral"])}}),(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}}),(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}}),(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(s),const:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}}),(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}}),(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(s),global:(0,n.validateOptional)(s),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}}),(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(s),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}}),(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}}),(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}}),(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}}),(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}}),(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:!0},default:{validate:(0,n.assertNodeType)("TSType"),optional:!0}}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,i.default)(e)){const t=e&&e.type||JSON.stringify(e);throw new TypeError(`Not a valid node of type "${t}"`)}};var n,i=(n=r(227))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertArrayExpression=function(e,t={}){a("ArrayExpression",e,t)},t.assertAssignmentExpression=function(e,t={}){a("AssignmentExpression",e,t)},t.assertBinaryExpression=function(e,t={}){a("BinaryExpression",e,t)},t.assertInterpreterDirective=function(e,t={}){a("InterpreterDirective",e,t)},t.assertDirective=function(e,t={}){a("Directive",e,t)},t.assertDirectiveLiteral=function(e,t={}){a("DirectiveLiteral",e,t)},t.assertBlockStatement=function(e,t={}){a("BlockStatement",e,t)},t.assertBreakStatement=function(e,t={}){a("BreakStatement",e,t)},t.assertCallExpression=function(e,t={}){a("CallExpression",e,t)},t.assertCatchClause=function(e,t={}){a("CatchClause",e,t)},t.assertConditionalExpression=function(e,t={}){a("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t={}){a("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t={}){a("DebuggerStatement",e,t)},t.assertDoWhileStatement=function(e,t={}){a("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t={}){a("EmptyStatement",e,t)},t.assertExpressionStatement=function(e,t={}){a("ExpressionStatement",e,t)},t.assertFile=function(e,t={}){a("File",e,t)},t.assertForInStatement=function(e,t={}){a("ForInStatement",e,t)},t.assertForStatement=function(e,t={}){a("ForStatement",e,t)},t.assertFunctionDeclaration=function(e,t={}){a("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t={}){a("FunctionExpression",e,t)},t.assertIdentifier=function(e,t={}){a("Identifier",e,t)},t.assertIfStatement=function(e,t={}){a("IfStatement",e,t)},t.assertLabeledStatement=function(e,t={}){a("LabeledStatement",e,t)},t.assertStringLiteral=function(e,t={}){a("StringLiteral",e,t)},t.assertNumericLiteral=function(e,t={}){a("NumericLiteral",e,t)},t.assertNullLiteral=function(e,t={}){a("NullLiteral",e,t)},t.assertBooleanLiteral=function(e,t={}){a("BooleanLiteral",e,t)},t.assertRegExpLiteral=function(e,t={}){a("RegExpLiteral",e,t)},t.assertLogicalExpression=function(e,t={}){a("LogicalExpression",e,t)},t.assertMemberExpression=function(e,t={}){a("MemberExpression",e,t)},t.assertNewExpression=function(e,t={}){a("NewExpression",e,t)},t.assertProgram=function(e,t={}){a("Program",e,t)},t.assertObjectExpression=function(e,t={}){a("ObjectExpression",e,t)},t.assertObjectMethod=function(e,t={}){a("ObjectMethod",e,t)},t.assertObjectProperty=function(e,t={}){a("ObjectProperty",e,t)},t.assertRestElement=function(e,t={}){a("RestElement",e,t)},t.assertReturnStatement=function(e,t={}){a("ReturnStatement",e,t)},t.assertSequenceExpression=function(e,t={}){a("SequenceExpression",e,t)},t.assertParenthesizedExpression=function(e,t={}){a("ParenthesizedExpression",e,t)},t.assertSwitchCase=function(e,t={}){a("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t={}){a("SwitchStatement",e,t)},t.assertThisExpression=function(e,t={}){a("ThisExpression",e,t)},t.assertThrowStatement=function(e,t={}){a("ThrowStatement",e,t)},t.assertTryStatement=function(e,t={}){a("TryStatement",e,t)},t.assertUnaryExpression=function(e,t={}){a("UnaryExpression",e,t)},t.assertUpdateExpression=function(e,t={}){a("UpdateExpression",e,t)},t.assertVariableDeclaration=function(e,t={}){a("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t={}){a("VariableDeclarator",e,t)},t.assertWhileStatement=function(e,t={}){a("WhileStatement",e,t)},t.assertWithStatement=function(e,t={}){a("WithStatement",e,t)},t.assertAssignmentPattern=function(e,t={}){a("AssignmentPattern",e,t)},t.assertArrayPattern=function(e,t={}){a("ArrayPattern",e,t)},t.assertArrowFunctionExpression=function(e,t={}){a("ArrowFunctionExpression",e,t)},t.assertClassBody=function(e,t={}){a("ClassBody",e,t)},t.assertClassDeclaration=function(e,t={}){a("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t={}){a("ClassExpression",e,t)},t.assertExportAllDeclaration=function(e,t={}){a("ExportAllDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t={}){a("ExportDefaultDeclaration",e,t)},t.assertExportNamedDeclaration=function(e,t={}){a("ExportNamedDeclaration",e,t)},t.assertExportSpecifier=function(e,t={}){a("ExportSpecifier",e,t)},t.assertForOfStatement=function(e,t={}){a("ForOfStatement",e,t)},t.assertImportDeclaration=function(e,t={}){a("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t={}){a("ImportDefaultSpecifier",e,t)},t.assertImportNamespaceSpecifier=function(e,t={}){a("ImportNamespaceSpecifier",e,t)},t.assertImportSpecifier=function(e,t={}){a("ImportSpecifier",e,t)},t.assertMetaProperty=function(e,t={}){a("MetaProperty",e,t)},t.assertClassMethod=function(e,t={}){a("ClassMethod",e,t)},t.assertObjectPattern=function(e,t={}){a("ObjectPattern",e,t)},t.assertSpreadElement=function(e,t={}){a("SpreadElement",e,t)},t.assertSuper=function(e,t={}){a("Super",e,t)},t.assertTaggedTemplateExpression=function(e,t={}){a("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t={}){a("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t={}){a("TemplateLiteral",e,t)},t.assertYieldExpression=function(e,t={}){a("YieldExpression",e,t)},t.assertAnyTypeAnnotation=function(e,t={}){a("AnyTypeAnnotation",e,t)},t.assertArrayTypeAnnotation=function(e,t={}){a("ArrayTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t={}){a("BooleanTypeAnnotation",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t={}){a("BooleanLiteralTypeAnnotation",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t={}){a("NullLiteralTypeAnnotation",e,t)},t.assertClassImplements=function(e,t={}){a("ClassImplements",e,t)},t.assertDeclareClass=function(e,t={}){a("DeclareClass",e,t)},t.assertDeclareFunction=function(e,t={}){a("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t={}){a("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t={}){a("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t={}){a("DeclareModuleExports",e,t)},t.assertDeclareTypeAlias=function(e,t={}){a("DeclareTypeAlias",e,t)},t.assertDeclareOpaqueType=function(e,t={}){a("DeclareOpaqueType",e,t)},t.assertDeclareVariable=function(e,t={}){a("DeclareVariable",e,t)},t.assertDeclareExportDeclaration=function(e,t={}){a("DeclareExportDeclaration",e,t)},t.assertDeclareExportAllDeclaration=function(e,t={}){a("DeclareExportAllDeclaration",e,t)},t.assertDeclaredPredicate=function(e,t={}){a("DeclaredPredicate",e,t)},t.assertExistsTypeAnnotation=function(e,t={}){a("ExistsTypeAnnotation",e,t)},t.assertFunctionTypeAnnotation=function(e,t={}){a("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t={}){a("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t={}){a("GenericTypeAnnotation",e,t)},t.assertInferredPredicate=function(e,t={}){a("InferredPredicate",e,t)},t.assertInterfaceExtends=function(e,t={}){a("InterfaceExtends",e,t)},t.assertInterfaceDeclaration=function(e,t={}){a("InterfaceDeclaration",e,t)},t.assertInterfaceTypeAnnotation=function(e,t={}){a("InterfaceTypeAnnotation",e,t)},t.assertIntersectionTypeAnnotation=function(e,t={}){a("IntersectionTypeAnnotation",e,t)},t.assertMixedTypeAnnotation=function(e,t={}){a("MixedTypeAnnotation",e,t)},t.assertEmptyTypeAnnotation=function(e,t={}){a("EmptyTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t={}){a("NullableTypeAnnotation",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t={}){a("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t={}){a("NumberTypeAnnotation",e,t)},t.assertObjectTypeAnnotation=function(e,t={}){a("ObjectTypeAnnotation",e,t)},t.assertObjectTypeInternalSlot=function(e,t={}){a("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeCallProperty=function(e,t={}){a("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t={}){a("ObjectTypeIndexer",e,t)},t.assertObjectTypeProperty=function(e,t={}){a("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t={}){a("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t={}){a("OpaqueType",e,t)},t.assertQualifiedTypeIdentifier=function(e,t={}){a("QualifiedTypeIdentifier",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t={}){a("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t={}){a("StringTypeAnnotation",e,t)},t.assertThisTypeAnnotation=function(e,t={}){a("ThisTypeAnnotation",e,t)},t.assertTupleTypeAnnotation=function(e,t={}){a("TupleTypeAnnotation",e,t)},t.assertTypeofTypeAnnotation=function(e,t={}){a("TypeofTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t={}){a("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t={}){a("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t={}){a("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t={}){a("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t={}){a("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t={}){a("TypeParameterInstantiation",e,t)},t.assertUnionTypeAnnotation=function(e,t={}){a("UnionTypeAnnotation",e,t)},t.assertVariance=function(e,t={}){a("Variance",e,t)},t.assertVoidTypeAnnotation=function(e,t={}){a("VoidTypeAnnotation",e,t)},t.assertJSXAttribute=function(e,t={}){a("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t={}){a("JSXClosingElement",e,t)},t.assertJSXElement=function(e,t={}){a("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t={}){a("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t={}){a("JSXExpressionContainer",e,t)},t.assertJSXSpreadChild=function(e,t={}){a("JSXSpreadChild",e,t)},t.assertJSXIdentifier=function(e,t={}){a("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t={}){a("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t={}){a("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t={}){a("JSXOpeningElement",e,t)},t.assertJSXSpreadAttribute=function(e,t={}){a("JSXSpreadAttribute",e,t)},t.assertJSXText=function(e,t={}){a("JSXText",e,t)},t.assertJSXFragment=function(e,t={}){a("JSXFragment",e,t)},t.assertJSXOpeningFragment=function(e,t={}){a("JSXOpeningFragment",e,t)},t.assertJSXClosingFragment=function(e,t={}){a("JSXClosingFragment",e,t)},t.assertNoop=function(e,t={}){a("Noop",e,t)},t.assertPlaceholder=function(e,t={}){a("Placeholder",e,t)},t.assertV8IntrinsicIdentifier=function(e,t={}){a("V8IntrinsicIdentifier",e,t)},t.assertArgumentPlaceholder=function(e,t={}){a("ArgumentPlaceholder",e,t)},t.assertAwaitExpression=function(e,t={}){a("AwaitExpression",e,t)},t.assertBindExpression=function(e,t={}){a("BindExpression",e,t)},t.assertClassProperty=function(e,t={}){a("ClassProperty",e,t)},t.assertOptionalMemberExpression=function(e,t={}){a("OptionalMemberExpression",e,t)},t.assertPipelineTopicExpression=function(e,t={}){a("PipelineTopicExpression",e,t)},t.assertPipelineBareFunction=function(e,t={}){a("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t={}){a("PipelinePrimaryTopicReference",e,t)},t.assertOptionalCallExpression=function(e,t={}){a("OptionalCallExpression",e,t)},t.assertClassPrivateProperty=function(e,t={}){a("ClassPrivateProperty",e,t)},t.assertClassPrivateMethod=function(e,t={}){a("ClassPrivateMethod",e,t)},t.assertImport=function(e,t={}){a("Import",e,t)},t.assertDecorator=function(e,t={}){a("Decorator",e,t)},t.assertDoExpression=function(e,t={}){a("DoExpression",e,t)},t.assertExportDefaultSpecifier=function(e,t={}){a("ExportDefaultSpecifier",e,t)},t.assertExportNamespaceSpecifier=function(e,t={}){a("ExportNamespaceSpecifier",e,t)},t.assertPrivateName=function(e,t={}){a("PrivateName",e,t)},t.assertBigIntLiteral=function(e,t={}){a("BigIntLiteral",e,t)},t.assertTSParameterProperty=function(e,t={}){a("TSParameterProperty",e,t)},t.assertTSDeclareFunction=function(e,t={}){a("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t={}){a("TSDeclareMethod",e,t)},t.assertTSQualifiedName=function(e,t={}){a("TSQualifiedName",e,t)},t.assertTSCallSignatureDeclaration=function(e,t={}){a("TSCallSignatureDeclaration",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t={}){a("TSConstructSignatureDeclaration",e,t)},t.assertTSPropertySignature=function(e,t={}){a("TSPropertySignature",e,t)},t.assertTSMethodSignature=function(e,t={}){a("TSMethodSignature",e,t)},t.assertTSIndexSignature=function(e,t={}){a("TSIndexSignature",e,t)},t.assertTSAnyKeyword=function(e,t={}){a("TSAnyKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t={}){a("TSBooleanKeyword",e,t)},t.assertTSBigIntKeyword=function(e,t={}){a("TSBigIntKeyword",e,t)},t.assertTSNeverKeyword=function(e,t={}){a("TSNeverKeyword",e,t)},t.assertTSNullKeyword=function(e,t={}){a("TSNullKeyword",e,t)},t.assertTSNumberKeyword=function(e,t={}){a("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t={}){a("TSObjectKeyword",e,t)},t.assertTSStringKeyword=function(e,t={}){a("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t={}){a("TSSymbolKeyword",e,t)},t.assertTSUndefinedKeyword=function(e,t={}){a("TSUndefinedKeyword",e,t)},t.assertTSUnknownKeyword=function(e,t={}){a("TSUnknownKeyword",e,t)},t.assertTSVoidKeyword=function(e,t={}){a("TSVoidKeyword",e,t)},t.assertTSThisType=function(e,t={}){a("TSThisType",e,t)},t.assertTSFunctionType=function(e,t={}){a("TSFunctionType",e,t)},t.assertTSConstructorType=function(e,t={}){a("TSConstructorType",e,t)},t.assertTSTypeReference=function(e,t={}){a("TSTypeReference",e,t)},t.assertTSTypePredicate=function(e,t={}){a("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t={}){a("TSTypeQuery",e,t)},t.assertTSTypeLiteral=function(e,t={}){a("TSTypeLiteral",e,t)},t.assertTSArrayType=function(e,t={}){a("TSArrayType",e,t)},t.assertTSTupleType=function(e,t={}){a("TSTupleType",e,t)},t.assertTSOptionalType=function(e,t={}){a("TSOptionalType",e,t)},t.assertTSRestType=function(e,t={}){a("TSRestType",e,t)},t.assertTSUnionType=function(e,t={}){a("TSUnionType",e,t)},t.assertTSIntersectionType=function(e,t={}){a("TSIntersectionType",e,t)},t.assertTSConditionalType=function(e,t={}){a("TSConditionalType",e,t)},t.assertTSInferType=function(e,t={}){a("TSInferType",e,t)},t.assertTSParenthesizedType=function(e,t={}){a("TSParenthesizedType",e,t)},t.assertTSTypeOperator=function(e,t={}){a("TSTypeOperator",e,t)},t.assertTSIndexedAccessType=function(e,t={}){a("TSIndexedAccessType",e,t)},t.assertTSMappedType=function(e,t={}){a("TSMappedType",e,t)},t.assertTSLiteralType=function(e,t={}){a("TSLiteralType",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t={}){a("TSExpressionWithTypeArguments",e,t)},t.assertTSInterfaceDeclaration=function(e,t={}){a("TSInterfaceDeclaration",e,t)},t.assertTSInterfaceBody=function(e,t={}){a("TSInterfaceBody",e,t)},t.assertTSTypeAliasDeclaration=function(e,t={}){a("TSTypeAliasDeclaration",e,t)},t.assertTSAsExpression=function(e,t={}){a("TSAsExpression",e,t)},t.assertTSTypeAssertion=function(e,t={}){a("TSTypeAssertion",e,t)},t.assertTSEnumDeclaration=function(e,t={}){a("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t={}){a("TSEnumMember",e,t)},t.assertTSModuleDeclaration=function(e,t={}){a("TSModuleDeclaration",e,t)},t.assertTSModuleBlock=function(e,t={}){a("TSModuleBlock",e,t)},t.assertTSImportType=function(e,t={}){a("TSImportType",e,t)},t.assertTSImportEqualsDeclaration=function(e,t={}){a("TSImportEqualsDeclaration",e,t)},t.assertTSExternalModuleReference=function(e,t={}){a("TSExternalModuleReference",e,t)},t.assertTSNonNullExpression=function(e,t={}){a("TSNonNullExpression",e,t)},t.assertTSExportAssignment=function(e,t={}){a("TSExportAssignment",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t={}){a("TSNamespaceExportDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t={}){a("TSTypeAnnotation",e,t)},t.assertTSTypeParameterInstantiation=function(e,t={}){a("TSTypeParameterInstantiation",e,t)},t.assertTSTypeParameterDeclaration=function(e,t={}){a("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameter=function(e,t={}){a("TSTypeParameter",e,t)},t.assertExpression=function(e,t={}){a("Expression",e,t)},t.assertBinary=function(e,t={}){a("Binary",e,t)},t.assertScopable=function(e,t={}){a("Scopable",e,t)},t.assertBlockParent=function(e,t={}){a("BlockParent",e,t)},t.assertBlock=function(e,t={}){a("Block",e,t)},t.assertStatement=function(e,t={}){a("Statement",e,t)},t.assertTerminatorless=function(e,t={}){a("Terminatorless",e,t)},t.assertCompletionStatement=function(e,t={}){a("CompletionStatement",e,t)},t.assertConditional=function(e,t={}){a("Conditional",e,t)},t.assertLoop=function(e,t={}){a("Loop",e,t)},t.assertWhile=function(e,t={}){a("While",e,t)},t.assertExpressionWrapper=function(e,t={}){a("ExpressionWrapper",e,t)},t.assertFor=function(e,t={}){a("For",e,t)},t.assertForXStatement=function(e,t={}){a("ForXStatement",e,t)},t.assertFunction=function(e,t={}){a("Function",e,t)},t.assertFunctionParent=function(e,t={}){a("FunctionParent",e,t)},t.assertPureish=function(e,t={}){a("Pureish",e,t)},t.assertDeclaration=function(e,t={}){a("Declaration",e,t)},t.assertPatternLike=function(e,t={}){a("PatternLike",e,t)},t.assertLVal=function(e,t={}){a("LVal",e,t)},t.assertTSEntityName=function(e,t={}){a("TSEntityName",e,t)},t.assertLiteral=function(e,t={}){a("Literal",e,t)},t.assertImmutable=function(e,t={}){a("Immutable",e,t)},t.assertUserWhitespacable=function(e,t={}){a("UserWhitespacable",e,t)},t.assertMethod=function(e,t={}){a("Method",e,t)},t.assertObjectMember=function(e,t={}){a("ObjectMember",e,t)},t.assertProperty=function(e,t={}){a("Property",e,t)},t.assertUnaryLike=function(e,t={}){a("UnaryLike",e,t)},t.assertPattern=function(e,t={}){a("Pattern",e,t)},t.assertClass=function(e,t={}){a("Class",e,t)},t.assertModuleDeclaration=function(e,t={}){a("ModuleDeclaration",e,t)},t.assertExportDeclaration=function(e,t={}){a("ExportDeclaration",e,t)},t.assertModuleSpecifier=function(e,t={}){a("ModuleSpecifier",e,t)},t.assertFlow=function(e,t={}){a("Flow",e,t)},t.assertFlowType=function(e,t={}){a("FlowType",e,t)},t.assertFlowBaseAnnotation=function(e,t={}){a("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t={}){a("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t={}){a("FlowPredicate",e,t)},t.assertJSX=function(e,t={}){a("JSX",e,t)},t.assertPrivate=function(e,t={}){a("Private",e,t)},t.assertTSTypeElement=function(e,t={}){a("TSTypeElement",e,t)},t.assertTSType=function(e,t={}){a("TSType",e,t)},t.assertNumberLiteral=function(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),a("NumberLiteral",e,t)},t.assertRegexLiteral=function(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),a("RegexLiteral",e,t)},t.assertRestProperty=function(e,t){console.trace("The node type RestProperty has been renamed to RestElement"),a("RestProperty",e,t)},t.assertSpreadProperty=function(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement"),a("SpreadProperty",e,t)};var n,i=(n=r(122))&&n.__esModule?n:{default:n};function a(e,t,r){if(!(0,i.default)(e,t,r))throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"===e)return(0,n.stringTypeAnnotation)();if("number"===e)return(0,n.numberTypeAnnotation)();if("undefined"===e)return(0,n.voidTypeAnnotation)();if("boolean"===e)return(0,n.booleanTypeAnnotation)();if("function"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));if("object"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));if("symbol"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));throw new Error("Invalid typeof value")};var n=r(22)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,a.default)(e);return 1===t.length?t[0]:(0,i.unionTypeAnnotation)(t)};var n,i=r(22),a=(n=r(228))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)};var n,i=(n=r(59))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,i.default)(e);return t.loc=null,t};var n,i=(n=r(229))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n){return(0,i.default)(e,t,[{type:n?"CommentLine":"CommentBlock",value:r}])};var n,i=(n=r(230))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.COMMENT_KEYS.forEach(t=>{e[t]=null}),e};var n=r(38)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(16);const i=n.FLIPPED_ALIAS_KEYS.Expression;t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS.Binary;t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS.Scopable;t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS.BlockParent;t.BLOCKPARENT_TYPES=o;const u=n.FLIPPED_ALIAS_KEYS.Block;t.BLOCK_TYPES=u;const l=n.FLIPPED_ALIAS_KEYS.Statement;t.STATEMENT_TYPES=l;const c=n.FLIPPED_ALIAS_KEYS.Terminatorless;t.TERMINATORLESS_TYPES=c;const p=n.FLIPPED_ALIAS_KEYS.CompletionStatement;t.COMPLETIONSTATEMENT_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS.Conditional;t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS.Loop;t.LOOP_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS.While;t.WHILE_TYPES=h;const y=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper;t.EXPRESSIONWRAPPER_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS.For;t.FOR_TYPES=m;const v=n.FLIPPED_ALIAS_KEYS.ForXStatement;t.FORXSTATEMENT_TYPES=v;const g=n.FLIPPED_ALIAS_KEYS.Function;t.FUNCTION_TYPES=g;const T=n.FLIPPED_ALIAS_KEYS.FunctionParent;t.FUNCTIONPARENT_TYPES=T;const E=n.FLIPPED_ALIAS_KEYS.Pureish;t.PUREISH_TYPES=E;const S=n.FLIPPED_ALIAS_KEYS.Declaration;t.DECLARATION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS.PatternLike;t.PATTERNLIKE_TYPES=b;const x=n.FLIPPED_ALIAS_KEYS.LVal;t.LVAL_TYPES=x;const D=n.FLIPPED_ALIAS_KEYS.TSEntityName;t.TSENTITYNAME_TYPES=D;const A=n.FLIPPED_ALIAS_KEYS.Literal;t.LITERAL_TYPES=A;const C=n.FLIPPED_ALIAS_KEYS.Immutable;t.IMMUTABLE_TYPES=C;const P=n.FLIPPED_ALIAS_KEYS.UserWhitespacable;t.USERWHITESPACABLE_TYPES=P;const w=n.FLIPPED_ALIAS_KEYS.Method;t.METHOD_TYPES=w;const _=n.FLIPPED_ALIAS_KEYS.ObjectMember;t.OBJECTMEMBER_TYPES=_;const O=n.FLIPPED_ALIAS_KEYS.Property;t.PROPERTY_TYPES=O;const F=n.FLIPPED_ALIAS_KEYS.UnaryLike;t.UNARYLIKE_TYPES=F;const N=n.FLIPPED_ALIAS_KEYS.Pattern;t.PATTERN_TYPES=N;const I=n.FLIPPED_ALIAS_KEYS.Class;t.CLASS_TYPES=I;const k=n.FLIPPED_ALIAS_KEYS.ModuleDeclaration;t.MODULEDECLARATION_TYPES=k;const L=n.FLIPPED_ALIAS_KEYS.ExportDeclaration;t.EXPORTDECLARATION_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier;t.MODULESPECIFIER_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS.Flow;t.FLOW_TYPES=B;const j=n.FLIPPED_ALIAS_KEYS.FlowType;t.FLOWTYPE_TYPES=j;const R=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;t.FLOWBASEANNOTATION_TYPES=R;const V=n.FLIPPED_ALIAS_KEYS.FlowDeclaration;t.FLOWDECLARATION_TYPES=V;const q=n.FLIPPED_ALIAS_KEYS.FlowPredicate;t.FLOWPREDICATE_TYPES=q;const U=n.FLIPPED_ALIAS_KEYS.JSX;t.JSX_TYPES=U;const K=n.FLIPPED_ALIAS_KEYS.Private;t.PRIVATE_TYPES=K;const X=n.FLIPPED_ALIAS_KEYS.TSTypeElement;t.TSTYPEELEMENT_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS.TSType;t.TSTYPE_TYPES=J},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="body"){return e[t]=(0,i.default)(e[t],e)};var n,i=(n=r(235))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"eval"!==(e=(0,i.default)(e))&&"arguments"!==e||(e="_"+e);return e};var n,i=(n=r(236))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=e.key||e.property){!e.computed&&(0,n.isIdentifier)(t)&&(t=(0,i.stringLiteral)(t.name));return t};var n=r(8),i=r(22)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.isExpressionStatement)(e)&&(e=e.expression);if((0,n.isExpression)(e))return e;(0,n.isClass)(e)?e.type="ClassExpression":(0,n.isFunction)(e)&&(e.type="FunctionExpression");if(!(0,n.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e};var n=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(8),i=s(r(59)),a=s(r(237));function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t=e.key){let r;return"method"===e.kind?o.increment()+"":(r=(0,n.isIdentifier)(t)?t.name:(0,n.isStringLiteral)(t)?JSON.stringify(t.value):JSON.stringify((0,a.default)((0,i.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r=`static:${r}`),r)}o.uid=0,o.increment=function(){return o.uid>=Number.MAX_SAFE_INTEGER?o.uid=0:o.uid++}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!e.length)return;const r=[],n=(0,i.default)(e,t,r);if(!n)return;for(const e of r)t.push(e);return n};var n,i=(n=r(505))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,o){const u=[];let l=!0;for(const c of t)if(l=!1,(0,i.isExpression)(c))u.push(c);else if((0,i.isExpressionStatement)(c))u.push(c.expression);else if((0,i.isVariableDeclaration)(c)){if("var"!==c.kind)return;for(const e of c.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t))o.push({kind:c.kind,id:(0,s.default)(t[e])});e.init&&u.push((0,a.assignmentExpression)("=",e.id,e.init))}l=!0}else if((0,i.isIfStatement)(c)){const t=c.consequent?e([c.consequent],r,o):r.buildUndefinedNode(),n=c.alternate?e([c.alternate],r,o):r.buildUndefinedNode();if(!t||!n)return;u.push((0,a.conditionalExpression)(c.test,t,n))}else if((0,i.isBlockStatement)(c)){const t=e(c.body,r,o);if(!t)return;u.push(t)}else{if(!(0,i.isEmptyStatement)(c))return;l=!0}l&&u.push(r.buildUndefinedNode());return 1===u.length?u[0]:(0,a.sequenceExpression)(u)};var n=o(r(80)),i=r(8),a=r(22),s=o(r(59));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isStatement)(e))return e;let r,a=!1;if((0,n.isClass)(e))a=!0,r="ClassDeclaration";else if((0,n.isFunction)(e))a=!0,r="FunctionDeclaration";else if((0,n.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);a&&!e.id&&(r=!1);if(!r){if(t)return!1;throw new Error(`cannot turn ${e.type} to a statement`)}return e.type=r,e};var n=r(8),i=r(22)},function(e,t,r){"use strict";function n(){const e=o(r(74));return n=function(){return e},e}function i(){const e=o(r(75));return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if(void 0===t)return(0,s.identifier)("undefined");if(!0===t||!1===t)return(0,s.booleanLiteral)(t);if(null===t)return(0,s.nullLiteral)();if("string"==typeof t)return(0,s.stringLiteral)(t);if("number"==typeof t){let e;if(Number.isFinite(t))e=(0,s.numericLiteral)(Math.abs(t));else{let r;r=Number.isNaN(t)?(0,s.numericLiteral)(0):(0,s.numericLiteral)(1),e=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,s.unaryExpression)("-",e)),e}if((0,i().default)(t)){const e=t.source,r=t.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,s.arrayExpression)(t.map(e));if((0,n().default)(t)){const r=[];for(const n of Object.keys(t)){let i;i=(0,a.default)(n)?(0,s.identifier)(n):(0,s.stringLiteral)(n),r.push((0,s.objectProperty)(i,e(t[n])))}return(0,s.objectExpression)(r)}throw new Error("don't know how to turn this value into a node")};var a=o(r(58)),s=r(22);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=!1){return e.object=(0,n.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e};var n=r(22)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!t)return e;for(const r of i.INHERIT_KEYS.optional)null==e[r]&&(e[r]=t[r]);for(const r of Object.keys(t))"_"===r[0]&&"__clone"!==r&&(e[r]=t[r]);for(const r of i.INHERIT_KEYS.force)e[r]=t[r];return(0,a.default)(e,t),e};var n,i=r(38),a=(n=r(233))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.object=(0,n.memberExpression)(t,e.object),e};var n=r(22)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e,t,!0)};var n,i=(n=r(80))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){"function"==typeof t&&(t={enter:t});const{enter:i,exit:a}=t;!function e(t,r,i,a,s){const o=n.VISITOR_KEYS[t.type];if(!o)return;r&&r(t,s,a);for(const n of o){const o=t[n];if(Array.isArray(o))for(let u=0;u<o.length;u++){const l=o[u];l&&(s.push({node:t,key:n,index:u}),e(l,r,i,a,s),s.pop())}else o&&(s.push({node:t,key:n}),e(o,r,i,a,s),s.pop())}i&&i(t,s,a)}(e,i,a,r,[])};var n=r(16)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(r&&"Identifier"===e.type&&"ObjectProperty"===t.type&&"ObjectExpression"===r.type)return!1;const n=i.default.keys[t.type];if(n)for(let r=0;r<n.length;r++){const i=n[r],a=t[i];if(Array.isArray(a)){if(a.indexOf(e)>=0)return!0}else if(a===e)return!0}return!1};var n,i=(n=r(80))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.isFunctionDeclaration)(e)||(0,i.isClassDeclaration)(e)||(0,a.default)(e)};var n,i=r(8),a=(n=r(240))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.default)(e.type,"Immutable"))return!0;if((0,a.isIdentifier)(e))return"undefined"===e.name;return!1};var n,i=(n=r(123))&&n.__esModule?n:{default:n},a=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){if("object"!=typeof t||"object"!=typeof r||null==t||null==r)return t===r;if(t.type!==r.type)return!1;const i=Object.keys(n.NODE_FIELDS[t.type]||t.type);const a=n.VISITOR_KEYS[t.type];for(const n of i){if(typeof t[n]!=typeof r[n])return!1;if(null!=t[n]||null!=r[n]){if(null==t[n]||null==r[n])return!1;if(Array.isArray(t[n])){if(!Array.isArray(r[n]))return!1;if(t[n].length!==r[n].length)return!1;for(let i=0;i<t[n].length;i++)if(!e(t[n][i],r[n][i]))return!1}else if("object"!=typeof t[n]||a&&a.includes(n)){if(!e(t[n],r[n]))return!1}else for(const e of Object.keys(t[n]))if(t[n][e]!==r[n][e])return!1}}return!0};var n=r(16)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"ExportSpecifier":return!t.source&&t.local===e;case"PrivateName":return!1;case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e?!!t.computed:t.value!==e||(!r||"ObjectPattern"!==r.type);case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"LabeledStatement":case"CatchClause":case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":return t.key!==e||!!t.computed}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isBlockStatement)(e)&&(0,n.isFunction)(t,{body:e}))return!1;if((0,n.isBlockStatement)(e)&&(0,n.isCatchClause)(t,{body:e}))return!1;return(0,n.isScopable)(e)};var n=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})};var n=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)&&!a.has(e)};var n,i=(n=r(58))&&n.__esModule?n:{default:n};const a=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]};var n=r(8),i=r(38)},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t=i();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=n?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}}r.default=e,t&&t.set(e,r);return r}(r(21));return n=function(){return e},e}function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.NullableTypeAnnotation=function(e,t){return n().isArrayTypeAnnotation(t)},t.FunctionTypeAnnotation=function(e,t){return n().isUnionTypeAnnotation(t)||n().isIntersectionTypeAnnotation(t)||n().isArrayTypeAnnotation(t)},t.UpdateExpression=function(e,t){return n().isMemberExpression(t,{object:e})||n().isCallExpression(t,{callee:e})||n().isNewExpression(t,{callee:e})||s(e,t)},t.ObjectExpression=function(e,t,r){return l(r,{considerArrow:!0})},t.DoExpression=function(e,t,r){return l(r)},t.Binary=function(e,t){if("**"===e.operator&&n().isBinaryExpression(t,{operator:"**"}))return t.left===e;if(s(e,t))return!0;if((n().isCallExpression(t)||n().isNewExpression(t))&&t.callee===e||n().isUnaryLike(t)||n().isMemberExpression(t)&&t.object===e||n().isAwaitExpression(t))return!0;if(n().isBinary(t)){const r=t.operator,i=a[r],s=e.operator,o=a[s];if(i===o&&t.right===e&&!n().isLogicalExpression(t)||i>o)return!0}return!1},t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){return n().isArrayTypeAnnotation(t)||n().isNullableTypeAnnotation(t)||n().isIntersectionTypeAnnotation(t)||n().isUnionTypeAnnotation(t)},t.TSAsExpression=function(){return!0},t.TSTypeAssertion=function(){return!0},t.TSIntersectionType=t.TSUnionType=function(e,t){return n().isTSArrayType(t)||n().isTSOptionalType(t)||n().isTSIntersectionType(t)||n().isTSUnionType(t)||n().isTSRestType(t)},t.BinaryExpression=function(e,t){return"in"===e.operator&&(n().isVariableDeclarator(t)||n().isFor(t))},t.SequenceExpression=function(e,t){if(n().isForStatement(t)||n().isThrowStatement(t)||n().isReturnStatement(t)||n().isIfStatement(t)&&t.test===e||n().isWhileStatement(t)&&t.test===e||n().isForInStatement(t)&&t.right===e||n().isSwitchStatement(t)&&t.discriminant===e||n().isExpressionStatement(t)&&t.expression===e)return!1;return!0},t.AwaitExpression=t.YieldExpression=function(e,t){return n().isBinary(t)||n().isUnaryLike(t)||n().isCallExpression(t)||n().isMemberExpression(t)||n().isNewExpression(t)||n().isAwaitExpression(t)&&n().isYieldExpression(e)||n().isConditionalExpression(t)&&e===t.test||s(e,t)},t.ClassExpression=function(e,t,r){return l(r,{considerDefaultExports:!0})},t.UnaryLike=o,t.FunctionExpression=function(e,t,r){return l(r,{considerDefaultExports:!0})},t.ArrowFunctionExpression=function(e,t){return n().isExportDeclaration(t)||u(e,t)},t.ConditionalExpression=u,t.OptionalMemberExpression=function(e,t){return n().isCallExpression(t)||n().isMemberExpression(t)},t.AssignmentExpression=function(e){return!!n().isObjectPattern(e.left)||u(...arguments)},t.NewExpression=function(e,t){return s(e,t)};const a={"||":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},s=(e,t)=>(n().isClassDeclaration(t)||n().isClassExpression(t))&&t.superClass===e;function o(e,t){return n().isMemberExpression(t,{object:e})||n().isCallExpression(t,{callee:e})||n().isNewExpression(t,{callee:e})||n().isBinaryExpression(t,{operator:"**",left:e})||s(e,t)}function u(e,t){return!!(n().isUnaryLike(t)||n().isBinary(t)||n().isConditionalExpression(t,{test:e})||n().isAwaitExpression(t)||n().isOptionalMemberExpression(t)||n().isTaggedTemplateExpression(t)||n().isTSTypeAssertion(t)||n().isTSAsExpression(t))||o(e,t)}function l(e,{considerArrow:t=!1,considerDefaultExports:r=!1}={}){let i=e.length-1,a=e[i],s=e[--i];for(;i>0;){if(n().isExpressionStatement(s,{expression:a})||n().isTaggedTemplateExpression(s)||r&&n().isExportDefaultDeclaration(s,{declaration:a})||t&&n().isArrowFunctionExpression(s,{body:a}))return!0;if(!(n().isCallExpression(s,{callee:a})||n().isSequenceExpression(s)&&s.expressions[0]===a||n().isMemberExpression(s,{object:a})||n().isConditional(s,{test:a})||n().isBinary(s,{left:a})||n().isAssignmentExpression(s,{left:a})))return!1;a=s,s=e[--i]}return!1}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(524);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}));var i=r(525);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})}));var a=r(526);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})}));var s=r(527);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})}));var o=r(528);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}));var u=r(241);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})}));var l=r(242);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})}));var c=r(534);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})}));var p=r(535);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})}));var f=r(536);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})}));var d=r(537);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TaggedTemplateExpression=function(e){this.print(e.tag,e),this.print(e.typeParameters,e),this.print(e.quasi,e)},t.TemplateElement=function(e,t){const r=t.quasis[0]===e,n=t.quasis[t.quasis.length-1]===e,i=(r?"`":"}")+e.value.raw+(n?"`":"${");this.token(i)},t.TemplateLiteral=function(e){const t=e.quasis;for(let r=0;r<t.length;r++)this.print(t[r],e),r+1<t.length&&this.print(e.expressions[r],e)}},function(e,t,r){"use strict";function n(){const e=s(r(21));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.UnaryExpression=function(e){"void"===e.operator||"delete"===e.operator||"typeof"===e.operator||"throw"===e.operator?(this.word(e.operator),this.space()):this.token(e.operator);this.print(e.argument,e)},t.DoExpression=function(e){this.word("do"),this.space(),this.print(e.body,e)},t.ParenthesizedExpression=function(e){this.token("("),this.print(e.expression,e),this.token(")")},t.UpdateExpression=function(e){e.prefix?(this.token(e.operator),this.print(e.argument,e)):(this.startTerminatorless(!0),this.print(e.argument,e),this.endTerminatorless(),this.token(e.operator))},t.ConditionalExpression=function(e){this.print(e.test,e),this.space(),this.token("?"),this.space(),this.print(e.consequent,e),this.space(),this.token(":"),this.space(),this.print(e.alternate,e)},t.NewExpression=function(e,t){if(this.word("new"),this.space(),this.print(e.callee,e),this.format.minified&&0===e.arguments.length&&!e.optional&&!n().isCallExpression(t,{callee:e})&&!n().isMemberExpression(t)&&!n().isNewExpression(t))return;this.print(e.typeArguments,e),this.print(e.typeParameters,e),e.optional&&this.token("?.");this.token("("),this.printList(e.arguments,e),this.token(")")},t.SequenceExpression=function(e){this.printList(e.expressions,e)},t.ThisExpression=function(){this.word("this")},t.Super=function(){this.word("super")},t.Decorator=function(e){this.token("@"),this.print(e.expression,e),this.newline()},t.OptionalMemberExpression=function(e){if(this.print(e.object,e),!e.computed&&n().isMemberExpression(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;n().isLiteral(e.property)&&"number"==typeof e.property.value&&(t=!0);e.optional&&this.token("?.");t?(this.token("["),this.print(e.property,e),this.token("]")):(e.optional||this.token("."),this.print(e.property,e))},t.OptionalCallExpression=function(e){this.print(e.callee,e),this.print(e.typeArguments,e),this.print(e.typeParameters,e),e.optional&&this.token("?.");this.token("("),this.printList(e.arguments,e),this.token(")")},t.CallExpression=function(e){this.print(e.callee,e),this.print(e.typeArguments,e),this.print(e.typeParameters,e),this.token("("),this.printList(e.arguments,e),this.token(")")},t.Import=function(){this.word("import")},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.print(e.expression,e),this.semicolon()},t.AssignmentPattern=function(e){this.print(e.left,e),e.left.optional&&this.token("?");this.print(e.left.typeAnnotation,e),this.space(),this.token("="),this.space(),this.print(e.right,e)},t.LogicalExpression=t.BinaryExpression=t.AssignmentExpression=function(e,t){const r=this.inForStatementInitCounter&&"in"===e.operator&&!i.needsParens(e,t);r&&this.token("(");this.print(e.left,e),this.space(),"in"===e.operator||"instanceof"===e.operator?this.word(e.operator):this.token(e.operator);this.space(),this.print(e.right,e),r&&this.token(")")},t.BindExpression=function(e){this.print(e.object,e),this.token("::"),this.print(e.callee,e)},t.MemberExpression=function(e){if(this.print(e.object,e),!e.computed&&n().isMemberExpression(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;n().isLiteral(e.property)&&"number"==typeof e.property.value&&(t=!0);t?(this.token("["),this.print(e.property,e),this.token("]")):(this.token("."),this.print(e.property,e))},t.MetaProperty=function(e){this.print(e.meta,e),this.token("."),this.print(e.property,e)},t.PrivateName=function(e){this.token("#"),this.print(e.id,e)},t.V8IntrinsicIdentifier=function(e){this.token("%"),this.word(e.name)},t.AwaitExpression=t.YieldExpression=void 0;var i=s(r(222));function a(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;var t=a();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}}return r.default=e,t&&t.set(e,r),r}function o(e){return function(t){if(this.word(e),t.delegate&&this.token("*"),t.argument){this.space();const e=this.startTerminatorless();this.print(t.argument,t),this.endTerminatorless(e)}}}const u=o("yield");t.YieldExpression=u;const l=o("await");t.AwaitExpression=l},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t=i();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=n?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}}r.default=e,t&&t.set(e,r);return r}(r(21));return n=function(){return e},e}function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.WithStatement=function(e){this.word("with"),this.space(),this.token("("),this.print(e.object,e),this.token(")"),this.printBlock(e)},t.IfStatement=function(e){this.word("if"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.space();const t=e.alternate&&n().isIfStatement(function e(t){if(!n().isStatement(t.body))return t;return e(t.body)}(e.consequent));t&&(this.token("{"),this.newline(),this.indent());this.printAndIndentOnComments(e.consequent,e),t&&(this.dedent(),this.newline(),this.token("}"));e.alternate&&(this.endsWith("}")&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate,e))},t.ForStatement=function(e){this.word("for"),this.space(),this.token("("),this.inForStatementInitCounter++,this.print(e.init,e),this.inForStatementInitCounter--,this.token(";"),e.test&&(this.space(),this.print(e.test,e));this.token(";"),e.update&&(this.space(),this.print(e.update,e));this.token(")"),this.printBlock(e)},t.WhileStatement=function(e){this.word("while"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.printBlock(e)},t.DoWhileStatement=function(e){this.word("do"),this.space(),this.print(e.body,e),this.space(),this.word("while"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.semicolon()},t.LabeledStatement=function(e){this.print(e.label,e),this.token(":"),this.space(),this.print(e.body,e)},t.TryStatement=function(e){this.word("try"),this.space(),this.print(e.block,e),this.space(),e.handlers?this.print(e.handlers[0],e):this.print(e.handler,e);e.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(e.finalizer,e))},t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.token("("),this.print(e.param,e),this.token(")"),this.space());this.print(e.body,e)},t.SwitchStatement=function(e){this.word("switch"),this.space(),this.token("("),this.print(e.discriminant,e),this.token(")"),this.space(),this.token("{"),this.printSequence(e.cases,e,{indent:!0,addNewlines(t,r){if(!t&&e.cases[e.cases.length-1]===r)return-1}}),this.token("}")},t.SwitchCase=function(e){e.test?(this.word("case"),this.space(),this.print(e.test,e),this.token(":")):(this.word("default"),this.token(":"));e.consequent.length&&(this.newline(),this.printSequence(e.consequent,e,{indent:!0}))},t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},t.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());this.word(e.kind),this.space();let r,i=!1;if(!n().isFor(t))for(const t of e.declarations)t.init&&(i=!0);i&&(r="const"===e.kind?h:d);if(this.printList(e.declarations,e,{separator:r}),n().isFor(t)&&(t.left===e||t.init===e))return;this.semicolon()},t.VariableDeclarator=function(e){this.print(e.id,e),e.definite&&this.token("!");this.print(e.id.typeAnnotation,e),e.init&&(this.space(),this.token("="),this.space(),this.print(e.init,e))},t.ThrowStatement=t.BreakStatement=t.ReturnStatement=t.ContinueStatement=t.ForOfStatement=t.ForInStatement=void 0;const a=function(e){return function(t){this.word("for"),this.space(),"of"===e&&t.await&&(this.word("await"),this.space()),this.token("("),this.print(t.left,t),this.space(),this.word(e),this.space(),this.print(t.right,t),this.token(")"),this.printBlock(t)}},s=a("in");t.ForInStatement=s;const o=a("of");function u(e,t="label"){return function(r){this.word(e);const n=r[t];if(n){this.space();const e="label"==t,i=this.startTerminatorless(e);this.print(n,r),this.endTerminatorless(i)}this.semicolon()}}t.ForOfStatement=o;const l=u("continue");t.ContinueStatement=l;const c=u("return","argument");t.ReturnStatement=c;const p=u("break");t.BreakStatement=p;const f=u("throw","argument");function d(){if(this.token(","),this.newline(),this.endsWith("\n"))for(let e=0;e<4;e++)this.space(!0)}function h(){if(this.token(","),this.newline(),this.endsWith("\n"))for(let e=0;e<6;e++)this.space(!0)}t.ThrowStatement=f},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t=i();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=n?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}}r.default=e,t&&t.set(e,r);return r}(r(21));return n=function(){return e},e}function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ClassExpression=t.ClassDeclaration=function(e,t){this.format.decoratorsBeforeExport&&(n().isExportDefaultDeclaration(t)||n().isExportNamedDeclaration(t))||this.printJoin(e.decorators,e);e.declare&&(this.word("declare"),this.space());e.abstract&&(this.word("abstract"),this.space());this.word("class"),e.id&&(this.space(),this.print(e.id,e));this.print(e.typeParameters,e),e.superClass&&(this.space(),this.word("extends"),this.space(),this.print(e.superClass,e),this.print(e.superTypeParameters,e));e.implements&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e));this.space(),this.print(e.body,e)},t.ClassBody=function(e){this.token("{"),this.printInnerComments(e),0===e.body.length?this.token("}"):(this.newline(),this.indent(),this.printSequence(e.body,e),this.dedent(),this.endsWith("\n")||this.newline(),this.rightBrace())},t.ClassProperty=function(e){this.printJoin(e.decorators,e),e.accessibility&&(this.word(e.accessibility),this.space());e.static&&(this.word("static"),this.space());e.abstract&&(this.word("abstract"),this.space());e.readonly&&(this.word("readonly"),this.space());e.computed?(this.token("["),this.print(e.key,e),this.token("]")):(this._variance(e),this.print(e.key,e));e.optional&&this.token("?");e.definite&&this.token("!");this.print(e.typeAnnotation,e),e.value&&(this.space(),this.token("="),this.space(),this.print(e.value,e));this.semicolon()},t.ClassPrivateProperty=function(e){e.static&&(this.word("static"),this.space());this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.token("="),this.space(),this.print(e.value,e));this.semicolon()},t.ClassMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body,e)},t.ClassPrivateMethod=function(e){this._classMethodHead(e),this.space(),this.print(e.body,e)},t._classMethodHead=function(e){this.printJoin(e.decorators,e),e.accessibility&&(this.word(e.accessibility),this.space());e.abstract&&(this.word("abstract"),this.space());e.static&&(this.word("static"),this.space());this._methodHead(e)}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t=i();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=n?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}}r.default=e,t&&t.set(e,r);return r}(r(21));return n=function(){return e},e}function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t._params=function(e){this.print(e.typeParameters,e),this.token("("),this._parameters(e.params,e),this.token(")"),this.print(e.returnType,e)},t._parameters=function(e,t){for(let r=0;r<e.length;r++)this._param(e[r],t),r<e.length-1&&(this.token(","),this.space())},t._param=function(e,t){this.printJoin(e.decorators,e),this.print(e,t),e.optional&&this.token("?");this.print(e.typeAnnotation,e)},t._methodHead=function(e){const t=e.kind,r=e.key;"get"!==t&&"set"!==t||(this.word(t),this.space());e.async&&(this.word("async"),this.space());"method"!==t&&"init"!==t||e.generator&&this.token("*");e.computed?(this.token("["),this.print(r,e),this.token("]")):this.print(r,e);e.optional&&this.token("?");this._params(e)},t._predicate=function(e){e.predicate&&(e.returnType||this.token(":"),this.space(),this.print(e.predicate,e))},t._functionHead=function(e){e.async&&(this.word("async"),this.space());this.word("function"),e.generator&&this.token("*");this.space(),e.id&&this.print(e.id,e);this._params(e),this._predicate(e)},t.FunctionDeclaration=t.FunctionExpression=function(e){this._functionHead(e),this.space(),this.print(e.body,e)},t.ArrowFunctionExpression=function(e){e.async&&(this.word("async"),this.space());const t=e.params[0];1===e.params.length&&n().isIdentifier(t)&&!function(e,t){return e.typeParameters||e.returnType||t.typeAnnotation||t.optional||t.trailingComments}(e,t)?this.format.retainLines&&e.loc&&e.body.loc&&e.loc.start.line<e.body.loc.start.line?(this.token("("),t.loc&&t.loc.start.line>e.loc.start.line?(this.indent(),this.print(t,e),this.dedent(),this._catchUp("start",e.body.loc)):this.print(t,e),this.token(")")):this.print(t,e):this._params(e);this._predicate(e),this.space(),this.token("=>"),this.space(),this.print(e.body,e)}},function(e,t,r){"use strict";(function(t){const r={},n=r.hasOwnProperty,i=(e,t)=>{for(const r in e)n.call(e,r)&&t(r,e[r])},a=r.toString,s=Array.isArray,o=t.isBuffer,u={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},l=/["'\\\b\f\n\r\t]/,c=/[0-9]/,p=/[ !#-&\(-\[\]-_a-~]/,f=(e,t)=>{const r=()=>{g=v,++t.indentLevel,v=t.indent.repeat(t.indentLevel)},n={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},d=t&&t.json;d&&(n.quotes="double",n.wrap=!0),"single"!=(t=((e,t)=>t?(i(t,(t,r)=>{e[t]=r}),e):e)(n,t)).quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");const h="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",y=t.compact,m=t.lowercaseHex;let v=t.indent.repeat(t.indentLevel),g="";const T=t.__inline1__,E=t.__inline2__,S=y?"":"\n";let b,x=!0;const D="binary"==t.numbers,A="octal"==t.numbers,C="decimal"==t.numbers,P="hexadecimal"==t.numbers;if(d&&e&&(e=>"function"==typeof e)(e.toJSON)&&(e=e.toJSON()),!(e=>"string"==typeof e||"[object String]"==a.call(e))(e)){if((e=>"[object Map]"==a.call(e))(e))return 0==e.size?"new Map()":(y||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+f(Array.from(e),t)+")");if((e=>"[object Set]"==a.call(e))(e))return 0==e.size?"new Set()":"new Set("+f(Array.from(e),t)+")";if(o(e))return 0==e.length?"Buffer.from([])":"Buffer.from("+f(Array.from(e),t)+")";if(s(e))return b=[],t.wrap=!0,T&&(t.__inline1__=!1,t.__inline2__=!0),E||r(),((e,t)=>{const r=e.length;let n=-1;for(;++n<r;)t(e[n])})(e,e=>{x=!1,E&&(t.__inline2__=!1),b.push((y||E?"":v)+f(e,t))}),x?"[]":E?"["+b.join(", ")+"]":"["+S+b.join(","+S)+S+(y?"":g)+"]";if(!(e=>"number"==typeof e||"[object Number]"==a.call(e))(e))return(e=>"[object Object]"==a.call(e))(e)?(b=[],t.wrap=!0,r(),i(e,(e,r)=>{x=!1,b.push((y?"":v)+f(e,t)+":"+(y?"":" ")+f(r,t))}),x?"{}":"{"+S+b.join(","+S)+S+(y?"":g)+"}"):d?JSON.stringify(e)||"null":String(e);if(d)return JSON.stringify(e);if(C)return String(e);if(P){let t=e.toString(16);return m||(t=t.toUpperCase()),"0x"+t}if(D)return"0b"+e.toString(2);if(A)return"0o"+e.toString(8)}const w=e;let _=-1;const O=w.length;for(b="";++_<O;){const e=w.charAt(_);if(t.es6){const e=w.charCodeAt(_);if(e>=55296&&e<=56319&&O>_+1){const t=w.charCodeAt(_+1);if(t>=56320&&t<=57343){let r=(1024*(e-55296)+t-56320+65536).toString(16);m||(r=r.toUpperCase()),b+="\\u{"+r+"}",++_;continue}}}if(!t.escapeEverything){if(p.test(e)){b+=e;continue}if('"'==e){b+=h==e?'\\"':e;continue}if("`"==e){b+=h==e?"\\`":e;continue}if("'"==e){b+=h==e?"\\'":e;continue}}if("\0"==e&&!d&&!c.test(w.charAt(_+1))){b+="\\0";continue}if(l.test(e)){b+=u[e];continue}const r=e.charCodeAt(0);if(t.minimal&&8232!=r&&8233!=r){b+=e;continue}let n=r.toString(16);m||(n=n.toUpperCase());const i=n.length>2||d,a="\\"+(i?"u":"x")+("0000"+n).slice(i?-4:-2);b+=a}return t.wrap&&(b=h+b+h),"`"==h&&(b=b.replace(/\$\{/g,"\\${")),t.isScriptContext?b.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,d?"\\u003C!--":"\\x3C!--"):b};f.version="2.5.2",e.exports=f}).call(this,r(530).Buffer)},function(e,t,r){"use strict";(function(e){
25/*!
26 * The buffer module from node.js, for the browser.
27 *
28 * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
29 * @license MIT
30 */
31var n=r(531),i=r(532),a=r(533);function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return p(this,e)}return l(this,e,t,r)}function l(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=f(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r),i=(e=o(e,n)).write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(u.isBuffer(t)){var r=0|d(t.length);return 0===(e=o(e,r)).length?e:(t.copy(e,0,0,r),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?o(e,0):f(e,t);if("Buffer"===t.type&&a(t.data))return f(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t){if(c(t),e=o(e,t<0?0:0|d(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function f(e,t){var r=t.length<0?0:0|d(t.length);e=o(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function d(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return U(e).length;default:if(n)return q(e).length;t=(""+t).toLowerCase(),n=!0}}function y(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,r);case"utf8":case"utf-8":return C(this,t,r);case"ascii":return w(this,t,r);case"latin1":case"binary":return _(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,i){var a,s=1,o=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,o/=2,u/=2,r/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(a=r;a<o;a++)if(l(e,a)===l(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===u)return c*s}else-1!==c&&(a-=a-c),c=-1}else for(r+u>o&&(r=o-u),a=r;a>=0;a--){for(var p=!0,f=0;f<u;f++)if(l(e,a+f)!==l(t,f)){p=!1;break}if(p)return a}return-1}function T(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var s=0;s<n;++s){var o=parseInt(t.substr(2*s,2),16);if(isNaN(o))return s;e[r+s]=o}return s}function E(e,t,r,n){return K(q(t,e.length-r),e,r,n)}function S(e,t,r,n){return K(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function b(e,t,r,n){return S(e,t,r,n)}function x(e,t,r,n){return K(U(t),e,r,n)}function D(e,t,r,n){return K(function(e,t){for(var r,n,i,a=[],s=0;s<e.length&&!((t-=2)<0);++s)r=e.charCodeAt(s),n=r>>8,i=r%256,a.push(i),a.push(n);return a}(t,e.length-r),e,r,n)}function A(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function C(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,s,o,u,l=e[i],c=null,p=l>239?4:l>223?3:l>191?2:1;if(i+p<=r)switch(p){case 1:l<128&&(c=l);break;case 2:128==(192&(a=e[i+1]))&&(u=(31&l)<<6|63&a)>127&&(c=u);break;case 3:a=e[i+1],s=e[i+2],128==(192&a)&&128==(192&s)&&(u=(15&l)<<12|(63&a)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:a=e[i+1],s=e[i+2],o=e[i+3],128==(192&a)&&128==(192&s)&&128==(192&o)&&(u=(15&l)<<18|(63&a)<<12|(63&s)<<6|63&o)>65535&&u<1114112&&(c=u)}null===c?(c=65533,p=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=p}return function(e){var t=e.length;if(t<=P)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=P));return r}(n)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=s(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return l(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return function(e,t,r,n){return c(t),t<=0?o(e,t):void 0!==r?"string"==typeof n?o(e,t).fill(r,n):o(e,t).fill(r):o(e,t)}(null,e,t,r)},u.allocUnsafe=function(e){return p(null,e)},u.allocUnsafeSlow=function(e){return p(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var s=e[r];if(!u.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,i),i+=s.length}return n},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?C(this,0,e):y.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),o=Math.min(a,s),l=this.slice(n,i),c=e.slice(t,r),p=0;p<o;++p)if(l[p]!==c[p]){a=l[p],s=c[p];break}return a<s?-1:s<a?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return T(this,e,t,r);case"utf8":case"utf-8":return E(this,e,t,r);case"ascii":return S(this,e,t,r);case"latin1":case"binary":return b(this,e,t,r);case"base64":return x(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function w(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function _(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function O(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=V(e[a]);return i}function F(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}function N(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,r,n,i,a){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function k(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i<a;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function L(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i<a;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function M(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function B(e,t,r,n,a){return a||M(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function j(e,t,r,n,a){return a||M(e,0,r,8),i.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=u.prototype;else{var i=t-e;r=new u(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},u.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||N(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},u.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||I(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[t]=255&e;++a<r&&(i*=256);)this[t+a]=e/i&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||I(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):k(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):k(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}var a=0,s=1,o=0;for(this[t]=255&e;++a<r&&(s*=256);)e<0&&0===o&&0!==this[t+a-1]&&(o=1),this[t+a]=(e/s>>0)-o&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}var a=r-1,s=1,o=0;for(this[t+a]=255&e;--a>=0&&(s*=256);)e<0&&0===o&&0!==this[t+a+1]&&(o=1),this[t+a]=(e/s>>0)-o&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):k(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):k(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return B(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return B(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return j(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return j(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,a=n-r;if(this===e&&r<t&&t<n)for(i=a-1;i>=0;--i)e[i+t]=this[i+r];else if(a<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+a),t);return a},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var s=u.isBuffer(e)?e:q(new u(e,n).toString()),o=s.length;for(a=0;a<r-t;++a)this[a+t]=s[a%o]}return this};var R=/[^+\/0-9A-Za-z-_]/g;function V(e){return e<16?"0"+e.toString(16):e.toString(16)}function q(e,t){var r;t=t||1/0;for(var n=e.length,i=null,a=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function U(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(R,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function K(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(18))},function(e,t,r){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=l(e),s=n[0],o=n[1],u=new a(function(e,t,r){return 3*(t+r)/4-r}(0,s,o)),c=0,p=o>0?s-4:s;for(r=0;r<p;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===o&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[c++]=255&t);1===o&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,a=[],s=0,o=r-i;s<o;s+=16383)a.push(c(e,s,s+16383>o?o:s+16383));1===i?(t=e[r-1],a.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],a.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return a.join("")};for(var n=[],i=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,u=s.length;o<u;++o)n[o]=s[o],i[s.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,r){for(var i,a,s=[],o=t;o<r;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),s.push(n[(a=i)>>18&63]+n[a>>12&63]+n[a>>6&63]+n[63&a]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,r,n,i){var a,s,o=8*i-n-1,u=(1<<o)-1,l=u>>1,c=-7,p=r?i-1:0,f=r?-1:1,d=e[t+p];for(p+=f,a=d&(1<<-c)-1,d>>=-c,c+=o;c>0;a=256*a+e[t+p],p+=f,c-=8);for(s=a&(1<<-c)-1,a>>=-c,c+=n;c>0;s=256*s+e[t+p],p+=f,c-=8);if(0===a)a=1-l;else{if(a===u)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),a-=l}return(d?-1:1)*s*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var s,o,u,l=8*a-i-1,c=(1<<l)-1,p=c>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,h=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+p>=1?f/u:f*Math.pow(2,1-p))*u>=2&&(s++,u/=2),s+p>=c?(o=0,s=c):s+p>=1?(o=(t*u-1)*Math.pow(2,i),s+=p):(o=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[r+d]=255&o,d+=h,o/=256,i-=8);for(s=s<<i|o,l+=i;l>0;e[r+d]=255&s,d+=h,s/=256,l-=8);e[r+d-h]|=128*y}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t=s();if(t&&t.has(e))return t.get(e);var r={};if(null!=e){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=n?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}}r.default=e,t&&t.set(e,r);return r}(r(21));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.AnyTypeAnnotation=function(){this.word("any")},t.ArrayTypeAnnotation=function(e){this.print(e.elementType,e),this.token("["),this.token("]")},t.BooleanTypeAnnotation=function(){this.word("boolean")},t.BooleanLiteralTypeAnnotation=function(e){this.word(e.value?"true":"false")},t.NullLiteralTypeAnnotation=function(){this.word("null")},t.DeclareClass=function(e,t){n().isDeclareExportDeclaration(t)||(this.word("declare"),this.space());this.word("class"),this.space(),this._interfaceish(e)},t.DeclareFunction=function(e,t){n().isDeclareExportDeclaration(t)||(this.word("declare"),this.space());this.word("function"),this.space(),this.print(e.id,e),this.print(e.id.typeAnnotation.typeAnnotation,e),e.predicate&&(this.space(),this.print(e.predicate,e));this.semicolon()},t.InferredPredicate=function(){this.token("%"),this.word("checks")},t.DeclaredPredicate=function(e){this.token("%"),this.word("checks"),this.token("("),this.print(e.value,e),this.token(")")},t.DeclareInterface=function(e){this.word("declare"),this.space(),this.InterfaceDeclaration(e)},t.DeclareModule=function(e){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(e.id,e),this.space(),this.print(e.body,e)},t.DeclareModuleExports=function(e){this.word("declare"),this.space(),this.word("module"),this.token("."),this.word("exports"),this.print(e.typeAnnotation,e)},t.DeclareTypeAlias=function(e){this.word("declare"),this.space(),this.TypeAlias(e)},t.DeclareOpaqueType=function(e,t){n().isDeclareExportDeclaration(t)||(this.word("declare"),this.space());this.OpaqueType(e)},t.DeclareVariable=function(e,t){n().isDeclareExportDeclaration(t)||(this.word("declare"),this.space());this.word("var"),this.space(),this.print(e.id,e),this.print(e.id.typeAnnotation,e),this.semicolon()},t.DeclareExportDeclaration=function(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space());o.apply(this,arguments)},t.DeclareExportAllDeclaration=function(){this.word("declare"),this.space(),i.ExportAllDeclaration.apply(this,arguments)},t.ExistsTypeAnnotation=function(){this.token("*")},t.FunctionTypeAnnotation=function(e,t){this.print(e.typeParameters,e),this.token("("),this.printList(e.params,e),e.rest&&(e.params.length&&(this.token(","),this.space()),this.token("..."),this.print(e.rest,e));this.token(")"),"ObjectTypeCallProperty"===t.type||"DeclareFunction"===t.type||"ObjectTypeProperty"===t.type&&t.method?this.token(":"):(this.space(),this.token("=>"));this.space(),this.print(e.returnType,e)},t.FunctionTypeParam=function(e){this.print(e.name,e),e.optional&&this.token("?");e.name&&(this.token(":"),this.space());this.print(e.typeAnnotation,e)},t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=function(e){this.print(e.id,e),this.print(e.typeParameters,e)},t._interfaceish=function(e){this.print(e.id,e),this.print(e.typeParameters,e),e.extends.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e));e.mixins&&e.mixins.length&&(this.space(),this.word("mixins"),this.space(),this.printList(e.mixins,e));e.implements&&e.implements.length&&(this.space(),this.word("implements"),this.space(),this.printList(e.implements,e));this.space(),this.print(e.body,e)},t._variance=function(e){e.variance&&("plus"===e.variance.kind?this.token("+"):"minus"===e.variance.kind&&this.token("-"))},t.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},t.InterfaceTypeAnnotation=function(e){this.word("interface"),e.extends&&e.extends.length&&(this.space(),this.word("extends"),this.space(),this.printList(e.extends,e));this.space(),this.print(e.body,e)},t.IntersectionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:u})},t.MixedTypeAnnotation=function(){this.word("mixed")},t.EmptyTypeAnnotation=function(){this.word("empty")},t.NullableTypeAnnotation=function(e){this.token("?"),this.print(e.typeAnnotation,e)},t.NumberTypeAnnotation=function(){this.word("number")},t.StringTypeAnnotation=function(){this.word("string")},t.ThisTypeAnnotation=function(){this.word("this")},t.TupleTypeAnnotation=function(e){this.token("["),this.printList(e.types,e),this.token("]")},t.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument,e)},t.TypeAlias=function(e){this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),this.space(),this.token("="),this.space(),this.print(e.right,e),this.semicolon()},t.TypeAnnotation=function(e){this.token(":"),this.space(),e.optional&&this.token("?");this.print(e.typeAnnotation,e)},t.TypeParameterDeclaration=t.TypeParameterInstantiation=function(e){this.token("<"),this.printList(e.params,e,{}),this.token(">")},t.TypeParameter=function(e){this._variance(e),this.word(e.name),e.bound&&this.print(e.bound,e);e.default&&(this.space(),this.token("="),this.space(),this.print(e.default,e))},t.OpaqueType=function(e){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(e.id,e),this.print(e.typeParameters,e),e.supertype&&(this.token(":"),this.space(),this.print(e.supertype,e));e.impltype&&(this.space(),this.token("="),this.space(),this.print(e.impltype,e));this.semicolon()},t.ObjectTypeAnnotation=function(e){e.exact?this.token("{|"):this.token("{");const t=e.properties.concat(e.callProperties||[],e.indexers||[],e.internalSlots||[]);t.length&&(this.space(),this.printJoin(t,e,{addNewlines(e){if(e&&!t[0])return 1},indent:!0,statement:!0,iterator:()=>{(1!==t.length||e.inexact)&&(this.token(","),this.space())}}),this.space());e.inexact&&(this.indent(),this.token("..."),t.length&&this.newline(),this.dedent());e.exact?this.token("|}"):this.token("}")},t.ObjectTypeInternalSlot=function(e){e.static&&(this.word("static"),this.space());this.token("["),this.token("["),this.print(e.id,e),this.token("]"),this.token("]"),e.optional&&this.token("?");e.method||(this.token(":"),this.space());this.print(e.value,e)},t.ObjectTypeCallProperty=function(e){e.static&&(this.word("static"),this.space());this.print(e.value,e)},t.ObjectTypeIndexer=function(e){e.static&&(this.word("static"),this.space());this._variance(e),this.token("["),e.id&&(this.print(e.id,e),this.token(":"),this.space());this.print(e.key,e),this.token("]"),this.token(":"),this.space(),this.print(e.value,e)},t.ObjectTypeProperty=function(e){e.proto&&(this.word("proto"),this.space());e.static&&(this.word("static"),this.space());this._variance(e),this.print(e.key,e),e.optional&&this.token("?");e.method||(this.token(":"),this.space());this.print(e.value,e)},t.ObjectTypeSpreadProperty=function(e){this.token("..."),this.print(e.argument,e)},t.QualifiedTypeIdentifier=function(e){this.print(e.qualification,e),this.token("."),this.print(e.id,e)},t.UnionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:l})},t.TypeCastExpression=function(e){this.token("("),this.print(e.expression,e),this.print(e.typeAnnotation,e),this.token(")")},t.Variance=function(e){"plus"===e.kind?this.token("+"):this.token("-")},t.VoidTypeAnnotation=function(){this.word("void")},Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return a.NumericLiteral}}),Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return a.StringLiteral}});var i=r(241),a=r(242);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function o(e){if(e.declaration){const t=e.declaration;this.print(t,e),n().isStatement(t)||this.semicolon()}else this.token("{"),e.specifiers.length&&(this.space(),this.printList(e.specifiers,e),this.space()),this.token("}"),e.source&&(this.space(),this.word("from"),this.space(),this.print(e.source,e)),this.semicolon()}function u(){this.space(),this.token("&"),this.space()}function l(){this.space(),this.token("|"),this.space()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.File=function(e){e.program&&this.print(e.program.interpreter,e);this.print(e.program,e)},t.Program=function(e){this.printInnerComments(e,!1),this.printSequence(e.directives,e),e.directives&&e.directives.length&&this.newline();this.printSequence(e.body,e)},t.BlockStatement=function(e){this.token("{"),this.printInnerComments(e);const t=e.directives&&e.directives.length;e.body.length||t?(this.newline(),this.printSequence(e.directives,e,{indent:!0}),t&&this.newline(),this.printSequence(e.body,e,{indent:!0}),this.removeTrailingNewline(),this.source("end",e.loc),this.endsWith("\n")||this.newline(),this.rightBrace()):(this.source("end",e.loc),this.token("}"))},t.Noop=function(){},t.Directive=function(e){this.print(e.value,e),this.semicolon()},t.DirectiveLiteral=function(e){const t=this.getPossibleRaw(e);if(null!=t)return void this.token(t);const{value:r}=e;if(i.test(r)){if(n.test(r))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${r}'`)}else this.token(`"${r}"`)},t.InterpreterDirective=function(e){this.token(`#!${e.value}\n`)},t.Placeholder=function(e){this.token("%%"),this.print(e.name),this.token("%%"),"Statement"===e.expectedNode&&this.semicolon()};const n=/(?:^|[^\\])(?:\\\\)*'/,i=/(?:^|[^\\])(?:\\\\)*"/},function(e,t,r){"use strict";function n(){this.space()}Object.defineProperty(t,"__esModule",{value:!0}),t.JSXAttribute=function(e){this.print(e.name,e),e.value&&(this.token("="),this.print(e.value,e))},t.JSXIdentifier=function(e){this.word(e.name)},t.JSXNamespacedName=function(e){this.print(e.namespace,e),this.token(":"),this.print(e.name,e)},t.JSXMemberExpression=function(e){this.print(e.object,e),this.token("."),this.print(e.property,e)},t.JSXSpreadAttribute=function(e){this.token("{"),this.token("..."),this.print(e.argument,e),this.token("}")},t.JSXExpressionContainer=function(e){this.token("{"),this.print(e.expression,e),this.token("}")},t.JSXSpreadChild=function(e){this.token("{"),this.token("..."),this.print(e.expression,e),this.token("}")},t.JSXText=function(e){const t=this.getPossibleRaw(e);null!=t?this.token(t):this.token(e.value)},t.JSXElement=function(e){const t=e.openingElement;if(this.print(t,e),t.selfClosing)return;this.indent();for(const t of e.children)this.print(t,e);this.dedent(),this.print(e.closingElement,e)},t.JSXOpeningElement=function(e){this.token("<"),this.print(e.name,e),this.print(e.typeParameters,e),e.attributes.length>0&&(this.space(),this.printJoin(e.attributes,e,{separator:n}));e.selfClosing?(this.space(),this.token("/>")):this.token(">")},t.JSXClosingElement=function(e){this.token("</"),this.print(e.name,e),this.token(">")},t.JSXEmptyExpression=function(e){this.printInnerComments(e)},t.JSXFragment=function(e){this.print(e.openingFragment,e),this.indent();for(const t of e.children)this.print(t,e);this.dedent(),this.print(e.closingFragment,e)},t.JSXOpeningFragment=function(){this.token("<"),this.token(">")},t.JSXClosingFragment=function(){this.token("</"),this.token(">")}},function(e,t,r){"use strict";function n(e,t){!0!==t&&e.token(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.TSTypeAnnotation=function(e){this.token(":"),this.space(),e.optional&&this.token("?");this.print(e.typeAnnotation,e)},t.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e){this.token("<"),this.printList(e.params,e,{}),this.token(">")},t.TSTypeParameter=function(e){this.word(e.name),e.constraint&&(this.space(),this.word("extends"),this.space(),this.print(e.constraint,e));e.default&&(this.space(),this.token("="),this.space(),this.print(e.default,e))},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space());e.readonly&&(this.word("readonly"),this.space());this._param(e.parameter)},t.TSDeclareFunction=function(e){e.declare&&(this.word("declare"),this.space());this._functionHead(e),this.token(";")},t.TSDeclareMethod=function(e){this._classMethodHead(e),this.token(";")},t.TSQualifiedName=function(e){this.print(e.left,e),this.token("."),this.print(e.right,e)},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),this.token(";")},t.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),this.token(";")},t.TSPropertySignature=function(e){const{readonly:t,initializer:r}=e;t&&(this.word("readonly"),this.space());this.tsPrintPropertyOrMethodName(e),this.print(e.typeAnnotation,e),r&&(this.space(),this.token("="),this.space(),this.print(r,e));this.token(";")},t.tsPrintPropertyOrMethodName=function(e){e.computed&&this.token("[");this.print(e.key,e),e.computed&&this.token("]");e.optional&&this.token("?")},t.TSMethodSignature=function(e){this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),this.token(";")},t.TSIndexSignature=function(e){const{readonly:t}=e;t&&(this.word("readonly"),this.space());this.token("["),this._parameters(e.parameters,e),this.token("]"),this.print(e.typeAnnotation,e),this.token(";")},t.TSAnyKeyword=function(){this.word("any")},t.TSBigIntKeyword=function(){this.word("bigint")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSVoidKeyword=function(){this.word("void")},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSNullKeyword=function(){this.word("null")},t.TSNeverKeyword=function(){this.word("never")},t.TSThisType=function(){this.word("this")},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(e)},t.TSConstructorType=function(e){this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},t.tsPrintFunctionOrConstructorType=function(e){const{typeParameters:t,parameters:r}=e;this.print(t,e),this.token("("),this._parameters(r,e),this.token(")"),this.space(),this.token("=>"),this.space(),this.print(e.typeAnnotation.typeAnnotation,e)},t.TSTypeReference=function(e){this.print(e.typeName,e),this.print(e.typeParameters,e)},t.TSTypePredicate=function(e){this.print(e.parameterName),this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation)},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName)},t.TSTypeLiteral=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)},t.tsPrintTypeLiteralOrInterfaceBody=function(e,t){this.tsPrintBraced(e,t)},t.tsPrintBraced=function(e,t){if(this.token("{"),e.length){this.indent(),this.newline();for(const r of e)this.print(r,t),this.newline();this.dedent(),this.rightBrace()}else this.token("}")},t.TSArrayType=function(e){this.print(e.elementType,e),this.token("[]")},t.TSTupleType=function(e){this.token("["),this.printList(e.elementTypes,e),this.token("]")},t.TSOptionalType=function(e){this.print(e.typeAnnotation,e),this.token("?")},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation,e)},t.TSUnionType=function(e){this.tsPrintUnionOrIntersectionType(e,"|")},t.TSIntersectionType=function(e){this.tsPrintUnionOrIntersectionType(e,"&")},t.tsPrintUnionOrIntersectionType=function(e,t){this.printJoin(e.types,e,{separator(){this.space(),this.token(t),this.space()}})},t.TSConditionalType=function(e){this.print(e.checkType),this.space(),this.word("extends"),this.space(),this.print(e.extendsType),this.space(),this.token("?"),this.space(),this.print(e.trueType),this.space(),this.token(":"),this.space(),this.print(e.falseType)},t.TSInferType=function(e){this.token("infer"),this.space(),this.print(e.typeParameter)},t.TSParenthesizedType=function(e){this.token("("),this.print(e.typeAnnotation,e),this.token(")")},t.TSTypeOperator=function(e){this.token(e.operator),this.space(),this.print(e.typeAnnotation,e)},t.TSIndexedAccessType=function(e){this.print(e.objectType,e),this.token("["),this.print(e.indexType,e),this.token("]")},t.TSMappedType=function(e){const{readonly:t,typeParameter:r,optional:i}=e;this.token("{"),this.space(),t&&(n(this,t),this.word("readonly"),this.space());this.token("["),this.word(r.name),this.space(),this.word("in"),this.space(),this.print(r.constraint,r),this.token("]"),i&&(n(this,i),this.token("?"));this.token(":"),this.space(),this.print(e.typeAnnotation,e),this.space(),this.token("}")},t.TSLiteralType=function(e){this.print(e.literal,e)},t.TSExpressionWithTypeArguments=function(e){this.print(e.expression,e),this.print(e.typeParameters,e)},t.TSInterfaceDeclaration=function(e){const{declare:t,id:r,typeParameters:n,extends:i,body:a}=e;t&&(this.word("declare"),this.space());this.word("interface"),this.space(),this.print(r,e),this.print(n,e),i&&(this.space(),this.word("extends"),this.space(),this.printList(i,e));this.space(),this.print(a,e)},t.TSInterfaceBody=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)},t.TSTypeAliasDeclaration=function(e){const{declare:t,id:r,typeParameters:n,typeAnnotation:i}=e;t&&(this.word("declare"),this.space());this.word("type"),this.space(),this.print(r,e),this.print(n,e),this.space(),this.token("="),this.space(),this.print(i,e),this.token(";")},t.TSAsExpression=function(e){const{expression:t,typeAnnotation:r}=e;this.print(t,e),this.space(),this.word("as"),this.space(),this.print(r,e)},t.TSTypeAssertion=function(e){const{typeAnnotation:t,expression:r}=e;this.token("<"),this.print(t,e),this.token(">"),this.space(),this.print(r,e)},t.TSEnumDeclaration=function(e){const{declare:t,const:r,id:n,members:i}=e;t&&(this.word("declare"),this.space());r&&(this.word("const"),this.space());this.word("enum"),this.space(),this.print(n,e),this.space(),this.tsPrintBraced(i,e)},t.TSEnumMember=function(e){const{id:t,initializer:r}=e;this.print(t,e),r&&(this.space(),this.token("="),this.space(),this.print(r,e));this.token(",")},t.TSModuleDeclaration=function(e){const{declare:t,id:r}=e;t&&(this.word("declare"),this.space());e.global||(this.word("Identifier"===r.type?"namespace":"module"),this.space());if(this.print(r,e),!e.body)return void this.token(";");let n=e.body;for(;"TSModuleDeclaration"===n.type;)this.token("."),this.print(n.id,n),n=n.body;this.space(),this.print(n,e)},t.TSModuleBlock=function(e){this.tsPrintBraced(e.body,e)},t.TSImportType=function(e){const{argument:t,qualifier:r,typeParameters:n}=e;this.word("import"),this.token("("),this.print(t,e),this.token(")"),r&&(this.token("."),this.print(r,e));n&&this.print(n,e)},t.TSImportEqualsDeclaration=function(e){const{isExport:t,id:r,moduleReference:n}=e;t&&(this.word("export"),this.space());this.word("import"),this.space(),this.print(r,e),this.space(),this.token("="),this.space(),this.print(n,e),this.token(";")},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression,e),this.token(")")},t.TSNonNullExpression=function(e){this.print(e.expression,e),this.token("!")},t.TSExportAssignment=function(e){this.word("export"),this.space(),this.token("="),this.space(),this.print(e.expression,e),this.token(";")},t.TSNamespaceExportDeclaration=function(e){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(e.id,e)},t.tsPrintSignatureDeclarationBase=function(e){const{typeParameters:t,parameters:r}=e;this.print(t,e),this.token("("),this._parameters(r,e),this.token(")"),this.print(e.typeAnnotation,e)}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.findParent=function(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null},t.find=function(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null},t.getFunctionParent=function(){return this.findParent(e=>e.isFunction())},t.getStatementParent=function(){let e=this;do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())break;e=e.parentPath}while(e);if(e&&(e.isProgram()||e.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return e},t.getEarliestCommonAncestorFrom=function(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,r){let i;const a=n().VISITOR_KEYS[e.type];for(const e of r){const r=e[t+1];i?r.listKey&&i.listKey===r.listKey&&r.key<i.key?i=r:a.indexOf(i.parentKey)>a.indexOf(r.parentKey)&&(i=r):i=r}return i}))},t.getDeepestCommonAncestorFrom=function(e,t){if(!e.length)return this;if(1===e.length)return e[0];let r,n,i=1/0;const a=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);return t.length<i&&(i=t.length),t}),s=a[0];e:for(let e=0;e<i;e++){const t=s[e];for(const r of a)if(r[e]!==t)break e;r=e,n=t}if(n)return t?t(n,r,a):n;throw new Error("Couldn't find intersection")},t.getAncestry=function(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t},t.isAncestor=function(e){return e.isDescendant(this)},t.isDescendant=function(e){return!!this.findParent(t=>t===e)},t.inType=function(){let e=this;for(;e;){for(const t of arguments)if(e.node.type===t)return!0;e=e.parentPath}return!1};var i;(i=r(45))&&i.__esModule},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTypeAnnotation=function(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||i().anyTypeAnnotation();i().isTypeAnnotation(e)&&(e=e.typeAnnotation);return this.typeAnnotation=e},t._getTypeAnnotation=function(){const e=this.node;if(!e){if("init"===this.key&&this.parentPath.isVariableDeclarator()){const e=this.parentPath.parentPath,t=e.parentPath;return"left"===e.key&&t.isForInStatement()?i().stringTypeAnnotation():"left"===e.key&&t.isForOfStatement()?i().anyTypeAnnotation():i().voidTypeAnnotation()}return}if(e.typeAnnotation)return e.typeAnnotation;let t=n[e.type];if(t)return t.call(this,e);if((t=n[this.parentPath.type])&&t.validParent)return this.parentPath.getTypeAnnotation()},t.isBaseType=function(e,t){return s(e,this.getTypeAnnotation(),t)},t.couldBeBaseType=function(e){const t=this.getTypeAnnotation();if(i().isAnyTypeAnnotation(t))return!0;if(i().isUnionTypeAnnotation(t)){for(const r of t.types)if(i().isAnyTypeAnnotation(r)||s(e,r,!0))return!0;return!1}return s(e,t,!0)},t.baseTypeStrictlyMatches=function(e){const t=this.getTypeAnnotation();if(e=e.getTypeAnnotation(),!i().isAnyTypeAnnotation(t)&&i().isFlowBaseAnnotation(t))return e.type===t.type},t.isGenericType=function(e){const t=this.getTypeAnnotation();return i().isGenericTypeAnnotation(t)&&i().isIdentifier(t.id,{name:e})};var n=a(r(540));function i(){const e=a(r(3));return i=function(){return e},e}function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function s(e,t,r){if("string"===e)return i().isStringTypeAnnotation(t);if("number"===e)return i().isNumberTypeAnnotation(t);if("boolean"===e)return i().isBooleanTypeAnnotation(t);if("any"===e)return i().isAnyTypeAnnotation(t);if("mixed"===e)return i().isMixedTypeAnnotation(t);if("empty"===e)return i().isEmptyTypeAnnotation(t);if("void"===e)return i().isVoidTypeAnnotation(t);if(r)return!1;throw new Error(`Unknown base type ${e}`)}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.VariableDeclarator=function(){if(!this.get("id").isIdentifier())return;const e=this.get("init");let t=e.getTypeAnnotation();t&&"AnyTypeAnnotation"===t.type&&e.isCallExpression()&&e.get("callee").isIdentifier({name:"Array"})&&!e.scope.hasBinding("Array",!0)&&(t=o());return t},t.TypeCastExpression=s,t.NewExpression=function(e){if(this.get("callee").isIdentifier())return n().genericTypeAnnotation(e.callee)},t.TemplateLiteral=function(){return n().stringTypeAnnotation()},t.UnaryExpression=function(e){const t=e.operator;if("void"===t)return n().voidTypeAnnotation();if(n().NUMBER_UNARY_OPERATORS.indexOf(t)>=0)return n().numberTypeAnnotation();if(n().STRING_UNARY_OPERATORS.indexOf(t)>=0)return n().stringTypeAnnotation();if(n().BOOLEAN_UNARY_OPERATORS.indexOf(t)>=0)return n().booleanTypeAnnotation()},t.BinaryExpression=function(e){const t=e.operator;if(n().NUMBER_BINARY_OPERATORS.indexOf(t)>=0)return n().numberTypeAnnotation();if(n().BOOLEAN_BINARY_OPERATORS.indexOf(t)>=0)return n().booleanTypeAnnotation();if("+"===t){const e=this.get("right"),t=this.get("left");return t.isBaseType("number")&&e.isBaseType("number")?n().numberTypeAnnotation():t.isBaseType("string")||e.isBaseType("string")?n().stringTypeAnnotation():n().unionTypeAnnotation([n().stringTypeAnnotation(),n().numberTypeAnnotation()])}},t.LogicalExpression=function(){return n().createUnionTypeAnnotation([this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()])},t.ConditionalExpression=function(){return n().createUnionTypeAnnotation([this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()])},t.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},t.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},t.UpdateExpression=function(e){const t=e.operator;if("++"===t||"--"===t)return n().numberTypeAnnotation()},t.StringLiteral=function(){return n().stringTypeAnnotation()},t.NumericLiteral=function(){return n().numberTypeAnnotation()},t.BooleanLiteral=function(){return n().booleanTypeAnnotation()},t.NullLiteral=function(){return n().nullLiteralTypeAnnotation()},t.RegExpLiteral=function(){return n().genericTypeAnnotation(n().identifier("RegExp"))},t.ObjectExpression=function(){return n().genericTypeAnnotation(n().identifier("Object"))},t.ArrayExpression=o,t.RestElement=u,t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=function(){return n().genericTypeAnnotation(n().identifier("Function"))},t.CallExpression=function(){const{callee:e}=this.node;if(c(e))return n().arrayTypeAnnotation(n().stringTypeAnnotation());if(l(e)||p(e))return n().arrayTypeAnnotation(n().anyTypeAnnotation());if(f(e))return n().arrayTypeAnnotation(n().tupleTypeAnnotation([n().stringTypeAnnotation(),n().anyTypeAnnotation()]));return d(this.get("callee"))},t.TaggedTemplateExpression=function(){return d(this.get("tag"))},Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return a.default}});var i,a=(i=r(541))&&i.__esModule?i:{default:i};function s(e){return e.typeAnnotation}function o(){return n().genericTypeAnnotation(n().identifier("Array"))}function u(){return o()}s.validParent=!0,u.validParent=!0;const l=n().buildMatchMemberExpression("Array.from"),c=n().buildMatchMemberExpression("Object.keys"),p=n().buildMatchMemberExpression("Object.values"),f=n().buildMatchMemberExpression("Object.entries");function d(e){if((e=e.resolve()).isFunction()){if(e.is("async"))return e.is("generator")?n().genericTypeAnnotation(n().identifier("AsyncIterator")):n().genericTypeAnnotation(n().identifier("Promise"));if(e.node.returnType)return e.node.returnType}}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return n=function(){return e},e}function i(e,t,r){const n=e.constantViolations.slice();return n.unshift(e.path),n.filter(e=>{const n=(e=e.resolve())._guessExecutionStatusRelativeTo(t);return r&&"function"===n&&r.push(e),"before"===n})}function a(e,t){const r=t.node.operator,i=t.get("right").resolve(),a=t.get("left").resolve();let s,o,u;if(a.isIdentifier({name:e})?s=i:i.isIdentifier({name:e})&&(s=a),s)return"==="===r?s.getTypeAnnotation():n().BOOLEAN_NUMBER_BINARY_OPERATORS.indexOf(r)>=0?n().numberTypeAnnotation():void 0;if("==="!==r&&"=="!==r)return;if(a.isUnaryExpression({operator:"typeof"})?(o=a,u=i):i.isUnaryExpression({operator:"typeof"})&&(o=i,u=a),!o)return;if(!o.get("argument").isIdentifier({name:e}))return;if(!(u=u.resolve()).isLiteral())return;const l=u.node.value;return"string"==typeof l?n().createTypeAnnotationBasedOnTypeof(l):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!this.isReferenced())return;const t=this.scope.getBinding(e.name);if(t)return t.identifier.typeAnnotation?t.identifier.typeAnnotation:function(e,t,r){const s=[],o=[];let u=i(e,t,o);const l=function e(t,r,i){const s=function(e,t,r){let n;for(;n=t.parentPath;){if(n.isIfStatement()||n.isConditionalExpression()){if("test"===t.key)return;return n}if(n.isFunction()&&n.parentPath.scope.getBinding(r)!==e)return;t=n}}(t,r,i);if(!s)return;const o=s.get("test");const u=[o];const l=[];for(let e=0;e<u.length;e++){const t=u[e];if(t.isLogicalExpression())"&&"===t.node.operator&&(u.push(t.get("left")),u.push(t.get("right")));else if(t.isBinaryExpression()){const e=a(i,t);e&&l.push(e)}}if(l.length)return{typeAnnotation:n().createUnionTypeAnnotation(l),ifStatement:s};return e(s,i)}(e,t,r);if(l){const t=i(e,l.ifStatement);u=u.filter(e=>t.indexOf(e)<0),s.push(l.typeAnnotation)}if(u.length){u=u.concat(o);for(const e of u)s.push(e.getTypeAnnotation())}if(s.length)return n().createUnionTypeAnnotation(s)}(t,this,e.name);if("undefined"===e.name)return n().voidTypeAnnotation();if("NaN"===e.name||"Infinity"===e.name)return n().numberTypeAnnotation();e.name}},function(e,t,r){"use strict";function n(){const e=r(243);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.replaceWithMultiple=function(e){this.resync(),e=this._verifyNodeList(e),o().inheritLeadingComments(e[0],this.node),o().inheritTrailingComments(e[e.length-1],this.node),this.node=this.container[this.key]=null;const t=this.insertAfter(e);this.node?this.requeue():this.remove();return t},t.replaceWithSourceString=function(e){this.resync();try{e=`(${e})`,e=(0,s().parse)(e)}catch(t){const r=t.loc;throw r&&(t.message+=" - make sure this is an expression.\n"+(0,n().codeFrameColumns)(e,{start:{line:r.line,column:r.column+1}}),t.code="BABEL_REPLACE_SOURCE_ERROR"),t}return e=e.program.body[0].expression,i.default.removeProperties(e),this.replaceWith(e)},t.replaceWith=function(e){if(this.resync(),this.removed)throw new Error("You can't replace this node, we've already removed it");e instanceof a.default&&(e=e.node);if(!e)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===e)return[this];if(this.isProgram()&&!o().isProgram(e))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(e))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if("string"==typeof e)throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let t="";this.isNodeType("Statement")&&o().isExpression(e)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(e)||this.parentPath.isExportDefaultDeclaration()||(e=o().expressionStatement(e),t="expression"));if(this.isNodeType("Expression")&&o().isStatement(e)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e))return this.replaceExpressionWithStatements([e]);const r=this.node;r&&(o().inheritsComments(e,r),o().removeComments(r));return this._replaceWith(e),this.type=e.type,this.setScope(),this.requeue(),[t?this.get(t):this]},t._replaceWith=function(e){if(!this.container)throw new ReferenceError("Container is falsy");this.inList?o().validate(this.parent,this.key,[e]):o().validate(this.parent,this.key,e);this.debug(`Replace with ${e&&e.type}`),this.node=this.container[this.key]=e},t.replaceExpressionWithStatements=function(e){this.resync();const t=o().toSequenceExpression(e,this.scope);if(t)return this.replaceWith(t)[0].get("expressions");const r=o().arrowFunctionExpression([],o().blockStatement(e));this.replaceWith(o().callExpression(r,[])),this.traverse(l);const n=this.get("callee").getCompletionRecords();for(const e of n){if(!e.isExpressionStatement())continue;const t=e.findParent(e=>e.isLoop());if(t){let r=t.getData("expressionReplacementReturnUid");if(r)r=o().identifier(r.name);else{const e=this.get("callee");r=e.scope.generateDeclaredUidIdentifier("ret"),e.get("body").pushContainer("body",o().returnStatement(o().cloneNode(r))),t.setData("expressionReplacementReturnUid",r)}e.get("expression").replaceWith(o().assignmentExpression("=",o().cloneNode(r),e.node.expression))}else e.replaceWith(o().returnStatement(e.node.expression))}const i=this.get("callee");return i.arrowFunctionToExpression(),i.get("body.body")},t.replaceInline=function(e){if(this.resync(),Array.isArray(e)){if(Array.isArray(this.container)){e=this._verifyNodeList(e);const t=this._containerInsertAfter(e);return this.remove(),t}return this.replaceWithMultiple(e)}return this.replaceWith(e)};var i=u(r(36)),a=u(r(45));function s(){const e=r(245);return s=function(){return e},e}function o(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return o=function(){return e},e}function u(e){return e&&e.__esModule?e:{default:e}}const l={Function(e){e.skip()},VariableDeclaration(e){if("var"!==e.node.kind)return;const t=e.getBindingIdentifiers();for(const r in t)e.scope.push({id:t[r]});const r=[];for(const t of e.node.declarations)t.init&&r.push(o().expressionStatement(o().assignmentExpression("=",t.id,t.init)));e.replaceWithMultiple(r)}}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(544));return n=function(){return e},e}function i(){const e=s(r(53));return i=function(){return e},e}function a(){const e=s(r(545));return a=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldHighlight=c,t.getChalk=p,t.default=function(e,t={}){if(c(t)){return function(e,t){return t.replace(n().default,(function(...t){const r=function(e){const[t,r]=e.slice(-2),a=(0,n().matchToToken)(e);if("name"===a.type){if(i().default.keyword.isReservedWordES6(a.value))return"keyword";if(u.test(a.value)&&("<"===r[t-1]||"</"==r.substr(t-2,2)))return"jsx_tag";if(a.value[0]!==a.value[0].toLowerCase())return"capitalized"}if("punctuator"===a.type&&l.test(a.value))return"bracket";if("invalid"===a.type&&("@"===a.value||"#"===a.value))return"punctuator";return a.type}(t),a=e[r];return a?t[0].split(o).map(e=>a(e)).join("\n"):t[0]}))}(function(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(p(t)),e)}return e};const o=/\r\n|[\n\r\u2028\u2029]/,u=/^[a-z][\w-]*$/i,l=/^[()[\]{}]$/;function c(e){return a().default.supportsColor||e.forceColor}function p(e){let t=a().default;return e.forceColor&&(t=new(a().default.constructor)({enabled:!0,level:1})),t}},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},function(e,t,r){"use strict";(function(t){const n=r(546),i=r(547),a=r(551).stdout,s=r(552),o="win32"===t.platform&&!(t.env.TERM||"").toLowerCase().startsWith("xterm"),u=["ansi","ansi","ansi256","ansi16m"],l=new Set(["gray"]),c=Object.create(null);function p(e,t){t=t||{};const r=a?a.level:0;e.level=void 0===t.level?r:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function f(e){if(!this||!(this instanceof f)||this.template){const t={};return p(t,e),t.template=function(){const e=[].slice.call(arguments);return m.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,f.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=f,t.template}p(this,e)}o&&(i.blue.open="");for(const e of Object.keys(i))i[e].closeRe=new RegExp(n(i[e].close),"g"),c[e]={get(){const t=i[e];return h.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};c.visible={get(){return h.call(this,this._styles||[],!0,"visible")}},i.color.closeRe=new RegExp(n(i.color.close),"g");for(const e of Object.keys(i.color.ansi))l.has(e)||(c[e]={get(){const t=this.level;return function(){const r=i.color[u[t]][e].apply(null,arguments),n={open:r,close:i.color.close,closeRe:i.color.closeRe};return h.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}});i.bgColor.closeRe=new RegExp(n(i.bgColor.close),"g");for(const e of Object.keys(i.bgColor.ansi)){if(l.has(e))continue;c["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const r=i.bgColor[u[t]][e].apply(null,arguments),n={open:r,close:i.bgColor.close,closeRe:i.bgColor.closeRe};return h.call(this,this._styles?this._styles.concat(n):[n],this._empty,e)}}}}const d=Object.defineProperties(()=>{},c);function h(e,t,r){const n=function(){return y.apply(n,arguments)};n._styles=e,n._empty=t;const i=this;return Object.defineProperty(n,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(n,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),n.hasGrey=this.hasGrey||"gray"===r||"grey"===r,n.__proto__=d,n}function y(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let n=1;n<t;n++)r+=" "+e[n];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const n=i.dim.open;o&&this.hasGrey&&(i.dim.open="");for(const e of this._styles.slice().reverse())r=(r=e.open+r.replace(e.closeRe,e.open)+e.close).replace(/\r?\n/g,`${e.close}$&${e.open}`);return i.dim.open=n,r}function m(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const r=[].slice.call(arguments,2),n=[t.raw[0]];for(let e=1;e<t.length;e++)n.push(String(r[e-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[e]));return s(e,n.join(""))}Object.defineProperties(f.prototype,c),e.exports=f(),e.exports.supportsColor=a,e.exports.default=e.exports}).call(this,r(41))},function(e,t,r){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(n,"\\$&")}},function(e,t,r){"use strict";(function(e){const t=r(548),n=(e,r)=>(function(){const n=e.apply(t,arguments);return`[${n+r}m`}),i=(e,r)=>(function(){const n=e.apply(t,arguments);return`[${38+r};5;${n}m`}),a=(e,r)=>(function(){const n=e.apply(t,arguments);return`[${38+r};2;${n[0]};${n[1]};${n[2]}m`});Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,r={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};r.color.grey=r.color.gray;for(const t of Object.keys(r)){const n=r[t];for(const t of Object.keys(n)){const i=n[t];r[t]={open:`[${i[0]}m`,close:`[${i[1]}m`},n[t]=r[t],e.set(i[0],i[1])}Object.defineProperty(r,t,{value:n,enumerable:!1}),Object.defineProperty(r,"codes",{value:e,enumerable:!1})}const s=e=>e,o=(e,t,r)=>[e,t,r];r.color.close="",r.bgColor.close="",r.color.ansi={ansi:n(s,0)},r.color.ansi256={ansi256:i(s,0)},r.color.ansi16m={rgb:a(o,0)},r.bgColor.ansi={ansi:n(s,10)},r.bgColor.ansi256={ansi256:i(s,10)},r.bgColor.ansi16m={rgb:a(o,10)};for(let e of Object.keys(t)){if("object"!=typeof t[e])continue;const s=t[e];"ansi16"===e&&(e="ansi"),"ansi16"in s&&(r.color.ansi[e]=n(s.ansi16,0),r.bgColor.ansi[e]=n(s.ansi16,10)),"ansi256"in s&&(r.color.ansi256[e]=i(s.ansi256,0),r.bgColor.ansi256[e]=i(s.ansi256,10)),"rgb"in s&&(r.color.ansi16m[e]=a(s.rgb,0),r.bgColor.ansi16m[e]=a(s.rgb,10))}return r}})}).call(this,r(33)(e))},function(e,t,r){var n=r(244),i=r(550),a={};Object.keys(n).forEach((function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:n[e].channels}),Object.defineProperty(a[e],"labels",{value:n[e].labels});var t=i(e);Object.keys(t).forEach((function(r){var n=t[r];a[e][r]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);if("object"==typeof r)for(var n=r.length,i=0;i<n;i++)r[i]=Math.round(r[i]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}(n),a[e][r].raw=function(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=a},function(e,t,r){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,r){var n=r(244);function i(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,i=0;i<r;i++)e[t[i]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var i=r.pop(),a=Object.keys(n[i]),s=a.length,o=0;o<s;o++){var u=a[o],l=t[u];-1===l.distance&&(l.distance=t[i].distance+1,l.parent=i,r.unshift(u))}return t}function a(e,t){return function(r){return t(e(r))}}function s(e,t){for(var r=[t[e].parent,e],i=n[t[e].parent][e],s=t[e].parent;t[s].parent;)r.unshift(t[s].parent),i=a(n[t[s].parent][s],i),s=t[s].parent;return i.conversion=r,i}e.exports=function(e){for(var t=i(e),r={},n=Object.keys(t),a=n.length,o=0;o<a;o++){var u=n[o];null!==t[u].parent&&(r[u]=s(u,t))}return r}},function(e,t,r){"use strict";e.exports={stdout:!1,stderr:!1}},function(e,t,r){"use strict";const n=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,i=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,s=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,o=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function u(e){return"u"===e[0]&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):o.get(e)||e}function l(e,t){const r=[],n=t.trim().split(/\s*,\s*/g);let i;for(const t of n)if(isNaN(t)){if(!(i=t.match(a)))throw new Error(`Invalid Chalk template style argument: ${t} (in style '${e}')`);r.push(i[2].replace(s,(e,t,r)=>t?u(t):r))}else r.push(Number(t));return r}function c(e){i.lastIndex=0;const t=[];let r;for(;null!==(r=i.exec(e));){const e=r[1];if(r[2]){const n=l(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function p(e,t){const r={};for(const e of t)for(const t of e.styles)r[t[0]]=e.inverse?null:t.slice(1);let n=e;for(const e of Object.keys(r))if(Array.isArray(r[e])){if(!(e in n))throw new Error(`Unknown Chalk style: ${e}`);n=r[e].length>0?n[e].apply(n,r[e]):n[e]}return n}e.exports=(e,t)=>{const r=[],i=[];let a=[];if(t.replace(n,(t,n,s,o,l,f)=>{if(n)a.push(u(n));else if(o){const t=a.join("");a=[],i.push(0===r.length?t:p(e,r)(t)),r.push({inverse:s,styles:c(o)})}else if(l){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");i.push(p(e,r)(a.join(""))),a=[],r.pop()}else a.push(f)}),i.push(a.join("")),r.length>0){const e=`Chalk template literal is missing ${r.length} closing bracket${1===r.length?"":"s"} (\`}\`)`;throw new Error(e)}return i.join("")}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.evaluateTruthy=function(){const e=this.evaluate();if(e.confident)return!!e.value},t.evaluate=function(){const e={confident:!0,deoptPath:null,seen:new Map};let t=a(this,e);e.confident||(t=void 0);return{confident:e.confident,deopt:e.deoptPath,value:t}};const r=["String","Number","Math"],n=["random"];function i(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}function a(t,o){const{node:u}=t,{seen:l}=o;if(l.has(u)){const e=l.get(u);return e.resolved?e.value:void i(t,o)}{const c={resolved:!1};l.set(u,c);const p=function(t,o){if(!o.confident)return;const{node:u}=t;if(t.isSequenceExpression()){const e=t.get("expressions");return a(e[e.length-1],o)}if(t.isStringLiteral()||t.isNumericLiteral()||t.isBooleanLiteral())return u.value;if(t.isNullLiteral())return null;if(t.isTemplateLiteral())return s(t,u.quasis,o);if(t.isTaggedTemplateExpression()&&t.get("tag").isMemberExpression()){const e=t.get("tag.object"),{node:{name:r}}=e,n=t.get("tag.property");if(e.isIdentifier()&&"String"===r&&!t.scope.getBinding(r,!0)&&n.isIdentifier&&"raw"===n.node.name)return s(t,u.quasi.quasis,o,!0)}if(t.isConditionalExpression()){const e=a(t.get("test"),o);if(!o.confident)return;return a(e?t.get("consequent"):t.get("alternate"),o)}if(t.isExpressionWrapper())return a(t.get("expression"),o);if(t.isMemberExpression()&&!t.parentPath.isCallExpression({callee:u})){const e=t.get("property"),r=t.get("object");if(r.isLiteral()&&e.isIdentifier()){const t=r.node.value,n=typeof t;if("number"===n||"string"===n)return t[e.node.name]}}if(t.isReferencedIdentifier()){const e=t.scope.getBinding(u.name);if(e&&e.constantViolations.length>0)return i(e.path,o);if(e&&t.node.start<e.path.node.end)return i(e.path,o);if(e&&e.hasValue)return e.value;{if("undefined"===u.name)return e?i(e.path,o):void 0;if("Infinity"===u.name)return e?i(e.path,o):1/0;if("NaN"===u.name)return e?i(e.path,o):NaN;const r=t.resolve();return r===t?i(t,o):a(r,o)}}if(t.isUnaryExpression({prefix:!0})){if("void"===u.operator)return;const e=t.get("argument");if("typeof"===u.operator&&(e.isFunction()||e.isClass()))return"function";const r=a(e,o);if(!o.confident)return;switch(u.operator){case"!":return!r;case"+":return+r;case"-":return-r;case"~":return~r;case"typeof":return typeof r}}if(t.isArrayExpression()){const e=[],r=t.get("elements");for(const t of r){const r=t.evaluate();if(!r.confident)return i(t,o);e.push(r.value)}return e}if(t.isObjectExpression()){const e={},r=t.get("properties");for(const t of r){if(t.isObjectMethod()||t.isSpreadElement())return i(t,o);const r=t.get("key");let n=r;if(t.node.computed){if(!(n=n.evaluate()).confident)return i(r,o);n=n.value}else n=n.isIdentifier()?n.node.name:n.node.value;const a=t.get("value");let s=a.evaluate();if(!s.confident)return i(a,o);s=s.value,e[n]=s}return e}if(t.isLogicalExpression()){const e=o.confident,r=a(t.get("left"),o),n=o.confident;o.confident=e;const i=a(t.get("right"),o),s=o.confident;switch(u.operator){case"||":if(o.confident=n&&(!!r||s),!o.confident)return;return r||i;case"&&":if(o.confident=n&&(!r||s),!o.confident)return;return r&&i}}if(t.isBinaryExpression()){const e=a(t.get("left"),o);if(!o.confident)return;const r=a(t.get("right"),o);if(!o.confident)return;switch(u.operator){case"-":return e-r;case"+":return e+r;case"/":return e/r;case"*":return e*r;case"%":return e%r;case"**":return Math.pow(e,r);case"<":return e<r;case">":return e>r;case"<=":return e<=r;case">=":return e>=r;case"==":return e==r;case"!=":return e!=r;case"===":return e===r;case"!==":return e!==r;case"|":return e|r;case"&":return e&r;case"^":return e^r;case"<<":return e<<r;case">>":return e>>r;case">>>":return e>>>r}}if(t.isCallExpression()){const i=t.get("callee");let s,l;if(i.isIdentifier()&&!t.scope.getBinding(i.node.name,!0)&&r.indexOf(i.node.name)>=0&&(l=e[u.callee.name]),i.isMemberExpression()){const t=i.get("object"),a=i.get("property");if(t.isIdentifier()&&a.isIdentifier()&&r.indexOf(t.node.name)>=0&&n.indexOf(a.node.name)<0&&(s=e[t.node.name],l=s[a.node.name]),t.isLiteral()&&a.isIdentifier()){const e=typeof t.node.value;"string"!==e&&"number"!==e||(s=t.node.value,l=s[a.node.name])}}if(l){const e=t.get("arguments").map(e=>a(e,o));if(!o.confident)return;return l.apply(s,e)}}i(t,o)}(t,o);return o.confident&&(c.resolved=!0,c.value=p),p}}function s(e,t,r,n=!1){let i="",s=0;const o=e.get("expressions");for(const e of t){if(!r.confident)break;i+=n?e.value.raw:e.value.cooked;const t=o[s++];t&&(i+=String(a(t,r)))}if(r.confident)return i}}).call(this,r(18))},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return n=function(){return e},e}function i(){const e=(t=r(555))&&t.__esModule?t:{default:t};var t;return i=function(){return e},e}function a(e,t=!1,r=!0){const i=e.findParent(e=>e.isFunction()&&!e.isArrowFunctionExpression()||e.isProgram()||e.isClassProperty({static:!1})),a=i&&"constructor"===i.node.kind;if(i.isClassProperty())throw e.buildCodeFrameError("Unable to transform arrow inside class property");const{thisPaths:u,argumentsPaths:l,newTargetPaths:c,superProps:p,superCalls:f}=function(e){const t=[],r=[],n=[],i=[],a=[];return e.traverse({ClassProperty(e){e.node.static||e.skip()},Function(e){e.isArrowFunctionExpression()||e.skip()},ThisExpression(e){t.push(e)},JSXIdentifier(e){"this"===e.node.name&&(e.parentPath.isJSXMemberExpression({object:e.node})||e.parentPath.isJSXOpeningElement({name:e.node}))&&t.push(e)},CallExpression(e){e.get("callee").isSuper()&&a.push(e)},MemberExpression(e){e.get("object").isSuper()&&i.push(e)},ReferencedIdentifier(e){"arguments"===e.node.name&&r.push(e)},MetaProperty(e){e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&n.push(e)}}),{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:a}}(e);if(a&&f.length>0){if(!r)throw f[0].buildCodeFrameError("Unable to handle nested super() usage in arrow");const e=[];i.traverse({Function(e){e.isArrowFunctionExpression()||e.skip()},ClassProperty(e){e.node.static||e.skip()},CallExpression(t){t.get("callee").isSuper()&&e.push(t)}});const t=function(e){return o(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return n().arrowFunctionExpression([n().restElement(t)],n().callExpression(n().super(),[n().spreadElement(n().identifier(t.name))]))})}(i);e.forEach(e=>{const r=n().identifier(t);r.loc=e.node.callee.loc,e.get("callee").replaceWith(r)})}let d;if((u.length>0||t)&&(d=function(e,t){return o(e,"this",r=>{if(!t||!s(e))return n().thisExpression();const i=new WeakSet;e.traverse({Function(e){e.isArrowFunctionExpression()||e.skip()},ClassProperty(e){e.node.static||e.skip()},CallExpression(e){e.get("callee").isSuper()&&(i.has(e.node)||(i.add(e.node),e.replaceWith(n().assignmentExpression("=",n().identifier(r),e.node))))}})})}(i,a),(!t||a&&s(i))&&(u.forEach(e=>{const t=e.isJSX()?n().jsxIdentifier(d):n().identifier(d);t.loc=e.node.loc,e.replaceWith(t)}),t&&(d=null))),l.length>0){const e=o(i,"arguments",()=>n().identifier("arguments"));l.forEach(t=>{const r=n().identifier(e);r.loc=t.node.loc,t.replaceWith(r)})}if(c.length>0){const e=o(i,"newtarget",()=>n().metaProperty(n().identifier("new"),n().identifier("target")));c.forEach(t=>{const r=n().identifier(e);r.loc=t.node.loc,t.replaceWith(r)})}if(p.length>0){if(!r)throw p[0].buildCodeFrameError("Unable to handle nested super.prop usage");p.reduce((e,t)=>e.concat(function(e){if(e.parentPath.isAssignmentExpression()&&"="!==e.parentPath.node.operator){const t=e.parentPath,r=t.node.operator.slice(0,-1),i=t.node.right;if(t.node.operator="=",e.node.computed){const a=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(n().memberExpression(e.node.object,n().assignmentExpression("=",a,e.node.property),!0)),t.get("right").replaceWith(n().binaryExpression(r,n().memberExpression(e.node.object,n().identifier(a.name),!0),i))}else t.get("left").replaceWith(n().memberExpression(e.node.object,e.node.property)),t.get("right").replaceWith(n().binaryExpression(r,n().memberExpression(e.node.object,n().identifier(e.node.property.name)),i));return[t.get("left"),t.get("right").get("left")]}if(e.parentPath.isUpdateExpression()){const t=e.parentPath,r=e.scope.generateDeclaredUidIdentifier("tmp"),i=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,a=[n().assignmentExpression("=",r,n().memberExpression(e.node.object,i?n().assignmentExpression("=",i,e.node.property):e.node.property,e.node.computed)),n().assignmentExpression("=",n().memberExpression(e.node.object,i?n().identifier(i.name):e.node.property,e.node.computed),n().binaryExpression("+",n().identifier(r.name),n().numericLiteral(1)))];e.parentPath.node.prefix||a.push(n().identifier(r.name)),t.replaceWith(n().sequenceExpression(a));const s=t.get("expressions.0.right"),o=t.get("expressions.1.left");return[s,o]}return[e]}(t)),[]).forEach(e=>{const t=e.node.computed?"":e.get("property").node.name;if(e.parentPath.isCallExpression({callee:e.node})){const r=function(e,t){return o(e,`superprop_call:${t||""}`,()=>{const r=e.scope.generateUidIdentifier("args"),i=[n().restElement(r)];let a;if(t)a=n().callExpression(n().memberExpression(n().super(),n().identifier(t)),[n().spreadElement(n().identifier(r.name))]);else{const t=e.scope.generateUidIdentifier("prop");i.unshift(t),a=n().callExpression(n().memberExpression(n().super(),n().identifier(t.name),!0),[n().spreadElement(n().identifier(r.name))])}return n().arrowFunctionExpression(i,a)})}(i,t);if(e.node.computed){const t=e.get("property").node;e.replaceWith(n().identifier(r)),e.parentPath.node.arguments.unshift(t)}else e.replaceWith(n().identifier(r))}else{const r=e.parentPath.isAssignmentExpression({left:e.node}),a=function(e,t,r){return o(e,`superprop_${t?"set":"get"}:${r||""}`,()=>{const i=[];let a;if(r)a=n().memberExpression(n().super(),n().identifier(r));else{const t=e.scope.generateUidIdentifier("prop");i.unshift(t),a=n().memberExpression(n().super(),n().identifier(t.name),!0)}if(t){const t=e.scope.generateUidIdentifier("value");i.push(t),a=n().assignmentExpression("=",a,n().identifier(t.name))}return n().arrowFunctionExpression(i,a)})}(i,r,t),s=[];if(e.node.computed&&s.push(e.get("property").node),r){const t=e.parentPath.node.right;s.push(t),e.parentPath.replaceWith(n().callExpression(n().identifier(a),s))}else e.replaceWith(n().callExpression(n().identifier(a),s))}})}return d}function s(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}function o(e,t,r){const n="binding:"+t;let i=e.getData(n);if(!i){const a=e.scope.generateUidIdentifier(t);i=a.name,e.setData(n,i),e.scope.push({id:a,init:r(i)})}return i}Object.defineProperty(t,"__esModule",{value:!0}),t.toComputedKey=function(){const e=this.node;let t;if(this.isMemberExpression())t=e.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");t=e.key}e.computed||n().isIdentifier(t)&&(t=n().stringLiteral(t.name));return t},t.ensureBlock=function(){const e=this.get("body"),t=e.node;if(Array.isArray(e))throw new Error("Can't convert array path to a block statement");if(!t)throw new Error("Can't convert node without a body");if(e.isBlockStatement())return t;const r=[];let i,a,s="body";e.isStatement()?(a="body",i=0,r.push(e.node)):(s+=".body.0",this.isFunction()?(i="argument",r.push(n().returnStatement(e.node))):(i="expression",r.push(n().expressionStatement(e.node))));this.node.body=n().blockStatement(r);const o=this.get(s);return e.setup(o,a?o.node[a]:o.node,a,i),this.node},t.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()},t.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");a(this)},t.arrowFunctionToExpression=function({allowInsertArrow:e=!0,specCompliant:t=!1}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");const r=a(this,t,e);if(this.ensureBlock(),this.node.type="FunctionExpression",t){const e=r?null:this.parentPath.scope.generateUidIdentifier("arrowCheckId");e&&this.parentPath.scope.push({id:e,init:n().objectExpression([])}),this.get("body").unshiftContainer("body",n().expressionStatement(n().callExpression(this.hub.addHelper("newArrowCheck"),[n().thisExpression(),e?n().identifier(e.name):n().identifier(r)]))),this.replaceWith(n().callExpression(n().memberExpression((0,i().default)(this,!0)||this.node,n().identifier("bind")),[e?n().identifier(e.name):n().thisExpression()]))}}},function(e,t,r){"use strict";function n(){const e=s(r(556));return n=function(){return e},e}function i(){const e=s(r(557));return i=function(){return e},e}function a(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return a=function(){return e},e}function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({node:e,parent:t,scope:r,id:i},s=!1){if(e.id)return;if(!a().isObjectProperty(t)&&!a().isObjectMethod(t,{kind:"method"})||t.computed&&!a().isLiteral(t.key)){if(a().isVariableDeclarator(t)){if(i=t.id,a().isIdentifier(i)&&!s){const t=r.parent.getBinding(i.name);if(t&&t.constant&&r.getBinding(i.name)===t)return e.id=a().cloneNode(i),void(e.id[a().NOT_LOCAL_BINDING]=!0)}}else if(a().isAssignmentExpression(t))i=t.left;else if(!i)return}else i=t.key;let c;i&&a().isLiteral(i)?c=function(e){if(a().isNullLiteral(e))return"null";if(a().isRegExpLiteral(e))return`_${e.pattern}_${e.flags}`;if(a().isTemplateLiteral(e))return e.quasis.map(e=>e.value.raw).join("");if(void 0!==e.value)return e.value+"";return""}(i):i&&a().isIdentifier(i)&&(c=i.name);if(void 0===c)return;return c=a().toBindingIdentifierName(c),(i=a().identifier(c))[a().NOT_LOCAL_BINDING]=!0,function(e,t,r,i){if(e.selfReference){if(!i.hasBinding(r.name)||i.hasGlobal(r.name)){if(!a().isFunction(t))return;let e=o;t.generator&&(e=u);const s=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:i.generateUidIdentifier(r.name)}).expression,l=s.callee.body.body[0].params;for(let e=0,r=(0,n().default)(t);e<r;e++)l.push(i.generateUidIdentifier("x"));return s}i.rename(r.name)}t.id=r,i.getProgramParent().references[r.name]=!0}(function(e,t,r){const n={selfAssignment:!1,selfReference:!1,outerDeclar:r.getBindingIdentifier(t),references:[],name:t},i=r.getOwnBinding(t);i?"param"===i.kind&&(n.selfReference=!0):(n.outerDeclar||r.hasGlobal(t))&&r.traverse(e,l,n);return n}(e,c,r),e,i,r)||e};const o=(0,i().default)("\n (function (FUNCTION_KEY) {\n function FUNCTION_ID() {\n return FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n }\n\n return FUNCTION_ID;\n })(FUNCTION)\n"),u=(0,i().default)("\n (function (FUNCTION_KEY) {\n function* FUNCTION_ID() {\n return yield* FUNCTION_KEY.apply(this, arguments);\n }\n\n FUNCTION_ID.toString = function () {\n return FUNCTION_KEY.toString();\n };\n\n return FUNCTION_ID;\n })(FUNCTION)\n"),l={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;e.scope.getBindingIdentifier(t.name)===t.outerDeclar&&(t.selfReference=!0,e.stop())}}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.params;for(let e=0;e<t.length;e++){const r=t[e];if(n().isAssignmentPattern(r)||n().isRestElement(r))return e}return t.length}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.program=t.expression=t.statements=t.statement=t.smart=void 0;var n,i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(558)),a=(n=r(559))&&n.__esModule?n:{default:n};const s=(0,a.default)(i.smart);t.smart=s;const o=(0,a.default)(i.statement);t.statement=o;const u=(0,a.default)(i.statements);t.statements=u;const l=(0,a.default)(i.expression);t.expression=l;const c=(0,a.default)(i.program);t.program=c;var p=Object.assign(s.bind(void 0),{smart:s,statement:o,statements:u,expression:l,program:c,ast:s.ast});t.default=p},function(e,t,r){"use strict";function n(e){return{code:e=>`/* @babel/template */;\n${e}`,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}Object.defineProperty(t,"__esModule",{value:!0}),t.program=t.expression=t.statement=t.statements=t.smart=void 0;const i=n(e=>e.length>1?e:e[0]);t.smart=i;const a=n(e=>e);t.statements=a;const s=n(e=>{if(0===e.length)throw new Error("Found nothing to return.");if(e.length>1)throw new Error("Found multiple statements but wanted one");return e[0]});t.statement=s;const o={code:e=>`(\n${e}\n)`,validate:({program:e})=>{if(e.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===e.body[0].expression.start)throw new Error("Parse result included parens.")},unwrap:e=>e.program.body[0].expression};t.expression=o;t.program={code:e=>e,validate:()=>{},unwrap:e=>e.program}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){const s=new WeakMap;const l=new WeakMap;const c=r||(0,n.validate)(null);return Object.assign((r,...o)=>{if("string"==typeof r){if(o.length>1)throw new Error("Unexpected extra params.");return u((0,i.default)(t,r,(0,n.merge)(c,(0,n.validate)(o[0]))))}if(Array.isArray(r)){let e=s.get(r);return e||(e=(0,a.default)(t,r,c),s.set(r,e)),u(e(o))}if("object"==typeof r&&r){if(o.length>0)throw new Error("Unexpected extra params.");return e(t,(0,n.merge)(c,(0,n.validate)(r)))}throw new Error(`Unexpected template param ${typeof r}`)},{ast:(e,...r)=>{if("string"==typeof e){if(r.length>1)throw new Error("Unexpected extra params.");return(0,i.default)(t,e,(0,n.merge)((0,n.merge)(c,(0,n.validate)(r[0])),o))()}if(Array.isArray(e)){let i=l.get(e);return i||(i=(0,a.default)(t,e,(0,n.merge)(c,o)),l.set(e,i)),i(r)()}throw new Error(`Unexpected template param ${typeof e}`)}})};var n=r(127),i=s(r(560)),a=s(r(603));function s(e){return e&&e.__esModule?e:{default:e}}const o=(0,n.validate)({placeholderPattern:!1});function u(e){let t="";try{throw new Error}catch(e){e.stack&&(t=e.stack.split("\n").slice(3).join("\n"))}return r=>{try{return e(r)}catch(e){throw e.stack+=`\n =============\n${t}`,e}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let s;return t=e.code(t),o=>{const u=(0,n.normalizeReplacements)(o);return s||(s=(0,i.default)(e,t,r)),e.unwrap((0,a.default)(s,u))}};var n=r(127),i=s(r(246)),a=s(r(266));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=(0,((n=r(248))&&n.__esModule?n:{default:n}).default)("React.Component");t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!!e&&/^[a-z]/.test(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=[];for(let r=0;r<e.children.length;r++){let n=e.children[r];(0,i.isJSXText)(n)?(0,a.default)(n,t):((0,i.isJSXExpressionContainer)(n)&&(n=n.expression),(0,i.isJSXEmptyExpression)(n)||t.push(n))}return t};var n,i=r(9),a=(n=r(564))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.value.split(/\r\n|\n|\r/);let i=0;for(let e=0;e<r.length;e++)r[e].match(/[^ \t]/)&&(i=e);let a="";for(let e=0;e<r.length;e++){const t=r[e],n=0===e,s=e===r.length-1,o=e===i;let u=t.replace(/\t/g," ");n||(u=u.replace(/^[ ]+/,"")),s||(u=u.replace(/[ ]+$/,"")),u&&(o||(u+=" "),a+=u)}a&&t.push((0,n.stringLiteral)(a))};var n=r(23)},function(e,t,r){"use strict";function n(){const e=s(r(50));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,...t){const r=i.BUILDER_KEYS[e],s=t.length;if(s>r.length)throw new Error(`${e}: Too many arguments passed. Received ${s} but can receive no more than ${r.length}`);const o={type:e};let u=0;r.forEach(r=>{const a=i.NODE_FIELDS[e][r];let l;u<s&&(l=t[u]),void 0===l&&(l=(0,n().default)(a.default)),o[r]=l,u++});for(const e of Object.keys(o))(0,a.default)(o,e,o[e]);return o};var i=r(17),a=s(r(132));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(31));const i=(e,t="TypeParameterDeclaration")=>{(0,n.default)(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)(t),extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),mixins:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),implements:(0,n.validateOptional)((0,n.arrayOfType)("ClassImplements")),body:(0,n.validateType)("ObjectTypeAnnotation")}})};(0,n.default)("AnyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["Flow","FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}}),(0,n.default)("BooleanTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("NullLiteralTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ClassImplements",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),i("DeclareClass"),(0,n.default)("DeclareFunction",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}}),i("DeclareInterface"),(0,n.default)("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}}),(0,n.default)("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),(0,n.default)("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),(0,n.default)("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType")}}),(0,n.default)("DeclareVariable",{visitor:["id"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}}),(0,n.default)("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,n.validateOptionalType)("Flow"),specifiers:(0,n.validateOptional)((0,n.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,n.validateOptionalType)("StringLiteral"),default:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("DeclareExportAllDeclaration",{visitor:["source"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}}),(0,n.default)("DeclaredPredicate",{visitor:["value"],aliases:["Flow","FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}}),(0,n.default)("ExistsTypeAnnotation",{aliases:["Flow","FlowType"]}),(0,n.default)("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["Flow","FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}}),(0,n.default)("FunctionTypeParam",{visitor:["name","typeAnnotation"],aliases:["Flow"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["Flow","FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),(0,n.default)("InferredPredicate",{aliases:["Flow","FlowPredicate"]}),(0,n.default)("InterfaceExtends",{visitor:["id","typeParameters"],aliases:["Flow"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),i("InterfaceDeclaration"),(0,n.default)("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["Flow","FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}}),(0,n.default)("IntersectionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("MixedTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("EmptyTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["Flow","FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),(0,n.default)("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}}),(0,n.default)("NumberTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["Flow","FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,n.validate)((0,n.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeIndexer")),callProperties:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeCallProperty")),internalSlots:(0,n.validateOptional)((0,n.arrayOfType)("ObjectTypeInternalSlot")),exact:{validate:(0,n.assertValueType)("boolean"),default:!1},inexact:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateType)("Identifier"),value:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean")),static:(0,n.validate)((0,n.assertValueType)("boolean")),method:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeCallProperty",{visitor:["value"],aliases:["Flow","UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}}),(0,n.default)("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{id:(0,n.validateOptionalType)("Identifier"),key:(0,n.validateType)("FlowType"),value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["Flow","UserWhitespacable"],fields:{key:(0,n.validateType)(["Identifier","StringLiteral"]),value:(0,n.validateType)("FlowType"),kind:(0,n.validate)((0,n.assertOneOf)("init","get","set")),static:(0,n.validate)((0,n.assertValueType)("boolean")),proto:(0,n.validate)((0,n.assertValueType)("boolean")),optional:(0,n.validate)((0,n.assertValueType)("boolean")),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["Flow","UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}}),(0,n.default)("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}}),(0,n.default)("QualifiedTypeIdentifier",{visitor:["id","qualification"],aliases:["Flow"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),(0,n.default)("StringLiteralTypeAnnotation",{builder:["value"],aliases:["Flow","FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}}),(0,n.default)("StringTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("ThisTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]}),(0,n.default)("TupleTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("TypeofTypeAnnotation",{visitor:["argument"],aliases:["Flow","FlowType"],fields:{argument:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["Flow","FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeAnnotation",{aliases:["Flow"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),(0,n.default)("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["Flow","ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),(0,n.default)("TypeParameter",{aliases:["Flow"],visitor:["bound","default","variance"],fields:{name:(0,n.validate)((0,n.assertValueType)("string")),bound:(0,n.validateOptionalType)("TypeAnnotation"),default:(0,n.validateOptionalType)("FlowType"),variance:(0,n.validateOptionalType)("Variance")}}),(0,n.default)("TypeParameterDeclaration",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}}),(0,n.default)("TypeParameterInstantiation",{aliases:["Flow"],visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("UnionTypeAnnotation",{visitor:["types"],aliases:["Flow","FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),(0,n.default)("Variance",{aliases:["Flow"],builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}}),(0,n.default)("VoidTypeAnnotation",{aliases:["Flow","FlowType","FlowBaseAnnotation"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(31));(0,n.default)("JSXAttribute",{visitor:["name","value"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),(0,n.default)("JSXClosingElement",{visitor:["name"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),(0,n.default)("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["JSX","Immutable","Expression"],fields:{openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,n.assertNodeType)("JSXClosingElement")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),(0,n.default)("JSXEmptyExpression",{aliases:["JSX"]}),(0,n.default)("JSXExpressionContainer",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}}),(0,n.default)("JSXSpreadChild",{visitor:["expression"],aliases:["JSX","Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("JSXIdentifier",{builder:["name"],aliases:["JSX"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),(0,n.default)("JSXMemberExpression",{visitor:["object","property"],aliases:["JSX"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),(0,n.default)("JSXNamespacedName",{visitor:["namespace","name"],aliases:["JSX"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),(0,n.default)("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["JSX","Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1,validate:(0,n.assertValueType)("boolean")},attributes:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("JSXSpreadAttribute",{visitor:["argument"],aliases:["JSX"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("JSXText",{aliases:["JSX","Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),(0,n.default)("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["JSX","Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}}),(0,n.default)("JSXOpeningFragment",{aliases:["JSX","Immutable"]}),(0,n.default)("JSXClosingFragment",{aliases:["JSX","Immutable"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(31)),i=r(251);(0,n.default)("Noop",{visitor:[]}),(0,n.default)("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}}),(0,n.default)("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(31)),i=r(133);(0,n.default)("ArgumentPlaceholder",{}),(0,n.default)("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:{}}),(0,n.default)("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},i.classMethodOrPropertyCommon,{value:{validate:(0,n.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,n.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,n.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0}})}),(0,n.default)("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,n.assertNodeType)("Expression")},property:{validate:function(){const e=(0,n.assertNodeType)("Identifier"),t=(0,n.assertNodeType)("Expression");return function(r,n,i){(r.computed?t:e)(r,n,i)}}()},computed:{default:!1},optional:{validate:(0,n.assertValueType)("boolean")}}}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,n.default)("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")},arguments:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Expression","SpreadElement","JSXNamespacedName")))},optional:{validate:(0,n.assertValueType)("boolean")},typeArguments:{validate:(0,n.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),(0,n.default)("ClassPrivateProperty",{visitor:["key","value","decorators"],builder:["key","value","decorators"],aliases:["Property","Private"],fields:{key:{validate:(0,n.assertNodeType)("PrivateName")},value:{validate:(0,n.assertNodeType)("Expression"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}}}),(0,n.default)("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,{key:{validate:(0,n.assertNodeType)("PrivateName")},body:{validate:(0,n.assertNodeType)("BlockStatement")}})}),(0,n.default)("Import",{aliases:["Expression"]}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]})},function(e,t,r){"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(31)),i=r(129),a=r(133);const s=(0,n.assertValueType)("boolean"),o={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}};(0,n.default)("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")}}}),(0,n.default)("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,{},o)}),(0,n.default)("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},a.classMethodOrDeclareMethodCommon,{},o)}),(0,n.default)("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const u={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")},l={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:u};(0,n.default)("TSCallSignatureDeclaration",l),(0,n.default)("TSConstructSignatureDeclaration",l);const c={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(s),optional:(0,n.validateOptional)(s)};(0,n.default)("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},c,{readonly:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression")})}),(0,n.default)("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},u,{},c)}),(0,n.default)("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(s),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const p=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const e of p)(0,n.default)(e,{aliases:["TSType"],visitor:[],fields:{}});(0,n.default)("TSThisType",{aliases:["TSType"],visitor:[],fields:{}});const f={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"],fields:u};(0,n.default)("TSFunctionType",f),(0,n.default)("TSConstructorType",f),(0,n.default)("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateType)("TSTypeAnnotation")}}),(0,n.default)("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}}),(0,n.default)("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}}),(0,n.default)("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}}),(0,n.default)("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)("TSType")}}),(0,n.default)("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}});const d={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};(0,n.default)("TSUnionType",d),(0,n.default)("TSIntersectionType",d),(0,n.default)("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}}),(0,n.default)("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}}),(0,n.default)("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}}),(0,n.default)("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(s),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(s),typeAnnotation:(0,n.validateOptionalType)("TSType")}}),(0,n.default)("TSLiteralType",{aliases:["TSType"],visitor:["literal"],fields:{literal:(0,n.validateType)(["NumericLiteral","StringLiteral","BooleanLiteral"])}}),(0,n.default)("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}}),(0,n.default)("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}}),(0,n.default)("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}}),(0,n.default)("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(s),const:(0,n.validateOptional)(s),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}}),(0,n.default)("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}}),(0,n.default)("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(s),global:(0,n.validateOptional)(s),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),(0,n.default)("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}}),(0,n.default)("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),(0,n.default)("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(s),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"])}}),(0,n.default)("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}}),(0,n.default)("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),(0,n.default)("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),(0,n.default)("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}}),(0,n.default)("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}}),(0,n.default)("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}}),(0,n.default)("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:!0},default:{validate:(0,n.assertNodeType)("TSType"),optional:!0}}})},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(0,i.default)(e)){const t=e&&e.type||JSON.stringify(e);throw new TypeError(`Not a valid node of type "${t}"`)}};var n,i=(n=r(252))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertArrayExpression=function(e,t={}){a("ArrayExpression",e,t)},t.assertAssignmentExpression=function(e,t={}){a("AssignmentExpression",e,t)},t.assertBinaryExpression=function(e,t={}){a("BinaryExpression",e,t)},t.assertInterpreterDirective=function(e,t={}){a("InterpreterDirective",e,t)},t.assertDirective=function(e,t={}){a("Directive",e,t)},t.assertDirectiveLiteral=function(e,t={}){a("DirectiveLiteral",e,t)},t.assertBlockStatement=function(e,t={}){a("BlockStatement",e,t)},t.assertBreakStatement=function(e,t={}){a("BreakStatement",e,t)},t.assertCallExpression=function(e,t={}){a("CallExpression",e,t)},t.assertCatchClause=function(e,t={}){a("CatchClause",e,t)},t.assertConditionalExpression=function(e,t={}){a("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t={}){a("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t={}){a("DebuggerStatement",e,t)},t.assertDoWhileStatement=function(e,t={}){a("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t={}){a("EmptyStatement",e,t)},t.assertExpressionStatement=function(e,t={}){a("ExpressionStatement",e,t)},t.assertFile=function(e,t={}){a("File",e,t)},t.assertForInStatement=function(e,t={}){a("ForInStatement",e,t)},t.assertForStatement=function(e,t={}){a("ForStatement",e,t)},t.assertFunctionDeclaration=function(e,t={}){a("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t={}){a("FunctionExpression",e,t)},t.assertIdentifier=function(e,t={}){a("Identifier",e,t)},t.assertIfStatement=function(e,t={}){a("IfStatement",e,t)},t.assertLabeledStatement=function(e,t={}){a("LabeledStatement",e,t)},t.assertStringLiteral=function(e,t={}){a("StringLiteral",e,t)},t.assertNumericLiteral=function(e,t={}){a("NumericLiteral",e,t)},t.assertNullLiteral=function(e,t={}){a("NullLiteral",e,t)},t.assertBooleanLiteral=function(e,t={}){a("BooleanLiteral",e,t)},t.assertRegExpLiteral=function(e,t={}){a("RegExpLiteral",e,t)},t.assertLogicalExpression=function(e,t={}){a("LogicalExpression",e,t)},t.assertMemberExpression=function(e,t={}){a("MemberExpression",e,t)},t.assertNewExpression=function(e,t={}){a("NewExpression",e,t)},t.assertProgram=function(e,t={}){a("Program",e,t)},t.assertObjectExpression=function(e,t={}){a("ObjectExpression",e,t)},t.assertObjectMethod=function(e,t={}){a("ObjectMethod",e,t)},t.assertObjectProperty=function(e,t={}){a("ObjectProperty",e,t)},t.assertRestElement=function(e,t={}){a("RestElement",e,t)},t.assertReturnStatement=function(e,t={}){a("ReturnStatement",e,t)},t.assertSequenceExpression=function(e,t={}){a("SequenceExpression",e,t)},t.assertParenthesizedExpression=function(e,t={}){a("ParenthesizedExpression",e,t)},t.assertSwitchCase=function(e,t={}){a("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t={}){a("SwitchStatement",e,t)},t.assertThisExpression=function(e,t={}){a("ThisExpression",e,t)},t.assertThrowStatement=function(e,t={}){a("ThrowStatement",e,t)},t.assertTryStatement=function(e,t={}){a("TryStatement",e,t)},t.assertUnaryExpression=function(e,t={}){a("UnaryExpression",e,t)},t.assertUpdateExpression=function(e,t={}){a("UpdateExpression",e,t)},t.assertVariableDeclaration=function(e,t={}){a("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t={}){a("VariableDeclarator",e,t)},t.assertWhileStatement=function(e,t={}){a("WhileStatement",e,t)},t.assertWithStatement=function(e,t={}){a("WithStatement",e,t)},t.assertAssignmentPattern=function(e,t={}){a("AssignmentPattern",e,t)},t.assertArrayPattern=function(e,t={}){a("ArrayPattern",e,t)},t.assertArrowFunctionExpression=function(e,t={}){a("ArrowFunctionExpression",e,t)},t.assertClassBody=function(e,t={}){a("ClassBody",e,t)},t.assertClassDeclaration=function(e,t={}){a("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t={}){a("ClassExpression",e,t)},t.assertExportAllDeclaration=function(e,t={}){a("ExportAllDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t={}){a("ExportDefaultDeclaration",e,t)},t.assertExportNamedDeclaration=function(e,t={}){a("ExportNamedDeclaration",e,t)},t.assertExportSpecifier=function(e,t={}){a("ExportSpecifier",e,t)},t.assertForOfStatement=function(e,t={}){a("ForOfStatement",e,t)},t.assertImportDeclaration=function(e,t={}){a("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t={}){a("ImportDefaultSpecifier",e,t)},t.assertImportNamespaceSpecifier=function(e,t={}){a("ImportNamespaceSpecifier",e,t)},t.assertImportSpecifier=function(e,t={}){a("ImportSpecifier",e,t)},t.assertMetaProperty=function(e,t={}){a("MetaProperty",e,t)},t.assertClassMethod=function(e,t={}){a("ClassMethod",e,t)},t.assertObjectPattern=function(e,t={}){a("ObjectPattern",e,t)},t.assertSpreadElement=function(e,t={}){a("SpreadElement",e,t)},t.assertSuper=function(e,t={}){a("Super",e,t)},t.assertTaggedTemplateExpression=function(e,t={}){a("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t={}){a("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t={}){a("TemplateLiteral",e,t)},t.assertYieldExpression=function(e,t={}){a("YieldExpression",e,t)},t.assertAnyTypeAnnotation=function(e,t={}){a("AnyTypeAnnotation",e,t)},t.assertArrayTypeAnnotation=function(e,t={}){a("ArrayTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t={}){a("BooleanTypeAnnotation",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t={}){a("BooleanLiteralTypeAnnotation",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t={}){a("NullLiteralTypeAnnotation",e,t)},t.assertClassImplements=function(e,t={}){a("ClassImplements",e,t)},t.assertDeclareClass=function(e,t={}){a("DeclareClass",e,t)},t.assertDeclareFunction=function(e,t={}){a("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t={}){a("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t={}){a("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t={}){a("DeclareModuleExports",e,t)},t.assertDeclareTypeAlias=function(e,t={}){a("DeclareTypeAlias",e,t)},t.assertDeclareOpaqueType=function(e,t={}){a("DeclareOpaqueType",e,t)},t.assertDeclareVariable=function(e,t={}){a("DeclareVariable",e,t)},t.assertDeclareExportDeclaration=function(e,t={}){a("DeclareExportDeclaration",e,t)},t.assertDeclareExportAllDeclaration=function(e,t={}){a("DeclareExportAllDeclaration",e,t)},t.assertDeclaredPredicate=function(e,t={}){a("DeclaredPredicate",e,t)},t.assertExistsTypeAnnotation=function(e,t={}){a("ExistsTypeAnnotation",e,t)},t.assertFunctionTypeAnnotation=function(e,t={}){a("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t={}){a("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t={}){a("GenericTypeAnnotation",e,t)},t.assertInferredPredicate=function(e,t={}){a("InferredPredicate",e,t)},t.assertInterfaceExtends=function(e,t={}){a("InterfaceExtends",e,t)},t.assertInterfaceDeclaration=function(e,t={}){a("InterfaceDeclaration",e,t)},t.assertInterfaceTypeAnnotation=function(e,t={}){a("InterfaceTypeAnnotation",e,t)},t.assertIntersectionTypeAnnotation=function(e,t={}){a("IntersectionTypeAnnotation",e,t)},t.assertMixedTypeAnnotation=function(e,t={}){a("MixedTypeAnnotation",e,t)},t.assertEmptyTypeAnnotation=function(e,t={}){a("EmptyTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t={}){a("NullableTypeAnnotation",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t={}){a("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t={}){a("NumberTypeAnnotation",e,t)},t.assertObjectTypeAnnotation=function(e,t={}){a("ObjectTypeAnnotation",e,t)},t.assertObjectTypeInternalSlot=function(e,t={}){a("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeCallProperty=function(e,t={}){a("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t={}){a("ObjectTypeIndexer",e,t)},t.assertObjectTypeProperty=function(e,t={}){a("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t={}){a("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t={}){a("OpaqueType",e,t)},t.assertQualifiedTypeIdentifier=function(e,t={}){a("QualifiedTypeIdentifier",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t={}){a("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t={}){a("StringTypeAnnotation",e,t)},t.assertThisTypeAnnotation=function(e,t={}){a("ThisTypeAnnotation",e,t)},t.assertTupleTypeAnnotation=function(e,t={}){a("TupleTypeAnnotation",e,t)},t.assertTypeofTypeAnnotation=function(e,t={}){a("TypeofTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t={}){a("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t={}){a("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t={}){a("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t={}){a("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t={}){a("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t={}){a("TypeParameterInstantiation",e,t)},t.assertUnionTypeAnnotation=function(e,t={}){a("UnionTypeAnnotation",e,t)},t.assertVariance=function(e,t={}){a("Variance",e,t)},t.assertVoidTypeAnnotation=function(e,t={}){a("VoidTypeAnnotation",e,t)},t.assertJSXAttribute=function(e,t={}){a("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t={}){a("JSXClosingElement",e,t)},t.assertJSXElement=function(e,t={}){a("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t={}){a("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t={}){a("JSXExpressionContainer",e,t)},t.assertJSXSpreadChild=function(e,t={}){a("JSXSpreadChild",e,t)},t.assertJSXIdentifier=function(e,t={}){a("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t={}){a("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t={}){a("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t={}){a("JSXOpeningElement",e,t)},t.assertJSXSpreadAttribute=function(e,t={}){a("JSXSpreadAttribute",e,t)},t.assertJSXText=function(e,t={}){a("JSXText",e,t)},t.assertJSXFragment=function(e,t={}){a("JSXFragment",e,t)},t.assertJSXOpeningFragment=function(e,t={}){a("JSXOpeningFragment",e,t)},t.assertJSXClosingFragment=function(e,t={}){a("JSXClosingFragment",e,t)},t.assertNoop=function(e,t={}){a("Noop",e,t)},t.assertPlaceholder=function(e,t={}){a("Placeholder",e,t)},t.assertV8IntrinsicIdentifier=function(e,t={}){a("V8IntrinsicIdentifier",e,t)},t.assertArgumentPlaceholder=function(e,t={}){a("ArgumentPlaceholder",e,t)},t.assertAwaitExpression=function(e,t={}){a("AwaitExpression",e,t)},t.assertBindExpression=function(e,t={}){a("BindExpression",e,t)},t.assertClassProperty=function(e,t={}){a("ClassProperty",e,t)},t.assertOptionalMemberExpression=function(e,t={}){a("OptionalMemberExpression",e,t)},t.assertPipelineTopicExpression=function(e,t={}){a("PipelineTopicExpression",e,t)},t.assertPipelineBareFunction=function(e,t={}){a("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t={}){a("PipelinePrimaryTopicReference",e,t)},t.assertOptionalCallExpression=function(e,t={}){a("OptionalCallExpression",e,t)},t.assertClassPrivateProperty=function(e,t={}){a("ClassPrivateProperty",e,t)},t.assertClassPrivateMethod=function(e,t={}){a("ClassPrivateMethod",e,t)},t.assertImport=function(e,t={}){a("Import",e,t)},t.assertDecorator=function(e,t={}){a("Decorator",e,t)},t.assertDoExpression=function(e,t={}){a("DoExpression",e,t)},t.assertExportDefaultSpecifier=function(e,t={}){a("ExportDefaultSpecifier",e,t)},t.assertExportNamespaceSpecifier=function(e,t={}){a("ExportNamespaceSpecifier",e,t)},t.assertPrivateName=function(e,t={}){a("PrivateName",e,t)},t.assertBigIntLiteral=function(e,t={}){a("BigIntLiteral",e,t)},t.assertTSParameterProperty=function(e,t={}){a("TSParameterProperty",e,t)},t.assertTSDeclareFunction=function(e,t={}){a("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t={}){a("TSDeclareMethod",e,t)},t.assertTSQualifiedName=function(e,t={}){a("TSQualifiedName",e,t)},t.assertTSCallSignatureDeclaration=function(e,t={}){a("TSCallSignatureDeclaration",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t={}){a("TSConstructSignatureDeclaration",e,t)},t.assertTSPropertySignature=function(e,t={}){a("TSPropertySignature",e,t)},t.assertTSMethodSignature=function(e,t={}){a("TSMethodSignature",e,t)},t.assertTSIndexSignature=function(e,t={}){a("TSIndexSignature",e,t)},t.assertTSAnyKeyword=function(e,t={}){a("TSAnyKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t={}){a("TSBooleanKeyword",e,t)},t.assertTSBigIntKeyword=function(e,t={}){a("TSBigIntKeyword",e,t)},t.assertTSNeverKeyword=function(e,t={}){a("TSNeverKeyword",e,t)},t.assertTSNullKeyword=function(e,t={}){a("TSNullKeyword",e,t)},t.assertTSNumberKeyword=function(e,t={}){a("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t={}){a("TSObjectKeyword",e,t)},t.assertTSStringKeyword=function(e,t={}){a("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t={}){a("TSSymbolKeyword",e,t)},t.assertTSUndefinedKeyword=function(e,t={}){a("TSUndefinedKeyword",e,t)},t.assertTSUnknownKeyword=function(e,t={}){a("TSUnknownKeyword",e,t)},t.assertTSVoidKeyword=function(e,t={}){a("TSVoidKeyword",e,t)},t.assertTSThisType=function(e,t={}){a("TSThisType",e,t)},t.assertTSFunctionType=function(e,t={}){a("TSFunctionType",e,t)},t.assertTSConstructorType=function(e,t={}){a("TSConstructorType",e,t)},t.assertTSTypeReference=function(e,t={}){a("TSTypeReference",e,t)},t.assertTSTypePredicate=function(e,t={}){a("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t={}){a("TSTypeQuery",e,t)},t.assertTSTypeLiteral=function(e,t={}){a("TSTypeLiteral",e,t)},t.assertTSArrayType=function(e,t={}){a("TSArrayType",e,t)},t.assertTSTupleType=function(e,t={}){a("TSTupleType",e,t)},t.assertTSOptionalType=function(e,t={}){a("TSOptionalType",e,t)},t.assertTSRestType=function(e,t={}){a("TSRestType",e,t)},t.assertTSUnionType=function(e,t={}){a("TSUnionType",e,t)},t.assertTSIntersectionType=function(e,t={}){a("TSIntersectionType",e,t)},t.assertTSConditionalType=function(e,t={}){a("TSConditionalType",e,t)},t.assertTSInferType=function(e,t={}){a("TSInferType",e,t)},t.assertTSParenthesizedType=function(e,t={}){a("TSParenthesizedType",e,t)},t.assertTSTypeOperator=function(e,t={}){a("TSTypeOperator",e,t)},t.assertTSIndexedAccessType=function(e,t={}){a("TSIndexedAccessType",e,t)},t.assertTSMappedType=function(e,t={}){a("TSMappedType",e,t)},t.assertTSLiteralType=function(e,t={}){a("TSLiteralType",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t={}){a("TSExpressionWithTypeArguments",e,t)},t.assertTSInterfaceDeclaration=function(e,t={}){a("TSInterfaceDeclaration",e,t)},t.assertTSInterfaceBody=function(e,t={}){a("TSInterfaceBody",e,t)},t.assertTSTypeAliasDeclaration=function(e,t={}){a("TSTypeAliasDeclaration",e,t)},t.assertTSAsExpression=function(e,t={}){a("TSAsExpression",e,t)},t.assertTSTypeAssertion=function(e,t={}){a("TSTypeAssertion",e,t)},t.assertTSEnumDeclaration=function(e,t={}){a("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t={}){a("TSEnumMember",e,t)},t.assertTSModuleDeclaration=function(e,t={}){a("TSModuleDeclaration",e,t)},t.assertTSModuleBlock=function(e,t={}){a("TSModuleBlock",e,t)},t.assertTSImportType=function(e,t={}){a("TSImportType",e,t)},t.assertTSImportEqualsDeclaration=function(e,t={}){a("TSImportEqualsDeclaration",e,t)},t.assertTSExternalModuleReference=function(e,t={}){a("TSExternalModuleReference",e,t)},t.assertTSNonNullExpression=function(e,t={}){a("TSNonNullExpression",e,t)},t.assertTSExportAssignment=function(e,t={}){a("TSExportAssignment",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t={}){a("TSNamespaceExportDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t={}){a("TSTypeAnnotation",e,t)},t.assertTSTypeParameterInstantiation=function(e,t={}){a("TSTypeParameterInstantiation",e,t)},t.assertTSTypeParameterDeclaration=function(e,t={}){a("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameter=function(e,t={}){a("TSTypeParameter",e,t)},t.assertExpression=function(e,t={}){a("Expression",e,t)},t.assertBinary=function(e,t={}){a("Binary",e,t)},t.assertScopable=function(e,t={}){a("Scopable",e,t)},t.assertBlockParent=function(e,t={}){a("BlockParent",e,t)},t.assertBlock=function(e,t={}){a("Block",e,t)},t.assertStatement=function(e,t={}){a("Statement",e,t)},t.assertTerminatorless=function(e,t={}){a("Terminatorless",e,t)},t.assertCompletionStatement=function(e,t={}){a("CompletionStatement",e,t)},t.assertConditional=function(e,t={}){a("Conditional",e,t)},t.assertLoop=function(e,t={}){a("Loop",e,t)},t.assertWhile=function(e,t={}){a("While",e,t)},t.assertExpressionWrapper=function(e,t={}){a("ExpressionWrapper",e,t)},t.assertFor=function(e,t={}){a("For",e,t)},t.assertForXStatement=function(e,t={}){a("ForXStatement",e,t)},t.assertFunction=function(e,t={}){a("Function",e,t)},t.assertFunctionParent=function(e,t={}){a("FunctionParent",e,t)},t.assertPureish=function(e,t={}){a("Pureish",e,t)},t.assertDeclaration=function(e,t={}){a("Declaration",e,t)},t.assertPatternLike=function(e,t={}){a("PatternLike",e,t)},t.assertLVal=function(e,t={}){a("LVal",e,t)},t.assertTSEntityName=function(e,t={}){a("TSEntityName",e,t)},t.assertLiteral=function(e,t={}){a("Literal",e,t)},t.assertImmutable=function(e,t={}){a("Immutable",e,t)},t.assertUserWhitespacable=function(e,t={}){a("UserWhitespacable",e,t)},t.assertMethod=function(e,t={}){a("Method",e,t)},t.assertObjectMember=function(e,t={}){a("ObjectMember",e,t)},t.assertProperty=function(e,t={}){a("Property",e,t)},t.assertUnaryLike=function(e,t={}){a("UnaryLike",e,t)},t.assertPattern=function(e,t={}){a("Pattern",e,t)},t.assertClass=function(e,t={}){a("Class",e,t)},t.assertModuleDeclaration=function(e,t={}){a("ModuleDeclaration",e,t)},t.assertExportDeclaration=function(e,t={}){a("ExportDeclaration",e,t)},t.assertModuleSpecifier=function(e,t={}){a("ModuleSpecifier",e,t)},t.assertFlow=function(e,t={}){a("Flow",e,t)},t.assertFlowType=function(e,t={}){a("FlowType",e,t)},t.assertFlowBaseAnnotation=function(e,t={}){a("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t={}){a("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t={}){a("FlowPredicate",e,t)},t.assertJSX=function(e,t={}){a("JSX",e,t)},t.assertPrivate=function(e,t={}){a("Private",e,t)},t.assertTSTypeElement=function(e,t={}){a("TSTypeElement",e,t)},t.assertTSType=function(e,t={}){a("TSType",e,t)},t.assertNumberLiteral=function(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),a("NumberLiteral",e,t)},t.assertRegexLiteral=function(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),a("RegexLiteral",e,t)},t.assertRestProperty=function(e,t){console.trace("The node type RestProperty has been renamed to RestElement"),a("RestProperty",e,t)},t.assertSpreadProperty=function(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement"),a("SpreadProperty",e,t)};var n,i=(n=r(130))&&n.__esModule?n:{default:n};function a(e,t,r){if(!(0,i.default)(e,t,r))throw new Error(`Expected type "${e}" with option ${JSON.stringify(r)}, `+`but instead got "${t.type}".`)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"===e)return(0,n.stringTypeAnnotation)();if("number"===e)return(0,n.numberTypeAnnotation)();if("undefined"===e)return(0,n.voidTypeAnnotation)();if("boolean"===e)return(0,n.booleanTypeAnnotation)();if("function"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));if("object"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));if("symbol"===e)return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));throw new Error("Invalid typeof value")};var n=r(23)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,a.default)(e);return 1===t.length?t[0]:(0,i.unionTypeAnnotation)(t)};var n,i=r(23),a=(n=r(253))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)};var n,i=(n=r(61))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,i.default)(e);return t.loc=null,t};var n,i=(n=r(254))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n){return(0,i.default)(e,t,[{type:n?"CommentLine":"CommentBlock",value:r}])};var n,i=(n=r(255))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.COMMENT_KEYS.forEach(t=>{e[t]=null}),e};var n=r(39)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.PRIVATE_TYPES=t.JSX_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.FLOWTYPE_TYPES=t.FLOW_TYPES=t.MODULESPECIFIER_TYPES=t.EXPORTDECLARATION_TYPES=t.MODULEDECLARATION_TYPES=t.CLASS_TYPES=t.PATTERN_TYPES=t.UNARYLIKE_TYPES=t.PROPERTY_TYPES=t.OBJECTMEMBER_TYPES=t.METHOD_TYPES=t.USERWHITESPACABLE_TYPES=t.IMMUTABLE_TYPES=t.LITERAL_TYPES=t.TSENTITYNAME_TYPES=t.LVAL_TYPES=t.PATTERNLIKE_TYPES=t.DECLARATION_TYPES=t.PUREISH_TYPES=t.FUNCTIONPARENT_TYPES=t.FUNCTION_TYPES=t.FORXSTATEMENT_TYPES=t.FOR_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.WHILE_TYPES=t.LOOP_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.SCOPABLE_TYPES=t.BINARY_TYPES=t.EXPRESSION_TYPES=void 0;var n=r(17);const i=n.FLIPPED_ALIAS_KEYS.Expression;t.EXPRESSION_TYPES=i;const a=n.FLIPPED_ALIAS_KEYS.Binary;t.BINARY_TYPES=a;const s=n.FLIPPED_ALIAS_KEYS.Scopable;t.SCOPABLE_TYPES=s;const o=n.FLIPPED_ALIAS_KEYS.BlockParent;t.BLOCKPARENT_TYPES=o;const u=n.FLIPPED_ALIAS_KEYS.Block;t.BLOCK_TYPES=u;const l=n.FLIPPED_ALIAS_KEYS.Statement;t.STATEMENT_TYPES=l;const c=n.FLIPPED_ALIAS_KEYS.Terminatorless;t.TERMINATORLESS_TYPES=c;const p=n.FLIPPED_ALIAS_KEYS.CompletionStatement;t.COMPLETIONSTATEMENT_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS.Conditional;t.CONDITIONAL_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS.Loop;t.LOOP_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS.While;t.WHILE_TYPES=h;const y=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper;t.EXPRESSIONWRAPPER_TYPES=y;const m=n.FLIPPED_ALIAS_KEYS.For;t.FOR_TYPES=m;const v=n.FLIPPED_ALIAS_KEYS.ForXStatement;t.FORXSTATEMENT_TYPES=v;const g=n.FLIPPED_ALIAS_KEYS.Function;t.FUNCTION_TYPES=g;const T=n.FLIPPED_ALIAS_KEYS.FunctionParent;t.FUNCTIONPARENT_TYPES=T;const E=n.FLIPPED_ALIAS_KEYS.Pureish;t.PUREISH_TYPES=E;const S=n.FLIPPED_ALIAS_KEYS.Declaration;t.DECLARATION_TYPES=S;const b=n.FLIPPED_ALIAS_KEYS.PatternLike;t.PATTERNLIKE_TYPES=b;const x=n.FLIPPED_ALIAS_KEYS.LVal;t.LVAL_TYPES=x;const D=n.FLIPPED_ALIAS_KEYS.TSEntityName;t.TSENTITYNAME_TYPES=D;const A=n.FLIPPED_ALIAS_KEYS.Literal;t.LITERAL_TYPES=A;const C=n.FLIPPED_ALIAS_KEYS.Immutable;t.IMMUTABLE_TYPES=C;const P=n.FLIPPED_ALIAS_KEYS.UserWhitespacable;t.USERWHITESPACABLE_TYPES=P;const w=n.FLIPPED_ALIAS_KEYS.Method;t.METHOD_TYPES=w;const _=n.FLIPPED_ALIAS_KEYS.ObjectMember;t.OBJECTMEMBER_TYPES=_;const O=n.FLIPPED_ALIAS_KEYS.Property;t.PROPERTY_TYPES=O;const F=n.FLIPPED_ALIAS_KEYS.UnaryLike;t.UNARYLIKE_TYPES=F;const N=n.FLIPPED_ALIAS_KEYS.Pattern;t.PATTERN_TYPES=N;const I=n.FLIPPED_ALIAS_KEYS.Class;t.CLASS_TYPES=I;const k=n.FLIPPED_ALIAS_KEYS.ModuleDeclaration;t.MODULEDECLARATION_TYPES=k;const L=n.FLIPPED_ALIAS_KEYS.ExportDeclaration;t.EXPORTDECLARATION_TYPES=L;const M=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier;t.MODULESPECIFIER_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS.Flow;t.FLOW_TYPES=B;const j=n.FLIPPED_ALIAS_KEYS.FlowType;t.FLOWTYPE_TYPES=j;const R=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;t.FLOWBASEANNOTATION_TYPES=R;const V=n.FLIPPED_ALIAS_KEYS.FlowDeclaration;t.FLOWDECLARATION_TYPES=V;const q=n.FLIPPED_ALIAS_KEYS.FlowPredicate;t.FLOWPREDICATE_TYPES=q;const U=n.FLIPPED_ALIAS_KEYS.JSX;t.JSX_TYPES=U;const K=n.FLIPPED_ALIAS_KEYS.Private;t.PRIVATE_TYPES=K;const X=n.FLIPPED_ALIAS_KEYS.TSTypeElement;t.TSTYPEELEMENT_TYPES=X;const J=n.FLIPPED_ALIAS_KEYS.TSType;t.TSTYPE_TYPES=J},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="body"){return e[t]=(0,i.default)(e[t],e)};var n,i=(n=r(260))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"eval"!==(e=(0,i.default)(e))&&"arguments"!==e||(e="_"+e);return e};var n,i=(n=r(261))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=e.key||e.property){!e.computed&&(0,n.isIdentifier)(t)&&(t=(0,i.stringLiteral)(t.name));return t};var n=r(9),i=r(23)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,n.isExpressionStatement)(e)&&(e=e.expression);if((0,n.isExpression)(e))return e;(0,n.isClass)(e)?e.type="ClassExpression":(0,n.isFunction)(e)&&(e.type="FunctionExpression");if(!(0,n.isExpression)(e))throw new Error(`cannot turn ${e.type} to an expression`);return e};var n=r(9)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var n=r(9),i=s(r(61)),a=s(r(262));function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t=e.key){let r;return"method"===e.kind?o.increment()+"":(r=(0,n.isIdentifier)(t)?t.name:(0,n.isStringLiteral)(t)?JSON.stringify(t.value):JSON.stringify((0,a.default)((0,i.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r=`static:${r}`),r)}o.uid=0,o.increment=function(){return o.uid>=Number.MAX_SAFE_INTEGER?o.uid=0:o.uid++}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!e.length)return;const r=[],n=(0,i.default)(e,t,r);if(!n)return;for(const e of r)t.push(e);return n};var n,i=(n=r(586))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,o){const u=[];let l=!0;for(const c of t)if(l=!1,(0,i.isExpression)(c))u.push(c);else if((0,i.isExpressionStatement)(c))u.push(c.expression);else if((0,i.isVariableDeclaration)(c)){if("var"!==c.kind)return;for(const e of c.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t))o.push({kind:c.kind,id:(0,s.default)(t[e])});e.init&&u.push((0,a.assignmentExpression)("=",e.id,e.init))}l=!0}else if((0,i.isIfStatement)(c)){const t=c.consequent?e([c.consequent],r,o):r.buildUndefinedNode(),n=c.alternate?e([c.alternate],r,o):r.buildUndefinedNode();if(!t||!n)return;u.push((0,a.conditionalExpression)(c.test,t,n))}else if((0,i.isBlockStatement)(c)){const t=e(c.body,r,o);if(!t)return;u.push(t)}else{if(!(0,i.isEmptyStatement)(c))return;l=!0}l&&u.push(r.buildUndefinedNode());return 1===u.length?u[0]:(0,a.sequenceExpression)(u)};var n=o(r(81)),i=r(9),a=r(23),s=o(r(61));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isStatement)(e))return e;let r,a=!1;if((0,n.isClass)(e))a=!0,r="ClassDeclaration";else if((0,n.isFunction)(e))a=!0,r="FunctionDeclaration";else if((0,n.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);a&&!e.id&&(r=!1);if(!r){if(t)return!1;throw new Error(`cannot turn ${e.type} to a statement`)}return e.type=r,e};var n=r(9),i=r(23)},function(e,t,r){"use strict";function n(){const e=o(r(74));return n=function(){return e},e}function i(){const e=o(r(75));return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if(void 0===t)return(0,s.identifier)("undefined");if(!0===t||!1===t)return(0,s.booleanLiteral)(t);if(null===t)return(0,s.nullLiteral)();if("string"==typeof t)return(0,s.stringLiteral)(t);if("number"==typeof t){let e;if(Number.isFinite(t))e=(0,s.numericLiteral)(Math.abs(t));else{let r;r=Number.isNaN(t)?(0,s.numericLiteral)(0):(0,s.numericLiteral)(1),e=(0,s.binaryExpression)("/",r,(0,s.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,s.unaryExpression)("-",e)),e}if((0,i().default)(t)){const e=t.source,r=t.toString().match(/\/([a-z]+|)$/)[1];return(0,s.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,s.arrayExpression)(t.map(e));if((0,n().default)(t)){const r=[];for(const n of Object.keys(t)){let i;i=(0,a.default)(n)?(0,s.identifier)(n):(0,s.stringLiteral)(n),r.push((0,s.objectProperty)(i,e(t[n])))}return(0,s.objectExpression)(r)}throw new Error("don't know how to turn this value into a node")};var a=o(r(60)),s=r(23);function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r=!1){return e.object=(0,n.memberExpression)(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e};var n=r(23)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e||!t)return e;for(const r of i.INHERIT_KEYS.optional)null==e[r]&&(e[r]=t[r]);for(const r of Object.keys(t))"_"===r[0]&&"__clone"!==r&&(e[r]=t[r]);for(const r of i.INHERIT_KEYS.force)e[r]=t[r];return(0,a.default)(e,t),e};var n,i=r(39),a=(n=r(258))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.object=(0,n.memberExpression)(t,e.object),e};var n=r(23)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,i.default)(e,t,!0)};var n,i=(n=r(81))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){"function"==typeof t&&(t={enter:t});const{enter:i,exit:a}=t;!function e(t,r,i,a,s){const o=n.VISITOR_KEYS[t.type];if(!o)return;r&&r(t,s,a);for(const n of o){const o=t[n];if(Array.isArray(o))for(let u=0;u<o.length;u++){const l=o[u];l&&(s.push({node:t,key:n,index:u}),e(l,r,i,a,s),s.pop())}else o&&(s.push({node:t,key:n}),e(o,r,i,a,s),s.pop())}i&&i(t,s,a)}(e,i,a,r,[])};var n=r(17)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(r&&"Identifier"===e.type&&"ObjectProperty"===t.type&&"ObjectExpression"===r.type)return!1;const n=i.default.keys[t.type];if(n)for(let r=0;r<n.length;r++){const i=n[r],a=t[i];if(Array.isArray(a)){if(a.indexOf(e)>=0)return!0}else if(a===e)return!0}return!1};var n,i=(n=r(81))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.isFunctionDeclaration)(e)||(0,i.isClassDeclaration)(e)||(0,a.default)(e)};var n,i=r(9),a=(n=r(265))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,i.default)(e.type,"Immutable"))return!0;if((0,a.isIdentifier)(e))return"undefined"===e.name;return!1};var n,i=(n=r(131))&&n.__esModule?n:{default:n},a=r(9)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){if("object"!=typeof t||"object"!=typeof r||null==t||null==r)return t===r;if(t.type!==r.type)return!1;const i=Object.keys(n.NODE_FIELDS[t.type]||t.type);const a=n.VISITOR_KEYS[t.type];for(const n of i){if(typeof t[n]!=typeof r[n])return!1;if(null!=t[n]||null!=r[n]){if(null==t[n]||null==r[n])return!1;if(Array.isArray(t[n])){if(!Array.isArray(r[n]))return!1;if(t[n].length!==r[n].length)return!1;for(let i=0;i<t[n].length;i++)if(!e(t[n][i],r[n][i]))return!1}else if("object"!=typeof t[n]||a&&a.includes(n)){if(!e(t[n],r[n]))return!1}else for(const e of Object.keys(t[n]))if(t[n][e]!==r[n][e])return!1}}return!0};var n=r(17)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){switch(t.type){case"MemberExpression":case"JSXMemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"ExportSpecifier":return!t.source&&t.local===e;case"PrivateName":return!1;case"ObjectProperty":case"ClassProperty":case"ClassPrivateProperty":case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e?!!t.computed:t.value!==e||(!r||"ObjectPattern"!==r.type);case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"LabeledStatement":case"CatchClause":case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":return t.key!==e||!!t.computed}return!0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.isBlockStatement)(e)&&(0,n.isFunction)(t,{body:e}))return!1;if((0,n.isBlockStatement)(e)&&(0,n.isCatchClause)(t,{body:e}))return!1;return(0,n.isScopable)(e)};var n=r(9)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isImportDefaultSpecifier)(e)||(0,n.isIdentifier)(e.imported||e.exported,{name:"default"})};var n=r(9)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)&&!a.has(e)};var n,i=(n=r(60))&&n.__esModule?n:{default:n};const a=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isVariableDeclaration)(e,{kind:"var"})&&!e[i.BLOCK_SCOPED_SYMBOL]};var n=r(9),i=r(39)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const{metadata:s,names:u}=function(e,t,r){let n,a,s,u="";do{const l=o(t,u+="$");n=l.names,a=new Set(n),s=(0,i.default)(e,e.code(l.code),{parser:r.parser,placeholderWhitelist:new Set(l.names.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders})}while(s.placeholders.some(e=>e.isDuplicate&&a.has(e.name)));return{metadata:s,names:n}}(e,t,r);return t=>{const r=t.reduce((e,t,r)=>(e[u[r]]=t,e),{});return t=>{const i=(0,n.normalizeReplacements)(t);return i&&Object.keys(i).forEach(e=>{if(Object.prototype.hasOwnProperty.call(r,e))throw new Error("Unexpected replacement overlap.")}),e.unwrap((0,a.default)(s,i?Object.assign(i,r):r))}}};var n=r(127),i=s(r(246)),a=s(r(266));function s(e){return e&&e.__esModule?e:{default:e}}function o(e,t){const r=[];let n=e[0];for(let i=1;i<e.length;i++){const a=`${t}${i-1}`;r.push(a),n+=a+e[i]}return{names:r,code:n}}},function(e,t,r){"use strict";function n(){const e=(t=r(110))&&t.__esModule?t:{default:t};var t;return n=function(){return e},e}function i(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return i=function(){return e},e}function a(e){const t=this.node&&this.node[e];return t&&Array.isArray(t)?!!t.length:!!t}Object.defineProperty(t,"__esModule",{value:!0}),t.matchesPattern=function(e,t){return i().matchesPattern(this.node,e,t)},t.has=a,t.isStatic=function(){return this.scope.isStatic(this.node)},t.isnt=function(e){return!this.has(e)},t.equals=function(e,t){return this.node[e]===t},t.isNodeType=function(e){return i().isType(this.type,e)},t.canHaveVariableDeclarationOrExpression=function(){return("init"===this.key||"left"===this.key)&&this.parentPath.isFor()},t.canSwapBetweenExpressionAndStatement=function(e){if("body"!==this.key||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return i().isBlockStatement(e);if(this.isBlockStatement())return i().isExpression(e);return!1},t.isCompletionRecord=function(e){let t=this,r=!0;do{const n=t.container;if(t.isFunction()&&!r)return!!e;if(r=!1,Array.isArray(n)&&t.key!==n.length-1)return!1}while((t=t.parentPath)&&!t.isProgram());return!0},t.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!i().isBlockStatement(this.container)&&(0,n().default)(i().STATEMENT_OR_BLOCK_KEYS,this.key)},t.referencesImport=function(e,t){if(!this.isReferencedIdentifier())return!1;const r=this.scope.getBinding(this.node.name);if(!r||"module"!==r.kind)return!1;const n=r.path,i=n.parentPath;if(!i.isImportDeclaration())return!1;if(i.node.source.value!==e)return!1;if(!t)return!0;if(n.isImportDefaultSpecifier()&&"default"===t)return!0;if(n.isImportNamespaceSpecifier()&&"*"===t)return!0;if(n.isImportSpecifier()&&n.node.imported.name===t)return!0;return!1},t.getSource=function(){const e=this.node;if(e.end){const t=this.hub.getCode();if(t)return t.slice(e.start,e.end)}return""},t.willIMaybeExecuteBefore=function(e){return"after"!==this._guessExecutionStatusRelativeTo(e)},t._guessExecutionStatusRelativeTo=function(e){const t=e.scope.getFunctionParent()||e.scope.getProgramParent(),r=this.scope.getFunctionParent()||e.scope.getProgramParent();if(t.node!==r.node){const r=this._guessExecutionStatusRelativeToDifferentFunctions(t);if(r)return r;e=t.path}const n=e.getAncestry();if(n.indexOf(this)>=0)return"after";const a=this.getAncestry();let s,o,u;for(u=0;u<a.length;u++){const e=a[u];if((o=n.indexOf(e))>=0){s=e;break}}if(!s)return"before";const l=n[o-1],c=a[u-1];if(!l||!c)return"before";if(l.listKey&&l.container===c.container)return l.key>c.key?"before":"after";const p=i().VISITOR_KEYS[s.type],f=p.indexOf(l.key),d=p.indexOf(c.key);return f>d?"before":"after"},t._guessExecutionStatusRelativeToDifferentFunctions=function(e){const t=e.path;if(!t.isFunctionDeclaration())return;const r=t.scope.getBinding(t.node.id.name);if(!r.references)return"before";const n=r.referencePaths;for(const e of n)if("callee"!==e.key||!e.parentPath.isCallExpression())return;let i;for(const e of n){if(!!e.find(e=>e.node===t.node))continue;const r=this._guessExecutionStatusRelativeTo(e);if(i){if(i!==r)return}else i=r}return i},t.resolve=function(e,t){return this._resolve(e,t)||this},t._resolve=function(e,t){if(t&&t.indexOf(this)>=0)return;if((t=t||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(e,t)}else if(this.isReferencedIdentifier()){const r=this.scope.getBinding(this.node.name);if(!r)return;if(!r.constant)return;if("module"===r.kind)return;if(r.path!==this){const n=r.path.resolve(e,t);if(this.find(e=>e.node===n.node))return;return n}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(e,t);if(e&&this.isMemberExpression()){const r=this.toComputedKey();if(!i().isLiteral(r))return;const n=r.value,a=this.get("object").resolve(e,t);if(a.isObjectExpression()){const r=a.get("properties");for(const i of r){if(!i.isProperty())continue;const r=i.get("key");let a=i.isnt("computed")&&r.isIdentifier({name:n});if(a=a||r.isLiteral({value:n}))return i.get("value").resolve(e,t)}}else if(a.isArrayExpression()&&!isNaN(+n)){const r=a.get("elements")[n];if(r)return r.resolve(e,t)}}}},t.isConstantExpression=function(){if(this.isIdentifier()){const e=this.scope.getBinding(this.node.name);return!!e&&e.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every(e=>e.isConstantExpression()));if(this.isUnaryExpression())return"void"===this.get("operator").node&&this.get("argument").isConstantExpression();if(this.isBinaryExpression())return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression();return!1},t.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find(e=>{if(e.isProgram({sourceType:"module"}))return!0;if(e.isClass())return!0;if(!e.isProgram()&&!e.isFunction())return!1;if(e.isArrowFunctionExpression()&&!e.get("body").isBlockStatement())return!1;let{node:t}=e;e.isFunction()&&(t=t.body);for(const e of t.directives)if("use strict"===e.value.value)return!0})},t.is=void 0;const s=a;t.is=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.call=function(e){const t=this.opts;if(this.debug(e),this.node&&this._call(t[e]))return!0;if(this.node)return this._call(t[this.node.type]&&t[this.node.type][e]);return!1},t._call=function(e){if(!e)return!1;for(const t of e){if(!t)continue;const e=this.node;if(!e)return!0;const r=t.call(this.state,this,this.state);if(r&&"object"==typeof r&&"function"==typeof r.then)throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support.If you're using a published plugin, you may need to upgrade your @babel/core version.");if(r)throw new Error(`Unexpected return value from visitor method ${t}`);if(this.node!==e)return!0;if(this.shouldStop||this.shouldSkip||this.removed)return!0}return!1},t.isBlacklisted=function(){const e=this.opts.blacklist;return e&&e.indexOf(this.node.type)>-1},t.visit=function(){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("Skip..."),this.shouldStop;return this.debug("Recursing into..."),i.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys),this.call("exit"),this.shouldStop},t.skip=function(){this.shouldSkip=!0},t.skipKey=function(e){this.skipKeys[e]=!0},t.stop=function(){this.shouldStop=!0,this.shouldSkip=!0},t.setScope=function(){if(this.opts&&this.opts.noScope)return;let e,t=this.parentPath;for(;t&&!e;){if(t.opts&&t.opts.noScope)return;e=t.scope,t=t.parentPath}this.scope=this.getScope(e),this.scope&&this.scope.init()},t.setContext=function(e){this.shouldSkip=!1,this.shouldStop=!1,this.removed=!1,this.skipKeys={},e&&(this.context=e,this.state=e.state,this.opts=e.opts);return this.setScope(),this},t.resync=function(){if(this.removed)return;this._resyncParent(),this._resyncList(),this._resyncKey()},t._resyncParent=function(){this.parentPath&&(this.parent=this.parentPath.node)},t._resyncKey=function(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let e=0;e<this.container.length;e++)if(this.container[e]===this.node)return this.setKey(e)}else for(const e in this.container)if(this.container[e]===this.node)return this.setKey(e);this.key=null},t._resyncList=function(){if(!this.parent||!this.inList)return;const e=this.parent[this.listKey];if(this.container===e)return;this.container=e||null},t._resyncRemoved=function(){null!=this.key&&this.container&&this.container[this.key]===this.node||this._markRemoved()},t.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},t.pushContext=function(e){this.contexts.push(e),this.setContext(e)},t.setup=function(e,t,r,n){this.inList=!!r,this.listKey=r,this.parentKey=r||n,this.container=t,this.parentPath=e||this.parentPath,this.setKey(n)},t.setKey=function(e){this.key=e,this.node=this.container[this.key],this.type=this.node&&this.node.type},t.requeue=function(e=this){if(e.removed)return;const t=this.contexts;for(const r of t)r.maybeQueue(e)},t._getQueueContexts=function(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath);)t=e.contexts;return t};var n,i=(n=r(36))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.remove=function(){if(this._assertUnremoved(),this.resync(),this._removeFromScope(),this._callRemovalHooks())return void this._markRemoved();this.shareCommentsWithSiblings(),this._remove(),this._markRemoved()},t._removeFromScope=function(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))},t._callRemovalHooks=function(){for(const e of n.hooks)if(e(this,this.parentPath))return!0},t._remove=function(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)},t._markRemoved=function(){this.shouldSkip=!0,this.removed=!0,this.node=null},t._assertUnremoved=function(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")};var n=r(607)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hooks=void 0;t.hooks=[function(e,t){if("test"===e.key&&(t.isWhile()||t.isSwitchCase())||"declaration"===e.key&&t.isExportDeclaration()||"body"===e.key&&t.isLabeledStatement()||"declarations"===e.listKey&&t.isVariableDeclaration()&&1===t.node.declarations.length||"expression"===e.key&&t.isExpressionStatement())return t.remove(),!0},function(e,t){if(t.isSequenceExpression()&&1===t.node.expressions.length)return t.replaceWith(t.node.expressions[0]),!0},function(e,t){if(t.isBinary())return"left"===e.key?t.replaceWith(t.node.right):t.replaceWith(t.node.left),!0},function(e,t){if(t.isIfStatement()&&("consequent"===e.key||"alternate"===e.key)||"body"===e.key&&(t.isLoop()||t.isArrowFunctionExpression()))return e.replaceWith({type:"BlockStatement",body:[]}),!0}]},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.insertBefore=function(e){this._assertUnremoved(),e=this._verifyNodeList(e);const{parentPath:t}=this;if(t.isExpressionStatement()||t.isLabeledStatement()||t.isExportNamedDeclaration()||t.isExportDefaultDeclaration()&&this.isDeclaration())return t.insertBefore(e);if(this.isNodeType("Expression")&&"params"!==this.listKey&&"arguments"!==this.listKey||t.isForStatement()&&"init"===this.key)return this.node&&e.push(this.node),this.replaceExpressionWithStatements(e);if(Array.isArray(this.container))return this._containerInsertBefore(e);if(this.isStatementOrBlock()){const t=this.node&&(!this.isExpressionStatement()||null!=this.node.expression);return this.replaceWith(s().blockStatement(t?[this.node]:[])),this.unshiftContainer("body",e)}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?")},t._containerInsert=function(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let n=0;n<t.length;n++){const t=e+n,i=this.getSibling(t);r.push(i),this.context&&this.context.queue&&i.pushContext(this.context)}const n=this._getQueueContexts();for(const e of r){e.setScope(),e.debug("Inserted.");for(const t of n)t.maybeQueue(e,!0)}return r},t._containerInsertBefore=function(e){return this._containerInsert(this.key,e)},t._containerInsertAfter=function(e){return this._containerInsert(this.key+1,e)},t.insertAfter=function(e){this._assertUnremoved(),e=this._verifyNodeList(e);const{parentPath:t}=this;if(t.isExpressionStatement()||t.isLabeledStatement()||t.isExportNamedDeclaration()||t.isExportDefaultDeclaration()&&this.isDeclaration())return t.insertAfter(e.map(e=>s().isExpression(e)?s().expressionStatement(e):e));if(this.isNodeType("Expression")&&!this.isJSXElement()||t.isForStatement()&&"init"===this.key){if(this.node){let{scope:r}=this;t.isMethod({computed:!0,key:this.node})&&(r=r.parent);const n=r.generateDeclaredUidIdentifier();e.unshift(s().expressionStatement(s().assignmentExpression("=",s().cloneNode(n),this.node))),e.push(s().expressionStatement(s().cloneNode(n)))}return this.replaceExpressionWithStatements(e)}if(Array.isArray(this.container))return this._containerInsertAfter(e);if(this.isStatementOrBlock()){const t=this.node&&(!this.isExpressionStatement()||null!=this.node.expression);return this.replaceWith(s().blockStatement(t?[this.node]:[])),this.pushContainer("body",e)}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?")},t.updateSiblingKeys=function(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(let n=0;n<r.length;n++){const i=r[n];i.key>=e&&(i.key+=t)}},t._verifyNodeList=function(e){if(!e)return[];e.constructor!==Array&&(e=[e]);for(let t=0;t<e.length;t++){const r=e[t];let n;if(r?"object"!=typeof r?n="contains a non-object node":r.type?r instanceof a.default&&(n="has a NodePath when it expected a raw object"):n="without a type":n="has falsy node",n){const e=Array.isArray(r)?"array":typeof r;throw new Error(`Node list ${n} with the index of ${t} and type of ${e}`)}}return e},t.unshiftContainer=function(e,t){return this._assertUnremoved(),t=this._verifyNodeList(t),a.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).insertBefore(t)},t.pushContainer=function(e,t){this._assertUnremoved(),t=this._verifyNodeList(t);const r=this.node[e];return a.default.get({parentPath:this,parent:this.node,container:r,listKey:e,key:r.length}).replaceWithMultiple(t)},t.hoist=function(e=this.scope){return new i.default(this,e).run()};var n=r(79),i=o(r(609)),a=o(r(45));function s(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return s=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&n().react.isCompatTag(e.node.name)&&!e.parentPath.isJSXMemberExpression())return;if("this"===e.node.name){let r=e.scope;do{if(r.path.isFunction()&&!r.path.isArrowFunctionExpression())break}while(r=r.parent);r&&t.breakOnScopePaths.push(r.path)}const r=e.scope.getBinding(e.node.name);r&&r===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=r)}};t.default=class{constructor(e,t){this.breakOnScopePaths=[],this.bindings={},this.scopes=[],this.scope=t,this.path=e,this.attachAfter=!1}isCompatibleScope(e){for(const t in this.bindings){const r=this.bindings[t];if(!e.bindingIdentifierEquals(t,r.identifier))return!1}return!0}getCompatibleScopes(){let e=this.path.scope;do{if(!this.isCompatibleScope(e))break;if(this.scopes.push(e),this.breakOnScopePaths.indexOf(e.path)>=0)break}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let t=e.scope;if(t.path===e&&(t=e.scope.parent),t.path.isProgram()||t.path.isFunction())for(const r in this.bindings){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if("param"!==n.kind&&"params"!==n.path.parentKey&&this.getAttachmentParentForPath(n.path).key>=e.key){this.attachAfter=!0,e=n.path;for(const t of n.constantViolations)this.getAttachmentParentForPath(t).key>e.key&&(e=t)}}return e}_getAttachmentPath(){const e=this.scopes.pop();if(e)if(e.path.isFunction()){if(!this.hasOwnParamBindings(e))return this.getNextScopeAttachmentParent();{if(this.scope===e)return;const t=e.path.get("body").get("body");for(let e=0;e<t.length;e++)if(!t[e].node._blockHoist)return t[e]}}else if(e.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){const e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do{if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())return e}while(e=e.parentPath)}hasOwnParamBindings(e){for(const t in this.bindings){if(!e.hasOwnBinding(t))continue;const r=this.bindings[t];if("param"===r.kind&&r.constant)return!0}return!1}run(){this.path.traverse(i,this),this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const r=n().variableDeclarator(t,this.path.node),a=this.attachAfter?"insertAfter":"insertBefore",[s]=e[a]([e.isVariableDeclarator()?r:n().variableDeclaration("var",[r])]),o=this.path.parentPath;return o.isJSXElement()&&this.path.container===o.node.children&&(t=n().JSXExpressionContainer(t)),this.path.replaceWith(n().cloneNode(t)),e.isVariableDeclarator()?s.get("init"):s.get("declarations.0.init")}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOpposite=function(){if("left"===this.key)return this.getSibling("right");if("right"===this.key)return this.getSibling("left")},t.getCompletionRecords=function(){let e=[];if(this.isIfStatement())e=s(this.get("consequent"),e),e=s(this.get("alternate"),e);else if(this.isDoExpression()||this.isFor()||this.isWhile())e=s(this.get("body"),e);else if(this.isProgram()||this.isBlockStatement())e=s(this.get("body").pop(),e);else{if(this.isFunction())return this.get("body").getCompletionRecords();this.isTryStatement()?(e=s(this.get("block"),e),e=s(this.get("handler"),e),e=s(this.get("finalizer"),e)):this.isCatchClause()?e=s(this.get("body"),e):e.push(this)}return e},t.getSibling=function(e){return i.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e})},t.getPrevSibling=function(){return this.getSibling(this.key-1)},t.getNextSibling=function(){return this.getSibling(this.key+1)},t.getAllNextSiblings=function(){let e=this.key,t=this.getSibling(++e);const r=[];for(;t.node;)r.push(t),t=this.getSibling(++e);return r},t.getAllPrevSiblings=function(){let e=this.key,t=this.getSibling(--e);const r=[];for(;t.node;)r.push(t),t=this.getSibling(--e);return r},t.get=function(e,t){!0===t&&(t=this.context);const r=e.split(".");return 1===r.length?this._getKey(e,t):this._getPattern(r,t)},t._getKey=function(e,t){const r=this.node,n=r[e];return Array.isArray(n)?n.map((a,s)=>i.default.get({listKey:e,parentPath:this,parent:r,container:n,key:s}).setContext(t)):i.default.get({parentPath:this,parent:r,container:r,key:e}).setContext(t)},t._getPattern=function(e,t){let r=this;for(const n of e)r="."===n?r.parentPath:Array.isArray(r)?r[n]:r.get(n,t);return r},t.getBindingIdentifiers=function(e){return a().getBindingIdentifiers(this.node,e)},t.getOuterBindingIdentifiers=function(e){return a().getOuterBindingIdentifiers(this.node,e)},t.getBindingIdentifierPaths=function(e=!1,t=!1){let r=[].concat(this);const n=Object.create(null);for(;r.length;){const i=r.shift();if(!i)continue;if(!i.node)continue;const s=a().getBindingIdentifiers.keys[i.node.type];if(i.isIdentifier())if(e){(n[i.node.name]=n[i.node.name]||[]).push(i)}else n[i.node.name]=i;else if(i.isExportDeclaration()){const e=i.get("declaration");e.isDeclaration()&&r.push(e)}else{if(t){if(i.isFunctionDeclaration()){r.push(i.get("id"));continue}if(i.isFunctionExpression())continue}if(s)for(let e=0;e<s.length;e++){const t=s[e],n=i.get(t);(Array.isArray(n)||n.node)&&(r=r.concat(n))}}}return n},t.getOuterBindingIdentifierPaths=function(e){return this.getBindingIdentifierPaths(e,!0)};var n,i=(n=r(45))&&n.__esModule?n:{default:n};function a(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return a=function(){return e},e}function s(e,t){return e?t.concat(e.getCompletionRecords()):t}},function(e,t,r){"use strict";function n(){const e=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(3));return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.shareCommentsWithSiblings=function(){if("string"==typeof this.key)return;const e=this.node;if(!e)return;const t=e.trailingComments,r=e.leadingComments;if(!t&&!r)return;const n=this.getSibling(this.key-1),i=this.getSibling(this.key+1),a=Boolean(n.node),s=Boolean(i.node);a&&s||(a?n.addComments("trailing",t):s&&i.addComments("leading",r))},t.addComment=function(e,t,r){n().addComment(this.node,e,t,r)},t.addComments=function(e,t){n().addComments(this.node,e,t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.explode=o,t.verify=u,t.merge=function(e,t=[],r){const n={};for(let i=0;i<e.length;i++){const a=e[i],s=t[i];o(a);for(const e in a){let t=a[e];(s||r)&&(t=c(t,s,r)),h(n[e]=n[e]||{},t)}}return n};var n=s(r(194));function i(){const e=s(r(3));return i=function(){return e},e}function a(){const e=(t=r(50))&&t.__esModule?t:{default:t};var t;return a=function(){return e},e}function s(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}function o(e){if(e._exploded)return e;e._exploded=!0;for(const t in e){if(d(t))continue;const r=t.split("|");if(1===r.length)continue;const n=e[t];delete e[t];for(const t of r)e[t]=n}u(e),delete e.__esModule,function(e){for(const t in e){if(d(t))continue;const r=e[t];"function"==typeof r&&(e[t]={enter:r})}}(e),p(e);for(const t of Object.keys(e)){if(d(t))continue;const r=n[t];if(!r)continue;const i=e[t];for(const e in i)i[e]=f(r,i[e]);if(delete e[t],r.types)for(const t of r.types)e[t]?h(e[t],i):e[t]=i;else h(e,i)}for(const t in e){if(d(t))continue;const r=e[t];let n=i().FLIPPED_ALIAS_KEYS[t];const s=i().DEPRECATED_KEYS[t];if(s&&(console.trace(`Visitor defined for ${t} but it has been renamed to ${s}`),n=[s]),n){delete e[t];for(const t of n){const n=e[t];n?h(n,r):e[t]=(0,a().default)(r)}}}for(const t in e)d(t)||p(e[t]);return e}function u(e){if(!e._verified){if("function"==typeof e)throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(const t in e){if("enter"!==t&&"exit"!==t||l(t,e[t]),d(t))continue;if(i().TYPES.indexOf(t)<0)throw new Error(`You gave us a visitor for the node type ${t} but it's not a valid type`);const r=e[t];if("object"==typeof r)for(const e in r){if("enter"!==e&&"exit"!==e)throw new Error("You passed `traverse()` a visitor object with the property "+`${t} that has the invalid property ${e}`);l(`${t}.${e}`,r[e])}}e._verified=!0}}function l(e,t){const r=[].concat(t);for(const t of r)if("function"!=typeof t)throw new TypeError(`Non-function found defined in ${e} with type ${typeof t}`)}function c(e,t,r){const n={};for(const i in e){let a=e[i];Array.isArray(a)&&(a=a.map((function(e){let n=e;return t&&(n=function(r){return e.call(t,r,t)}),r&&(n=r(t.key,i,n)),n})),n[i]=a)}return n}function p(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function f(e,t){const r=function(r){if(e.checkPath(r))return t.apply(this,arguments)};return r.toString=()=>t.toString(),r}function d(e){return"_"===e[0]||("enter"===e||"exit"===e||"shouldSkip"===e||("blacklist"===e||"noScope"===e||"skipKeys"===e))}function h(e,t){for(const r in t)e[r]=[].concat(e[r]||[],t[r])}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,t,r=TypeError){return new r(t)}}},function(e,t,r){var n=r(615),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,s=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(a,"$1"):r||e)})),t}));e.exports=s},function(e,t,r){var n=r(616),i=500;e.exports=function(e){var t=n(e,(function(e){return r.size===i&&r.clear(),e})),r=t.cache;return t}},function(e,t,r){var n=r(97),i="Expected a function";function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var s=e.apply(this,n);return r.cache=a.set(i,s)||a,s};return r.cache=new(a.Cache||n),r}a.Cache=n,e.exports=a},function(e,t,r){var n=r(618)(r(634));e.exports=n},function(e,t,r){var n=r(271),i=r(34),a=r(44);e.exports=function(e){return function(t,r,s){var o=Object(t);if(!i(t)){var u=n(r,3);t=a(t),r=function(e){return u(o[e],e,o)}}var l=e(t,r,s);return l>-1?o[u?t[l]:l]:void 0}}},function(e,t,r){var n=r(620),i=r(626),a=r(275);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},function(e,t,r){var n=r(96),i=r(272),a=1,s=2;e.exports=function(e,t,r,o){var u=r.length,l=u,c=!o;if(null==e)return!l;for(e=Object(e);u--;){var p=r[u];if(c&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++u<l;){var f=(p=r[u])[0],d=e[f],h=p[1];if(c&&p[2]){if(void 0===d&&!(f in e))return!1}else{var y=new n;if(o)var m=o(d,h,f,e,t,y);if(!(void 0===m?i(h,d,a|s,o,y):m))return!1}}return!0}},function(e,t,r){var n=r(96),i=r(273),a=r(623),s=r(625),o=r(43),u=r(14),l=r(47),c=r(65),p=1,f="[object Arguments]",d="[object Array]",h="[object Object]",y=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,v,g){var T=u(e),E=u(t),S=T?d:o(e),b=E?d:o(t),x=(S=S==f?h:S)==h,D=(b=b==f?h:b)==h,A=S==b;if(A&&l(e)){if(!l(t))return!1;T=!0,x=!1}if(A&&!x)return g||(g=new n),T||c(e)?i(e,t,r,m,v,g):a(e,t,S,r,m,v,g);if(!(r&p)){var C=x&&y.call(e,"__wrapped__"),P=D&&y.call(t,"__wrapped__");if(C||P){var w=C?e.value():e,_=P?t.value():t;return g||(g=new n),v(w,_,r,m,g)}}return!!A&&(g||(g=new n),s(e,t,r,m,v,g))}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t,r){var n=r(40),i=r(174),a=r(51),s=r(273),o=r(624),u=r(109),l=1,c=2,p="[object Boolean]",f="[object Date]",d="[object Error]",h="[object Map]",y="[object Number]",m="[object RegExp]",v="[object Set]",g="[object String]",T="[object Symbol]",E="[object ArrayBuffer]",S="[object DataView]",b=n?n.prototype:void 0,x=b?b.valueOf:void 0;e.exports=function(e,t,r,n,b,D,A){switch(r){case S:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case E:return!(e.byteLength!=t.byteLength||!D(new i(e),new i(t)));case p:case f:case y:return a(+e,+t);case d:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case h:var C=o;case v:var P=n&l;if(C||(C=u),e.size!=t.size&&!P)return!1;var w=A.get(e);if(w)return w==t;n|=c,A.set(e,t);var _=s(C(e),C(t),n,b,D,A);return A.delete(e),_;case T:if(x)return x.call(e)==x.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},function(e,t,r){var n=r(172),i=1,a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,s,o,u){var l=r&i,c=n(e),p=c.length;if(p!=n(t).length&&!l)return!1;for(var f=p;f--;){var d=c[f];if(!(l?d in t:a.call(t,d)))return!1}var h=u.get(e);if(h&&u.get(t))return h==t;var y=!0;u.set(e,t),u.set(t,e);for(var m=l;++f<p;){var v=e[d=c[f]],g=t[d];if(s)var T=l?s(g,v,d,t,e,u):s(v,g,d,e,t,u);if(!(void 0===T?v===g||o(v,g,r,s,u):T)){y=!1;break}m||(m="constructor"==d)}if(y&&!m){var E=e.constructor,S=t.constructor;E!=S&&"constructor"in e&&"constructor"in t&&!("function"==typeof E&&E instanceof E&&"function"==typeof S&&S instanceof S)&&(y=!1)}return u.delete(e),u.delete(t),y}},function(e,t,r){var n=r(274),i=r(44);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var a=t[r],s=e[a];t[r]=[a,s,n(s)]}return t}},function(e,t,r){var n=r(272),i=r(268),a=r(628),s=r(136),o=r(274),u=r(275),l=r(82),c=1,p=2;e.exports=function(e,t){return s(e)&&o(t)?u(l(e),t):function(r){var s=i(r,e);return void 0===s&&s===t?a(r,e):n(t,s,c|p)}}},function(e,t,r){var n=r(629),i=r(630);e.exports=function(e,t){return null!=e&&i(e,t,n)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,r){var n=r(270),i=r(64),a=r(14),s=r(98),o=r(62),u=r(82);e.exports=function(e,t,r){for(var l=-1,c=(t=n(t,e)).length,p=!1;++l<c;){var f=u(t[l]);if(!(p=null!=e&&r(e,f)))break;e=e[f]}return p||++l!=c?p:!!(c=null==e?0:e.length)&&o(c)&&s(f,c)&&(a(e)||i(e))}},function(e,t,r){var n=r(632),i=r(633),a=r(136),s=r(82);e.exports=function(e){return a(e)?n(s(e)):i(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,r){var n=r(269);e.exports=function(e){return function(t){return n(t,e)}}},function(e,t,r){var n=r(183),i=r(271),a=r(76),s=Math.max;e.exports=function(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var u=null==r?0:a(r);return u<0&&(u=s(o+u,0)),n(e,i(t,3),u)}},function(e,t,r){var n=r(3),i=r(36).default,a=r(636),s=a.getStorySubject,o=a.vueTemplateCompilerTypes,u=r(1).INJECTED_SOURCE_PLACEHOLDER,l=r(137),c=l.getAvailableKnobsFunctions,p=l.isKnownKnobMethodCall,f=l.extractKnobProperties,d=r(135),h="let dummyObject =";function y(e,t){var r=e.attrsList,n=e.attrsMap,i={},a=r.map((function(e){return i[e.name]=!0,v(e,t)}));return Object.keys(n).forEach((function(e){if(!i[e])if(""===n[e])a.push({name:e});else{var r={name:e,value:n[e]};a.push(v(r,t))}})),a}function m(e,t){return t.find((function(t){return t.storyPropName===e}))}function v(e,t){if(!(e.name.startsWith(":")||e.name.startsWith("v-bind:")))return{name:e.name,value:e.value};var r=m(e.value,t);return r?{name:e.name.split(":")[1],value:r.value,knobLabel:r.knobLabel}:{name:e.name,value:e.value}}function g(e,t){var r=E(e,0,t.start),n=E(e,t.end);return"".concat(r).concat(u).concat(n)}function T(e,t,r){if(0===e.length)return[];var n=[];return e.forEach((function(e){e.type!==o.expression||0===e.tokens.length?n.push({value:E(t,e.start,e.end)}):e.tokens.forEach((function(e){var t=e["@binding"];if(t){var i=m(t,r);i?n.push({value:i.value,knobLabel:i.knobLabel}):n.push({value:"{{".concat(t,"}}")})}else n.push({value:"".concat(e)})}))})),n}function E(e,t,r){return e.substring(t,r)}e.exports=function(e,t){try{if(!e.frameworkMetadata||!e.frameworkMetadata.storyTemplate)return null;e.frameworkMetadata.storyTemplate=e.frameworkMetadata.storyTemplate.trim();var r=e.frameworkMetadata.storyTemplate,a=s(r,e.dsmInfo);if(!a)return null;var o=c(e.importDeclarations),u=function(e,t){if(!e)return[];var r=[],a=d(h+e);return i(a,{ObjectProperty:function(e){var i=e.node,a=function(e){if(!e.value||!n.isObjectExpression(e.value))return;var t=(r=e.value.properties,i="default",r.find((function(e){return e.key.name===i})));var r,i;return t&&t.value}(i);if(a&&n.isCallExpression(a)&&p(a,t)){var s=f(a);r.push(Object.assign({storyPropName:i.key.name},s))}}}),r}(e.frameworkMetadata.storyLevelProps,o);return{componentName:a.tag,props:y(a,u),children:T(a.children,r,u),sourceTemplate:g(r,a)}}catch(r){return t&&t.error("Failed to analyze sample code for story ".concat(e?"".concat(e.kind," - ").concat(e.name):"","\n ").concat(r.stack)),null}}},function(e,t,r){var n=r(637),i={component:1,expression:2,string:3};function a(e,t){var r=function(e){return n.compile(e,{outputSourceRange:!0}).ast}(e);if(!r)return null;var a=r,s=t.component;return s&&a.tag!==s&&(a=function e(t,r){if(t.type===i.component){if(t.tag===r)return t;var n,a=!0,s=!1,o=void 0;try{for(var u,l=t.children[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var c=u.value;if(n=e(c,r))break}}catch(e){s=!0,o=e}finally{try{a||null==l.return||l.return()}finally{if(s)throw o}}return n}}(a,s)),a}e.exports={getStorySubject:a,getComponentTagName:function(e,t){var r=a(e,t);return r?r.tag:null},vueTemplateCompilerTypes:i}},function(e,t,r){(function(e,r){(function(t){"use strict";var n=/\r?\n/g,i=/^\s*$/,a=/^(\r?\n)*[\t\s]/,s=function(e){if(!a.test(e))return e;for(var t,r,s,u=e.split(n),l=1/0,c=0;c<u.length;c++){var p=u[c];if(!i.test(p))if(t)(r=o(p,t))<l&&(l=r);else{if(" "!==(s=p.charAt(0))&&"\t"!==s)return e;(r=o(p,t=s))<l&&(l=r)}}return u.map((function(e){return e.slice(l)})).join("\n")};function o(e,t){for(var r=0;e.charAt(r)===t;)r++;return r}var u=Object.freeze({}),l=Object.prototype.toString;function c(e){return"[object Object]"===l.call(e)}function p(e,t){for(var r=Object.create(null),n=e.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return t?function(e){return r[e.toLowerCase()]}:function(e){return r[e]}}var f=p("slot,component",!0);p("key,ref,slot,slot-scope,is");var d=Object.prototype.hasOwnProperty;function h(e,t){return d.call(e,t)}function y(e){var t=Object.create(null);return function(r){return t[r]||(t[r]=e(r))}}var m=/-(\w)/g,v=y((function(e){return e.replace(m,(function(e,t){return t?t.toUpperCase():""}))})),g=/\B([A-Z])/g,T=y((function(e){return e.replace(g,"-$1").toLowerCase()}));function E(e,t){for(var r in t)e[r]=t[r];return e}function S(e,t,r){}Function.prototype.bind;var b=function(e,t,r){return!1},x=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),D=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),A=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track");function C(e,t,r,n){Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var P=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,w=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source+"]*",O="((?:"+_+"\\:)?"+_+")",F=new RegExp("^<"+O),N=/^\s*(\/?)>/,I=new RegExp("^<\\/"+O+"[^>]*>"),k=/^<!DOCTYPE [^>]+>/i,L=/^<!\--/,M=/^<!\[/,B=p("script,style,textarea",!0),j={},R={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},V=/&(?:lt|gt|quot|amp|#39);/g,q=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,U=p("pre,textarea",!0),K=function(e,t){return e&&U(e)&&"\n"===t[0]};function X(e,t){var r=t?q:V;return e.replace(r,(function(e){return R[e]}))}function J(e,t){for(var r,n,i=[],a=t.expectHTML,s=t.isUnaryTag||b,o=t.canBeLeftOpenTag||b,u=0;e;){if(r=e,n&&B(n)){var l=0,c=n.toLowerCase(),p=j[c]||(j[c]=new RegExp("([\\s\\S]*?)(</"+c+"[^>]*>)","i")),f=e.replace(p,(function(e,r,n){return l=n.length,B(c)||"noscript"===c||(r=r.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),K(c,r)&&(r=r.slice(1)),t.chars&&t.chars(r),""}));u+=e.length-f.length,e=f,O(c,u-l,u)}else{var d=e.indexOf("<");if(0===d){if(L.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),u,u+h+3),D(h+3);continue}}if(M.test(e)){var y=e.indexOf("]>");if(y>=0){D(y+2);continue}}var m=e.match(k);if(m){D(m[0].length);continue}var v=e.match(I);if(v){var g=u;D(v[0].length),O(v[1],g,u);continue}var T=C();if(T){_(T),K(T.tagName,e)&&D(1);continue}}var E=void 0,S=void 0,x=void 0;if(d>=0){for(S=e.slice(d);!(I.test(S)||F.test(S)||L.test(S)||M.test(S)||(x=S.indexOf("<",1))<0);)d+=x,S=e.slice(d);E=e.substring(0,d)}d<0&&(E=e),E&&D(E.length),t.chars&&E&&t.chars(E,u-E.length,u)}if(e===r){t.chars&&t.chars(e),!i.length&&t.warn&&t.warn('Mal-formatted tag at end of template: "'+e+'"',{start:u+e.length});break}}function D(t){u+=t,e=e.substring(t)}function C(){var t=e.match(F);if(t){var r,n,i={tagName:t[1],attrs:[],start:u};for(D(t[0].length);!(r=e.match(N))&&(n=e.match(w)||e.match(P));)n.start=u,D(n[0].length),n.end=u,i.attrs.push(n);if(r)return i.unarySlash=r[1],D(r[0].length),i.end=u,i}}function _(e){var r=e.tagName,u=e.unarySlash;a&&("p"===n&&A(r)&&O(n),o(r)&&n===r&&O(r));for(var l=s(r)||!!u,c=e.attrs.length,p=new Array(c),f=0;f<c;f++){var d=e.attrs[f],h=d[3]||d[4]||d[5]||"",y="a"===r&&"href"===d[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;p[f]={name:d[1],value:X(h,y)},t.outputSourceRange&&(p[f].start=d.start+d[0].match(/^\s*/).length,p[f].end=d.end)}l||(i.push({tag:r,lowerCasedTag:r.toLowerCase(),attrs:p,start:e.start,end:e.end}),n=r),t.start&&t.start(r,p,l,e.start,e.end)}function O(e,r,a){var s,o;if(null==r&&(r=u),null==a&&(a=u),e)for(o=e.toLowerCase(),s=i.length-1;s>=0&&i[s].lowerCasedTag!==o;s--);else s=0;if(s>=0){for(var l=i.length-1;l>=s;l--)(l>s||!e&&t.warn)&&t.warn("tag <"+i[l].tag+"> has no matching end tag.",{start:i[l].start,end:i[l].end}),t.end&&t.end(i[l].tag,r,a);i.length=s,n=s&&i[s-1].tag}else"br"===o?t.start&&t.start(e,[],!0,r,a):"p"===o&&(t.start&&t.start(e,[],!1,r,a),t.end&&t.end(e,r,a))}O()}var Y,W=/\r?\n/g,$=/./g,H=p("script,style,template",!0),z="__proto__"in{},G="undefined"!=typeof window,Q="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Z=(Q&&WXEnvironment.platform.toLowerCase(),G&&window.navigator.userAgent.toLowerCase()),ee=Z&&/msie|trident/.test(Z),te=(Z&&Z.indexOf("msie 9.0"),Z&&Z.indexOf("edge/")>0),re=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z),Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/),{}.watch);if(G)try{var ne={};Object.defineProperty(ne,"passive",{get:function(){}}),window.addEventListener("test-passive",null,ne)}catch(e){}var ie=function(){return void 0===Y&&(Y=!G&&!Q&&void 0!==e&&e.process&&"server"===e.process.env.VUE_ENV),Y};function ae(e){return"function"==typeof e&&/native code/.test(e.toString())}G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;var se="undefined"!=typeof Symbol&&ae(Symbol)&&"undefined"!=typeof Reflect&&ae(Reflect.ownKeys);"undefined"!=typeof Set&&ae(Set)&&Set;var oe,ue=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],le={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!0,devtools:!0,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:b,isReservedAttr:b,isUnknownElement:b,getTagNamespace:S,parsePlatformTagName:function(e){return e},mustUseProp:b,async:!0,_lifecycleHooks:ue},ce=S,pe=S,fe=S,de="undefined"!=typeof console,he=/(?:^|[-_])(\w)/g;ce=function(e,t){var r=t?fe(t):"";de&&!le.silent&&console.error("[Vue warn]: "+e+r)},pe=function(e,t){de&&!le.silent&&console.warn("[Vue tip]: "+e+(t?fe(t):""))},oe=function(e,t){if(e.$root===e)return"<Root>";var r="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,n=r.name||r._componentTag,i=r.__file;if(!n&&i){var a=i.match(/([^/\\]+)\.vue$/);n=a&&a[1]}return(n?"<"+function(e){return e.replace(he,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")}(n)+">":"<Anonymous>")+(i&&!1!==t?" at "+i:"")},fe=function(e){if(e._isVue&&e.$parent){for(var t=[],r=0;e;){if(t.length>0){var n=t[t.length-1];if(n.constructor===e.constructor){r++,e=e.$parent;continue}r>0&&(t[t.length-1]=[n,r],r=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map((function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var r="";t;)t%2==1&&(r+=e),t>1&&(e+=e),t>>=1;return r}(" ",5+2*t))+(Array.isArray(e)?oe(e[0])+"... ("+e[1]+" recursive calls)":oe(e))})).join("\n")}return"\n\n(found in "+oe(e)+")"};var ye=0,me=function(){this.id=ye++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){!function(e,t){if(e.length){var r=e.indexOf(t);r>-1&&e.splice(r,1)}}(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){for(var e=this.subs.slice(),t=0,r=e.length;t<r;t++)e[t].update()},me.target=null;var ve=function(e,t,r,n,i,a,s,o){this.tag=e,this.data=t,this.children=r,this.text=n,this.elm=i,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=o,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ge={child:{configurable:!0}};ge.child.get=function(){return this.componentInstance},Object.defineProperties(ve.prototype,ge);var Te=Array.prototype,Ee=Object.create(Te);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=Te[e];C(Ee,e,(function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];var i,a=t.apply(this,r),s=this.__ob__;switch(e){case"push":case"unshift":i=r;break;case"splice":i=r.slice(2)}return i&&s.observeArray(i),s.dep.notify(),a}))}));var Se=Object.getOwnPropertyNames(Ee),be=!0,xe=function(e){var t;this.value=e,this.dep=new me,this.vmCount=0,C(e,"__ob__",this),Array.isArray(e)?(z?(t=Ee,e.__proto__=t):function(e,t,r){for(var n=0,i=r.length;n<i;n++){var a=r[n];C(e,a,t[a])}}(e,Ee,Se),this.observeArray(e)):this.walk(e)};function De(e,t){var r,n;if(!(null===(r=e)||"object"!=typeof r||e instanceof ve))return h(e,"__ob__")&&e.__ob__ instanceof xe?n=e.__ob__:be&&!ie()&&(Array.isArray(e)||c(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new xe(e)),t&&n&&n.vmCount++,n}function Ae(e,t,r,n,i){var a=new me,s=Object.getOwnPropertyDescriptor(e,t);if(!s||!1!==s.configurable){var o=s&&s.get,u=s&&s.set;o&&!u||2!==arguments.length||(r=e[t]);var l=!i&&De(r);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=o?o.call(e):r;return me.target&&(a.depend(),l&&(l.dep.depend(),Array.isArray(t)&&function e(t){for(var r=void 0,n=0,i=t.length;n<i;n++)(r=t[n])&&r.__ob__&&r.__ob__.dep.depend(),Array.isArray(r)&&e(r)}(t))),t},set:function(t){var s=o?o.call(e):r;t===s||t!=t&&s!=s||(n&&n(),o&&!u||(u?u.call(e,t):r=t,l=!i&&De(t),a.notify()))}})}}function Ce(e,t,r){var n;if((null==e||"string"==typeof(n=e)||"number"==typeof n||"symbol"==typeof n||"boolean"==typeof n)&&ce("Cannot set reactive property on undefined, null, or primitive value: "+e),Array.isArray(e)&&function(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}(t))return e.length=Math.max(e.length,t),e.splice(t,1,r),r;if(t in e&&!(t in Object.prototype))return e[t]=r,r;var i=e.__ob__;return e._isVue||i&&i.vmCount?(ce("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),r):i?(Ae(i.value,t,r),i.dep.notify(),r):(e[t]=r,r)}xe.prototype.walk=function(e){for(var t=Object.keys(e),r=0;r<t.length;r++)Ae(e,t[r])},xe.prototype.observeArray=function(e){for(var t=0,r=e.length;t<r;t++)De(e[t])};var Pe=le.optionMergeStrategies;function we(e,t){if(!t)return e;for(var r,n,i,a=se?Reflect.ownKeys(t):Object.keys(t),s=0;s<a.length;s++)"__ob__"!==(r=a[s])&&(n=e[r],i=t[r],h(e,r)?n!==i&&c(n)&&c(i)&&we(n,i):Ce(e,r,i));return e}function _e(e,t,r){return r?function(){var n="function"==typeof t?t.call(r,r):t,i="function"==typeof e?e.call(r,r):e;return n?we(n,i):i}:t?e?function(){return we("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Oe(e,t){var r=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return r?function(e){for(var t=[],r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}(r):r}function Fe(e,t,r,n){var i=Object.create(e||null);return t?(Ie(n,t,r),E(i,t)):i}Pe.el=Pe.propsData=function(e,t,r,n){return r||ce('option "'+n+'" can only be used during instance creation with the `new` keyword.'),Ne(e,t)},Pe.data=function(e,t,r){return r?_e(e,t,r):t&&"function"!=typeof t?(ce('The "data" option should be a function that returns a per-instance value in component definitions.',r),e):_e(e,t)},ue.forEach((function(e){Pe[e]=Oe})),["component","directive","filter"].forEach((function(e){Pe[e+"s"]=Fe})),Pe.watch=function(e,t,r,n){if(e===re&&(e=void 0),t===re&&(t=void 0),!t)return Object.create(e||null);if(Ie(n,t,r),!e)return t;var i={};for(var a in E(i,e),t){var s=i[a],o=t[a];s&&!Array.isArray(s)&&(s=[s]),i[a]=s?s.concat(o):Array.isArray(o)?o:[o]}return i},Pe.props=Pe.methods=Pe.inject=Pe.computed=function(e,t,r,n){if(t&&Ie(n,t,r),!e)return t;var i=Object.create(null);return E(i,e),t&&E(i,t),i},Pe.provide=_e;var Ne=function(e,t){return void 0===t?e:t};function Ie(e,t,r){c(t)||ce('Invalid value for option "'+e+'": expected an Object, but got '+function(e){return l.call(e).slice(8,-1)}(t)+".",r)}var ke=[];if("undefined"!=typeof Promise&&ae(Promise));else if(ee||"undefined"==typeof MutationObserver||!ae(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())void 0!==r&&ae(r);else{var Le=new MutationObserver((function(){var e=ke.slice(0);ke.length=0;for(var t=0;t<e.length;t++)e[t]()})),Me=document.createTextNode(String(1));Le.observe(Me,{characterData:!0})}p("style,class");var Be=p("input,textarea,option,select,progress"),je=p("contenteditable,draggable,spellcheck"),Re=(p("events,caret,typing,plaintext-only"),p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible")),Ve=p("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),qe=p("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0);p("text,number,password,search,email,tel,url");var Ue=/[\w).+\-_$\]]/;function Ke(e){var t,r,n,i,a,s=!1,o=!1,u=!1,l=!1,c=0,p=0,f=0,d=0;for(n=0;n<e.length;n++)if(r=t,t=e.charCodeAt(n),s)39===t&&92!==r&&(s=!1);else if(o)34===t&&92!==r&&(o=!1);else if(u)96===t&&92!==r&&(u=!1);else if(l)47===t&&92!==r&&(l=!1);else if(124!==t||124===e.charCodeAt(n+1)||124===e.charCodeAt(n-1)||c||p||f){switch(t){case 34:o=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:f++;break;case 41:f--;break;case 91:p++;break;case 93:p--;break;case 123:c++;break;case 125:c--}if(47===t){for(var h=n-1,y=void 0;h>=0&&" "===(y=e.charAt(h));h--);y&&Ue.test(y)||(l=!0)}}else void 0===i?(d=n+1,i=e.slice(0,n).trim()):m();function m(){(a||(a=[])).push(e.slice(d,n).trim()),d=n+1}if(void 0===i?i=e.slice(0,n).trim():0!==d&&m(),a)for(n=0;n<a.length;n++)i=Xe(i,a[n]);return i}function Xe(e,t){var r=t.indexOf("(");if(r<0)return'_f("'+t+'")('+e+")";var n=t.slice(0,r),i=t.slice(r+1);return'_f("'+n+'")('+e+(")"!==i?","+i:i)}var Je=/\{\{((?:.|\r?\n)+?)\}\}/g,Ye=/[-.*+?^${}()|[\]\/\\]/g,We=y((function(e){var t=e[0].replace(Ye,"\\$&"),r=e[1].replace(Ye,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+r,"g")}));function $e(e,t){var r=t?We(t):Je;if(r.test(e)){for(var n,i,a,s=[],o=[],u=r.lastIndex=0;n=r.exec(e);){(i=n.index)>u&&(o.push(a=e.slice(u,i)),s.push(JSON.stringify(a)));var l=Ke(n[1].trim());s.push("_s("+l+")"),o.push({"@binding":l}),u=i+n[0].length}return u<e.length&&(o.push(a=e.slice(u)),s.push(JSON.stringify(a))),{expression:s.join("+"),tokens:o}}}function He(e,t){console.error("[Vue compiler]: "+e)}function ze(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function Ge(e,t,r,n,i){(e.props||(e.props=[])).push(ot({name:t,value:r,dynamic:i},n)),e.plain=!1}function Qe(e,t,r,n,i){(i?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(ot({name:t,value:r,dynamic:i},n)),e.plain=!1}function Ze(e,t,r,n){e.attrsMap[t]=r,e.attrsList.push(ot({name:t,value:r},n))}function et(e,t,r,n,i,a,s,o){(e.directives||(e.directives=[])).push(ot({name:t,rawName:r,value:n,arg:i,isDynamicArg:a,modifiers:s},o)),e.plain=!1}function tt(e,t,r){return r?"_p("+t+',"'+e+'")':e+t}function rt(e,t,r,n,i,a,s,o){var l;n=n||u,a&&n.prevent&&n.passive&&a("passive and prevent can't be used together. Passive handler can't prevent default event.",s),n.right?o?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete n.right):n.middle&&(o?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),n.capture&&(delete n.capture,t=tt("!",t,o)),n.once&&(delete n.once,t=tt("~",t,o)),n.passive&&(delete n.passive,t=tt("&",t,o)),n.native?(delete n.native,l=e.nativeEvents||(e.nativeEvents={})):l=e.events||(e.events={});var c=ot({value:r.trim(),dynamic:o},s);n!==u&&(c.modifiers=n);var p=l[t];Array.isArray(p)?i?p.unshift(c):p.push(c):l[t]=p?i?[c,p]:[p,c]:c,e.plain=!1}function nt(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function it(e,t,r){var n=at(e,":"+t)||at(e,"v-bind:"+t);if(null!=n)return Ke(n);if(!1!==r){var i=at(e,t);if(null!=i)return JSON.stringify(i)}}function at(e,t,r){var n;if(null!=(n=e.attrsMap[t]))for(var i=e.attrsList,a=0,s=i.length;a<s;a++)if(i[a].name===t){i.splice(a,1);break}return r&&delete e.attrsMap[t],n}function st(e,t){for(var r=e.attrsList,n=0,i=r.length;n<i;n++){var a=r[n];if(t.test(a.name))return r.splice(n,1),a}}function ot(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}var ut,lt,ct,pt,ft,dt,ht={staticKeys:["staticClass"],transformNode:function(e,t){var r=t.warn||He,n=at(e,"class");n&&$e(n,t.delimiters)&&r('class="'+n+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div class="{{ val }}">, use <div :class="val">.',e.rawAttrsMap.class),n&&(e.staticClass=JSON.stringify(n));var i=it(e,"class",!1);i&&(e.classBinding=i)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},yt=y((function(e){var t={},r=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t})),mt={staticKeys:["staticStyle"],transformNode:function(e,t){var r=t.warn||He,n=at(e,"style");n&&($e(n,t.delimiters)&&r('style="'+n+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div style="{{ val }}">, use <div :style="val">.',e.rawAttrsMap.style),e.staticStyle=JSON.stringify(yt(n)));var i=it(e,"style",!1);i&&(e.styleBinding=i)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},vt="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},gt=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){!function(r){var n=t,i=e&&e.exports==n&&e,a="object"==typeof vt&&vt;a.global!==a&&a.window!==a||(r=a);var s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},p=/["&'<>`]/g,f={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},d=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,h=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,y=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,m={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},v={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},g={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},T=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],E=String.fromCharCode,S={}.hasOwnProperty,b=function(e,t){return S.call(e,t)},x=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=b(e,r)?e[r]:t[r];return n},D=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&P("character reference outside the permissible Unicode range"),"�"):b(g,e)?(t&&P("disallowed character reference"),g[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(T,e)&&P("disallowed character reference"),e>65535&&(r+=E((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=E(e))},A=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},C=function(e){return"&#"+e+";"},P=function(e){throw Error("Parse error: "+e)},w=function(e,t){(t=x(t,w.options)).strict&&h.test(e)&&P("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,i=t.allowUnsafeSymbols,a=t.decimal?C:A,f=function(e){return a(e.charCodeAt(0))};return r?(e=e.replace(o,(function(e){return n&&b(c,e)?"&"+c[e]+";":f(e)})),n&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),n&&(e=e.replace(l,(function(e){return"&"+c[e]+";"})))):n?(i||(e=e.replace(p,(function(e){return"&"+c[e]+";"}))),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(l,(function(e){return"&"+c[e]+";"}))):i||(e=e.replace(p,f)),e.replace(s,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return a(1024*(t-55296)+r-56320+65536)})).replace(u,f)};w.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var _=function(e,t){var r=(t=x(t,_.options)).strict;return r&&d.test(e)&&P("malformed character reference"),e.replace(y,(function(e,n,i,a,s,o,u,l,c){var p,f,d,h,y,g;return n?m[y=n]:i?(y=i,(g=a)&&t.isAttributeValue?(r&&"="==g&&P("`&` did not start a character reference"),e):(r&&P("named character reference was not terminated by a semicolon"),v[y]+(g||""))):s?(d=s,f=o,r&&!f&&P("character reference was not terminated by a semicolon"),p=parseInt(d,10),D(p,r)):u?(h=u,f=l,r&&!f&&P("character reference was not terminated by a semicolon"),p=parseInt(h,16),D(p,r)):(r&&P("named character reference was not terminated by a semicolon"),e)}))};_.options={isAttributeValue:!1,strict:!1};var O={version:"1.2.0",encode:w,decode:_,escape:function(e){return e.replace(p,(function(e){return f[e]}))},unescape:_};if(n&&!n.nodeType)if(i)i.exports=O;else for(var F in O)b(O,F)&&(n[F]=O[F]);else r.he=O}(vt)}));function Tt(e,t,r){var n=r||{},i=n.number,a="$$v";n.trim&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(a="_n("+a+")");var s=Et(t,a);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+s+"}"}}function Et(e,t){var r=function(e){if(e=e.trim(),ut=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<ut-1)return(pt=e.lastIndexOf("."))>-1?{exp:e.slice(0,pt),key:'"'+e.slice(pt+1)+'"'}:{exp:e,key:null};for(lt=e,pt=ft=dt=0;!bt();)xt(ct=St())?At(ct):91===ct&&Dt(ct);return{exp:e.slice(0,ft),key:e.slice(ft+1,dt)}}(e);return null===r.key?e+"="+t:"$set("+r.exp+", "+r.key+", "+t+")"}function St(){return lt.charCodeAt(++pt)}function bt(){return pt>=ut}function xt(e){return 34===e||39===e}function Dt(e){var t=1;for(ft=pt;!bt();)if(xt(e=St()))At(e);else if(91===e&&t++,93===e&&t--,0===t){dt=pt;break}}function At(e){for(var t=e;!bt()&&(e=St())!==t;);}var Ct,Pt,wt,_t,Ot,Ft,Nt,It,kt,Lt=/^@|^v-on:/,Mt=/^v-|^@|^:/,Bt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,jt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Rt=/^\(|\)$/g,Vt=/^\[.*\]$/,qt=/:(.*)$/,Ut=/^:|^\.|^v-bind:/,Kt=/\.[^.\]]+(?=[^\]]*$)/g,Xt=/^v-slot(:|$)|^#/,Jt=/[\r\n]/,Yt=/\s+/g,Wt=/[\s"'<>\/=]/,$t=y(gt.decode),Ht="_empty_";function zt(e,t,r){return{type:1,tag:e,attrsList:t,attrsMap:nr(t),rawAttrsMap:{},parent:r,children:[]}}function Gt(e,t){Ct=t.warn||He,Ft=t.isPreTag||b,Nt=t.mustUseProp||b,It=t.getTagNamespace||b;var r=t.isReservedTag||b;kt=function(e){return!!e.component||!r(e.tag)},wt=ze(t.modules,"transformNode"),_t=ze(t.modules,"preTransformNode"),Ot=ze(t.modules,"postTransformNode"),Pt=t.delimiters;var n,i,a=[],s=!1!==t.preserveWhitespace,o=t.whitespace,u=!1,l=!1,c=!1;function p(e,t){c||(c=!0,Ct(e,t))}function f(e){if(d(e),u||e.processed||(e=Qt(e,t)),a.length||e===n||(n.if&&(e.elseif||e.else)?(h(e),er(n,{exp:e.elseif,block:e})):p("Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.",{start:e.start})),i&&!e.forbidden)if(e.elseif||e.else)s=e,(o=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];" "!==e[t].text&&Ct('text "'+e[t].text.trim()+'" between v-if and v-else(-if) will be ignored.',e[t]),e.pop()}}(i.children))&&o.if?er(o,{exp:s.elseif,block:s}):Ct("v-"+(s.elseif?'else-if="'+s.elseif+'"':"else")+" used on element <"+s.tag+"> without corresponding v-if.",s.rawAttrsMap[s.elseif?"v-else-if":"v-else"]);else{if(e.slotScope){var r=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[r]=e}i.children.push(e),e.parent=i}var s,o;e.children=e.children.filter((function(e){return!e.slotScope})),d(e),e.pre&&(u=!1),Ft(e.tag)&&(l=!1);for(var c=0;c<Ot.length;c++)Ot[c](e,t)}function d(e){if(!l)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}function h(e){"slot"!==e.tag&&"template"!==e.tag||p("Cannot use <"+e.tag+"> as component root element because it may contain multiple nodes.",{start:e.start}),e.attrsMap.hasOwnProperty("v-for")&&p("Cannot use v-for on stateful component root element because it renders multiple elements.",e.rawAttrsMap["v-for"])}return J(e,{warn:Ct,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,r,s,o,c){var p=i&&i.ns||It(e);ee&&"svg"===p&&(r=function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];ir.test(n.name)||(n.name=n.name.replace(ar,""),t.push(n))}return t}(r));var d,y=zt(e,r,i);p&&(y.ns=p),t.outputSourceRange&&(y.start=o,y.end=c,y.rawAttrsMap=y.attrsList.reduce((function(e,t){return e[t.name]=t,e}),{})),r.forEach((function(e){Wt.test(e.name)&&Ct("Invalid dynamic argument expression: attribute names cannot contain spaces, quotes, <, >, / or =.",{start:e.start+e.name.indexOf("["),end:e.start+e.name.length})})),"style"!==(d=y).tag&&("script"!==d.tag||d.attrsMap.type&&"text/javascript"!==d.attrsMap.type)||ie()||(y.forbidden=!0,Ct("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <"+e+">, as they will not be parsed.",{start:y.start}));for(var m=0;m<_t.length;m++)y=_t[m](y,t)||y;u||(function(e){null!=at(e,"v-pre")&&(e.pre=!0)}(y),y.pre&&(u=!0)),Ft(y.tag)&&(l=!0),u?function(e){var t=e.attrsList,r=t.length;if(r)for(var n=e.attrs=new Array(r),i=0;i<r;i++)n[i]={name:t[i].name,value:JSON.stringify(t[i].value)},null!=t[i].start&&(n[i].start=t[i].start,n[i].end=t[i].end);else e.pre||(e.plain=!0)}(y):y.processed||(Zt(y),function(e){var t=at(e,"v-if");if(t)e.if=t,er(e,{exp:t,block:e});else{null!=at(e,"v-else")&&(e.else=!0);var r=at(e,"v-else-if");r&&(e.elseif=r)}}(y),function(e){null!=at(e,"v-once")&&(e.once=!0)}(y)),n||h(n=y),s?f(y):(i=y,a.push(y))},end:function(e,r,n){var s=a[a.length-1];a.length-=1,i=a[a.length-1],t.outputSourceRange&&(s.end=n),f(s)},chars:function(r,n,a){if(i){if(!ee||"textarea"!==i.tag||i.attrsMap.placeholder!==r){var c,f,d,h=i.children;(r=l||r.trim()?"script"===(c=i).tag||"style"===c.tag?r:$t(r):h.length?o?"condense"===o&&Jt.test(r)?"":" ":s?" ":"":"")&&(l||"condense"!==o||(r=r.replace(Yt," ")),!u&&" "!==r&&(f=$e(r,Pt))?d={type:2,expression:f.expression,tokens:f.tokens,text:r}:" "===r&&h.length&&" "===h[h.length-1].text||(d={type:3,text:r}),d&&(t.outputSourceRange&&(d.start=n,d.end=a),h.push(d)))}}else r===e?p("Component template requires a root element, rather than just text.",{start:n}):(r=r.trim())&&p('text "'+r+'" outside root element will be ignored.',{start:n})},comment:function(e,r,n){if(i){var a={type:3,text:e,isComment:!0};t.outputSourceRange&&(a.start=r,a.end=n),i.children.push(a)}}}),n}function Qt(e,t){var r;!function(e){var t=it(e,"key");if(t){if("template"===e.tag&&Ct("<template> cannot be keyed. Place the key on real elements instead.",nt(e,"key")),e.for){var r=e.iterator2||e.iterator1,n=e.parent;r&&r===t&&n&&"transition-group"===n.tag&&Ct("Do not use v-for index as key on <transition-group> children, this is the same as not using keys.",nt(e,"key"),!0)}e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=it(e,"ref");t&&(e.ref=t,e.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?((t=at(e,"scope"))&&Ct('the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to <template> to denote scoped slots.',e.rawAttrsMap.scope,!0),e.slotScope=t||at(e,"slot-scope")):(t=at(e,"slot-scope"))&&(e.attrsMap["v-for"]&&Ct("Ambiguous combined usage of slot-scope and v-for on <"+e.tag+"> (v-for takes higher priority). Use a wrapper <template> for the scoped slot to make it clearer.",e.rawAttrsMap["slot-scope"],!0),e.slotScope=t);var r=it(e,"slot");if(r&&(e.slotTarget='""'===r?'"default"':r,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||Qe(e,"slot",r,nt(e,"slot"))),"template"===e.tag){var n=st(e,Xt);if(n){(e.slotTarget||e.slotScope)&&Ct("Unexpected mixed usage of different slot syntaxes.",e),e.parent&&!kt(e.parent)&&Ct("<template v-slot> can only appear at the root level inside the receiving the component",e);var i=tr(n),a=i.name,s=i.dynamic;e.slotTarget=a,e.slotTargetDynamic=s,e.slotScope=n.value||Ht}}else{var o=st(e,Xt);if(o){kt(e)||Ct("v-slot can only be used on components or <template>.",o),(e.slotScope||e.slotTarget)&&Ct("Unexpected mixed usage of different slot syntaxes.",e),e.scopedSlots&&Ct("To avoid scope ambiguity, the default slot should also use <template> syntax when there are other named slots.",o);var u=e.scopedSlots||(e.scopedSlots={}),l=tr(o),c=l.name,p=l.dynamic,f=u[c]=zt("template",[],e);f.slotTarget=c,f.slotTargetDynamic=p,f.children=e.children.filter((function(e){if(!e.slotScope)return e.parent=f,!0})),f.slotScope=o.value||Ht,e.children=[],e.plain=!1}}}(e),"slot"===(r=e).tag&&(r.slotName=it(r,"name"),r.key&&Ct("`key` does not work on <slot> because slots are abstract outlets and can possibly expand into multiple elements. Use the key on a wrapping element instead.",nt(r,"key"))),function(e){var t;(t=it(e,"is"))&&(e.component=t),null!=at(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var n=0;n<wt.length;n++)e=wt[n](e,t)||e;return function(e){var t,r,n,i,a,s,o,u,l=e.attrsList;for(t=0,r=l.length;t<r;t++)if(n=i=l[t].name,a=l[t].value,Mt.test(n))if(e.hasBindings=!0,(s=rr(n.replace(Mt,"")))&&(n=n.replace(Kt,"")),Ut.test(n))n=n.replace(Ut,""),a=Ke(a),(u=Vt.test(n))&&(n=n.slice(1,-1)),0===a.trim().length&&Ct('The value for a v-bind expression cannot be empty. Found in "v-bind:'+n+'"'),s&&(s.prop&&!u&&"innerHtml"===(n=v(n))&&(n="innerHTML"),s.camel&&!u&&(n=v(n)),s.sync&&(o=Et(a,"$event"),u?rt(e,'"update:"+('+n+")",o,null,!1,Ct,l[t],!0):(rt(e,"update:"+v(n),o,null,!1,Ct,l[t]),T(n)!==v(n)&&rt(e,"update:"+T(n),o,null,!1,Ct,l[t])))),s&&s.prop||!e.component&&Nt(e.tag,e.attrsMap.type,n)?Ge(e,n,a,l[t],u):Qe(e,n,a,l[t],u);else if(Lt.test(n))n=n.replace(Lt,""),(u=Vt.test(n))&&(n=n.slice(1,-1)),rt(e,n,a,s,!1,Ct,l[t],u);else{var c=(n=n.replace(Mt,"")).match(qt),p=c&&c[1];u=!1,p&&(n=n.slice(0,-(p.length+1)),Vt.test(p)&&(p=p.slice(1,-1),u=!0)),et(e,n,i,a,p,u,s,l[t]),"model"===n&&sr(e,a)}else $e(a,Pt)&&Ct(n+'="'+a+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div id="{{ val }}">, use <div :id="val">.',l[t]),Qe(e,n,JSON.stringify(a),l[t]),!e.component&&"muted"===n&&Nt(e.tag,e.attrsMap.type,n)&&Ge(e,n,"true",l[t])}(e),e}function Zt(e){var t;if(t=at(e,"v-for")){var r=function(e){var t=e.match(Bt);if(t){var r={};r.for=t[2].trim();var n=t[1].trim().replace(Rt,""),i=n.match(jt);return i?(r.alias=n.replace(jt,"").trim(),r.iterator1=i[1].trim(),i[2]&&(r.iterator2=i[2].trim())):r.alias=n,r}}(t);r?E(e,r):Ct("Invalid v-for expression: "+t,e.rawAttrsMap["v-for"])}}function er(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function tr(e){var t=e.name.replace(Xt,"");return t||("#"!==e.name[0]?t="default":Ct("v-slot shorthand syntax requires a slot name.",e)),Vt.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function rr(e){var t=e.match(Kt);if(t){var r={};return t.forEach((function(e){r[e.slice(1)]=!0})),r}}function nr(e){for(var t={},r=0,n=e.length;r<n;r++)!t[e[r].name]||ee||te||Ct("duplicate attribute: "+e[r].name,e[r]),t[e[r].name]=e[r].value;return t}var ir=/^xmlns:NS\d+/,ar=/^NS\d+:/;function sr(e,t){for(var r=e;r;)r.for&&r.alias===t&&Ct("<"+e.tag+' v-model="'+t+'">: You are binding v-model directly to a v-for iteration alias. This will not be able to modify the v-for source array because writing to the alias is like modifying a function local variable. Consider using an array of objects and use v-model on an object property instead.',e.rawAttrsMap["v-model"]),r=r.parent}function or(e){return zt(e.tag,e.attrsList.slice(),e.parent)}var ur,lr,cr,pr=[ht,mt,{preTransformNode:function(e,t){if("input"===e.tag){var r,n=e.attrsMap;if(!n["v-model"])return;if((n[":type"]||n["v-bind:type"])&&(r=it(e,"type")),n.type||r||!n["v-bind"]||(r="("+n["v-bind"]+").type"),r){var i=at(e,"v-if",!0),a=i?"&&("+i+")":"",s=null!=at(e,"v-else",!0),o=at(e,"v-else-if",!0),u=or(e);Zt(u),Ze(u,"type","checkbox"),Qt(u,t),u.processed=!0,u.if="("+r+")==='checkbox'"+a,er(u,{exp:u.if,block:u});var l=or(e);at(l,"v-for",!0),Ze(l,"type","radio"),Qt(l,t),er(u,{exp:"("+r+")==='radio'"+a,block:l});var c=or(e);return at(c,"v-for",!0),Ze(c,":type",r),Qt(c,t),er(u,{exp:i,block:c}),s?u.else=!0:o&&(u.elseif=o),u}}}}],fr="__r",dr={expectHTML:!0,modules:pr,directives:{model:function(e,t,r){ur=r;var n=t.value,i=t.modifiers,a=e.tag,s=e.attrsMap.type;if("input"===a&&"file"===s&&ur("<"+e.tag+' v-model="'+n+'" type="file">:\nFile inputs are read only. Use a v-on:change listener instead.',e.rawAttrsMap["v-model"]),e.component)return Tt(e,n,i),!1;if("select"===a)!function(e,t,r){var n='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r&&r.number?"_n(val)":"val")+"});";n=n+" "+Et(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rt(e,"change",n,null,!0)}(e,n,i);else if("input"===a&&"checkbox"===s)!function(e,t,r){var n=r&&r.number,i=it(e,"value")||"null",a=it(e,"true-value")||"true",s=it(e,"false-value")||"false";Ge(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===a?":("+t+")":":_q("+t+","+a+")")),rt(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+s+");if(Array.isArray($$a)){var $$v="+(n?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Et(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Et(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Et(t,"$$c")+"}",null,!0)}(e,n,i);else if("input"===a&&"radio"===s)!function(e,t,r){var n=r&&r.number,i=it(e,"value")||"null";Ge(e,"checked","_q("+t+","+(i=n?"_n("+i+")":i)+")"),rt(e,"change",Et(t,i),null,!0)}(e,n,i);else{if("input"!==a&&"textarea"!==a)return Tt(e,n,i),!1;!function(e,t,r){var n=e.attrsMap.type,i=e.attrsMap["v-bind:value"]||e.attrsMap[":value"],a=e.attrsMap["v-bind:type"]||e.attrsMap[":type"];if(i&&!a){var s=e.attrsMap["v-bind:value"]?"v-bind:value":":value";ur(s+'="'+i+'" conflicts with v-model on the same element because the latter already expands to a value binding internally',e.rawAttrsMap[s])}var o=r||{},u=o.lazy,l=o.number,c=o.trim,p=!u&&"range"!==n,f=u?"change":"range"===n?fr:"input",d="$event.target.value";c&&(d="$event.target.value.trim()"),l&&(d="_n("+d+")");var h=Et(t,d);p&&(h="if($event.target.composing)return;"+h),Ge(e,"value","("+t+")"),rt(e,f,h,null,!0),(c||l)&&rt(e,"blur","$forceUpdate()")}(e,n,i)}return!0},text:function(e,t){t.value&&Ge(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Ge(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:x,mustUseProp:function(e,t,r){return"value"===r&&Be(e)&&"button"!==t||"selected"===r&&"option"===e||"checked"===r&&"input"===e||"muted"===r&&"video"===e},canBeLeftOpenTag:D,isReservedTag:function(e){return Ve(e)||qe(e)},getTagNamespace:function(e){return qe(e)?"svg":"math"===e?"math":void 0},staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(pr)},hr=y((function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function yr(e,t){e&&(lr=hr(t.staticKeys||""),cr=t.isReservedTag||b,function e(t){if(t.static=function(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings||e.if||e.for||f(e.tag)||!cr(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(lr))))}(t),1===t.type){if(!cr(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var r=0,n=t.children.length;r<n;r++){var i=t.children[r];e(i),i.static||(t.static=!1)}if(t.ifConditions)for(var a=1,s=t.ifConditions.length;a<s;a++){var o=t.ifConditions[a].block;e(o),o.static||(t.static=!1)}}}(e),function e(t,r){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=r),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,i=t.children.length;n<i;n++)e(t.children[n],r||!!t.for);if(t.ifConditions)for(var a=1,s=t.ifConditions.length;a<s;a++)e(t.ifConditions[a].block,r)}}(e,!1))}var mr=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*(?:[\w$]+)?\s*\(/,vr=/\([^)]*?\);*$/,gr=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Tr={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Er={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Sr=function(e){return"if("+e+")return null;"},br={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Sr("$event.target !== $event.currentTarget"),ctrl:Sr("!$event.ctrlKey"),shift:Sr("!$event.shiftKey"),alt:Sr("!$event.altKey"),meta:Sr("!$event.metaKey"),left:Sr("'button' in $event && $event.button !== 0"),middle:Sr("'button' in $event && $event.button !== 1"),right:Sr("'button' in $event && $event.button !== 2")};function xr(e,t){var r=t?"nativeOn:":"on:",n="",i="";for(var a in e){var s=Dr(e[a]);e[a]&&e[a].dynamic?i+=a+","+s+",":n+='"'+a+'":'+s+","}return n="{"+n.slice(0,-1)+"}",i?r+"_d("+n+",["+i.slice(0,-1)+"])":r+n}function Dr(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Dr(e)})).join(",")+"]";var t=gr.test(e.value),r=mr.test(e.value),n=gr.test(e.value.replace(vr,""));if(e.modifiers){var i="",a="",s=[];for(var o in e.modifiers)if(br[o])a+=br[o],Tr[o]&&s.push(o);else if("exact"===o){var u=e.modifiers;a+=Sr(["ctrl","shift","alt","meta"].filter((function(e){return!u[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else s.push(o);return s.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ar).join("&&")+")return null;"}(s)),a&&(i+=a),"function($event){"+i+(t?"return "+e.value+"($event)":r?"return ("+e.value+")($event)":n?"return "+e.value:e.value)+"}"}return t||r?e.value:"function($event){"+(n?"return "+e.value:e.value)+"}"}function Ar(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var r=Tr[e],n=Er[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(r)+",$event.key,"+JSON.stringify(n)+")"}var Cr={on:function(e,t){t.modifiers&&ce("v-on without argument does not support modifiers."),e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(r){return"_b("+r+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Pr=function(e){this.options=e,this.warn=e.warn||He,this.transforms=ze(e.modules,"transformCode"),this.dataGenFns=ze(e.modules,"genData"),this.directives=E(E({},Cr),e.directives);var t=e.isReservedTag||b;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function wr(e,t){var r=new Pr(t);return{render:"with(this){return "+(e?_r(e,r):'_c("div")')+"}",staticRenderFns:r.staticRenderFns}}function _r(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Or(e,t);if(e.once&&!e.onceProcessed)return Fr(e,t);if(e.for&&!e.forProcessed)return Ir(e,t);if(e.if&&!e.ifProcessed)return Nr(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var r=e.slotName||'"default"',n=Br(e,t),i="_t("+r+(n?","+n:""),a=e.attrs||e.dynamicAttrs?qr((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:v(e.name),value:e.value,dynamic:e.dynamic}}))):null,s=e.attrsMap["v-bind"];return!a&&!s||n||(i+=",null"),a&&(i+=","+a),s&&(i+=(a?"":",null")+","+s),i+")"}(e,t);var r;if(e.component)r=function(e,t,r){var n=t.inlineTemplate?null:Br(t,r,!0);return"_c("+e+","+kr(t,r)+(n?","+n:"")+")"}(e.component,e,t);else{var n;(!e.plain||e.pre&&t.maybeComponent(e))&&(n=kr(e,t));var i=e.inlineTemplate?null:Br(e,t,!0);r="_c('"+e.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}for(var a=0;a<t.transforms.length;a++)r=t.transforms[a](e,r);return r}return Br(e,t)||"void 0"}function Or(e,t){e.staticProcessed=!0;var r=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+_r(e,t)+"}"),t.pre=r,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function Fr(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Nr(e,t);if(e.staticInFor){for(var r="",n=e.parent;n;){if(n.for){r=n.key;break}n=n.parent}return r?"_o("+_r(e,t)+","+t.onceId+++","+r+")":(t.warn("v-once can only be used inside v-for that is keyed. ",e.rawAttrsMap["v-once"]),_r(e,t))}return Or(e,t)}function Nr(e,t,r,n){return e.ifProcessed=!0,function e(t,r,n,i){if(!t.length)return i||"_e()";var a=t.shift();return a.exp?"("+a.exp+")?"+s(a.block)+":"+e(t,r,n,i):""+s(a.block);function s(e){return n?n(e,r):e.once?Fr(e,r):_r(e,r)}}(e.ifConditions.slice(),t,r,n)}function Ir(e,t,r,n){var i=e.for,a=e.alias,s=e.iterator1?","+e.iterator1:"",o=e.iterator2?","+e.iterator2:"";return t.maybeComponent(e)&&"slot"!==e.tag&&"template"!==e.tag&&!e.key&&t.warn("<"+e.tag+' v-for="'+a+" in "+i+'">: component lists rendered with v-for should have explicit keys. See https://vuejs.org/guide/list.html#key for more info.',e.rawAttrsMap["v-for"],!0),e.forProcessed=!0,(n||"_l")+"(("+i+"),function("+a+s+o+"){return "+(r||_r)(e,t)+"})"}function kr(e,t){var r="{",n=function(e,t){var r=e.directives;if(r){var n,i,a,s,o="directives:[",u=!1;for(n=0,i=r.length;n<i;n++){a=r[n],s=!0;var l=t.directives[a.name];l&&(s=!!l(e,a,t.warn)),s&&(u=!0,o+='{name:"'+a.name+'",rawName:"'+a.rawName+'"'+(a.value?",value:("+a.value+"),expression:"+JSON.stringify(a.value):"")+(a.arg?",arg:"+(a.isDynamicArg?a.arg:'"'+a.arg+'"'):"")+(a.modifiers?",modifiers:"+JSON.stringify(a.modifiers):"")+"},")}return u?o.slice(0,-1)+"]":void 0}}(e,t);n&&(r+=n+","),e.key&&(r+="key:"+e.key+","),e.ref&&(r+="ref:"+e.ref+","),e.refInFor&&(r+="refInFor:true,"),e.pre&&(r+="pre:true,"),e.component&&(r+='tag:"'+e.tag+'",');for(var i=0;i<t.dataGenFns.length;i++)r+=t.dataGenFns[i](e);if(e.attrs&&(r+="attrs:"+qr(e.attrs)+","),e.props&&(r+="domProps:"+qr(e.props)+","),e.events&&(r+=xr(e.events,!1)+","),e.nativeEvents&&(r+=xr(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(r+="slot:"+e.slotTarget+","),e.scopedSlots&&(r+=function(e,t,r){var n=e.for||Object.keys(t).some((function(e){var r=t[e];return r.slotTargetDynamic||r.if||r.for||Lr(r)})),i=!!e.if;if(!n)for(var a=e.parent;a;){if(a.slotScope&&a.slotScope!==Ht||a.for){n=!0;break}a.if&&(i=!0),a=a.parent}var s=Object.keys(t).map((function(e){return Mr(t[e],r)})).join(",");return"scopedSlots:_u(["+s+"]"+(n?",null,true":"")+(!n&&i?",null,false,"+function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0}(s):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(r+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var a=function(e,t){var r=e.children[0];if(1===e.children.length&&1===r.type||t.warn("Inline-template components must have exactly one child element.",{start:e.start}),r&&1===r.type){var n=wr(r,t.options);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);a&&(r+=a+",")}return r=r.replace(/,$/,"")+"}",e.dynamicAttrs&&(r="_b("+r+',"'+e.tag+'",'+qr(e.dynamicAttrs)+")"),e.wrapData&&(r=e.wrapData(r)),e.wrapListeners&&(r=e.wrapListeners(r)),r}function Lr(e){return 1===e.type&&("slot"===e.tag||e.children.some(Lr))}function Mr(e,t){var r=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!r)return Nr(e,t,Mr,"null");if(e.for&&!e.forProcessed)return Ir(e,t,Mr);var n=e.slotScope===Ht?"":String(e.slotScope),i="function("+n+"){return "+("template"===e.tag?e.if&&r?"("+e.if+")?"+(Br(e,t)||"undefined")+":undefined":Br(e,t)||"undefined":_r(e,t))+"}",a=n?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+a+"}"}function Br(e,t,r,n,i){var a=e.children;if(a.length){var s=a[0];if(1===a.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var o=r?t.maybeComponent(s)?",1":",0":"";return""+(n||_r)(s,t)+o}var u=r?function(e,t){for(var r=0,n=0;n<e.length;n++){var i=e[n];if(1===i.type){if(jr(i)||i.ifConditions&&i.ifConditions.some((function(e){return jr(e.block)}))){r=2;break}(t(i)||i.ifConditions&&i.ifConditions.some((function(e){return t(e.block)})))&&(r=1)}}return r}(a,t.maybeComponent):0,l=i||Rr;return"["+a.map((function(e){return l(e,t)})).join(",")+"]"+(u?","+u:"")}}function jr(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Rr(e,t){return 1===e.type?_r(e,t):3===e.type&&e.isComment?function(e){return"_e("+JSON.stringify(e.text)+")"}(e):Vr(e)}function Vr(e){return"_v("+(2===e.type?e.expression:Ur(JSON.stringify(e.text)))+")"}function qr(e){for(var t="",r="",n=0;n<e.length;n++){var i=e[n],a=Ur(i.value);i.dynamic?r+=i.name+","+a+",":t+='"'+i.name+'":'+a+","}return t="{"+t.slice(0,-1)+"}",r?"_d("+t+",["+r.slice(0,-1)+"])":t}function Ur(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var Kr=new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),Xr=new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),Jr=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function Yr(e,t){e&&function e(t,r){if(1===t.type){for(var n in t.attrsMap)if(Mt.test(n)){var i=t.attrsMap[n];if(i){var a=t.rawAttrsMap[n];"v-for"===n?$r(t,'v-for="'+i+'"',r,a):Lt.test(n)?Wr(i,n+'="'+i+'"',r,a):zr(i,n+'="'+i+'"',r,a)}}if(t.children)for(var s=0;s<t.children.length;s++)e(t.children[s],r)}else 2===t.type&&zr(t.expression,t.text,r,t)}(e,t)}function Wr(e,t,r,n){var i=e.replace(Jr,""),a=i.match(Xr);a&&"$"!==i.charAt(a.index-1)&&r('avoid using JavaScript unary operator as property name: "'+a[0]+'" in expression '+t.trim(),n),zr(e,t,r,n)}function $r(e,t,r,n){zr(e.for||"",t,r,n),Hr(e.alias,"v-for alias",t,r,n),Hr(e.iterator1,"v-for iterator",t,r,n),Hr(e.iterator2,"v-for iterator",t,r,n)}function Hr(e,t,r,n,i){if("string"==typeof e)try{new Function("var "+e+"=_")}catch(a){n("invalid "+t+' "'+e+'" in expression: '+r.trim(),i)}}function zr(e,t,r,n){try{new Function("return "+e)}catch(a){var i=e.replace(Jr,"").match(Kr);r(i?'avoid using JavaScript keyword as property name: "'+i[0]+'"\n Raw expression: '+t.trim():"invalid expression: "+a.message+" in\n\n "+e+"\n\n Raw expression: "+t.trim()+"\n",n)}}var Gr=2;function Qr(e,t,r){void 0===t&&(t=0),void 0===r&&(r=e.length);for(var n=e.split(/\r?\n/),i=0,a=[],s=0;s<n.length;s++)if((i+=n[s].length+1)>=t){for(var o=s-Gr;o<=s+Gr||r>i;o++)if(!(o<0||o>=n.length)){a.push(""+(o+1)+Zr(" ",3-String(o+1).length)+"| "+n[o]);var u=n[o].length;if(o===s){var l=t-(i-u)+1,c=r>i?u-l:r-t;a.push(" | "+Zr(" ",l)+Zr("^",c))}else if(o>s){if(r>i){var p=Math.min(r-i,u);a.push(" | "+Zr("^",p))}i+=u+1}}break}return a.join("\n")}function Zr(e,t){var r="";if(t>0)for(;1&t&&(r+=e),!((t>>>=1)<=0);)e+=e;return r}function en(e,t){try{return new Function(e)}catch(r){return t.push({err:r,code:e}),S}}function tn(e){var t=Object.create(null);return function(r,n,i){var a=(n=E({},n)).warn||ce;delete n.warn;try{new Function("return 1")}catch(e){e.toString().match(/unsafe-eval|CSP/)&&a("It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.")}var s=n.delimiters?String(n.delimiters)+r:r;if(t[s])return t[s];var o=e(r,n);o.errors&&o.errors.length&&(n.outputSourceRange?o.errors.forEach((function(e){a("Error compiling template:\n\n"+e.msg+"\n\n"+Qr(r,e.start,e.end),i)})):a("Error compiling template:\n\n"+r+"\n\n"+o.errors.map((function(e){return"- "+e})).join("\n")+"\n",i)),o.tips&&o.tips.length&&(n.outputSourceRange?o.tips.forEach((function(e){return pe(e.msg,i)})):o.tips.forEach((function(e){return pe(e,i)})));var u={},l=[];return u.render=en(o.render,l),u.staticRenderFns=o.staticRenderFns.map((function(e){return en(e,l)})),o.errors&&o.errors.length||!l.length||a("Failed to generate render function:\n\n"+l.map((function(e){var t=e.err,r=e.code;return t.toString()+" in\n\n"+r+"\n"})).join("\n"),i),t[s]=u}}function rn(e){return function(t){function r(r,n){var i=Object.create(t),a=[],s=[],o=function(e,t,r){(r?s:a).push(e)};if(n){if(n.outputSourceRange){var u=r.match(/^\s*/)[0].length;o=function(e,t,r){var n={msg:e};t&&(null!=t.start&&(n.start=t.start+u),null!=t.end&&(n.end=t.end+u)),(r?s:a).push(n)}}for(var l in n.modules&&(i.modules=(t.modules||[]).concat(n.modules)),n.directives&&(i.directives=E(Object.create(t.directives||null),n.directives)),n)"modules"!==l&&"directives"!==l&&(i[l]=n[l])}i.warn=o;var c=e(r.trim(),i);return Yr(c.ast,o),c.errors=a,c.tips=s,c}return{compile:r,compileToFunctions:tn(r)}}}var nn=rn((function(e,t){var r=Gt(e.trim(),t);!1!==t.optimize&&yr(r,t);var n=wr(r,t);return{ast:r,render:n.render,staticRenderFns:n.staticRenderFns}}))(dr),an=nn.compile,sn=nn.compileToFunctions,on=p("accept,accept-charset,accesskey,action,align,alt,async,autocomplete,autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,http-equiv,name,contenteditable,contextmenu,controls,coords,data,datetime,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,method,for,form,formaction,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,type,usemap,value,width,wrap"),un=function(e){return on(e)||0===e.indexOf("data-")||0===e.indexOf("aria-")},ln={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},cn={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function pn(e){return cn[e]||e}var fn=/^"(?:[^"\\]|\\.)*"$|^'(?:[^'\\]|\\.)*'$/;function dn(e,t){return fn.test(t)?(t=t.replace(/^'|'$/g,'"'),je(e)&&'"false"'!==t&&(t='"true"'),{type:gn,value:Re(e)?" "+e+'="'+e+'"':'""'===t?" "+e:" "+e+'="'+JSON.parse(t)+'"'}):{type:En,value:"_ssrAttr("+JSON.stringify(e)+","+t+")"}}var hn,yn={FALSE:0,FULL:1,SELF:2,CHILDREN:3,PARTIAL:4};function mn(e,t){e&&(hn=t.isReservedTag||b,function e(t,r){if(function(e){return 2!==e.type&&3!==e.type&&(f(e.tag)||!hn(e.tag)||!!e.component||function(e){return 1===e.type&&"select"===e.tag&&null!=e.directives&&e.directives.some((function(e){return"model"===e.name}))}(e))}(t))t.ssrOptimizability=yn.FALSE;else{var n=r||function(e){return 1===e.type&&e.directives&&e.directives.some((function(e){return!vn(e.name)}))}(t),i=function(e){e.ssrOptimizability!==yn.FULL&&(t.ssrOptimizability=n?yn.PARTIAL:yn.SELF)};if(n&&(t.ssrOptimizability=yn.CHILDREN),1===t.type){for(var a=0,s=t.children.length;a<s;a++){var o=t.children[a];e(o),i(o)}if(t.ifConditions)for(var u=1,l=t.ifConditions.length;u<l;u++){var c=t.ifConditions[u].block;e(c,r),i(c)}null==t.ssrOptimizability||!r&&(t.attrsMap["v-html"]||t.attrsMap["v-text"])?t.ssrOptimizability=yn.FULL:t.children=function(e){for(var t=e.children,r=[],n=[],i=function(){n.length&&r.push({type:1,parent:e,tag:"template",attrsList:[],attrsMap:{},rawAttrsMap:{},children:n,ssrOptimizability:yn.FULL}),n=[]},a=0;a<t.length;a++){var s=t[a];s.ssrOptimizability===yn.FULL?n.push(s):(i(),r.push(s))}return i(),r}(t)}else t.ssrOptimizability=yn.FULL}}(e,!0))}var vn=p("text,html,show,on,bind,model,pre,cloak,once"),gn=0,Tn=1,En=2;function Sn(e,t){if(e.for&&!e.forProcessed)return Ir(e,t,Sn);if(e.if&&!e.ifProcessed)return Nr(e,t,Sn);if("template"===e.tag&&!e.slotTarget)return e.ssrOptimizability===yn.FULL?An(e,t):xn(e,t)||"void 0";switch(e.ssrOptimizability){case yn.FULL:return function(e,t){return"_ssrNode("+Cn(e,t)+")"}(e,t);case yn.SELF:return function(e,t){var r=xn(e,t,!0);return"_ssrNode("+On(wn(e,t))+',"</'+e.tag+'>"'+(r?","+r:"")+")"}(e,t);case yn.CHILDREN:return bn(e,t,!0);case yn.PARTIAL:return bn(e,t,!1);default:return _r(e,t)}}function bn(e,t,r){var n=e.plain?void 0:kr(e,t),i=r?"["+An(e,t)+"]":xn(e,t,!0);return"_c('"+e.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}function xn(e,t,r){return Br(e,t,r,Sn,Dn)}function Dn(e,t){return 1===e.type?Sn(e,t):Vr(e)}function An(e,t){return e.children.length?"_ssrNode("+On(_n(e,t))+")":""}function Cn(e,t){return"("+On(Pn(e,t))+")"}function Pn(e,t){if(e.for&&!e.forProcessed)return e.forProcessed=!0,[{type:En,value:Ir(e,t,Cn,"_ssrList")}];if(e.if&&!e.ifProcessed)return e.ifProcessed=!0,[{type:En,value:Nr(e,t,Cn,'"\x3c!----\x3e"')}];if("template"===e.tag)return _n(e,t);var r=wn(e,t),n=_n(e,t),i=t.options.isUnaryTag,a=i&&i(e.tag)?[]:[{type:gn,value:"</"+e.tag+">"}];return r.concat(n,a)}function wn(e,t){var r;!function(e,t){if(e.directives)for(var r=0;r<e.directives.length;r++){var n=e.directives[r];if("model"===n.name){t.directives.model(e,n,t.warn),"textarea"===e.tag&&e.props&&(e.props=e.props.filter((function(e){return"value"!==e.name})));break}}}(e,t);var n,i,a,s,o,u,l=[{type:gn,value:"<"+e.tag}];return e.attrs&&l.push.apply(l,e.attrs.map((function(e){return dn(e.name,e.value)}))),e.props&&l.push.apply(l,function(e,t){var r=[];return e.forEach((function(e){var n=e.name,i=e.value;n=ln[n]||n.toLowerCase(),!un(n)||t&&t.some((function(e){return e.name===n}))||r.push(dn(n,i))})),r}(e.props,e.attrs)),(r=e.attrsMap["v-bind"])&&l.push({type:En,value:"_ssrAttrs("+r+")"}),(r=e.attrsMap["v-bind.prop"])&&l.push({type:En,value:"_ssrDOMProps("+r+")"}),(e.staticClass||e.classBinding)&&l.push.apply(l,(n=e.staticClass,i=e.classBinding,n&&!i?[{type:gn,value:' class="'+JSON.parse(n)+'"'}]:[{type:En,value:"_ssrClass("+(n||"null")+","+(i||"null")+")"}])),(e.staticStyle||e.styleBinding||e.attrsMap["v-show"])&&l.push.apply(l,(a=e.attrsMap.style,s=e.staticStyle,o=e.styleBinding,u=e.attrsMap["v-show"],!a||o||u?[{type:En,value:"_ssrStyle("+(s||"null")+","+(o||"null")+", "+(u?"{ display: ("+u+") ? '' : 'none' }":"null")+")"}]:[{type:gn,value:" style="+JSON.stringify(a)}])),t.options.scopeId&&l.push({type:gn,value:" "+t.options.scopeId}),l.push({type:gn,value:">"}),l}function _n(e,t){var r;return(r=e.attrsMap["v-html"])?[{type:En,value:"_s("+r+")"}]:(r=e.attrsMap["v-text"])?[{type:Tn,value:"_s("+r+")"}]:"textarea"===e.tag&&(r=e.attrsMap["v-model"])?[{type:Tn,value:"_s("+r+")"}]:e.children?function(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n];if(1===i.type)r.push.apply(r,Pn(i,t));else if(2===i.type)r.push({type:Tn,value:i.expression});else if(3===i.type){var a=i.text.replace(/[<>"&]/g,pn);i.isComment&&(a="\x3c!--"+a+"--\x3e"),r.push({type:gn,value:a})}}return r}(e.children,t):[]}function On(e){for(var t=[],r="",n=function(){r&&(t.push(JSON.stringify(r)),r="")},i=0;i<e.length;i++){var a=e[i];a.type===gn?r+=a.value:a.type===Tn?(n(),t.push("_ssrEscape("+a.value+")")):a.type===En&&(n(),t.push("("+a.value+")"))}return n(),t.join("+")}var Fn=rn((function(e,t){var r=Gt(e.trim(),t);mn(r,t);var n=function(e,t){var r=new Pr(t);return{render:"with(this){return "+(e?Sn(e,r):'_c("div")')+"}",staticRenderFns:r.staticRenderFns}}(r,t);return{ast:r,render:n.render,staticRenderFns:n.staticRenderFns}}))(dr),Nn=Fn.compile,In=Fn.compileToFunctions;t.parseComponent=function(e,t){void 0===t&&(t={});var r={template:null,script:null,styles:[],customBlocks:[],errors:[]},n=0,i=null,a=function(e){r.errors.push(e)};return t.outputSourceRange&&(a=function(e,t){var n={msg:e};null!=t.start&&(n.start=t.start),null!=t.end&&(n.end=t.end),r.errors.push(n)}),J(e,{warn:a,start:function(e,t,a,s,o){0===n&&(i={type:e,content:"",start:o,attrs:t.reduce((function(e,t){var r=t.name,n=t.value;return e[r]=n||!0,e}),{})},H(e)?(function(e,t){for(var r=0;r<t.length;r++){var n=t[r];"lang"===n.name&&(e.lang=n.value),"scoped"===n.name&&(e.scoped=!0),"module"===n.name&&(e.module=n.value||!0),"src"===n.name&&(e.src=n.value)}}(i,t),"style"===e?r.styles.push(i):r[e]=i):r.customBlocks.push(i)),a||n++},end:function(r,a){if(1===n&&i){i.end=a;var o=e.slice(i.start,i.end);!1!==t.deindent&&(o=s(o)),"template"!==i.type&&t.pad&&(o=function(t,r){if("space"===r)return e.slice(0,t.start).replace($," ");var n=e.slice(0,t.start).split(W).length,i="script"!==t.type||t.lang?"\n":"//\n";return Array(n).join(i)}(i,t.pad)+o),i.content=o,i=null}n--},outputSourceRange:t.outputSourceRange}),r},t.compile=an,t.compileToFunctions=sn,t.ssrCompile=Nn,t.ssrCompileToFunctions=In,t.generateCodeFrame=Qr,Object.defineProperty(t,"__esModule",{value:!0})})(t)}).call(this,r(18),r(638).setImmediate)},function(e,t,r){(function(e){var n=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,n,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,n,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(n,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},r(639),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,r(18))},function(e,t,r){(function(e,t){!function(e,r){"use strict";if(!e.setImmediate){var n,i,a,s,o,u=1,l={},c=!1,p=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(e){a.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(i=p.documentElement,n=function(e){var t=p.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(h,0,e)}:(s="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&h(+t.data.slice(s.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),n=function(t){e.postMessage(s+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var i={callback:e,args:t};return l[u]=i,n(u),u++},f.clearImmediate=d}function d(e){delete l[e]}function h(e){if(c)setTimeout(h,0,e);else{var t=l[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(r,n)}}(t)}finally{d(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,r(18),r(41))},function(e,t,r){var n=r(89),i=r(3),a=r(36).default,s=r(641).getStorySubject,o=r(1).INJECTED_SOURCE_PLACEHOLDER,u=r(137),l=u.getAvailableKnobsFunctions,c=u.isKnownKnobMethodCall,p=u.extractKnobProperties,f=r(135),d="let dummyObject =";function h(e,t){var r=e.attributes,i=e.inputs,a=e.outputs,s=r.map((function(e){return e.valueSpan?{name:e.name,value:e.value}:{name:e.name}}));return i.forEach((function(e){s.push(function(e,t){var r=n.get(e,"value.source");if("BoundAttribute"!==v(e))return{name:e.name,value:r};var i=y(r,t);return i?{name:e.name,value:i.value,knobLabel:i.knobLabel}:{name:"[".concat(e.name,"]"),value:r}}(e,t))})),a.forEach((function(e){s.push({name:"(".concat(e.name,")"),value:e.handler.source})})),s}function y(e,t){return t.find((function(t){return t.storyPropName===e}))}function m(e,t){var r=T(e,0,t.sourceSpan.start.offset),n=T(e,t.endSourceSpan.end.offset);return"".concat(r).concat(o).concat(n)}function v(e){return e.constructor&&e.constructor.name}function g(e,t,r){if(0===e.length)return[];var i=[];return e.forEach((function(e){var a=n.get(e,"sourceSpan");if(a){var s=v(e);if("Element"!==s){if("BoundText"===s){var o=function(e,t){var r=n.get(e,"value.ast.expressions");if(r&&1===r.length&&"PropertyRead"===v(r[0])){var i=y(r[0].name,t);if(i)return{value:i.value,knobLabel:i.knobLabel}}}(e,r);if(o)return void i.push(o)}i.push({value:T(t,a.start.offset,a.end.offset)})}else{var u=e.startSourceSpan.start.offset,l=n.get(e,"endSourceSpan.end.offset")||e.startSourceSpan.end.offset;i.push({value:T(t,u,l)})}}})),i}function T(e,t,r){return e.substring(t,r)}e.exports=function(e,t){try{var r=e.frameworkMetadata&&e.frameworkMetadata.storyTemplate;if(!r)return null;var n=s(r,e.dsmInfo);if(!n)return null;var o=l(e.importDeclarations),u=function(e,t){if(!e)return[];var r=[],n=f(d+e);return a(n,{ObjectProperty:function(e){var n=e.node,a=n.value;if(a&&i.isCallExpression(a)&&c(a,t)){var s=p(a);r.push(Object.assign({storyPropName:n.key.name},s))}}}),r}(e.frameworkMetadata.storyLevelProps,o);return{componentName:n.name,props:h(n,u),children:g(n.children,r,u),sourceTemplate:m(r,n)}}catch(r){return t&&t.error("Failed to analyze sample code for story ".concat(e?"".concat(e.kind," - ").concat(e.name):"","\n ").concat(r.stack)),null}}},function(e,t,r){var n=r(642).parseTemplate;function i(e,t){var r=t.component,i=function(e){return n(e,"",{},"")}(e);if(!i||!i.nodes||0===i.nodes.length)return null;var a,s=1===i.nodes.length;if(!r&&!s)throw"Template contains multiple root elements; component name must be provided as `component` option in in-dsm object";return a=s?i.nodes[0]:{name:"____fake-root____",children:i.nodes},r&&a.name!==r&&(a=function e(t,r){if(t.name){if(t.name===r)return t;var n,i=!0,a=!1,s=void 0;try{for(var o,u=t.children[Symbol.iterator]();!(i=(o=u.next()).done);i=!0){var l=o.value;if(n=e(l,r))break}}catch(e){a=!0,s=e}finally{try{i||null==u.return||u.return()}finally{if(a)throw s}}return n}}(a,r)),a}e.exports={getStorySubject:i,getComponentTagName:function(e,t){var r=i(e,t);return r?r.name:null}}},function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"core",(function(){return Z})),r.d(t,"CompilerConfig",(function(){return rp})),r.d(t,"preserveWhitespacesDefault",(function(){return np})),r.d(t,"isLoweredSymbol",(function(){return Zp})),r.d(t,"createLoweredSymbol",(function(){return ef})),r.d(t,"Identifiers",(function(){return ir})),r.d(t,"JitCompiler",(function(){return Nh})),r.d(t,"ConstantPool",(function(){return Zt})),r.d(t,"DirectiveResolver",(function(){return op})),r.d(t,"PipeResolver",(function(){return _f})),r.d(t,"NgModuleResolver",(function(){return Af})),r.d(t,"DEFAULT_INTERPOLATION_CONFIG",(function(){return Io})),r.d(t,"InterpolationConfig",(function(){return No})),r.d(t,"NgModuleCompiler",(function(){return Df})),r.d(t,"ArrayType",(function(){return ae})),r.d(t,"AssertNotNull",(function(){return Ne})),r.d(t,"BinaryOperator",(function(){return re})),r.d(t,"BinaryOperatorExpr",(function(){return Me})),r.d(t,"BuiltinMethod",(function(){return me})),r.d(t,"BuiltinType",(function(){return ne})),r.d(t,"BuiltinTypeName",(function(){return ee})),r.d(t,"BuiltinVar",(function(){return he})),r.d(t,"CastExpr",(function(){return Ie})),r.d(t,"ClassField",(function(){return Ge})),r.d(t,"ClassMethod",(function(){return Qe})),r.d(t,"ClassStmt",(function(){return et})),r.d(t,"CommaExpr",(function(){return Ue})),r.d(t,"CommentStmt",(function(){return rt})),r.d(t,"ConditionalExpr",(function(){return Oe})),r.d(t,"DeclareFunctionStmt",(function(){return We})),r.d(t,"DeclareVarStmt",(function(){return Ye})),r.d(t,"Expression",(function(){return ye})),r.d(t,"ExpressionStatement",(function(){return $e})),r.d(t,"ExpressionType",(function(){return ie})),r.d(t,"ExternalExpr",(function(){return we})),r.d(t,"ExternalReference",(function(){return _e})),r.d(t,"FunctionExpr",(function(){return Le})),r.d(t,"IfStmt",(function(){return tt})),r.d(t,"InstantiateExpr",(function(){return Ce})),r.d(t,"InvokeFunctionExpr",(function(){return Ae})),r.d(t,"InvokeMethodExpr",(function(){return De})),r.d(t,"JSDocCommentStmt",(function(){return nt})),r.d(t,"LiteralArrayExpr",(function(){return Re})),r.d(t,"LiteralExpr",(function(){return Pe})),r.d(t,"LiteralMapExpr",(function(){return qe})),r.d(t,"MapType",(function(){return se})),r.d(t,"NotExpr",(function(){return Fe})),r.d(t,"ReadKeyExpr",(function(){return je})),r.d(t,"ReadPropExpr",(function(){return Be})),r.d(t,"ReadVarExpr",(function(){return ve})),r.d(t,"ReturnStatement",(function(){return He})),r.d(t,"ThrowStmt",(function(){return at})),r.d(t,"TryCatchStmt",(function(){return it})),r.d(t,"Type",(function(){return te})),r.d(t,"WrappedNodeExpr",(function(){return Te})),r.d(t,"WriteKeyExpr",(function(){return Se})),r.d(t,"WritePropExpr",(function(){return be})),r.d(t,"WriteVarExpr",(function(){return Ee})),r.d(t,"StmtModifier",(function(){return xe})),r.d(t,"Statement",(function(){return Je})),r.d(t,"TypeofExpr",(function(){return ge})),r.d(t,"collectExternalReferences",(function(){return ct})),r.d(t,"EmitterVisitorContext",(function(){return _i})),r.d(t,"ViewCompiler",(function(){return ad})),r.d(t,"getParseErrors",(function(){return Vt})),r.d(t,"isSyntaxError",(function(){return Rt})),r.d(t,"syntaxError",(function(){return Mt})),r.d(t,"Version",(function(){return Wt})),r.d(t,"TmplAstBoundAttribute",(function(){return Ku})),r.d(t,"TmplAstBoundEvent",(function(){return Xu})),r.d(t,"TmplAstBoundText",(function(){return qu})),r.d(t,"TmplAstContent",(function(){return Wu})),r.d(t,"TmplAstElement",(function(){return Ju})),r.d(t,"TmplAstReference",(function(){return Hu})),r.d(t,"TmplAstTemplate",(function(){return Yu})),r.d(t,"TmplAstText",(function(){return Vu})),r.d(t,"TmplAstTextAttribute",(function(){return Uu})),r.d(t,"TmplAstVariable",(function(){return $u})),r.d(t,"jitExpression",(function(){return Mi})),r.d(t,"R3ResolvedDependencyType",(function(){return ui})),r.d(t,"compileInjector",(function(){return ji})),r.d(t,"compileNgModule",(function(){return Bi})),r.d(t,"compilePipeFromMetadata",(function(){return Vi})),r.d(t,"makeBindingParser",(function(){return Hl})),r.d(t,"parseTemplate",(function(){return $l})),r.d(t,"compileBaseDefFromMetadata",(function(){return ic})),r.d(t,"compileComponentFromMetadata",(function(){return ac})),r.d(t,"compileDirectiveFromMetadata",(function(){return nc})),r.d(t,"parseHostBindings",(function(){return Tc})),r.d(t,"publishFacade",(function(){return Lc})),r.d(t,"VERSION",(function(){return jc})),r.d(t,"TextAst",(function(){return Rc})),r.d(t,"BoundTextAst",(function(){return Vc})),r.d(t,"AttrAst",(function(){return qc})),r.d(t,"BoundElementPropertyAst",(function(){return Kc})),r.d(t,"BoundEventAst",(function(){return Xc})),r.d(t,"ReferenceAst",(function(){return Jc})),r.d(t,"VariableAst",(function(){return Yc})),r.d(t,"ElementAst",(function(){return Wc})),r.d(t,"EmbeddedTemplateAst",(function(){return $c})),r.d(t,"BoundDirectivePropertyAst",(function(){return Hc})),r.d(t,"DirectiveAst",(function(){return zc})),r.d(t,"ProviderAst",(function(){return Gc})),r.d(t,"ProviderAstType",(function(){return Bc})),r.d(t,"NgContentAst",(function(){return Qc})),r.d(t,"NullTemplateVisitor",(function(){return Zc})),r.d(t,"RecursiveTemplateAstVisitor",(function(){return ep})),r.d(t,"templateVisitAll",(function(){return tp})),r.d(t,"sanitizeIdentifier",(function(){return cr})),r.d(t,"identifierName",(function(){return dr})),r.d(t,"identifierModuleUrl",(function(){return hr})),r.d(t,"viewClassName",(function(){return yr})),r.d(t,"rendererTypeName",(function(){return mr})),r.d(t,"hostViewClassName",(function(){return vr})),r.d(t,"componentFactoryName",(function(){return gr})),r.d(t,"CompileSummaryKind",(function(){return pr})),r.d(t,"tokenName",(function(){return Tr})),r.d(t,"tokenReference",(function(){return Er})),r.d(t,"CompileStylesheetMetadata",(function(){return Sr})),r.d(t,"CompileTemplateMetadata",(function(){return br})),r.d(t,"CompileDirectiveMetadata",(function(){return xr})),r.d(t,"CompilePipeMetadata",(function(){return Dr})),r.d(t,"CompileShallowModuleMetadata",(function(){return Ar})),r.d(t,"CompileNgModuleMetadata",(function(){return Cr})),r.d(t,"TransitiveCompileNgModuleMetadata",(function(){return Pr})),r.d(t,"ProviderMeta",(function(){return _r})),r.d(t,"flatten",(function(){return Or})),r.d(t,"templateSourceUrl",(function(){return Nr})),r.d(t,"sharedStylesheetJitUrl",(function(){return Ir})),r.d(t,"ngModuleJitUrl",(function(){return kr})),r.d(t,"templateJitUrl",(function(){return Lr})),r.d(t,"createAotUrlResolver",(function(){return Sh})),r.d(t,"createAotCompiler",(function(){return bh})),r.d(t,"AotCompiler",(function(){return Md})),r.d(t,"analyzeNgModules",(function(){return Vd})),r.d(t,"analyzeAndValidateNgModules",(function(){return qd})),r.d(t,"analyzeFile",(function(){return Kd})),r.d(t,"analyzeFileForInjectables",(function(){return Xd})),r.d(t,"mergeAnalyzedFiles",(function(){return Jd})),r.d(t,"GeneratedFile",(function(){return Sd})),r.d(t,"toTypeScript",(function(){return bd})),r.d(t,"formattedError",(function(){return Hd})),r.d(t,"isFormattedError",(function(){return zd})),r.d(t,"StaticReflector",(function(){return ih})),r.d(t,"StaticSymbol",(function(){return or})),r.d(t,"StaticSymbolCache",(function(){return ur})),r.d(t,"ResolvedStaticSymbol",(function(){return Pd})),r.d(t,"StaticSymbolResolver",(function(){return wd})),r.d(t,"unescapeIdentifier",(function(){return _d})),r.d(t,"unwrapResolvedMetadata",(function(){return Od})),r.d(t,"AotSummaryResolver",(function(){return Eh})),r.d(t,"AstPath",(function(){return Vo})),r.d(t,"SummaryResolver",(function(){return xh})),r.d(t,"JitSummaryResolver",(function(){return Dh})),r.d(t,"CompileReflector",(function(){return Mh})),r.d(t,"createUrlResolverWithoutPackagePrefix",(function(){return Bh})),r.d(t,"createOfflineCompileUrlResolver",(function(){return jh})),r.d(t,"UrlResolver",(function(){return Rh})),r.d(t,"getUrlScheme",(function(){return Vh})),r.d(t,"ResourceLoader",(function(){return Jh})),r.d(t,"ElementSchemaRegistry",(function(){return wu})),r.d(t,"Extractor",(function(){return Yh})),r.d(t,"I18NHtmlParser",(function(){return Mp})),r.d(t,"MessageBundle",(function(){return Td})),r.d(t,"Serializer",(function(){return dn})),r.d(t,"Xliff",(function(){return xp})),r.d(t,"Xliff2",(function(){return Pp})),r.d(t,"Xmb",(function(){return Dn})),r.d(t,"Xtb",(function(){return Fp})),r.d(t,"DirectiveNormalizer",(function(){return ip})),r.d(t,"ParserError",(function(){return qi})),r.d(t,"ParseSpan",(function(){return Ui})),r.d(t,"AST",(function(){return Ki})),r.d(t,"Quote",(function(){return Xi})),r.d(t,"EmptyExpr",(function(){return Ji})),r.d(t,"ImplicitReceiver",(function(){return Yi})),r.d(t,"Chain",(function(){return Wi})),r.d(t,"Conditional",(function(){return $i})),r.d(t,"PropertyRead",(function(){return Hi})),r.d(t,"PropertyWrite",(function(){return zi})),r.d(t,"SafePropertyRead",(function(){return Gi})),r.d(t,"KeyedRead",(function(){return Qi})),r.d(t,"KeyedWrite",(function(){return Zi})),r.d(t,"BindingPipe",(function(){return ea})),r.d(t,"LiteralPrimitive",(function(){return ta})),r.d(t,"LiteralArray",(function(){return ra})),r.d(t,"LiteralMap",(function(){return na})),r.d(t,"Interpolation",(function(){return ia})),r.d(t,"Binary",(function(){return aa})),r.d(t,"PrefixNot",(function(){return sa})),r.d(t,"NonNullAssert",(function(){return oa})),r.d(t,"MethodCall",(function(){return ua})),r.d(t,"SafeMethodCall",(function(){return la})),r.d(t,"FunctionCall",(function(){return ca})),r.d(t,"ASTWithSource",(function(){return pa})),r.d(t,"TemplateBinding",(function(){return fa})),r.d(t,"NullAstVisitor",(function(){return da})),r.d(t,"RecursiveAstVisitor",(function(){return ha})),r.d(t,"AstTransformer",(function(){return ya})),r.d(t,"AstMemoryEfficientTransformer",(function(){return ma})),r.d(t,"visitAstChildren",(function(){return va})),r.d(t,"ParsedProperty",(function(){return Ta})),r.d(t,"ParsedPropertyType",(function(){return ga})),r.d(t,"ParsedEvent",(function(){return Ea})),r.d(t,"ParsedVariable",(function(){return Sa})),r.d(t,"BoundElementProperty",(function(){return ba})),r.d(t,"TokenType",(function(){return fo})),r.d(t,"Lexer",(function(){return vo})),r.d(t,"Token",(function(){return go})),r.d(t,"EOF",(function(){return So})),r.d(t,"isIdentifier",(function(){return Do})),r.d(t,"isQuote",(function(){return Po})),r.d(t,"SplitInterpolation",(function(){return ko})),r.d(t,"TemplateBindingParseResult",(function(){return Lo})),r.d(t,"Parser",(function(){return Bo})),r.d(t,"_ParseAST",(function(){return jo})),r.d(t,"ERROR_COMPONENT_TYPE",(function(){return tf})),r.d(t,"CompileMetadataResolver",(function(){return rf})),r.d(t,"Text",(function(){return qo})),r.d(t,"Expansion",(function(){return Uo})),r.d(t,"ExpansionCase",(function(){return Ko})),r.d(t,"Attribute",(function(){return Xo})),r.d(t,"Element",(function(){return Jo})),r.d(t,"Comment",(function(){return Yo})),r.d(t,"visitAll",(function(){return Wo})),r.d(t,"RecursiveVisitor",(function(){return Ho})),r.d(t,"findNode",(function(){return zo})),r.d(t,"HtmlParser",(function(){return mu})),r.d(t,"ParseTreeResult",(function(){return fu})),r.d(t,"TreeError",(function(){return pu})),r.d(t,"HtmlTagDefinition",(function(){return y})),r.d(t,"getHtmlTagDefinition",(function(){return m})),r.d(t,"TagContentType",(function(){return n})),r.d(t,"splitNsName",(function(){return a})),r.d(t,"isNgContainer",(function(){return s})),r.d(t,"isNgContent",(function(){return o})),r.d(t,"isNgTemplate",(function(){return u})),r.d(t,"getNsPrefix",(function(){return l})),r.d(t,"mergeNsAndName",(function(){return c})),r.d(t,"NAMED_ENTITIES",(function(){return p})),r.d(t,"NGSP_UNICODE",(function(){return f})),r.d(t,"debugOutputAstAsTypeScript",(function(){return Cf})),r.d(t,"TypeScriptEmitter",(function(){return Pf})),r.d(t,"ParseLocation",(function(){return Cs})),r.d(t,"ParseSourceFile",(function(){return Ps})),r.d(t,"ParseSourceSpan",(function(){return ws})),r.d(t,"ParseErrorLevel",(function(){return As})),r.d(t,"ParseError",(function(){return _s})),r.d(t,"typeSourceSpan",(function(){return Os})),r.d(t,"DomElementSchemaRegistry",(function(){return Lu})),r.d(t,"CssSelector",(function(){return E})),r.d(t,"SelectorMatcher",(function(){return S})),r.d(t,"SelectorListContext",(function(){return b})),r.d(t,"SelectorContext",(function(){return x})),r.d(t,"HOST_ATTR",(function(){return io})),r.d(t,"CONTENT_ATTR",(function(){return ao})),r.d(t,"StylesCompileDependency",(function(){return so})),r.d(t,"CompiledStylesheet",(function(){return oo})),r.d(t,"StyleCompiler",(function(){return uo})),r.d(t,"TemplateParseError",(function(){return Rf})),r.d(t,"TemplateParseResult",(function(){return Vf})),r.d(t,"TemplateParser",(function(){return qf})),r.d(t,"splitClasses",(function(){return Jf})),r.d(t,"createElementCssSelector",(function(){return Wf})),r.d(t,"removeSummaryDuplicates",(function(){return Gf})),r.d(t,"compileInjectable",(function(){return gi})),r.d(t,"R3TargetBinder",(function(){return Wh})),r.d(t,"R3BoundTarget",(function(){return Gh}));var n,i=r(0);
32/**
33 * @license Angular v7.1.2
34 * (c) 2010-2018 Google, Inc. https://angular.io/
35 * License: MIT
36 */
37/**
38 * @license
39 * Copyright Google Inc. All Rights Reserved.
40 *
41 * Use of this source code is governed by an MIT-style license that can be
42 * found in the LICENSE file at https://angular.io/license
43 */function a(e){if(":"!=e[0])return[null,e];var t=e.indexOf(":",1);if(-1==t)throw new Error('Unsupported format "'+e+'" expecting ":namespace:name"');return[e.slice(1,t),e.slice(t+1)]}function s(e){return"ng-container"===a(e)[1]}function o(e){return"ng-content"===a(e)[1]}function u(e){return"ng-template"===a(e)[1]}function l(e){return null===e?null:a(e)[0]}function c(e,t){return e?":"+e+":"+t:t}!function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(n||(n={}));var p={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Å",aring:"å",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Β",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"ƒ",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"⁄",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",image:"ℑ",infin:"∞",int:"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ï",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"←",lArr:"⇐",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"◊",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Μ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Ν",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Œ",oelig:"œ",Ograve:"Ò",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Π",pi:"π",piv:"ϖ",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"∏",prop:"∝",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"”",real:"ℜ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"ρ",rlm:"‏",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Š",scaron:"š",sdot:"⋅",sect:"§",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sim:"∼",spades:"♠",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"τ",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"˜",times:"×",trade:"™",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",Uuml:"Ü",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"‍",zwnj:"‌"},f="";p.ngsp=f;
44/**
45 * @license
46 * Copyright Google Inc. All Rights Reserved.
47 *
48 * Use of this source code is governed by an MIT-style license that can be
49 * found in the LICENSE file at https://angular.io/license
50 */
51var d,h,y=function(){function e(e){var t=void 0===e?{}:e,r=t.closedByChildren,i=t.requiredParents,a=t.implicitNamespacePrefix,s=t.contentType,o=void 0===s?n.PARSABLE_DATA:s,u=t.closedByParent,l=void 0!==u&&u,c=t.isVoid,p=void 0!==c&&c,f=t.ignoreFirstLf,d=void 0!==f&&f,h=this;this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,r&&r.length>0&&r.forEach((function(e){return h.closedByChildren[e]=!0})),this.isVoid=p,this.closedByParent=l||p,i&&i.length>0&&(this.requiredParents={},this.parentToAdd=i[0],i.forEach((function(e){return h.requiredParents[e]=!0}))),this.implicitNamespacePrefix=a||null,this.contentType=o,this.ignoreFirstLf=d}return e.prototype.requireExtraParent=function(e){if(!this.requiredParents)return!1;if(!e)return!0;var t=e.toLowerCase();return!("template"===t||"ng-template"===e)&&1!=this.requiredParents[t]},e.prototype.isClosedByChild=function(e){return this.isVoid||e.toLowerCase()in this.closedByChildren},e}();function m(e){return h||(d=new y,h={base:new y({isVoid:!0}),meta:new y({isVoid:!0}),area:new y({isVoid:!0}),embed:new y({isVoid:!0}),link:new y({isVoid:!0}),img:new y({isVoid:!0}),input:new y({isVoid:!0}),param:new y({isVoid:!0}),hr:new y({isVoid:!0}),br:new y({isVoid:!0}),source:new y({isVoid:!0}),track:new y({isVoid:!0}),wbr:new y({isVoid:!0}),p:new y({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new y({closedByChildren:["tbody","tfoot"]}),tbody:new y({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new y({closedByChildren:["tbody"],closedByParent:!0}),tr:new y({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new y({closedByChildren:["td","th"],closedByParent:!0}),th:new y({closedByChildren:["td","th"],closedByParent:!0}),col:new y({requiredParents:["colgroup"],isVoid:!0}),svg:new y({implicitNamespacePrefix:"svg"}),math:new y({implicitNamespacePrefix:"math"}),li:new y({closedByChildren:["li"],closedByParent:!0}),dt:new y({closedByChildren:["dt","dd"]}),dd:new y({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new y({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new y({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new y({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new y({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new y({closedByChildren:["optgroup"],closedByParent:!0}),option:new y({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new y({ignoreFirstLf:!0}),listing:new y({ignoreFirstLf:!0}),style:new y({contentType:n.RAW_TEXT}),script:new y({contentType:n.RAW_TEXT}),title:new y({contentType:n.ESCAPABLE_RAW_TEXT}),textarea:new y({contentType:n.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),h[e.toLowerCase()]||d}
52/**
53 * @license
54 * Copyright Google Inc. All Rights Reserved.
55 *
56 * Use of this source code is governed by an MIT-style license that can be
57 * found in the LICENSE file at https://angular.io/license
58 */var v,g,T=new RegExp("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-.\\w*]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g"),E=function(){function e(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return e.parse=function(t){var r,n=[],i=function(e,t){t.notSelectors.length>0&&!t.element&&0==t.classNames.length&&0==t.attrs.length&&(t.element="*"),e.push(t)},a=new e,s=a,o=!1;for(T.lastIndex=0;r=T.exec(t);){if(r[1]){if(o)throw new Error("Nesting :not is not allowed in a selector");o=!0,s=new e,a.notSelectors.push(s)}if(r[2]&&s.setElement(r[2]),r[3]&&s.addClassName(r[3]),r[4]&&s.addAttribute(r[4],r[6]),r[7]&&(o=!1,s=a),r[8]){if(o)throw new Error("Multiple selectors in :not are not supported");i(n,a),a=s=new e}}return i(n,a),n},e.prototype.isElementSelector=function(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length},e.prototype.hasElementSelector=function(){return!!this.element},e.prototype.setElement=function(e){void 0===e&&(e=null),this.element=e},e.prototype.getMatchingElementTemplate=function(){for(var e=this.element||"div",t=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",r="",n=0;n<this.attrs.length;n+=2){r+=" "+this.attrs[n]+(""!==this.attrs[n+1]?'="'+this.attrs[n+1]+'"':"")}return m(e).isVoid?"<"+e+t+r+"/>":"<"+e+t+r+"></"+e+">"},e.prototype.getAttrs=function(){var e=[];return this.classNames.length>0&&e.push("class",this.classNames.join(" ")),e.concat(this.attrs)},e.prototype.addAttribute=function(e,t){void 0===t&&(t=""),this.attrs.push(e,t&&t.toLowerCase()||"")},e.prototype.addClassName=function(e){this.classNames.push(e.toLowerCase())},e.prototype.toString=function(){var e=this.element||"";if(this.classNames&&this.classNames.forEach((function(t){return e+="."+t})),this.attrs)for(var t=0;t<this.attrs.length;t+=2){var r=this.attrs[t],n=this.attrs[t+1];e+="["+r+(n?"="+n:"")+"]"}return this.notSelectors.forEach((function(t){return e+=":not("+t+")"})),e},e}(),S=function(){function e(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}return e.createNotMatcher=function(t){var r=new e;return r.addSelectables(t,null),r},e.prototype.addSelectables=function(e,t){var r=null;e.length>1&&(r=new b(e),this._listContexts.push(r));for(var n=0;n<e.length;n++)this._addSelectable(e[n],t,r)},e.prototype._addSelectable=function(e,t,r){var n=this,i=e.element,a=e.classNames,s=e.attrs,o=new x(e,t,r);i&&((l=0===s.length&&0===a.length)?this._addTerminal(n._elementMap,i,o):n=this._addPartial(n._elementPartialMap,i));if(a)for(var u=0;u<a.length;u++){var l=0===s.length&&u===a.length-1,c=a[u];l?this._addTerminal(n._classMap,c,o):n=this._addPartial(n._classPartialMap,c)}if(s)for(u=0;u<s.length;u+=2){l=u===s.length-2;var p=s[u],f=s[u+1];if(l){var d=n._attrValueMap,h=d.get(p);h||(h=new Map,d.set(p,h)),this._addTerminal(h,f,o)}else{var y=n._attrValuePartialMap,m=y.get(p);m||(m=new Map,y.set(p,m)),n=this._addPartial(m,f)}}},e.prototype._addTerminal=function(e,t,r){var n=e.get(t);n||(n=[],e.set(t,n)),n.push(r)},e.prototype._addPartial=function(t,r){var n=t.get(r);return n||(n=new e,t.set(r,n)),n},e.prototype.match=function(e,t){for(var r=!1,n=e.element,i=e.classNames,a=e.attrs,s=0;s<this._listContexts.length;s++)this._listContexts[s].alreadyMatched=!1;if(r=this._matchTerminal(this._elementMap,n,e,t)||r,r=this._matchPartial(this._elementPartialMap,n,e,t)||r,i)for(s=0;s<i.length;s++){var o=i[s];r=this._matchTerminal(this._classMap,o,e,t)||r,r=this._matchPartial(this._classPartialMap,o,e,t)||r}if(a)for(s=0;s<a.length;s+=2){var u=a[s],l=a[s+1],c=this._attrValueMap.get(u);l&&(r=this._matchTerminal(c,"",e,t)||r),r=this._matchTerminal(c,l,e,t)||r;var p=this._attrValuePartialMap.get(u);l&&(r=this._matchPartial(p,"",e,t)||r),r=this._matchPartial(p,l,e,t)||r}return r},e.prototype._matchTerminal=function(e,t,r,n){if(!e||"string"!=typeof t)return!1;var i=e.get(t)||[],a=e.get("*");if(a&&(i=i.concat(a)),0===i.length)return!1;for(var s=!1,o=0;o<i.length;o++)s=i[o].finalize(r,n)||s;return s},e.prototype._matchPartial=function(e,t,r,n){if(!e||"string"!=typeof t)return!1;var i=e.get(t);return!!i&&i.match(r,n)},e}(),b=function(e){this.selectors=e,this.alreadyMatched=!1},x=function(){function e(e,t,r){this.selector=e,this.cbContext=t,this.listContext=r,this.notSelectors=e.notSelectors}return e.prototype.finalize=function(e,t){var r=!0;!(this.notSelectors.length>0)||this.listContext&&this.listContext.alreadyMatched||(r=!S.createNotMatcher(this.notSelectors).match(e,null));return!r||!t||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),t(this.selector,this.cbContext)),r},e}(),D=H("Inject",(function(e){return{token:e}})),A=H("InjectionToken",(function(e){return{_desc:e,ngInjectableDef:void 0}})),C=H("Attribute",(function(e){return{attributeName:e}})),P=H("ContentChildren",(function(e,t){return void 0===t&&(t={}),Object(i.a)({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)})),w=H("ContentChild",(function(e,t){return void 0===t&&(t={}),Object(i.a)({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)})),_=H("ViewChildren",(function(e,t){return void 0===t&&(t={}),Object(i.a)({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)})),O=H("ViewChild",(function(e,t){return Object(i.a)({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)})),F=H("Directive",(function(e){return void 0===e&&(e={}),e}));!function(e){e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(v||(v={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(g||(g={}));var N,I,k=H("Component",(function(e){return void 0===e&&(e={}),Object(i.a)({changeDetection:g.Default},e)})),L=H("Pipe",(function(e){return Object(i.a)({pure:!0},e)})),M=H("Input",(function(e){return{bindingPropertyName:e}})),B=H("Output",(function(e){return{bindingPropertyName:e}})),j=H("HostBinding",(function(e){return{hostPropertyName:e}})),R=H("HostListener",(function(e,t){return{eventName:e,args:t}})),V=H("NgModule",(function(e){return e})),q=H("Injectable",(function(e){return void 0===e&&(e={}),e})),U={name:"custom-elements"},K={name:"no-errors-schema"},X=H("Optional"),J=H("Self"),Y=H("SkipSelf"),W=H("Host"),$=Function;function H(e,t){var r=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t?t.apply(void 0,Object(i.d)(r)):{};return Object(i.a)({ngMetadataName:e},a)};return r.isTypeOf=function(t){return t&&t.ngMetadataName===e},r.ngMetadataName=e,r}function z(e){var t=function(e){var t=e.classNames&&e.classNames.length?Object(i.d)([8],e.classNames):[],r=e.element&&"*"!==e.element?e.element:"";return Object(i.d)([r],e.attrs,t)}(e),r=e.notSelectors&&e.notSelectors.length?e.notSelectors.map((function(e){return function(e){var t=e.classNames&&e.classNames.length?Object(i.d)([8],e.classNames):[];return e.element?Object(i.d)([5,e.element],e.attrs,t):e.attrs.length?Object(i.d)([3],e.attrs,t):e.classNames&&e.classNames.length?Object(i.d)([9],e.classNames):[]}(e)})):[];return t.concat.apply(t,Object(i.d)(r))}function G(e){return E.parse(e).map(z)}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(N||(N={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(I||(I={}));var Q,Z=Object.freeze({createInject:D,createInjectionToken:A,createAttribute:C,createContentChildren:P,createContentChild:w,createViewChildren:_,createViewChild:O,createDirective:F,get ViewEncapsulation(){return v},get ChangeDetectionStrategy(){return g},createComponent:k,createPipe:L,createInput:M,createOutput:B,createHostBinding:j,createHostListener:R,createNgModule:V,createInjectable:q,CUSTOM_ELEMENTS_SCHEMA:U,NO_ERRORS_SCHEMA:K,createOptional:X,createSelf:J,createSkipSelf:Y,createHost:W,Type:$,get SecurityContext(){return N},get MissingTranslationStrategy(){return I},parseSelectorToR3Selector:G});
59/**
60 * @license
61 * Copyright Google Inc. All Rights Reserved.
62 *
63 * Use of this source code is governed by an MIT-style license that can be
64 * found in the LICENSE file at https://angular.io/license
65 */!function(e){e[e.Const=0]="Const"}(Q||(Q={}));var ee,te=function(){function e(e){void 0===e&&(e=null),this.modifiers=e,e||(this.modifiers=[])}return e.prototype.hasModifier=function(e){return-1!==this.modifiers.indexOf(e)},e}();!function(e){e[e.Dynamic=0]="Dynamic",e[e.Bool=1]="Bool",e[e.String=2]="String",e[e.Int=3]="Int",e[e.Number=4]="Number",e[e.Function=5]="Function",e[e.Inferred=6]="Inferred",e[e.None=7]="None"}(ee||(ee={}));var re,ne=function(e){function t(t,r){void 0===r&&(r=null);var n=e.call(this,r)||this;return n.name=t,n}return Object(i.b)(t,e),t.prototype.visitType=function(e,t){return e.visitBuiltinType(this,t)},t}(te),ie=function(e){function t(t,r,n){void 0===r&&(r=null),void 0===n&&(n=null);var i=e.call(this,r)||this;return i.value=t,i.typeParams=n,i}return Object(i.b)(t,e),t.prototype.visitType=function(e,t){return e.visitExpressionType(this,t)},t}(te),ae=function(e){function t(t,r){void 0===r&&(r=null);var n=e.call(this,r)||this;return n.of=t,n}return Object(i.b)(t,e),t.prototype.visitType=function(e,t){return e.visitArrayType(this,t)},t}(te),se=function(e){function t(t,r){void 0===r&&(r=null);var n=e.call(this,r)||this;return n.valueType=t||null,n}return Object(i.b)(t,e),t.prototype.visitType=function(e,t){return e.visitMapType(this,t)},t}(te),oe=new ne(ee.Dynamic),ue=new ne(ee.Inferred),le=new ne(ee.Bool),ce=(new ne(ee.Int),new ne(ee.Number)),pe=(new ne(ee.String),new ne(ee.Function),new ne(ee.None));function fe(e,t){return null==e||null==t?e==t:e.isEquivalent(t)}function de(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(!e[n].isEquivalent(t[n]))return!1;return!0}!function(e){e[e.Equals=0]="Equals",e[e.NotEquals=1]="NotEquals",e[e.Identical=2]="Identical",e[e.NotIdentical=3]="NotIdentical",e[e.Minus=4]="Minus",e[e.Plus=5]="Plus",e[e.Divide=6]="Divide",e[e.Multiply=7]="Multiply",e[e.Modulo=8]="Modulo",e[e.And=9]="And",e[e.Or=10]="Or",e[e.BitwiseAnd=11]="BitwiseAnd",e[e.Lower=12]="Lower",e[e.LowerEquals=13]="LowerEquals",e[e.Bigger=14]="Bigger",e[e.BiggerEquals=15]="BiggerEquals"}(re||(re={}));var he,ye=function(){function e(e,t){this.type=e||null,this.sourceSpan=t||null}return e.prototype.prop=function(e,t){return new Be(this,e,null,t)},e.prototype.key=function(e,t,r){return new je(this,e,t,r)},e.prototype.callMethod=function(e,t,r){return new De(this,e,t,null,r)},e.prototype.callFn=function(e,t){return new Ae(this,e,null,t)},e.prototype.instantiate=function(e,t,r){return new Ce(this,e,t,r)},e.prototype.conditional=function(e,t,r){return void 0===t&&(t=null),new Oe(this,e,t,null,r)},e.prototype.equals=function(e,t){return new Me(re.Equals,this,e,null,t)},e.prototype.notEquals=function(e,t){return new Me(re.NotEquals,this,e,null,t)},e.prototype.identical=function(e,t){return new Me(re.Identical,this,e,null,t)},e.prototype.notIdentical=function(e,t){return new Me(re.NotIdentical,this,e,null,t)},e.prototype.minus=function(e,t){return new Me(re.Minus,this,e,null,t)},e.prototype.plus=function(e,t){return new Me(re.Plus,this,e,null,t)},e.prototype.divide=function(e,t){return new Me(re.Divide,this,e,null,t)},e.prototype.multiply=function(e,t){return new Me(re.Multiply,this,e,null,t)},e.prototype.modulo=function(e,t){return new Me(re.Modulo,this,e,null,t)},e.prototype.and=function(e,t){return new Me(re.And,this,e,null,t)},e.prototype.bitwiseAnd=function(e,t,r){return void 0===r&&(r=!0),new Me(re.BitwiseAnd,this,e,null,t,r)},e.prototype.or=function(e,t){return new Me(re.Or,this,e,null,t)},e.prototype.lower=function(e,t){return new Me(re.Lower,this,e,null,t)},e.prototype.lowerEquals=function(e,t){return new Me(re.LowerEquals,this,e,null,t)},e.prototype.bigger=function(e,t){return new Me(re.Bigger,this,e,null,t)},e.prototype.biggerEquals=function(e,t){return new Me(re.BiggerEquals,this,e,null,t)},e.prototype.isBlank=function(e){return this.equals(Xe,e)},e.prototype.cast=function(e,t){return new Ie(this,e,t)},e.prototype.toStmt=function(){return new $e(this,null)},e}();!function(e){e[e.This=0]="This",e[e.Super=1]="Super",e[e.CatchError=2]="CatchError",e[e.CatchStack=3]="CatchStack"}(he||(he={}));var me,ve=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return"string"==typeof t?(i.name=t,i.builtin=null):(i.name=null,i.builtin=t),i}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.name===e.name&&this.builtin===e.builtin},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitReadVarExpr(this,t)},t.prototype.set=function(e){if(!this.name)throw new Error("Built in variable "+this.builtin+" can not be assigned to.");return new Ee(this.name,e,null,this.sourceSpan)},t}(ye),ge=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.expr=t,i}return Object(i.b)(t,e),t.prototype.visitExpression=function(e,t){return e.visitTypeofExpr(this,t)},t.prototype.isEquivalent=function(e){return e instanceof t&&e.expr.isEquivalent(this.expr)},t.prototype.isConstant=function(){return this.expr.isConstant()},t}(ye),Te=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.node=t,i}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.node===e.node},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitWrappedNodeExpr(this,t)},t}(ye),Ee=function(e){function t(t,r,n,i){var a=e.call(this,n||r.type,i)||this;return a.name=t,a.value=r,a}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.name===e.name&&this.value.isEquivalent(e.value)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitWriteVarExpr(this,t)},t.prototype.toDeclStmt=function(e,t){return new Ye(this.name,this.value,e,t,this.sourceSpan)},t.prototype.toConstDecl=function(){return this.toDeclStmt(ue,[xe.Final])},t}(ye),Se=function(e){function t(t,r,n,i,a){var s=e.call(this,i||n.type,a)||this;return s.receiver=t,s.index=r,s.value=n,s}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)&&this.value.isEquivalent(e.value)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitWriteKeyExpr(this,t)},t}(ye),be=function(e){function t(t,r,n,i,a){var s=e.call(this,i||n.type,a)||this;return s.receiver=t,s.name=r,s.value=n,s}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.value.isEquivalent(e.value)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitWritePropExpr(this,t)},t}(ye);!function(e){e[e.ConcatArray=0]="ConcatArray",e[e.SubscribeObservable=1]="SubscribeObservable",e[e.Bind=2]="Bind"}(me||(me={}));var xe,De=function(e){function t(t,r,n,i,a){var s=e.call(this,i,a)||this;return s.receiver=t,s.args=n,"string"==typeof r?(s.name=r,s.builtin=null):(s.name=null,s.builtin=r),s}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name&&this.builtin===e.builtin&&de(this.args,e.args)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitInvokeMethodExpr(this,t)},t}(ye),Ae=function(e){function t(t,r,n,i,a){void 0===a&&(a=!1);var s=e.call(this,n,i)||this;return s.fn=t,s.args=r,s.pure=a,s}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.fn.isEquivalent(e.fn)&&de(this.args,e.args)&&this.pure===e.pure},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitInvokeFunctionExpr(this,t)},t}(ye),Ce=function(e){function t(t,r,n,i){var a=e.call(this,n,i)||this;return a.classExpr=t,a.args=r,a}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.classExpr.isEquivalent(e.classExpr)&&de(this.args,e.args)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitInstantiateExpr(this,t)},t}(ye),Pe=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.value=t,i}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.value===e.value},t.prototype.isConstant=function(){return!0},t.prototype.visitExpression=function(e,t){return e.visitLiteralExpr(this,t)},t}(ye),we=function(e){function t(t,r,n,i){void 0===n&&(n=null);var a=e.call(this,r,i)||this;return a.value=t,a.typeParams=n,a}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.value.name===e.value.name&&this.value.moduleName===e.value.moduleName&&this.value.runtime===e.value.runtime},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitExternalExpr(this,t)},t}(ye),_e=function(e,t,r){this.moduleName=e,this.name=t,this.runtime=r},Oe=function(e){function t(t,r,n,i,a){void 0===n&&(n=null);var s=e.call(this,i||r.type,a)||this;return s.condition=t,s.falseCase=n,s.trueCase=r,s}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.condition.isEquivalent(e.condition)&&this.trueCase.isEquivalent(e.trueCase)&&fe(this.falseCase,e.falseCase)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitConditionalExpr(this,t)},t}(ye),Fe=function(e){function t(t,r){var n=e.call(this,le,r)||this;return n.condition=t,n}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.condition.isEquivalent(e.condition)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitNotExpr(this,t)},t}(ye),Ne=function(e){function t(t,r){var n=e.call(this,t.type,r)||this;return n.condition=t,n}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.condition.isEquivalent(e.condition)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitAssertNotNullExpr(this,t)},t}(ye),Ie=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.value=t,i}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.value.isEquivalent(e.value)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitCastExpr(this,t)},t}(ye),ke=function(){function e(e,t){void 0===t&&(t=null),this.name=e,this.type=t}return e.prototype.isEquivalent=function(e){return this.name===e.name},e}(),Le=function(e){function t(t,r,n,i,a){var s=e.call(this,n,i)||this;return s.params=t,s.statements=r,s.name=a,s}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&de(this.params,e.params)&&de(this.statements,e.statements)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitFunctionExpr(this,t)},t.prototype.toDeclStmt=function(e,t){return void 0===t&&(t=null),new We(e,this.params,this.statements,this.type,t,this.sourceSpan)},t}(ye),Me=function(e){function t(t,r,n,i,a,s){void 0===s&&(s=!0);var o=e.call(this,i||r.type,a)||this;return o.operator=t,o.rhs=n,o.parens=s,o.lhs=r,o}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.operator===e.operator&&this.lhs.isEquivalent(e.lhs)&&this.rhs.isEquivalent(e.rhs)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitBinaryOperatorExpr(this,t)},t}(ye),Be=function(e){function t(t,r,n,i){var a=e.call(this,n,i)||this;return a.receiver=t,a.name=r,a}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.receiver.isEquivalent(e.receiver)&&this.name===e.name},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitReadPropExpr(this,t)},t.prototype.set=function(e){return new be(this.receiver,this.name,e,null,this.sourceSpan)},t}(ye),je=function(e){function t(t,r,n,i){var a=e.call(this,n,i)||this;return a.receiver=t,a.index=r,a}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.receiver.isEquivalent(e.receiver)&&this.index.isEquivalent(e.index)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitReadKeyExpr(this,t)},t.prototype.set=function(e){return new Se(this.receiver,this.index,e,null,this.sourceSpan)},t}(ye),Re=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.entries=t,i}return Object(i.b)(t,e),t.prototype.isConstant=function(){return this.entries.every((function(e){return e.isConstant()}))},t.prototype.isEquivalent=function(e){return e instanceof t&&de(this.entries,e.entries)},t.prototype.visitExpression=function(e,t){return e.visitLiteralArrayExpr(this,t)},t}(ye),Ve=function(){function e(e,t,r){this.key=e,this.value=t,this.quoted=r}return e.prototype.isEquivalent=function(e){return this.key===e.key&&this.value.isEquivalent(e.value)},e}(),qe=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.entries=t,i.valueType=null,r&&(i.valueType=r.valueType),i}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&de(this.entries,e.entries)},t.prototype.isConstant=function(){return this.entries.every((function(e){return e.value.isConstant()}))},t.prototype.visitExpression=function(e,t){return e.visitLiteralMapExpr(this,t)},t}(ye),Ue=function(e){function t(t,r){var n=e.call(this,t[t.length-1].type,r)||this;return n.parts=t,n}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&de(this.parts,e.parts)},t.prototype.isConstant=function(){return!1},t.prototype.visitExpression=function(e,t){return e.visitCommaExpr(this,t)},t}(ye),Ke=(new ve(he.This,null,null),new ve(he.Super,null,null),new ve(he.CatchError,null,null),new ve(he.CatchStack,null,null),new Pe(null,null,null)),Xe=new Pe(null,ue,null);!function(e){e[e.Final=0]="Final",e[e.Private=1]="Private",e[e.Exported=2]="Exported",e[e.Static=3]="Static"}(xe||(xe={}));var Je=function(){function e(e,t){this.modifiers=e||[],this.sourceSpan=t||null}return e.prototype.hasModifier=function(e){return-1!==this.modifiers.indexOf(e)},e}(),Ye=function(e){function t(t,r,n,i,a){void 0===i&&(i=null);var s=e.call(this,i,a)||this;return s.name=t,s.value=r,s.type=n||r&&r.type||null,s}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.name===e.name&&(this.value?!!e.value&&this.value.isEquivalent(e.value):!e.value)},t.prototype.visitStatement=function(e,t){return e.visitDeclareVarStmt(this,t)},t}(Je),We=function(e){function t(t,r,n,i,a,s){void 0===a&&(a=null);var o=e.call(this,a,s)||this;return o.name=t,o.params=r,o.statements=n,o.type=i||null,o}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&de(this.params,e.params)&&de(this.statements,e.statements)},t.prototype.visitStatement=function(e,t){return e.visitDeclareFunctionStmt(this,t)},t}(Je),$e=function(e){function t(t,r){var n=e.call(this,null,r)||this;return n.expr=t,n}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.expr.isEquivalent(e.expr)},t.prototype.visitStatement=function(e,t){return e.visitExpressionStmt(this,t)},t}(Je),He=function(e){function t(t,r){var n=e.call(this,null,r)||this;return n.value=t,n}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.value.isEquivalent(e.value)},t.prototype.visitStatement=function(e,t){return e.visitReturnStmt(this,t)},t}(Je),ze=function(){function e(e,t){this.modifiers=t,t||(this.modifiers=[]),this.type=e||null}return e.prototype.hasModifier=function(e){return-1!==this.modifiers.indexOf(e)},e}(),Ge=function(e){function t(t,r,n,i){void 0===n&&(n=null);var a=e.call(this,r,n)||this;return a.name=t,a.initializer=i,a}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return this.name===e.name},t}(ze),Qe=function(e){function t(t,r,n,i,a){void 0===a&&(a=null);var s=e.call(this,i,a)||this;return s.name=t,s.params=r,s.body=n,s}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return this.name===e.name&&de(this.body,e.body)},t}(ze),Ze=function(e){function t(t,r,n,i){void 0===i&&(i=null);var a=e.call(this,n,i)||this;return a.name=t,a.body=r,a}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return this.name===e.name&&de(this.body,e.body)},t}(ze),et=function(e){function t(t,r,n,i,a,s,o,u){void 0===o&&(o=null);var l=e.call(this,o,u)||this;return l.name=t,l.parent=r,l.fields=n,l.getters=i,l.constructorMethod=a,l.methods=s,l}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.name===e.name&&fe(this.parent,e.parent)&&de(this.fields,e.fields)&&de(this.getters,e.getters)&&this.constructorMethod.isEquivalent(e.constructorMethod)&&de(this.methods,e.methods)},t.prototype.visitStatement=function(e,t){return e.visitDeclareClassStmt(this,t)},t}(Je),tt=function(e){function t(t,r,n,i){void 0===n&&(n=[]);var a=e.call(this,null,i)||this;return a.condition=t,a.trueCase=r,a.falseCase=n,a}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.condition.isEquivalent(e.condition)&&de(this.trueCase,e.trueCase)&&de(this.falseCase,e.falseCase)},t.prototype.visitStatement=function(e,t){return e.visitIfStmt(this,t)},t}(Je),rt=function(e){function t(t,r,n){void 0===r&&(r=!1);var i=e.call(this,null,n)||this;return i.comment=t,i.multiline=r,i}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t},t.prototype.visitStatement=function(e,t){return e.visitCommentStmt(this,t)},t}(Je),nt=function(e){function t(t,r){void 0===t&&(t=[]);var n=e.call(this,null,r)||this;return n.tags=t,n}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&this.toString()===e.toString()},t.prototype.visitStatement=function(e,t){return e.visitJSDocCommentStmt(this,t)},t.prototype.toString=function(){return function(e){var t,r;if(0===e.length)return"";var n="*\n";try{for(var a=Object(i.e)(e),s=a.next();!s.done;s=a.next()){var o=s.value;n+=" *",n+=Dt(o).replace(/\n/g,"\n * "),n+="\n"}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n+=" "}
66/**
67 * @license
68 * Copyright Google Inc. All Rights Reserved.
69 *
70 * Use of this source code is governed by an MIT-style license that can be
71 * found in the LICENSE file at https://angular.io/license
72 */(this.tags)},t}(Je),it=function(e){function t(t,r,n){var i=e.call(this,null,n)||this;return i.bodyStmts=t,i.catchStmts=r,i}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof t&&de(this.bodyStmts,e.bodyStmts)&&de(this.catchStmts,e.catchStmts)},t.prototype.visitStatement=function(e,t){return e.visitTryCatchStmt(this,t)},t}(Je),at=function(e){function t(t,r){var n=e.call(this,null,r)||this;return n.error=t,n}return Object(i.b)(t,e),t.prototype.isEquivalent=function(e){return e instanceof it&&this.error.isEquivalent(e.error)},t.prototype.visitStatement=function(e,t){return e.visitThrowStmt(this,t)},t}(Je),st=function(){function e(){}return e.prototype.transformExpr=function(e,t){return e},e.prototype.transformStmt=function(e,t){return e},e.prototype.visitReadVarExpr=function(e,t){return this.transformExpr(e,t)},e.prototype.visitWrappedNodeExpr=function(e,t){return this.transformExpr(e,t)},e.prototype.visitTypeofExpr=function(e,t){return this.transformExpr(new ge(e.expr.visitExpression(this,t),e.type,e.sourceSpan),t)},e.prototype.visitWriteVarExpr=function(e,t){return this.transformExpr(new Ee(e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)},e.prototype.visitWriteKeyExpr=function(e,t){return this.transformExpr(new Se(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),e.type,e.sourceSpan),t)},e.prototype.visitWritePropExpr=function(e,t){return this.transformExpr(new be(e.receiver.visitExpression(this,t),e.name,e.value.visitExpression(this,t),e.type,e.sourceSpan),t)},e.prototype.visitInvokeMethodExpr=function(e,t){var r=e.builtin||e.name;return this.transformExpr(new De(e.receiver.visitExpression(this,t),r,this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)},e.prototype.visitInvokeFunctionExpr=function(e,t){return this.transformExpr(new Ae(e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)},e.prototype.visitInstantiateExpr=function(e,t){return this.transformExpr(new Ce(e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),e.type,e.sourceSpan),t)},e.prototype.visitLiteralExpr=function(e,t){return this.transformExpr(e,t)},e.prototype.visitExternalExpr=function(e,t){return this.transformExpr(e,t)},e.prototype.visitConditionalExpr=function(e,t){return this.transformExpr(new Oe(e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),e.type,e.sourceSpan),t)},e.prototype.visitNotExpr=function(e,t){return this.transformExpr(new Fe(e.condition.visitExpression(this,t),e.sourceSpan),t)},e.prototype.visitAssertNotNullExpr=function(e,t){return this.transformExpr(new Ne(e.condition.visitExpression(this,t),e.sourceSpan),t)},e.prototype.visitCastExpr=function(e,t){return this.transformExpr(new Ie(e.value.visitExpression(this,t),e.type,e.sourceSpan),t)},e.prototype.visitFunctionExpr=function(e,t){return this.transformExpr(new Le(e.params,this.visitAllStatements(e.statements,t),e.type,e.sourceSpan),t)},e.prototype.visitBinaryOperatorExpr=function(e,t){return this.transformExpr(new Me(e.operator,e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),e.type,e.sourceSpan),t)},e.prototype.visitReadPropExpr=function(e,t){return this.transformExpr(new Be(e.receiver.visitExpression(this,t),e.name,e.type,e.sourceSpan),t)},e.prototype.visitReadKeyExpr=function(e,t){return this.transformExpr(new je(e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.type,e.sourceSpan),t)},e.prototype.visitLiteralArrayExpr=function(e,t){return this.transformExpr(new Re(this.visitAllExpressions(e.entries,t),e.type,e.sourceSpan),t)},e.prototype.visitLiteralMapExpr=function(e,t){var r=this,n=e.entries.map((function(e){return new Ve(e.key,e.value.visitExpression(r,t),e.quoted)})),i=new se(e.valueType,null);return this.transformExpr(new qe(n,i,e.sourceSpan),t)},e.prototype.visitCommaExpr=function(e,t){return this.transformExpr(new Ue(this.visitAllExpressions(e.parts,t),e.sourceSpan),t)},e.prototype.visitAllExpressions=function(e,t){var r=this;return e.map((function(e){return e.visitExpression(r,t)}))},e.prototype.visitDeclareVarStmt=function(e,t){var r=e.value&&e.value.visitExpression(this,t);return this.transformStmt(new Ye(e.name,r,e.type,e.modifiers,e.sourceSpan),t)},e.prototype.visitDeclareFunctionStmt=function(e,t){return this.transformStmt(new We(e.name,e.params,this.visitAllStatements(e.statements,t),e.type,e.modifiers,e.sourceSpan),t)},e.prototype.visitExpressionStmt=function(e,t){return this.transformStmt(new $e(e.expr.visitExpression(this,t),e.sourceSpan),t)},e.prototype.visitReturnStmt=function(e,t){return this.transformStmt(new He(e.value.visitExpression(this,t),e.sourceSpan),t)},e.prototype.visitDeclareClassStmt=function(e,t){var r=this,n=e.parent.visitExpression(this,t),i=e.getters.map((function(e){return new Ze(e.name,r.visitAllStatements(e.body,t),e.type,e.modifiers)})),a=e.constructorMethod&&new Qe(e.constructorMethod.name,e.constructorMethod.params,this.visitAllStatements(e.constructorMethod.body,t),e.constructorMethod.type,e.constructorMethod.modifiers),s=e.methods.map((function(e){return new Qe(e.name,e.params,r.visitAllStatements(e.body,t),e.type,e.modifiers)}));return this.transformStmt(new et(e.name,n,e.fields,i,a,s,e.modifiers,e.sourceSpan),t)},e.prototype.visitIfStmt=function(e,t){return this.transformStmt(new tt(e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e.sourceSpan),t)},e.prototype.visitTryCatchStmt=function(e,t){return this.transformStmt(new it(this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e.sourceSpan),t)},e.prototype.visitThrowStmt=function(e,t){return this.transformStmt(new at(e.error.visitExpression(this,t),e.sourceSpan),t)},e.prototype.visitCommentStmt=function(e,t){return this.transformStmt(e,t)},e.prototype.visitJSDocCommentStmt=function(e,t){return this.transformStmt(e,t)},e.prototype.visitAllStatements=function(e,t){var r=this;return e.map((function(e){return e.visitStatement(r,t)}))},e}(),ot=function(){function e(){}return e.prototype.visitType=function(e,t){return e},e.prototype.visitExpression=function(e,t){return e.type&&e.type.visitType(this,t),e},e.prototype.visitBuiltinType=function(e,t){return this.visitType(e,t)},e.prototype.visitExpressionType=function(e,t){var r=this;return e.value.visitExpression(this,t),null!==e.typeParams&&e.typeParams.forEach((function(e){return r.visitType(e,t)})),this.visitType(e,t)},e.prototype.visitArrayType=function(e,t){return this.visitType(e,t)},e.prototype.visitMapType=function(e,t){return this.visitType(e,t)},e.prototype.visitWrappedNodeExpr=function(e,t){return e},e.prototype.visitTypeofExpr=function(e,t){return this.visitExpression(e,t)},e.prototype.visitReadVarExpr=function(e,t){return this.visitExpression(e,t)},e.prototype.visitWriteVarExpr=function(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)},e.prototype.visitWriteKeyExpr=function(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)},e.prototype.visitWritePropExpr=function(e,t){return e.receiver.visitExpression(this,t),e.value.visitExpression(this,t),this.visitExpression(e,t)},e.prototype.visitInvokeMethodExpr=function(e,t){return e.receiver.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)},e.prototype.visitInvokeFunctionExpr=function(e,t){return e.fn.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)},e.prototype.visitInstantiateExpr=function(e,t){return e.classExpr.visitExpression(this,t),this.visitAllExpressions(e.args,t),this.visitExpression(e,t)},e.prototype.visitLiteralExpr=function(e,t){return this.visitExpression(e,t)},e.prototype.visitExternalExpr=function(e,t){var r=this;return e.typeParams&&e.typeParams.forEach((function(e){return e.visitType(r,t)})),this.visitExpression(e,t)},e.prototype.visitConditionalExpr=function(e,t){return e.condition.visitExpression(this,t),e.trueCase.visitExpression(this,t),e.falseCase.visitExpression(this,t),this.visitExpression(e,t)},e.prototype.visitNotExpr=function(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)},e.prototype.visitAssertNotNullExpr=function(e,t){return e.condition.visitExpression(this,t),this.visitExpression(e,t)},e.prototype.visitCastExpr=function(e,t){return e.value.visitExpression(this,t),this.visitExpression(e,t)},e.prototype.visitFunctionExpr=function(e,t){return this.visitAllStatements(e.statements,t),this.visitExpression(e,t)},e.prototype.visitBinaryOperatorExpr=function(e,t){return e.lhs.visitExpression(this,t),e.rhs.visitExpression(this,t),this.visitExpression(e,t)},e.prototype.visitReadPropExpr=function(e,t){return e.receiver.visitExpression(this,t),this.visitExpression(e,t)},e.prototype.visitReadKeyExpr=function(e,t){return e.receiver.visitExpression(this,t),e.index.visitExpression(this,t),this.visitExpression(e,t)},e.prototype.visitLiteralArrayExpr=function(e,t){return this.visitAllExpressions(e.entries,t),this.visitExpression(e,t)},e.prototype.visitLiteralMapExpr=function(e,t){var r=this;return e.entries.forEach((function(e){return e.value.visitExpression(r,t)})),this.visitExpression(e,t)},e.prototype.visitCommaExpr=function(e,t){return this.visitAllExpressions(e.parts,t),this.visitExpression(e,t)},e.prototype.visitAllExpressions=function(e,t){var r=this;e.forEach((function(e){return e.visitExpression(r,t)}))},e.prototype.visitDeclareVarStmt=function(e,t){return e.value&&e.value.visitExpression(this,t),e.type&&e.type.visitType(this,t),e},e.prototype.visitDeclareFunctionStmt=function(e,t){return this.visitAllStatements(e.statements,t),e.type&&e.type.visitType(this,t),e},e.prototype.visitExpressionStmt=function(e,t){return e.expr.visitExpression(this,t),e},e.prototype.visitReturnStmt=function(e,t){return e.value.visitExpression(this,t),e},e.prototype.visitDeclareClassStmt=function(e,t){var r=this;return e.parent.visitExpression(this,t),e.getters.forEach((function(e){return r.visitAllStatements(e.body,t)})),e.constructorMethod&&this.visitAllStatements(e.constructorMethod.body,t),e.methods.forEach((function(e){return r.visitAllStatements(e.body,t)})),e},e.prototype.visitIfStmt=function(e,t){return e.condition.visitExpression(this,t),this.visitAllStatements(e.trueCase,t),this.visitAllStatements(e.falseCase,t),e},e.prototype.visitTryCatchStmt=function(e,t){return this.visitAllStatements(e.bodyStmts,t),this.visitAllStatements(e.catchStmts,t),e},e.prototype.visitThrowStmt=function(e,t){return e.error.visitExpression(this,t),e},e.prototype.visitCommentStmt=function(e,t){return e},e.prototype.visitJSDocCommentStmt=function(e,t){return e},e.prototype.visitAllStatements=function(e,t){var r=this;e.forEach((function(e){return e.visitStatement(r,t)}))},e}();function ut(e){var t=new lt;return t.visitAllStatements(e,null),t.varNames}var lt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.varNames=new Set,t}return Object(i.b)(t,e),t.prototype.visitDeclareFunctionStmt=function(e,t){return e},t.prototype.visitDeclareClassStmt=function(e,t){return e},t.prototype.visitReadVarExpr=function(e,t){return e.name&&this.varNames.add(e.name),null},t}(ot);function ct(e){var t=new pt;return t.visitAllStatements(e,null),t.externalReferences}var pt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.externalReferences=[],t}return Object(i.b)(t,e),t.prototype.visitExternalExpr=function(t,r){return this.externalReferences.push(t.value),e.prototype.visitExternalExpr.call(this,t,r)},t}(ot);function ft(e,t){if(!t)return e;var r=new ht(t);return e.visitStatement(r,null)}function dt(e,t){if(!t)return e;var r=new ht(t);return e.visitExpression(r,null)}var ht=function(e){function t(t){var r=e.call(this)||this;return r.sourceSpan=t,r}return Object(i.b)(t,e),t.prototype._clone=function(e){var t=Object.create(e.constructor.prototype);for(var r in e)t[r]=e[r];return t},t.prototype.transformExpr=function(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e},t.prototype.transformStmt=function(e,t){return e.sourceSpan||((e=this._clone(e)).sourceSpan=this.sourceSpan),e},t}(st);function yt(e,t,r){return new ve(e,t,r)}function mt(e,t,r){return void 0===t&&(t=null),new we(e,null,t,r)}function vt(e,t,r){return void 0===t&&(t=null),void 0===r&&(r=null),null!=e?gt(mt(e,t,null),r):null}function gt(e,t,r){return void 0===t&&(t=null),void 0===r&&(r=null),new ie(e,t,r)}function Tt(e,t,r){return new Re(e,t,r)}function Et(e,t){return void 0===t&&(t=null),new qe(e.map((function(e){return new Ve(e.key,e.value,e.quoted)})),t,null)}function St(e,t,r,n,i){return new Le(e,t,r,n,i)}function bt(e,t,r){return new tt(e,t,r)}function xt(e,t,r){return new Pe(e,t,r)}function Dt(e){var t="";if(e.tagName&&(t+=" @"+e.tagName),e.text){if(e.text.match(/\/\*|\*\//))throw new Error('JSDoc text cannot contain "/*" and "*/"');t+=" "+e.text.replace(/@/g,"\\@")}return t}var At=/-+([a-z0-9])/g;function Ct(e,t){return Pt(e,":",t)}function Pt(e,t,r){var n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function wt(e,t,r){return Array.isArray(e)?t.visitArray(e,r):"object"==typeof(n=e)&&null!==n&&Object.getPrototypeOf(n)===Ut?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r);var n}function _t(e){return null!=e}function Ot(e){return void 0===e?null:e}var Ft=function(){function e(){}return e.prototype.visitArray=function(e,t){var r=this;return e.map((function(e){return wt(e,r,t)}))},e.prototype.visitStringMap=function(e,t){var r=this,n={};return Object.keys(e).forEach((function(i){n[i]=wt(e[i],r,t)})),n},e.prototype.visitPrimitive=function(e,t){return e},e.prototype.visitOther=function(e,t){return e},e}(),Nt=function(e){if(Yt(e))throw new Error("Illegal state: value cannot be a promise");return e},It=function(e,t){return Yt(e)?e.then(t):t(e)},kt=function(e){return e.some(Yt)?Promise.all(e):e};function Lt(e){throw new Error("Internal Error: "+e)}function Mt(e,t){var r=Error(e);return r[Bt]=!0,t&&(r[jt]=t),r}var Bt="ngSyntaxError",jt="ngParseErrors";function Rt(e){return e[Bt]}function Vt(e){return e[jt]||[]}function qt(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}var Ut=Object.getPrototypeOf({});function Kt(e){for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){var i=e.charCodeAt(r+1);i>=56320&&i<=57343&&(r++,n=(n-55296<<10)+i-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t}function Xt(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Xt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function Jt(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function Yt(e){return!!e&&"function"==typeof e.then}var Wt=function(e){this.full=e;var t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")},$t="undefined"!=typeof window&&window,Ht="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,zt=void 0!==e&&e||$t||Ht,Gt={},Qt=function(e){function t(t){var r=e.call(this,t.type)||this;return r.resolved=t,r.original=t,r}return Object(i.b)(t,e),t.prototype.visitExpression=function(e,t){return t===Gt?this.original.visitExpression(e,t):this.resolved.visitExpression(e,t)},t.prototype.isEquivalent=function(e){return e instanceof t&&this.resolved.isEquivalent(e.resolved)},t.prototype.isConstant=function(){return!0},t.prototype.fixup=function(e){this.resolved=e,this.shared=!0},t}(ye),Zt=function(){function e(){this.statements=[],this.literals=new Map,this.literalFactories=new Map,this.injectorDefinitions=new Map,this.directiveDefinitions=new Map,this.componentDefinitions=new Map,this.pipeDefinitions=new Map,this.nextNameIndex=0}return e.prototype.getConstLiteral=function(e,t){if(e instanceof Pe||e instanceof Qt)return e;var r=this.keyOf(e),n=this.literals.get(r),i=!1;if(n||(n=new Qt(e),this.literals.set(r,n),i=!0),!i&&!n.shared||i&&t){var a=this.freshName();this.statements.push(yt(a).set(e).toDeclStmt(ue,[xe.Final])),n.fixup(yt(a))}return n},e.prototype.getDefinition=function(e,t,r,n){void 0===n&&(n=!1);var i=this.definitionsOf(t),a=i.get(e),s=!1;if(!a){var o=this.propertyNameOf(t);a=new Qt(r.importExpr(e).prop(o)),i.set(e,a),s=!0}if(!s&&!a.shared||s&&n){var u=this.freshName();this.statements.push(yt(u).set(a.resolved).toDeclStmt(ue,[xe.Final])),a.fixup(yt(u))}return a},e.prototype.getLiteralFactory=function(e){if(e instanceof Re){var t=e.entries.map((function(e){return e.isConstant()?e:xt(null)})),r=this.keyOf(Tt(t));return this._getLiteralFactory(r,e.entries,(function(e){return Tt(e)}))}var n=Et(e.entries.map((function(e){return{key:e.key,value:e.value.isConstant()?e.value:xt(null),quoted:e.quoted}})));r=this.keyOf(n);return this._getLiteralFactory(r,e.entries.map((function(e){return e.value})),(function(t){return Et(t.map((function(t,r){return{key:e.entries[r].key,value:t,quoted:e.entries[r].quoted}})))}))},e.prototype._getLiteralFactory=function(e,t,r){var n=this,i=this.literalFactories.get(e),a=t.filter((function(e){return!e.isConstant()}));if(!i){var s=t.map((function(e,t){return e.isConstant()?n.getConstLiteral(e,!0):yt("a"+t)})),o=St(s.filter(rr).map((function(e){return new ke(e.name,oe)})),[new He(r(s))],ue),u=this.freshName();this.statements.push(yt(u).set(o).toDeclStmt(ue,[xe.Final])),i=yt(u),this.literalFactories.set(e,i)}return{literalFactory:i,literalFactoryArguments:a}},e.prototype.uniqueName=function(e){return""+e+this.nextNameIndex++},e.prototype.definitionsOf=function(e){switch(e){case 2:return this.componentDefinitions;case 1:return this.directiveDefinitions;case 0:return this.injectorDefinitions;case 3:return this.pipeDefinitions}return Lt("Unknown definition kind "+e),this.componentDefinitions},e.prototype.propertyNameOf=function(e){switch(e){case 2:return"ngComponentDef";case 1:return"ngDirectiveDef";case 0:return"ngInjectorDef";case 3:return"ngPipeDef"}return Lt("Unknown definition kind "+e),"<unknown>"},e.prototype.freshName=function(){return this.uniqueName("_c")},e.prototype.keyOf=function(e){return e.visitExpression(new er,Gt)},e}(),er=function(){function e(){this.visitWrappedNodeExpr=tr,this.visitWriteVarExpr=tr,this.visitWriteKeyExpr=tr,this.visitWritePropExpr=tr,this.visitInvokeMethodExpr=tr,this.visitInvokeFunctionExpr=tr,this.visitInstantiateExpr=tr,this.visitConditionalExpr=tr,this.visitNotExpr=tr,this.visitAssertNotNullExpr=tr,this.visitCastExpr=tr,this.visitFunctionExpr=tr,this.visitBinaryOperatorExpr=tr,this.visitReadPropExpr=tr,this.visitReadKeyExpr=tr,this.visitCommaExpr=tr}return e.prototype.visitLiteralExpr=function(e){return""+("string"==typeof e.value?'"'+e.value+'"':e.value)},e.prototype.visitLiteralArrayExpr=function(e,t){var r=this;return"["+e.entries.map((function(e){return e.visitExpression(r,t)})).join(",")+"]"},e.prototype.visitLiteralMapExpr=function(e,t){var r=this;return"{"+e.entries.map((function(e){return function(e){var t=e.quoted?'"':"";return""+t+e.key+t}(e)+":"+e.value.visitExpression(r,t)})).join(",")},e.prototype.visitExternalExpr=function(e){return e.value.moduleName?"EX:"+e.value.moduleName+":"+e.value.name:"EX:"+e.value.runtime.name},e.prototype.visitReadVarExpr=function(e){return"VAR:"+e.name},e.prototype.visitTypeofExpr=function(e,t){return"TYPEOF:"+e.expr.visitExpression(this,t)},e}();function tr(e){throw new Error("Invalid state: Visitor "+this.constructor.name+" doesn't handle "+e.constructor.name)}function rr(e){return e instanceof ve}
73/**
74 * @license
75 * Copyright Google Inc. All Rights Reserved.
76 *
77 * Use of this source code is governed by an MIT-style license that can be
78 * found in the LICENSE file at https://angular.io/license
79 */var nr="@angular/core",ir=function(){function e(){}return e.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:nr},e.ElementRef={name:"ElementRef",moduleName:nr},e.NgModuleRef={name:"NgModuleRef",moduleName:nr},e.ViewContainerRef={name:"ViewContainerRef",moduleName:nr},e.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:nr},e.QueryList={name:"QueryList",moduleName:nr},e.TemplateRef={name:"TemplateRef",moduleName:nr},e.Renderer2={name:"Renderer2",moduleName:nr},e.CodegenComponentFactoryResolver={name:"ɵCodegenComponentFactoryResolver",moduleName:nr},e.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:nr},e.ComponentFactory={name:"ComponentFactory",moduleName:nr},e.ComponentRef={name:"ComponentRef",moduleName:nr},e.NgModuleFactory={name:"NgModuleFactory",moduleName:nr},e.createModuleFactory={name:"ɵcmf",moduleName:nr},e.moduleDef={name:"ɵmod",moduleName:nr},e.moduleProviderDef={name:"ɵmpd",moduleName:nr},e.RegisterModuleFactoryFn={name:"ɵregisterModuleFactory",moduleName:nr},e.inject={name:"inject",moduleName:nr},e.INJECTOR={name:"INJECTOR",moduleName:nr},e.Injector={name:"Injector",moduleName:nr},e.defineInjectable={name:"defineInjectable",moduleName:nr},e.InjectableDef={name:"ɵInjectableDef",moduleName:nr},e.ViewEncapsulation={name:"ViewEncapsulation",moduleName:nr},e.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:nr},e.SecurityContext={name:"SecurityContext",moduleName:nr},e.LOCALE_ID={name:"LOCALE_ID",moduleName:nr},e.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:nr},e.inlineInterpolate={name:"ɵinlineInterpolate",moduleName:nr},e.interpolate={name:"ɵinterpolate",moduleName:nr},e.EMPTY_ARRAY={name:"ɵEMPTY_ARRAY",moduleName:nr},e.EMPTY_MAP={name:"ɵEMPTY_MAP",moduleName:nr},e.Renderer={name:"Renderer",moduleName:nr},e.viewDef={name:"ɵvid",moduleName:nr},e.elementDef={name:"ɵeld",moduleName:nr},e.anchorDef={name:"ɵand",moduleName:nr},e.textDef={name:"ɵted",moduleName:nr},e.directiveDef={name:"ɵdid",moduleName:nr},e.providerDef={name:"ɵprd",moduleName:nr},e.queryDef={name:"ɵqud",moduleName:nr},e.pureArrayDef={name:"ɵpad",moduleName:nr},e.pureObjectDef={name:"ɵpod",moduleName:nr},e.purePipeDef={name:"ɵppd",moduleName:nr},e.pipeDef={name:"ɵpid",moduleName:nr},e.nodeValue={name:"ɵnov",moduleName:nr},e.ngContentDef={name:"ɵncd",moduleName:nr},e.unwrapValue={name:"ɵunv",moduleName:nr},e.createRendererType2={name:"ɵcrt",moduleName:nr},e.RendererType2={name:"RendererType2",moduleName:nr},e.ViewDefinition={name:"ɵViewDefinition",moduleName:nr},e.createComponentFactory={name:"ɵccf",moduleName:nr},e.setClassMetadata={name:"ɵsetClassMetadata",moduleName:nr},e}();function ar(e){return{identifier:{reference:e}}}function sr(e,t){return ar(e.resolveExternalReference(t))}
80/**
81 * @license
82 * Copyright Google Inc. All Rights Reserved.
83 *
84 * Use of this source code is governed by an MIT-style license that can be
85 * found in the LICENSE file at https://angular.io/license
86 */var or=function(){function e(e,t,r){this.filePath=e,this.name=t,this.members=r}return e.prototype.assertNoMembers=function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got "+JSON.stringify(this)+".")},e}(),ur=function(){function e(){this.cache=new Map}return e.prototype.get=function(e,t,r){var n='"'+e+'".'+t+((r=r||[]).length?"."+r.join("."):""),i=this.cache.get(n);return i||(i=new or(e,t,r),this.cache.set(n,i)),i},e}(),lr=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function cr(e){return e.replace(/\W/g,"_")}var pr,fr=0;function dr(e){if(!e||!e.reference)return null;var t=e.reference;if(t instanceof or)return t.name;if(t.__anonymousType)return t.__anonymousType;var r=Xt(t);return r.indexOf("(")>=0?(r="anonymous_"+fr++,t.__anonymousType=r):r=cr(r),r}function hr(e){var t=e.reference;return t instanceof or?t.filePath:"./"+Xt(t)}function yr(e,t){return"View_"+dr({reference:e})+"_"+t}function mr(e){return"RenderType_"+dr({reference:e})}function vr(e){return"HostView_"+dr({reference:e})}function gr(e){return dr({reference:e})+"NgFactory"}function Tr(e){return null!=e.value?cr(e.value):dr(e.identifier)}function Er(e){return null!=e.identifier?e.identifier.reference:e.value}!function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(pr||(pr={}));var Sr=function(e){var t=void 0===e?{}:e,r=t.moduleUrl,n=t.styles,i=t.styleUrls;this.moduleUrl=r||null,this.styles=wr(n),this.styleUrls=wr(i)},br=function(){function e(e){var t=e.encapsulation,r=e.template,n=e.templateUrl,i=e.htmlAst,a=e.styles,s=e.styleUrls,o=e.externalStylesheets,u=e.animations,l=e.ngContentSelectors,c=e.interpolation,p=e.isInline,f=e.preserveWhitespaces;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=wr(a),this.styleUrls=wr(s),this.externalStylesheets=wr(o),this.animations=u?Or(u):[],this.ngContentSelectors=l||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=p,this.preserveWhitespaces=f}return e.prototype.toSummary=function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}},e}(),xr=function(){function e(e){var t=e.isHost,r=e.type,n=e.isComponent,i=e.selector,a=e.exportAs,s=e.changeDetection,o=e.inputs,u=e.outputs,l=e.hostListeners,c=e.hostProperties,p=e.hostAttributes,f=e.providers,d=e.viewProviders,h=e.queries,y=e.guards,m=e.viewQueries,v=e.entryComponents,g=e.template,T=e.componentViewType,E=e.rendererType,S=e.componentFactory;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=a,this.changeDetection=s,this.inputs=o,this.outputs=u,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=p,this.providers=wr(f),this.viewProviders=wr(d),this.queries=wr(h),this.guards=y,this.viewQueries=wr(m),this.entryComponents=wr(v),this.template=g,this.componentViewType=T,this.rendererType=E,this.componentFactory=S}return e.create=function(t){var r=t.isHost,n=t.type,i=t.isComponent,a=t.selector,s=t.exportAs,o=t.changeDetection,u=t.inputs,l=t.outputs,c=t.host,p=t.providers,f=t.viewProviders,d=t.queries,h=t.guards,y=t.viewQueries,m=t.entryComponents,v=t.template,g=t.componentViewType,T=t.rendererType,E=t.componentFactory,S={},b={},x={};null!=c&&Object.keys(c).forEach((function(e){var t=c[e],r=e.match(lr);null===r?x[e]=t:null!=r[1]?b[r[1]]=t:null!=r[2]&&(S[r[2]]=t)}));var D={};null!=u&&u.forEach((function(e){var t=Ct(e,[e,e]);D[t[0]]=t[1]}));var A={};return null!=l&&l.forEach((function(e){var t=Ct(e,[e,e]);A[t[0]]=t[1]})),new e({isHost:r,type:n,isComponent:!!i,selector:a,exportAs:s,changeDetection:o,inputs:D,outputs:A,hostListeners:S,hostProperties:b,hostAttributes:x,providers:p,viewProviders:f,queries:d,guards:h,viewQueries:y,entryComponents:m,template:v,componentViewType:g,rendererType:T,componentFactory:E})},e.prototype.toSummary=function(){return{summaryKind:pr.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}},e}(),Dr=function(){function e(e){var t=e.type,r=e.name,n=e.pure;this.type=t,this.name=r,this.pure=!!n}return e.prototype.toSummary=function(){return{summaryKind:pr.Pipe,type:this.type,name:this.name,pure:this.pure}},e}(),Ar=function(){},Cr=function(){function e(e){var t=e.type,r=e.providers,n=e.declaredDirectives,i=e.exportedDirectives,a=e.declaredPipes,s=e.exportedPipes,o=e.entryComponents,u=e.bootstrapComponents,l=e.importedModules,c=e.exportedModules,p=e.schemas,f=e.transitiveModule,d=e.id;this.type=t||null,this.declaredDirectives=wr(n),this.exportedDirectives=wr(i),this.declaredPipes=wr(a),this.exportedPipes=wr(s),this.providers=wr(r),this.entryComponents=wr(o),this.bootstrapComponents=wr(u),this.importedModules=wr(l),this.exportedModules=wr(c),this.schemas=wr(p),this.id=d||null,this.transitiveModule=f||null}return e.prototype.toSummary=function(){var e=this.transitiveModule;return{summaryKind:pr.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}},e}(),Pr=function(){function e(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return e.prototype.addProvider=function(e,t){this.providers.push({provider:e,module:t})},e.prototype.addDirective=function(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))},e.prototype.addExportedDirective=function(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))},e.prototype.addPipe=function(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))},e.prototype.addExportedPipe=function(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))},e.prototype.addModule=function(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))},e.prototype.addEntryComponent=function(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))},e}();function wr(e){return e||[]}var _r=function(e,t){var r=t.useClass,n=t.useValue,i=t.useExisting,a=t.useFactory,s=t.deps,o=t.multi;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=a||null,this.dependencies=s||null,this.multi=!!o};function Or(e){return e.reduce((function(e,t){var r=Array.isArray(t)?Or(t):t;return e.concat(r)}),[])}function Fr(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Nr(e,t,r){var n;return n=r.isInline?t.type.reference instanceof or?t.type.reference.filePath+"."+t.type.reference.name+".html":dr(e)+"/"+dr(t.type)+".html":r.templateUrl,t.type.reference instanceof or?n:Fr(n)}function Ir(e,t){var r=e.moduleUrl.split(/\/\\/g);return Fr("css/"+t+r[r.length-1]+".ngstyle.js")}function kr(e){return Fr(dr(e.type)+"/module.ngfactory.js")}function Lr(e,t){return Fr(dr(e)+"/"+dr(t.type)+".ngfactory.js")}
87/**
88 * @license
89 * Copyright Google Inc. All Rights Reserved.
90 *
91 * Use of this source code is governed by an MIT-style license that can be
92 * found in the LICENSE file at https://angular.io/license
93 */var Mr="@angular/core",Br=function(){function e(){}return e.NEW_METHOD="factory",e.TRANSFORM_METHOD="transform",e.PATCH_DEPS="patchedDeps",e.namespaceHTML={name:"ɵnamespaceHTML",moduleName:Mr},e.namespaceMathML={name:"ɵnamespaceMathML",moduleName:Mr},e.namespaceSVG={name:"ɵnamespaceSVG",moduleName:Mr},e.element={name:"ɵelement",moduleName:Mr},e.elementStart={name:"ɵelementStart",moduleName:Mr},e.elementEnd={name:"ɵelementEnd",moduleName:Mr},e.elementProperty={name:"ɵelementProperty",moduleName:Mr},e.elementAttribute={name:"ɵelementAttribute",moduleName:Mr},e.elementClassProp={name:"ɵelementClassProp",moduleName:Mr},e.elementContainerStart={name:"ɵelementContainerStart",moduleName:Mr},e.elementContainerEnd={name:"ɵelementContainerEnd",moduleName:Mr},e.elementStyling={name:"ɵelementStyling",moduleName:Mr},e.elementStylingMap={name:"ɵelementStylingMap",moduleName:Mr},e.elementStyleProp={name:"ɵelementStyleProp",moduleName:Mr},e.elementStylingApply={name:"ɵelementStylingApply",moduleName:Mr},e.containerCreate={name:"ɵcontainer",moduleName:Mr},e.nextContext={name:"ɵnextContext",moduleName:Mr},e.templateCreate={name:"ɵtemplate",moduleName:Mr},e.text={name:"ɵtext",moduleName:Mr},e.textBinding={name:"ɵtextBinding",moduleName:Mr},e.bind={name:"ɵbind",moduleName:Mr},e.enableBindings={name:"ɵenableBindings",moduleName:Mr},e.disableBindings={name:"ɵdisableBindings",moduleName:Mr},e.getCurrentView={name:"ɵgetCurrentView",moduleName:Mr},e.restoreView={name:"ɵrestoreView",moduleName:Mr},e.interpolation1={name:"ɵinterpolation1",moduleName:Mr},e.interpolation2={name:"ɵinterpolation2",moduleName:Mr},e.interpolation3={name:"ɵinterpolation3",moduleName:Mr},e.interpolation4={name:"ɵinterpolation4",moduleName:Mr},e.interpolation5={name:"ɵinterpolation5",moduleName:Mr},e.interpolation6={name:"ɵinterpolation6",moduleName:Mr},e.interpolation7={name:"ɵinterpolation7",moduleName:Mr},e.interpolation8={name:"ɵinterpolation8",moduleName:Mr},e.interpolationV={name:"ɵinterpolationV",moduleName:Mr},e.pureFunction0={name:"ɵpureFunction0",moduleName:Mr},e.pureFunction1={name:"ɵpureFunction1",moduleName:Mr},e.pureFunction2={name:"ɵpureFunction2",moduleName:Mr},e.pureFunction3={name:"ɵpureFunction3",moduleName:Mr},e.pureFunction4={name:"ɵpureFunction4",moduleName:Mr},e.pureFunction5={name:"ɵpureFunction5",moduleName:Mr},e.pureFunction6={name:"ɵpureFunction6",moduleName:Mr},e.pureFunction7={name:"ɵpureFunction7",moduleName:Mr},e.pureFunction8={name:"ɵpureFunction8",moduleName:Mr},e.pureFunctionV={name:"ɵpureFunctionV",moduleName:Mr},e.pipeBind1={name:"ɵpipeBind1",moduleName:Mr},e.pipeBind2={name:"ɵpipeBind2",moduleName:Mr},e.pipeBind3={name:"ɵpipeBind3",moduleName:Mr},e.pipeBind4={name:"ɵpipeBind4",moduleName:Mr},e.pipeBindV={name:"ɵpipeBindV",moduleName:Mr},e.i18n={name:"ɵi18n",moduleName:Mr},e.i18nAttributes={name:"ɵi18nAttributes",moduleName:Mr},e.i18nExp={name:"ɵi18nExp",moduleName:Mr},e.i18nStart={name:"ɵi18nStart",moduleName:Mr},e.i18nEnd={name:"ɵi18nEnd",moduleName:Mr},e.i18nApply={name:"ɵi18nApply",moduleName:Mr},e.i18nPostprocess={name:"ɵi18nPostprocess",moduleName:Mr},e.load={name:"ɵload",moduleName:Mr},e.loadQueryList={name:"ɵloadQueryList",moduleName:Mr},e.pipe={name:"ɵpipe",moduleName:Mr},e.projection={name:"ɵprojection",moduleName:Mr},e.projectionDef={name:"ɵprojectionDef",moduleName:Mr},e.reference={name:"ɵreference",moduleName:Mr},e.inject={name:"inject",moduleName:Mr},e.injectAttribute={name:"ɵinjectAttribute",moduleName:Mr},e.directiveInject={name:"ɵdirectiveInject",moduleName:Mr},e.templateRefExtractor={name:"ɵtemplateRefExtractor",moduleName:Mr},e.defineBase={name:"ɵdefineBase",moduleName:Mr},e.BaseDef={name:"ɵBaseDef",moduleName:Mr},e.defineComponent={name:"ɵdefineComponent",moduleName:Mr},e.ComponentDefWithMeta={name:"ɵComponentDefWithMeta",moduleName:Mr},e.defineDirective={name:"ɵdefineDirective",moduleName:Mr},e.DirectiveDefWithMeta={name:"ɵDirectiveDefWithMeta",moduleName:Mr},e.InjectorDef={name:"ɵInjectorDef",moduleName:Mr},e.defineInjector={name:"defineInjector",moduleName:Mr},e.NgModuleDefWithMeta={name:"ɵNgModuleDefWithMeta",moduleName:Mr},e.defineNgModule={name:"ɵdefineNgModule",moduleName:Mr},e.PipeDefWithMeta={name:"ɵPipeDefWithMeta",moduleName:Mr},e.definePipe={name:"ɵdefinePipe",moduleName:Mr},e.query={name:"ɵquery",moduleName:Mr},e.queryRefresh={name:"ɵqueryRefresh",moduleName:Mr},e.registerContentQuery={name:"ɵregisterContentQuery",moduleName:Mr},e.NgOnChangesFeature={name:"ɵNgOnChangesFeature",moduleName:Mr},e.InheritDefinitionFeature={name:"ɵInheritDefinitionFeature",moduleName:Mr},e.ProvidersFeature={name:"ɵProvidersFeature",moduleName:Mr},e.listener={name:"ɵlistener",moduleName:Mr},e.getFactoryOf={name:"ɵgetFactoryOf",moduleName:Mr},e.getInheritedFactory={name:"ɵgetInheritedFactory",moduleName:Mr},e.sanitizeHtml={name:"ɵsanitizeHtml",moduleName:Mr},e.sanitizeStyle={name:"ɵsanitizeStyle",moduleName:Mr},e.defaultStyleSanitizer={name:"ɵdefaultStyleSanitizer",moduleName:Mr},e.sanitizeResourceUrl={name:"ɵsanitizeResourceUrl",moduleName:Mr},e.sanitizeScript={name:"ɵsanitizeScript",moduleName:Mr},e.sanitizeUrl={name:"ɵsanitizeUrl",moduleName:Mr},e}(),jr=function(e,t,r,n,i,a){this.nodes=e,this.placeholders=t,this.placeholderToMessage=r,this.meaning=n,this.description=i,this.id=a,e.length?this.sources=[{filePath:e[0].sourceSpan.start.file.url,startLine:e[0].sourceSpan.start.line+1,startCol:e[0].sourceSpan.start.col+1,endLine:e[e.length-1].sourceSpan.end.line+1,endCol:e[0].sourceSpan.start.col+1}]:this.sources=[]},Rr=function(){function e(e,t){this.value=e,this.sourceSpan=t}return e.prototype.visit=function(e,t){return e.visitText(this,t)},e}(),Vr=function(){function e(e,t){this.children=e,this.sourceSpan=t}return e.prototype.visit=function(e,t){return e.visitContainer(this,t)},e}(),qr=function(){function e(e,t,r,n){this.expression=e,this.type=t,this.cases=r,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitIcu(this,t)},e}(),Ur=function(){function e(e,t,r,n,i,a,s){this.tag=e,this.attrs=t,this.startName=r,this.closeName=n,this.children=i,this.isVoid=a,this.sourceSpan=s}return e.prototype.visit=function(e,t){return e.visitTagPlaceholder(this,t)},e}(),Kr=function(){function e(e,t,r){this.value=e,this.name=t,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitPlaceholder(this,t)},e}(),Xr=function(){function e(e,t,r){this.value=e,this.name=t,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitIcuPlaceholder(this,t)},e}(),Jr=function(){function e(){}return e.prototype.visitText=function(e,t){return new Rr(e.value,e.sourceSpan)},e.prototype.visitContainer=function(e,t){var r=this,n=e.children.map((function(e){return e.visit(r,t)}));return new Vr(n,e.sourceSpan)},e.prototype.visitIcu=function(e,t){var r=this,n={};Object.keys(e.cases).forEach((function(i){return n[i]=e.cases[i].visit(r,t)}));var i=new qr(e.expression,e.type,n,e.sourceSpan);return i.expressionPlaceholder=e.expressionPlaceholder,i},e.prototype.visitTagPlaceholder=function(e,t){var r=this,n=e.children.map((function(e){return e.visit(r,t)}));return new Ur(e.tag,e.attrs,e.startName,e.closeName,n,e.isVoid,e.sourceSpan)},e.prototype.visitPlaceholder=function(e,t){return new Kr(e.value,e.name,e.sourceSpan)},e.prototype.visitIcuPlaceholder=function(e,t){return new Xr(e.value,e.name,e.sourceSpan)},e}(),Yr=function(){function e(){}return e.prototype.visitText=function(e,t){},e.prototype.visitContainer=function(e,t){var r=this;e.children.forEach((function(e){return e.visit(r)}))},e.prototype.visitIcu=function(e,t){var r=this;Object.keys(e.cases).forEach((function(t){e.cases[t].visit(r)}))},e.prototype.visitTagPlaceholder=function(e,t){var r=this;e.children.forEach((function(e){return e.visit(r)}))},e.prototype.visitPlaceholder=function(e,t){},e.prototype.visitIcuPlaceholder=function(e,t){},e}();
94/**
95 * @license
96 * Copyright Google Inc. All Rights Reserved.
97 *
98 * Use of this source code is governed by an MIT-style license that can be
99 * found in the LICENSE file at https://angular.io/license
100 */
101function Wr(e){return e.id||function(e){var t,r,n=Kt(e),a=function(e,t){for(var r=Array(e.length+3>>>2),n=0;n<r.length;n++)r[n]=ln(e,4*n,t);return r}(n,Gr.Big),s=8*n.length,o=new Array(80),u=Object(i.c)([1732584193,4023233417,2562383102,271733878,3285377520],5),l=u[0],c=u[1],p=u[2],f=u[3],d=u[4];a[s>>5]|=128<<24-s%32,a[15+(s+64>>9<<4)]=s;for(var h=0;h<a.length;h+=16){for(var y=Object(i.c)([l,c,p,f,d],5),m=y[0],v=y[1],g=y[2],T=y[3],E=y[4],S=0;S<80;S++){o[S]=S<16?a[h+S]:on(o[S-3]^o[S-8]^o[S-14]^o[S-16],1);var b=Object(i.c)(Zr(S,c,p,f),2),x=b[0],D=b[1],A=[on(l,5),x,d,D,o[S]].reduce(nn);t=Object(i.c)([f,p,on(c,30),l,A],5),d=t[0],f=t[1],p=t[2],c=t[3],l=t[4]}r=Object(i.c)([nn(l,m),nn(c,v),nn(p,g),nn(f,T),nn(d,E)],5),l=r[0],c=r[1],p=r[2],f=r[3],d=r[4]}return function(e){for(var t="",r=0;r<e.length;r++){var n=un(e,r);t+=(n>>>4).toString(16)+(15&n).toString(16)}return t.toLowerCase()}(cn([l,c,p,f,d]))}((t=e.nodes,t.map((function(e){return e.visit(zr,null)}))).join("")+"["+e.meaning+"]");var t}function $r(e){if(e.id)return e.id;var t=new Qr;return function(e,t){var r,n=Object(i.c)(en(e),2),a=n[0],s=n[1];if(t){var o=Object(i.c)(en(t),2),u=o[0],l=o[1];r=Object(i.c)(function(e,t){var r=Object(i.c)(e,2),n=r[0],a=r[1],s=Object(i.c)(t,2),o=s[0],u=s[1],l=Object(i.c)(an(a,u),2),c=l[0],p=l[1];return[nn(nn(n,o),c),p]}(function(e,t){var r=Object(i.c)(e,2),n=r[0],a=r[1];return[n<<t|a>>>32-t,a<<t|n>>>32-t]}([a,s],1),[u,l]),2),a=r[0],s=r[1]}return function(e){for(var t="",r="1",n=e.length-1;n>=0;n--)t=pn(t,fn(un(e,n),r)),r=fn(256,r);return t.split("").reverse().join("")}(cn([2147483647&a,s]))}(e.nodes.map((function(e){return e.visit(t,null)})).join(""),e.meaning)}var Hr=function(){function e(){}return e.prototype.visitText=function(e,t){return e.value},e.prototype.visitContainer=function(e,t){var r=this;return"["+e.children.map((function(e){return e.visit(r)})).join(", ")+"]"},e.prototype.visitIcu=function(e,t){var r=this,n=Object.keys(e.cases).map((function(t){return t+" {"+e.cases[t].visit(r)+"}"}));return"{"+e.expression+", "+e.type+", "+n.join(", ")+"}"},e.prototype.visitTagPlaceholder=function(e,t){var r=this;return e.isVoid?'<ph tag name="'+e.startName+'"/>':'<ph tag name="'+e.startName+'">'+e.children.map((function(e){return e.visit(r)})).join(", ")+'</ph name="'+e.closeName+'">'},e.prototype.visitPlaceholder=function(e,t){return e.value?'<ph name="'+e.name+'">'+e.value+"</ph>":'<ph name="'+e.name+'"/>'},e.prototype.visitIcuPlaceholder=function(e,t){return'<ph icu name="'+e.name+'">'+e.value.visit(this)+"</ph>"},e}(),zr=new Hr;var Gr,Qr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.visitIcu=function(e,t){var r=this,n=Object.keys(e.cases).map((function(t){return t+" {"+e.cases[t].visit(r)+"}"}));return"{"+e.type+", "+n.join(", ")+"}"},t}(Hr);function Zr(e,t,r,n){return e<20?[t&r|~t&n,1518500249]:e<40?[t^r^n,1859775393]:e<60?[t&r|t&n|r&n,2400959708]:[t^r^n,3395469782]}function en(e){var t=Kt(e),r=Object(i.c)([tn(t,0),tn(t,102072)],2),n=r[0],a=r[1];return 0!=n||0!=a&&1!=a||(n^=319790063,a^=-1801410264),[n,a]}function tn(e,t){var r,n,a=Object(i.c)([2654435769,2654435769],2),s=a[0],o=a[1],u=e.length;for(n=0;n+12<=u;n+=12)s=nn(s,ln(e,n,Gr.Little)),o=nn(o,ln(e,n+4,Gr.Little)),t=nn(t,ln(e,n+8,Gr.Little)),s=(r=Object(i.c)(rn([s,o,t]),3))[0],o=r[1],t=r[2];return s=nn(s,ln(e,n,Gr.Little)),o=nn(o,ln(e,n+4,Gr.Little)),t=nn(t,u),rn([s,o,t=nn(t,ln(e,n+8,Gr.Little)<<8)])[2]}function rn(e){var t=Object(i.c)(e,3),r=t[0],n=t[1],a=t[2];return r=sn(r,n),r=sn(r,a),r^=a>>>13,n=sn(n,a),n=sn(n,r),n^=r<<8,a=sn(a,r),a=sn(a,n),a^=n>>>13,r=sn(r,n),r=sn(r,a),r^=a>>>12,n=sn(n,a),n=sn(n,r),n^=r<<16,a=sn(a,r),a=sn(a,n),a^=n>>>5,r=sn(r,n),r=sn(r,a),r^=a>>>3,n=sn(n,a),n=sn(n,r),n^=r<<10,a=sn(a,r),a=sn(a,n),[r,n,a^=n>>>15]}function nn(e,t){return an(e,t)[1]}function an(e,t){var r=(65535&e)+(65535&t),n=(e>>>16)+(t>>>16)+(r>>>16);return[n>>>16,n<<16|65535&r]}function sn(e,t){var r=(65535&e)-(65535&t);return(e>>16)-(t>>16)+(r>>16)<<16|65535&r}function on(e,t){return e<<t|e>>>32-t}function un(e,t){return t>=e.length?0:255&e.charCodeAt(t)}function ln(e,t,r){var n=0;if(r===Gr.Big)for(var i=0;i<4;i++)n+=un(e,t+i)<<24-8*i;else for(i=0;i<4;i++)n+=un(e,t+i)<<8*i;return n}function cn(e){return e.reduce((function(e,t){return e+function(e){for(var t="",r=0;r<4;r++)t+=String.fromCharCode(e>>>8*(3-r)&255);return t}(t)}),"")}function pn(e,t){for(var r="",n=Math.max(e.length,t.length),i=0,a=0;i<n||a;i++){var s=a+ +(e[i]||0)+ +(t[i]||0);s>=10?(a=1,r+=s-10):(a=0,r+=s)}return r}function fn(e,t){for(var r="",n=t;0!==e;e>>>=1)1&e&&(r=pn(r,n)),n=pn(n,n);return r}
102/**
103 * @license
104 * Copyright Google Inc. All Rights Reserved.
105 *
106 * Use of this source code is governed by an MIT-style license that can be
107 * found in the LICENSE file at https://angular.io/license
108 */!function(e){e[e.Little=0]="Little",e[e.Big=1]="Big"}(Gr||(Gr={}));var dn=function(){function e(){}return e.prototype.createNameMapper=function(e){return null},e}(),hn=function(e){function t(t,r){var n=e.call(this)||this;return n.mapName=r,n.internalToPublic={},n.publicToNextId={},n.publicToInternal={},t.nodes.forEach((function(e){return e.visit(n)})),n}return Object(i.b)(t,e),t.prototype.toPublicName=function(e){return this.internalToPublic.hasOwnProperty(e)?this.internalToPublic[e]:null},t.prototype.toInternalName=function(e){return this.publicToInternal.hasOwnProperty(e)?this.publicToInternal[e]:null},t.prototype.visitText=function(e,t){return null},t.prototype.visitTagPlaceholder=function(t,r){this.visitPlaceholderName(t.startName),e.prototype.visitTagPlaceholder.call(this,t,r),this.visitPlaceholderName(t.closeName)},t.prototype.visitPlaceholder=function(e,t){this.visitPlaceholderName(e.name)},t.prototype.visitIcuPlaceholder=function(e,t){this.visitPlaceholderName(e.name)},t.prototype.visitPlaceholderName=function(e){if(e&&!this.internalToPublic.hasOwnProperty(e)){var t=this.mapName(e);if(this.publicToInternal.hasOwnProperty(t)){var r=this.publicToNextId[t];this.publicToNextId[t]=r+1,t=t+"_"+r}else this.publicToNextId[t]=1;this.internalToPublic[e]=t,this.publicToInternal[t]=e}},t}(Yr),yn=new(function(){function e(){}return e.prototype.visitTag=function(e){var t=this,r=this._serializeAttributes(e.attrs);if(0==e.children.length)return"<"+e.name+r+"/>";var n=e.children.map((function(e){return e.visit(t)}));return"<"+e.name+r+">"+n.join("")+"</"+e.name+">"},e.prototype.visitText=function(e){return e.value},e.prototype.visitDeclaration=function(e){return"<?xml"+this._serializeAttributes(e.attrs)+" ?>"},e.prototype._serializeAttributes=function(e){var t=Object.keys(e).map((function(t){return t+'="'+e[t]+'"'})).join(" ");return t.length>0?" "+t:""},e.prototype.visitDoctype=function(e){return"<!DOCTYPE "+e.rootTag+" [\n"+e.dtd+"\n]>"},e}());function mn(e){return e.map((function(e){return e.visit(yn)})).join("")}var vn=function(){function e(e){var t=this;this.attrs={},Object.keys(e).forEach((function(r){t.attrs[r]=xn(e[r])}))}return e.prototype.visit=function(e){return e.visitDeclaration(this)},e}(),gn=function(){function e(e,t){this.rootTag=e,this.dtd=t}return e.prototype.visit=function(e){return e.visitDoctype(this)},e}(),Tn=function(){function e(e,t,r){void 0===t&&(t={}),void 0===r&&(r=[]);var n=this;this.name=e,this.children=r,this.attrs={},Object.keys(t).forEach((function(e){n.attrs[e]=xn(t[e])}))}return e.prototype.visit=function(e){return e.visitTag(this)},e}(),En=function(){function e(e){this.value=xn(e)}return e.prototype.visit=function(e){return e.visitText(this)},e}(),Sn=function(e){function t(t){return void 0===t&&(t=0),e.call(this,"\n"+new Array(t+1).join(" "))||this}return Object(i.b)(t,e),t}(En),bn=[[/&/g,"&amp;"],[/"/g,"&quot;"],[/'/g,"&apos;"],[/</g,"&lt;"],[/>/g,"&gt;"]];function xn(e){return bn.reduce((function(e,t){return e.replace(t[0],t[1])}),e)}
109/**
110 * @license
111 * Copyright Google Inc. All Rights Reserved.
112 *
113 * Use of this source code is governed by an MIT-style license that can be
114 * found in the LICENSE file at https://angular.io/license
115 */var Dn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.write=function(e,t){var r=new Pn,n=new An,a=new Tn("messagebundle");return e.forEach((function(e){var t={id:e.id};e.description&&(t.desc=e.description),e.meaning&&(t.meaning=e.meaning);var r=[];e.sources.forEach((function(e){r.push(new Tn("source",{},[new En(e.filePath+":"+e.startLine+(e.endLine!==e.startLine?","+e.endLine:""))]))})),a.children.push(new Sn(2),new Tn("msg",t,Object(i.d)(r,n.serialize(e.nodes))))})),a.children.push(new Sn),mn([new vn({version:"1.0",encoding:"UTF-8"}),new Sn,new gn("messagebundle",'<!ELEMENT messagebundle (msg)*>\n<!ATTLIST messagebundle class CDATA #IMPLIED>\n\n<!ELEMENT msg (#PCDATA|ph|source)*>\n<!ATTLIST msg id CDATA #IMPLIED>\n<!ATTLIST msg seq CDATA #IMPLIED>\n<!ATTLIST msg name CDATA #IMPLIED>\n<!ATTLIST msg desc CDATA #IMPLIED>\n<!ATTLIST msg meaning CDATA #IMPLIED>\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\n<!ATTLIST msg xml:space (default|preserve) "default">\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\n\n<!ELEMENT source (#PCDATA)>\n\n<!ELEMENT ph (#PCDATA|ex)*>\n<!ATTLIST ph name CDATA #REQUIRED>\n\n<!ELEMENT ex (#PCDATA)>'),new Sn,r.addDefaultExamples(a),new Sn])},t.prototype.load=function(e,t){throw new Error("Unsupported")},t.prototype.digest=function(e){return Cn(e)},t.prototype.createNameMapper=function(e){return new hn(e,wn)},t}(dn),An=function(){function e(){}return e.prototype.visitText=function(e,t){return[new En(e.value)]},e.prototype.visitContainer=function(e,t){var r=this,n=[];return e.children.forEach((function(e){return n.push.apply(n,Object(i.d)(e.visit(r)))})),n},e.prototype.visitIcu=function(e,t){var r=this,n=[new En("{"+e.expressionPlaceholder+", "+e.type+", ")];return Object.keys(e.cases).forEach((function(t){n.push.apply(n,Object(i.d)([new En(t+" {")],e.cases[t].visit(r),[new En("} ")]))})),n.push(new En("}")),n},e.prototype.visitTagPlaceholder=function(e,t){var r=new En("<"+e.tag+">"),n=new Tn("ex",{},[r]),a=new Tn("ph",{name:e.startName},[n,r]);if(e.isVoid)return[a];var s=new En("</"+e.tag+">"),o=new Tn("ex",{},[s]),u=new Tn("ph",{name:e.closeName},[o,s]);return Object(i.d)([a],this.serialize(e.children),[u])},e.prototype.visitPlaceholder=function(e,t){var r=new En("{{"+e.value+"}}"),n=new Tn("ex",{},[r]);return[new Tn("ph",{name:e.name},[n,r])]},e.prototype.visitIcuPlaceholder=function(e,t){var r=e.value.expression,n=e.value.type,i=Object.keys(e.value.cases).map((function(e){return e+" {...}"})).join(" "),a=new En("{"+r+", "+n+", "+i+"}"),s=new Tn("ex",{},[a]);return[new Tn("ph",{name:e.name},[s,a])]},e.prototype.serialize=function(e){var t=this;return[].concat.apply([],Object(i.d)(e.map((function(e){return e.visit(t)}))))},e}();function Cn(e){return $r(e)}var Pn=function(){function e(){}return e.prototype.addDefaultExamples=function(e){return e.visit(this),e},e.prototype.visitTag=function(e){var t=this;if("ph"===e.name){if(!e.children||0==e.children.length){var r=new En(e.attrs.name||"...");e.children=[new Tn("ex",{},[r])]}}else e.children&&e.children.forEach((function(e){return e.visit(t)}))},e.prototype.visitText=function(e){},e.prototype.visitDeclaration=function(e){},e.prototype.visitDoctype=function(e){},e}();function wn(e){return e.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}
116/**
117 * @license
118 * Copyright Google Inc. All Rights Reserved.
119 *
120 * Use of this source code is governed by an MIT-style license that can be
121 * found in the LICENSE file at https://angular.io/license
122 */function _n(e,t){return void 0===t&&(t=!1),Et(Object.keys(e).map((function(r){return{key:r,quoted:t,value:e[r]}})))}
123/**
124 * @license
125 * Copyright Google Inc. All Rights Reserved.
126 *
127 * Use of this source code is governed by an MIT-style license that can be
128 * found in the LICENSE file at https://angular.io/license
129 */var On="MSG_",Fn="goog.getMsg",Nn="BACKUP_MESSAGE_ID",In=new RegExp(Nn),kn="|",Ln="@@",Mn="i18n",Bn="i18n-",jn="�";function Rn(e,t,r){var n=[xt(t)];r&&Object.keys(r).length&&n.push(_n(r,!0));var i=yt(Fn).callFn(n);return e.set(i).toDeclStmt(ue,[xe.Final])}function Vn(e){return e===Mn||e.startsWith(Bn)}function qn(e){return e instanceof jr}function Un(e){return qn(e)&&1===e.nodes.length&&e.nodes[0]instanceof qr}function Kn(e){return{id:e.id||"",meaning:e.meaning||"",description:e.description||""}}function Xn(e){return e.nodes[0]}function Jn(e,t){return void 0===t&&(t=0),""+jn+e+(t>0?":"+t:"")+jn}function Yn(e){void 0===e&&(e=0);var t=e;return function(){return t++}}function Wn(e){var t={};return e.forEach((function(e,r){t[r]=xt(e.length>1?"["+e.join("|")+"]":e[0])})),t}function $n(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=e.get(t)||[];a.push.apply(a,Object(i.d)(r)),e.set(t,a)}function Hn(e,t,r){void 0===t&&(t=0),void 0===r&&(r=0);var n=t,i=new Map,a=e instanceof jr?e.nodes.find((function(e){return e instanceof Vr})):e;return a&&a.children.filter((function(e){return e instanceof Kr})).forEach((function(e,t){var a=Jn(n+t,r);$n(i,e.name,a)})),i}function zn(e){var t,r=wn(e).split("_");if(1===r.length)return e.toLowerCase();/^\d+$/.test(r[r.length-1])&&(t=r.pop());var n=r.shift().toLowerCase();return r.length&&(n+=r.map((function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()})).join("")),t?n+"_"+t:n}function Gn(e,t,r,n,i){void 0===n&&(n={});var a=[],s=function(e){var t=[],r=e.id,n=e.description,i=e.meaning;if(r||n){var a=!!n&&In.test(n),s=r&&!a?"["+Nn+":"+r+"] "+(n||""):n;t.push({tagName:"desc",text:s.trim()})}return i&&t.push({tagName:"meaning",text:i}),0==t.length?null:new nt(t)}(r);if(s&&a.push(s),i){var o=yt(e.name+"_RAW");a.push(Rn(o,t,n)),a.push(e.set(i(o)).toDeclStmt(ue,[xe.Final]))}else a.push(Rn(e,t,n));return a}
130/**
131 * @license
132 * Copyright Google Inc. All Rights Reserved.
133 *
134 * Use of this source code is governed by an MIT-style license that can be
135 * found in the LICENSE file at https://angular.io/license
136 */var Qn="_t",Zn="ctx",ei="rf";function ti(e,t){var r=null;return function(){return r||(e.push(new Ye(Qn,void 0,oe)),r=yt(t)),r}}function ri(e){if(this)throw new Error("Builder "+this.constructor.name+" doesn't support "+e+" yet");throw new Error("Feature "+e+" is not supported yet")}function ni(e){throw new Error("Invalid state: Visitor "+this.constructor.name+" doesn't handle "+void 0)}function ii(e){return Array.isArray(e)?Tt(e.map(ii)):xt(e,ue)}function ai(e){return Object.getOwnPropertyNames(e).length>0?function(e,t){void 0===t&&(t=!1);return Et(Object.getOwnPropertyNames(e).map((function(r){return{key:r,quoted:t,value:ii(e[r])}})))}(e):null}function si(e){for(;(t=e[e.length-1])instanceof Pe&&null===t.value;)e.pop();var t;return e}var oi,ui,li=function(){function e(){this.values=[]}return e.prototype.set=function(e,t){t&&this.values.push({key:e,value:t,quoted:!1})},e.prototype.toLiteralMap=function(){return Et(this.values)},e}();function ci(e){var t={};return e.attributes.forEach((function(e){Vn(e.name)||(t[e.name]=e.value)})),e.inputs.forEach((function(e){t[e.name]=""})),e.outputs.forEach((function(e){t[e.name]=""})),t}
137/**
138 * @license
139 * Copyright Google Inc. All Rights Reserved.
140 *
141 * Use of this source code is governed by an MIT-style license that can be
142 * found in the LICENSE file at https://angular.io/license
143 */function pi(e){var t=yt("t"),r=[],n=hi(e)?t:new Me(re.Or,t,e.type),a=null;if(null!==e.deps)a=new Ce(n,fi(e.deps,e.injectFn));else{var s=yt("ɵ"+e.name+"_BaseFactory"),o=mt(Br.getInheritedFactory),u=s.set(o.callFn([e.type])).toDeclStmt(ue,[xe.Exported,xe.Final]);r.push(u),a=s.callFn([n])}var l=a,c=[],p=null;function f(e){var r=yt("r");return c.push(r.set(Ke).toDeclStmt()),c.push(bt(t,[r.set(l).toStmt()],[r.set(e).toStmt()])),r}if(hi(e)&&e.delegateType===oi.Factory){var d=yt("ɵ"+e.name+"_BaseFactory"),h=mt(Br.getFactoryOf);if(e.delegate.isEquivalent(e.type))throw new Error("Illegal state: compiling factory that delegates to itself");var y=d.set(h.callFn([e.delegate])).toDeclStmt(ue,[xe.Exported,xe.Final]);r.push(y),p=f(d.callFn([]))}else if(hi(e)){var m=fi(e.delegateDeps,e.injectFn);p=f(new(e.delegateType===oi.Class?Ce:Ae)(e.delegate,m))}else if(function(e){return void 0!==e.expression}
144/**
145 * @license
146 * Copyright Google Inc. All Rights Reserved.
147 *
148 * Use of this source code is governed by an MIT-style license that can be
149 * found in the LICENSE file at https://angular.io/license
150 */(e))p=f(e.expression);else if(e.extraStatementFn){var v=yt("f");c.push(v.set(a).toDeclStmt()),p=v}else p=a;if(e.extraStatementFn){var g=e.extraStatementFn(p);c.push.apply(c,Object(i.d)(g))}return{factory:St([new ke("t",oe)],Object(i.d)(c,[new He(p)]),ue,void 0,e.name+"_Factory"),statements:r}}function fi(e,t){return e.map((function(e){return function(e,t){switch(e.resolved){case ui.Token:var r=0|(e.self?2:0)|(e.skipSelf?4:0)|(e.host?1:0)|(e.optional?8:0),n=[e.token];return(0!==r||e.optional)&&n.push(xt(r)),mt(t).callFn(n);case ui.Attribute:return mt(Br.injectAttribute).callFn([e.token]);default:return ri("Unknown R3ResolvedDependencyType: "+ui[e.resolved])}}(e,t)}))}function di(e,t,r){r.resolveExternalReference(ir.Injector);var n,a,s=[];try{for(var o=Object(i.e)(e.diDeps),u=o.next();!u.done;u=o.next()){var l=u.value;if(l.token){var c=Er(l.token),p=l.isAttribute?ui.Attribute:ui.Token,f=c instanceof or?t.importExpr(c):xt(c);s.push({token:f,resolved:p,host:!!l.isHost,optional:!!l.isOptional,self:!!l.isSelf,skipSelf:!!l.isSkipSelf})}else ri("dependency without a token")}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return s}function hi(e){return void 0!==e.delegateType}function yi(e){return Et(Object.keys(e).map((function(t){return{key:t,value:e[t],quoted:!1}})))}function mi(e,t){if(Array.isArray(e))return Tt(e.map((function(e){return mi(e,t)})));if(e instanceof or)return t.importExpr(e);if(null==e)return xt(e);throw new Error("Internal error: Unsupported or unknown metadata: "+e)}function vi(e,t){var r=null;if(t>0){r=[];for(var n=0;n<t;n++)r.push(oe)}return gt(e,null,r)}
151/**
152 * @license
153 * Copyright Google Inc. All Rights Reserved.
154 *
155 * Use of this source code is governed by an MIT-style license that can be
156 * found in the LICENSE file at https://angular.io/license
157 */function gi(e){var t=null,r={name:e.name,type:e.type,deps:e.ctorDeps,injectFn:ir.inject,extraStatementFn:null};if(void 0!==e.useClass){var n=e.useClass.isEquivalent(e.type),a=e.userDeps||n&&e.ctorDeps||void 0;t=pi(void 0!==a?Object(i.a)({},r,{delegate:e.useClass,delegateDeps:a,delegateType:oi.Class}):Object(i.a)({},r,{delegate:e.useClass,delegateType:oi.Factory}))}else t=void 0!==e.useFactory?pi(Object(i.a)({},r,{delegate:e.useFactory,delegateDeps:e.userDeps||[],delegateType:oi.Function})):void 0!==e.useValue?pi(Object(i.a)({},r,{expression:e.useValue})):void 0!==e.useExisting?pi(Object(i.a)({},r,{expression:mt(ir.inject).callFn([e.useExisting])})):pi(r);var s=e.type,o=e.providedIn;return{expression:mt(ir.defineInjectable).callFn([yi({token:s,factory:t.factory,providedIn:o})]),type:new ie(mt(ir.InjectableDef,[new ie(e.type)])),statements:t.statements}}
158/**
159 * @license
160 * Copyright Google Inc. All Rights Reserved.
161 *
162 * Use of this source code is governed by an MIT-style license that can be
163 * found in the LICENSE file at https://angular.io/license
164 */!function(e){e[e.Class=0]="Class",e[e.Function=1]="Function",e[e.Factory=2]="Factory"}(oi||(oi={})),function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute"}(ui||(ui={}));var Ti=function(){function e(e){void 0===e&&(e=null),this.file=e,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}return e.prototype.addSource=function(e,t){return void 0===t&&(t=null),this.sourcesContent.has(e)||this.sourcesContent.set(e,t),this},e.prototype.addLine=function(){return this.lines.push([]),this.lastCol0=0,this},e.prototype.addMapping=function(e,t,r,n){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=t&&!this.sourcesContent.has(t))throw new Error('Unknown source file "'+t+'"');if(null==e)throw new Error("The column in the generated code must be provided");if(e<this.lastCol0)throw new Error("Mapping should be added in output order");if(t&&(null==r||null==n))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=e,this.currentLine.push({col0:e,sourceUrl:t,sourceLine0:r,sourceCol0:n}),this},Object.defineProperty(e.prototype,"currentLine",{get:function(){return this.lines.slice(-1)[0]},enumerable:!0,configurable:!0}),e.prototype.toJSON=function(){var e=this;if(!this.hasMappings)return null;var t=new Map,r=[],n=[];Array.from(this.sourcesContent.keys()).forEach((function(i,a){t.set(i,a),r.push(i),n.push(e.sourcesContent.get(i)||null)}));var i="",a=0,s=0,o=0,u=0;return this.lines.forEach((function(e){a=0,i+=e.map((function(e){var r=Ei(e.col0-a);return a=e.col0,null!=e.sourceUrl&&(r+=Ei(t.get(e.sourceUrl)-s),s=t.get(e.sourceUrl),r+=Ei(e.sourceLine0-o),o=e.sourceLine0,r+=Ei(e.sourceCol0-u),u=e.sourceCol0),r})).join(","),i+=";"})),i=i.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:r,sourcesContent:n,mappings:i}},e.prototype.toJsComment=function(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function(e){var t="";e=Kt(e);for(var r=0;r<e.length;){var n=e.charCodeAt(r++),i=e.charCodeAt(r++),a=e.charCodeAt(r++);t+=bi(n>>2),t+=bi((3&n)<<4|(isNaN(i)?0:i>>4)),t+=isNaN(i)?"=":bi((15&i)<<2|a>>6),t+=isNaN(i)||isNaN(a)?"=":bi(63&a)}return t}(JSON.stringify(this,null,0)):""},e}();function Ei(e){e=e<0?1+(-e<<1):e<<1;var t="";do{var r=31&e;(e>>=5)>0&&(r|=32),t+=bi(r)}while(e>0);return t}var Si="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function bi(e){if(e<0||e>=64)throw new Error("Can only encode value in the range [0, 63]");return Si[e]}
165/**
166 * @license
167 * Copyright Google Inc. All Rights Reserved.
168 *
169 * Use of this source code is governed by an MIT-style license that can be
170 * found in the LICENSE file at https://angular.io/license
171 */var xi=/'|\\|\n|\r|\$/g,Di=/^[$A-Z_][0-9A-Z_$]*$/i,Ai=" ",Ci=yt("error",null,null),Pi=yt("stack",null,null),wi=function(e){this.indent=e,this.partsLength=0,this.parts=[],this.srcSpans=[]},_i=function(){function e(e){this._indent=e,this._classes=[],this._preambleLineCount=0,this._lines=[new wi(e)]}return e.createRoot=function(){return new e(0)},Object.defineProperty(e.prototype,"_currentLine",{get:function(){return this._lines[this._lines.length-1]},enumerable:!0,configurable:!0}),e.prototype.println=function(e,t){void 0===t&&(t=""),this.print(e||null,t,!0)},e.prototype.lineIsEmpty=function(){return 0===this._currentLine.parts.length},e.prototype.lineLength=function(){return this._currentLine.indent*Ai.length+this._currentLine.partsLength},e.prototype.print=function(e,t,r){void 0===r&&(r=!1),t.length>0&&(this._currentLine.parts.push(t),this._currentLine.partsLength+=t.length,this._currentLine.srcSpans.push(e&&e.sourceSpan||null)),r&&this._lines.push(new wi(this._indent))},e.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},e.prototype.incIndent=function(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},e.prototype.decIndent=function(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},e.prototype.pushClass=function(e){this._classes.push(e)},e.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(e.prototype,"currentClass",{get:function(){return this._classes.length>0?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),e.prototype.toSource=function(){return this.sourceLines.map((function(e){return e.parts.length>0?Ni(e.indent)+e.parts.join(""):""})).join("\n")},e.prototype.toSourceMapGenerator=function(e,t){void 0===t&&(t=0);for(var r=new Ti(e),n=!1,i=function(){n||(r.addSource(e," ").addMapping(0,e,0,0),n=!0)},a=0;a<t;a++)r.addLine(),i();return this.sourceLines.forEach((function(e,t){r.addLine();for(var a=e.srcSpans,s=e.parts,o=e.indent*Ai.length,u=0;u<a.length&&!a[u];)o+=s[u].length,u++;for(u<a.length&&0===t&&0===o?n=!0:i();u<a.length;){var l=a[u],c=l.start.file,p=l.start.line,f=l.start.col;for(r.addSource(c.url,c.content).addMapping(o,c.url,p,f),o+=s[u].length,u++;u<a.length&&(l===a[u]||!a[u]);)o+=s[u].length,u++}})),r},e.prototype.setPreambleLineCount=function(e){return this._preambleLineCount=e},e.prototype.spanOf=function(e,t){var r=this._lines[e-this._preambleLineCount];if(r)for(var n=t-Ni(r.indent).length,i=0;i<r.parts.length;i++){var a=r.parts[i];if(a.length>n)return r.srcSpans[i];n-=a.length}return null},Object.defineProperty(e.prototype,"sourceLines",{get:function(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines},enumerable:!0,configurable:!0}),e}(),Oi=function(){function e(e){this._escapeDollarInStrings=e}return e.prototype.visitExpressionStmt=function(e,t){return e.expr.visitExpression(this,t),t.println(e,";"),null},e.prototype.visitReturnStmt=function(e,t){return t.print(e,"return "),e.value.visitExpression(this,t),t.println(e,";"),null},e.prototype.visitIfStmt=function(e,t){t.print(e,"if ("),e.condition.visitExpression(this,t),t.print(e,") {");var r=null!=e.falseCase&&e.falseCase.length>0;return e.trueCase.length<=1&&!r?(t.print(e," "),this.visitAllStatements(e.trueCase,t),t.removeEmptyLastLine(),t.print(e," ")):(t.println(),t.incIndent(),this.visitAllStatements(e.trueCase,t),t.decIndent(),r&&(t.println(e,"} else {"),t.incIndent(),this.visitAllStatements(e.falseCase,t),t.decIndent())),t.println(e,"}"),null},e.prototype.visitThrowStmt=function(e,t){return t.print(e,"throw "),e.error.visitExpression(this,t),t.println(e,";"),null},e.prototype.visitCommentStmt=function(e,t){return e.multiline?t.println(e,"/* "+e.comment+" */"):e.comment.split("\n").forEach((function(r){t.println(e,"// "+r)})),null},e.prototype.visitJSDocCommentStmt=function(e,t){return t.println(e,"/*"+e.toString()+"*/"),null},e.prototype.visitWriteVarExpr=function(e,t){var r=t.lineIsEmpty();return r||t.print(e,"("),t.print(e,e.name+" = "),e.value.visitExpression(this,t),r||t.print(e,")"),null},e.prototype.visitWriteKeyExpr=function(e,t){var r=t.lineIsEmpty();return r||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"] = "),e.value.visitExpression(this,t),r||t.print(e,")"),null},e.prototype.visitWritePropExpr=function(e,t){var r=t.lineIsEmpty();return r||t.print(e,"("),e.receiver.visitExpression(this,t),t.print(e,"."+e.name+" = "),e.value.visitExpression(this,t),r||t.print(e,")"),null},e.prototype.visitInvokeMethodExpr=function(e,t){e.receiver.visitExpression(this,t);var r=e.name;return null!=e.builtin&&null==(r=this.getBuiltinMethodName(e.builtin))?null:(t.print(e,"."+r+"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null)},e.prototype.visitInvokeFunctionExpr=function(e,t){return e.fn.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null},e.prototype.visitWrappedNodeExpr=function(e,t){throw new Error("Abstract emitter cannot visit WrappedNodeExpr.")},e.prototype.visitTypeofExpr=function(e,t){t.print(e,"typeof "),e.expr.visitExpression(this,t)},e.prototype.visitReadVarExpr=function(e,t){var r=e.name;if(null!=e.builtin)switch(e.builtin){case he.Super:r="super";break;case he.This:r="this";break;case he.CatchError:r=Ci.name;break;case he.CatchStack:r=Pi.name;break;default:throw new Error("Unknown builtin variable "+e.builtin)}return t.print(e,r),null},e.prototype.visitInstantiateExpr=function(e,t){return t.print(e,"new "),e.classExpr.visitExpression(this,t),t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null},e.prototype.visitLiteralExpr=function(e,t){var r=e.value;return"string"==typeof r?t.print(e,Fi(r,this._escapeDollarInStrings)):t.print(e,""+r),null},e.prototype.visitConditionalExpr=function(e,t){return t.print(e,"("),e.condition.visitExpression(this,t),t.print(e,"? "),e.trueCase.visitExpression(this,t),t.print(e,": "),e.falseCase.visitExpression(this,t),t.print(e,")"),null},e.prototype.visitNotExpr=function(e,t){return t.print(e,"!"),e.condition.visitExpression(this,t),null},e.prototype.visitAssertNotNullExpr=function(e,t){return e.condition.visitExpression(this,t),null},e.prototype.visitBinaryOperatorExpr=function(e,t){var r;switch(e.operator){case re.Equals:r="==";break;case re.Identical:r="===";break;case re.NotEquals:r="!=";break;case re.NotIdentical:r="!==";break;case re.And:r="&&";break;case re.BitwiseAnd:r="&";break;case re.Or:r="||";break;case re.Plus:r="+";break;case re.Minus:r="-";break;case re.Divide:r="/";break;case re.Multiply:r="*";break;case re.Modulo:r="%";break;case re.Lower:r="<";break;case re.LowerEquals:r="<=";break;case re.Bigger:r=">";break;case re.BiggerEquals:r=">=";break;default:throw new Error("Unknown operator "+e.operator)}return e.parens&&t.print(e,"("),e.lhs.visitExpression(this,t),t.print(e," "+r+" "),e.rhs.visitExpression(this,t),e.parens&&t.print(e,")"),null},e.prototype.visitReadPropExpr=function(e,t){return e.receiver.visitExpression(this,t),t.print(e,"."),t.print(e,e.name),null},e.prototype.visitReadKeyExpr=function(e,t){return e.receiver.visitExpression(this,t),t.print(e,"["),e.index.visitExpression(this,t),t.print(e,"]"),null},e.prototype.visitLiteralArrayExpr=function(e,t){return t.print(e,"["),this.visitAllExpressions(e.entries,t,","),t.print(e,"]"),null},e.prototype.visitLiteralMapExpr=function(e,t){var r=this;return t.print(e,"{"),this.visitAllObjects((function(n){t.print(e,Fi(n.key,r._escapeDollarInStrings,n.quoted)+":"),n.value.visitExpression(r,t)}),e.entries,t,","),t.print(e,"}"),null},e.prototype.visitCommaExpr=function(e,t){return t.print(e,"("),this.visitAllExpressions(e.parts,t,","),t.print(e,")"),null},e.prototype.visitAllExpressions=function(e,t,r){var n=this;this.visitAllObjects((function(e){return e.visitExpression(n,t)}),e,t,r)},e.prototype.visitAllObjects=function(e,t,r,n){for(var i=!1,a=0;a<t.length;a++)a>0&&(r.lineLength()>80?(r.print(null,n,!0),i||(r.incIndent(),r.incIndent(),i=!0)):r.print(null,n,!1)),e(t[a]);i&&(r.decIndent(),r.decIndent())},e.prototype.visitAllStatements=function(e,t){var r=this;e.forEach((function(e){return e.visitStatement(r,t)}))},e}();function Fi(e,t,r){if(void 0===r&&(r=!0),null==e)return null;var n=e.replace(xi,(function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return"$"==e[0]?t?"\\$":"$":"\n"==e[0]?"\\n":"\r"==e[0]?"\\r":"\\"+e[0]}));return r||!Di.test(n)?"'"+n+"'":n}function Ni(e){for(var t="",r=0;r<e;r++)t+=Ai;return t}
172/**
173 * @license
174 * Copyright Google Inc. All Rights Reserved.
175 *
176 * Use of this source code is governed by an MIT-style license that can be
177 * found in the LICENSE file at https://angular.io/license
178 */function Ii(e,t,r,n){var a=new ki(r),s=_i.createRoot();return a.visitAllStatements(t,s),a.createReturnStmt(s),
179/**
180 * @license
181 * Copyright Google Inc. All Rights Reserved.
182 *
183 * Use of this source code is governed by an MIT-style license that can be
184 * found in the LICENSE file at https://angular.io/license
185 */
186function(e,t,r,n){var a=t.toSource()+"\n//# sourceURL="+e,s=[],o=[];for(var u in r)s.push(u),o.push(r[u]);if(n){var l=(new(Function.bind.apply(Function,Object(i.d)([void 0],s.concat("return null;"))))).toString(),c=l.slice(0,l.indexOf("return null;")).split("\n").length-1;a+="\n"+t.toSourceMapGenerator(e,c).toJsComment()}return(new(Function.bind.apply(Function,Object(i.d)([void 0],s.concat(a))))).apply(void 0,Object(i.d)(o))}(e,s,a.getArgs(),n)}var ki=function(e){function t(t){var r=e.call(this)||this;return r.reflector=t,r._evalArgNames=[],r._evalArgValues=[],r._evalExportedVars=[],r}return Object(i.b)(t,e),t.prototype.createReturnStmt=function(e){new He(new qe(this._evalExportedVars.map((function(e){return new Ve(e,yt(e),!1)})))).visitStatement(this,e)},t.prototype.getArgs=function(){for(var e={},t=0;t<this._evalArgNames.length;t++)e[this._evalArgNames[t]]=this._evalArgValues[t];return e},t.prototype.visitExternalExpr=function(e,t){return this._emitReferenceToExternal(e,this.reflector.resolveExternalReference(e.value),t),null},t.prototype.visitWrappedNodeExpr=function(e,t){return this._emitReferenceToExternal(e,e.node,t),null},t.prototype.visitDeclareVarStmt=function(t,r){return t.hasModifier(xe.Exported)&&this._evalExportedVars.push(t.name),e.prototype.visitDeclareVarStmt.call(this,t,r)},t.prototype.visitDeclareFunctionStmt=function(t,r){return t.hasModifier(xe.Exported)&&this._evalExportedVars.push(t.name),e.prototype.visitDeclareFunctionStmt.call(this,t,r)},t.prototype.visitDeclareClassStmt=function(t,r){return t.hasModifier(xe.Exported)&&this._evalExportedVars.push(t.name),e.prototype.visitDeclareClassStmt.call(this,t,r)},t.prototype._emitReferenceToExternal=function(e,t,r){var n=this._evalArgValues.indexOf(t);if(-1===n){n=this._evalArgValues.length,this._evalArgValues.push(t);var i=dr({reference:t})||"val";this._evalArgNames.push("jit_"+i+"_"+n)}r.print(e,this._evalArgNames[n])},t}(function(e){function t(){return e.call(this,!1)||this}return Object(i.b)(t,e),t.prototype.visitDeclareClassStmt=function(e,t){var r=this;return t.pushClass(e),this._visitClassConstructor(e,t),null!=e.parent&&(t.print(e,e.name+".prototype = Object.create("),e.parent.visitExpression(this,t),t.println(e,".prototype);")),e.getters.forEach((function(n){return r._visitClassGetter(e,n,t)})),e.methods.forEach((function(n){return r._visitClassMethod(e,n,t)})),t.popClass(),null},t.prototype._visitClassConstructor=function(e,t){t.print(e,"function "+e.name+"("),null!=e.constructorMethod&&this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),null!=e.constructorMethod&&e.constructorMethod.body.length>0&&(t.println(e,"var self = this;"),this.visitAllStatements(e.constructorMethod.body,t)),t.decIndent(),t.println(e,"}")},t.prototype._visitClassGetter=function(e,t,r){r.println(e,"Object.defineProperty("+e.name+".prototype, '"+t.name+"', { get: function() {"),r.incIndent(),t.body.length>0&&(r.println(e,"var self = this;"),this.visitAllStatements(t.body,r)),r.decIndent(),r.println(e,"}});")},t.prototype._visitClassMethod=function(e,t,r){r.print(e,e.name+".prototype."+t.name+" = function("),this._visitParams(t.params,r),r.println(e,") {"),r.incIndent(),t.body.length>0&&(r.println(e,"var self = this;"),this.visitAllStatements(t.body,r)),r.decIndent(),r.println(e,"};")},t.prototype.visitWrappedNodeExpr=function(e,t){throw new Error("Cannot emit a WrappedNodeExpr in Javascript.")},t.prototype.visitReadVarExpr=function(t,r){if(t.builtin===he.This)r.print(t,"self");else{if(t.builtin===he.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");e.prototype.visitReadVarExpr.call(this,t,r)}return null},t.prototype.visitDeclareVarStmt=function(e,t){return t.print(e,"var "+e.name),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null},t.prototype.visitCastExpr=function(e,t){return e.value.visitExpression(this,t),null},t.prototype.visitInvokeFunctionExpr=function(t,r){var n=t.fn;return n instanceof ve&&n.builtin===he.Super?(r.currentClass.parent.visitExpression(this,r),r.print(t,".call(this"),t.args.length>0&&(r.print(t,", "),this.visitAllExpressions(t.args,r,",")),r.print(t,")")):e.prototype.visitInvokeFunctionExpr.call(this,t,r),null},t.prototype.visitFunctionExpr=function(e,t){return t.print(e,"function"+(e.name?" "+e.name:"")+"("),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null},t.prototype.visitDeclareFunctionStmt=function(e,t){return t.print(e,"function "+e.name+"("),this._visitParams(e.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null},t.prototype.visitTryCatchStmt=function(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,"} catch ("+Ci.name+") {"),t.incIndent();var r=[Pi.set(Ci.prop("stack")).toDeclStmt(null,[xe.Final])].concat(e.catchStmts);return this.visitAllStatements(r,t),t.decIndent(),t.println(e,"}"),null},t.prototype._visitParams=function(e,t){this.visitAllObjects((function(e){return t.print(null,e.name)}),e,t,",")},t.prototype.getBuiltinMethodName=function(e){var t;switch(e){case me.ConcatArray:t="concat";break;case me.SubscribeObservable:t="subscribe";break;case me.Bind:t="bind";break;default:throw new Error("Unknown builtin method: "+e)}return t},t}(Oi)),Li=function(){function e(e){this.context=e}return e.prototype.resolveExternalReference=function(e){if("@angular/core"!==e.moduleName)throw new Error("Cannot resolve external reference to "+e.moduleName+", only references to @angular/core are supported.");if(!this.context.hasOwnProperty(e.name))throw new Error("No value provided for @angular/core symbol '"+e.name+"'.");return this.context[e.name]},e.prototype.parameters=function(e){throw new Error("Not implemented.")},e.prototype.annotations=function(e){throw new Error("Not implemented.")},e.prototype.shallowAnnotations=function(e){throw new Error("Not implemented.")},e.prototype.tryAnnotations=function(e){throw new Error("Not implemented.")},e.prototype.propMetadata=function(e){throw new Error("Not implemented.")},e.prototype.hasLifecycleHook=function(e,t){throw new Error("Not implemented.")},e.prototype.guards=function(e){throw new Error("Not implemented.")},e.prototype.componentModuleUrl=function(e,t){throw new Error("Not implemented.")},e}();
187/**
188 * @license
189 * Copyright Google Inc. All Rights Reserved.
190 *
191 * Use of this source code is governed by an MIT-style license that can be
192 * found in the LICENSE file at https://angular.io/license
193 */function Mi(e,t,r,n){return Ii(r,Object(i.d)(n,[new Ye("$def",e,void 0,[xe.Exported])]),new Li(t),!1).$def}
194/**
195 * @license
196 * Copyright Google Inc. All Rights Reserved.
197 *
198 * Use of this source code is governed by an MIT-style license that can be
199 * found in the LICENSE file at https://angular.io/license
200 */function Bi(e){var t=e.type,r=e.bootstrap,n=e.declarations,i=e.imports,a=e.exports;return{expression:mt(Br.defineNgModule).callFn([yi({type:t,bootstrap:Tt(r.map((function(e){return e.value}))),declarations:Tt(n.map((function(e){return e.value}))),imports:Tt(i.map((function(e){return e.value}))),exports:Tt(a.map((function(e){return e.value})))})]),type:new ie(mt(Br.NgModuleDefWithMeta,[new ie(t),Ri(n),Ri(i),Ri(a)])),additionalStatements:[]}}function ji(e){var t=pi({name:e.name,type:e.type,deps:e.deps,injectFn:Br.inject,extraStatementFn:null});return{expression:mt(Br.defineInjector).callFn([yi({factory:t.factory,providers:e.providers,imports:e.imports})]),type:new ie(mt(Br.InjectorDef,[new ie(e.type)])),statements:t.statements}}function Ri(e){var t=e.map((function(e){return t=e.type,new ge(t);var t}));return e.length>0?gt(Tt(t)):pe}
201/**
202 * @license
203 * Copyright Google Inc. All Rights Reserved.
204 *
205 * Use of this source code is governed by an MIT-style license that can be
206 * found in the LICENSE file at https://angular.io/license
207 */function Vi(e){var t=[];t.push({key:"name",value:xt(e.pipeName),quoted:!1}),t.push({key:"type",value:e.type,quoted:!1});var r=pi({name:e.name,type:e.type,deps:e.deps,injectFn:Br.directiveInject,extraStatementFn:null});return t.push({key:"factory",value:r.factory,quoted:!1}),t.push({key:"pure",value:xt(e.pure),quoted:!1}),{expression:mt(Br.definePipe).callFn([Et(t)]),type:new ie(mt(Br.PipeDefWithMeta,[new ie(e.type),new ie(new Pe(e.pipeName))])),statements:r.statements}}
208/**
209 * @license
210 * Copyright Google Inc. All Rights Reserved.
211 *
212 * Use of this source code is governed by an MIT-style license that can be
213 * found in the LICENSE file at https://angular.io/license
214 */
215var qi=function(e,t,r,n){this.input=t,this.errLocation=r,this.ctxLocation=n,this.message="Parser Error: "+e+" "+r+" ["+t+"] in "+n},Ui=function(e,t){this.start=e,this.end=t},Ki=function(){function e(e){this.span=e}return e.prototype.visit=function(e,t){return void 0===t&&(t=null),null},e.prototype.toString=function(){return"AST"},e}(),Xi=function(e){function t(t,r,n,i){var a=e.call(this,t)||this;return a.prefix=r,a.uninterpretedExpression=n,a.location=i,a}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitQuote(this,t)},t.prototype.toString=function(){return"Quote"},t}(Ki),Ji=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.visit=function(e,t){void 0===t&&(t=null)},t}(Ki),Yi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitImplicitReceiver(this,t)},t}(Ki),Wi=function(e){function t(t,r){var n=e.call(this,t)||this;return n.expressions=r,n}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitChain(this,t)},t}(Ki),$i=function(e){function t(t,r,n,i){var a=e.call(this,t)||this;return a.condition=r,a.trueExp=n,a.falseExp=i,a}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitConditional(this,t)},t}(Ki),Hi=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.receiver=r,i.name=n,i}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPropertyRead(this,t)},t}(Ki),zi=function(e){function t(t,r,n,i){var a=e.call(this,t)||this;return a.receiver=r,a.name=n,a.value=i,a}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPropertyWrite(this,t)},t}(Ki),Gi=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.receiver=r,i.name=n,i}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitSafePropertyRead(this,t)},t}(Ki),Qi=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.obj=r,i.key=n,i}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitKeyedRead(this,t)},t}(Ki),Zi=function(e){function t(t,r,n,i){var a=e.call(this,t)||this;return a.obj=r,a.key=n,a.value=i,a}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitKeyedWrite(this,t)},t}(Ki),ea=function(e){function t(t,r,n,i){var a=e.call(this,t)||this;return a.exp=r,a.name=n,a.args=i,a}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPipe(this,t)},t}(Ki),ta=function(e){function t(t,r){var n=e.call(this,t)||this;return n.value=r,n}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitLiteralPrimitive(this,t)},t}(Ki),ra=function(e){function t(t,r){var n=e.call(this,t)||this;return n.expressions=r,n}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitLiteralArray(this,t)},t}(Ki),na=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.keys=r,i.values=n,i}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitLiteralMap(this,t)},t}(Ki),ia=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.strings=r,i.expressions=n,i}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitInterpolation(this,t)},t}(Ki),aa=function(e){function t(t,r,n,i){var a=e.call(this,t)||this;return a.operation=r,a.left=n,a.right=i,a}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitBinary(this,t)},t}(Ki),sa=function(e){function t(t,r){var n=e.call(this,t)||this;return n.expression=r,n}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitPrefixNot(this,t)},t}(Ki),oa=function(e){function t(t,r){var n=e.call(this,t)||this;return n.expression=r,n}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitNonNullAssert(this,t)},t}(Ki),ua=function(e){function t(t,r,n,i){var a=e.call(this,t)||this;return a.receiver=r,a.name=n,a.args=i,a}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitMethodCall(this,t)},t}(Ki),la=function(e){function t(t,r,n,i){var a=e.call(this,t)||this;return a.receiver=r,a.name=n,a.args=i,a}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitSafeMethodCall(this,t)},t}(Ki),ca=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.target=r,i.args=n,i}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),e.visitFunctionCall(this,t)},t}(Ki),pa=function(e){function t(t,r,n,i){var a=e.call(this,new Ui(0,null==r?0:r.length))||this;return a.ast=t,a.source=r,a.location=n,a.errors=i,a}return Object(i.b)(t,e),t.prototype.visit=function(e,t){return void 0===t&&(t=null),this.ast.visit(e,t)},t.prototype.toString=function(){return this.source+" in "+this.location},t}(Ki),fa=function(e,t,r,n,i){this.span=e,this.key=t,this.keyIsVar=r,this.name=n,this.expression=i},da=function(){function e(){}return e.prototype.visitBinary=function(e,t){},e.prototype.visitChain=function(e,t){},e.prototype.visitConditional=function(e,t){},e.prototype.visitFunctionCall=function(e,t){},e.prototype.visitImplicitReceiver=function(e,t){},e.prototype.visitInterpolation=function(e,t){},e.prototype.visitKeyedRead=function(e,t){},e.prototype.visitKeyedWrite=function(e,t){},e.prototype.visitLiteralArray=function(e,t){},e.prototype.visitLiteralMap=function(e,t){},e.prototype.visitLiteralPrimitive=function(e,t){},e.prototype.visitMethodCall=function(e,t){},e.prototype.visitPipe=function(e,t){},e.prototype.visitPrefixNot=function(e,t){},e.prototype.visitNonNullAssert=function(e,t){},e.prototype.visitPropertyRead=function(e,t){},e.prototype.visitPropertyWrite=function(e,t){},e.prototype.visitQuote=function(e,t){},e.prototype.visitSafeMethodCall=function(e,t){},e.prototype.visitSafePropertyRead=function(e,t){},e}(),ha=function(){function e(){}return e.prototype.visitBinary=function(e,t){return e.left.visit(this),e.right.visit(this),null},e.prototype.visitChain=function(e,t){return this.visitAll(e.expressions,t)},e.prototype.visitConditional=function(e,t){return e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this),null},e.prototype.visitPipe=function(e,t){return e.exp.visit(this),this.visitAll(e.args,t),null},e.prototype.visitFunctionCall=function(e,t){return e.target.visit(this),this.visitAll(e.args,t),null},e.prototype.visitImplicitReceiver=function(e,t){return null},e.prototype.visitInterpolation=function(e,t){return this.visitAll(e.expressions,t)},e.prototype.visitKeyedRead=function(e,t){return e.obj.visit(this),e.key.visit(this),null},e.prototype.visitKeyedWrite=function(e,t){return e.obj.visit(this),e.key.visit(this),e.value.visit(this),null},e.prototype.visitLiteralArray=function(e,t){return this.visitAll(e.expressions,t)},e.prototype.visitLiteralMap=function(e,t){return this.visitAll(e.values,t)},e.prototype.visitLiteralPrimitive=function(e,t){return null},e.prototype.visitMethodCall=function(e,t){return e.receiver.visit(this),this.visitAll(e.args,t)},e.prototype.visitPrefixNot=function(e,t){return e.expression.visit(this),null},e.prototype.visitNonNullAssert=function(e,t){return e.expression.visit(this),null},e.prototype.visitPropertyRead=function(e,t){return e.receiver.visit(this),null},e.prototype.visitPropertyWrite=function(e,t){return e.receiver.visit(this),e.value.visit(this),null},e.prototype.visitSafePropertyRead=function(e,t){return e.receiver.visit(this),null},e.prototype.visitSafeMethodCall=function(e,t){return e.receiver.visit(this),this.visitAll(e.args,t)},e.prototype.visitAll=function(e,t){var r=this;return e.forEach((function(e){return e.visit(r,t)})),null},e.prototype.visitQuote=function(e,t){return null},e}(),ya=function(){function e(){}return e.prototype.visitImplicitReceiver=function(e,t){return e},e.prototype.visitInterpolation=function(e,t){return new ia(e.span,e.strings,this.visitAll(e.expressions))},e.prototype.visitLiteralPrimitive=function(e,t){return new ta(e.span,e.value)},e.prototype.visitPropertyRead=function(e,t){return new Hi(e.span,e.receiver.visit(this),e.name)},e.prototype.visitPropertyWrite=function(e,t){return new zi(e.span,e.receiver.visit(this),e.name,e.value.visit(this))},e.prototype.visitSafePropertyRead=function(e,t){return new Gi(e.span,e.receiver.visit(this),e.name)},e.prototype.visitMethodCall=function(e,t){return new ua(e.span,e.receiver.visit(this),e.name,this.visitAll(e.args))},e.prototype.visitSafeMethodCall=function(e,t){return new la(e.span,e.receiver.visit(this),e.name,this.visitAll(e.args))},e.prototype.visitFunctionCall=function(e,t){return new ca(e.span,e.target.visit(this),this.visitAll(e.args))},e.prototype.visitLiteralArray=function(e,t){return new ra(e.span,this.visitAll(e.expressions))},e.prototype.visitLiteralMap=function(e,t){return new na(e.span,e.keys,this.visitAll(e.values))},e.prototype.visitBinary=function(e,t){return new aa(e.span,e.operation,e.left.visit(this),e.right.visit(this))},e.prototype.visitPrefixNot=function(e,t){return new sa(e.span,e.expression.visit(this))},e.prototype.visitNonNullAssert=function(e,t){return new oa(e.span,e.expression.visit(this))},e.prototype.visitConditional=function(e,t){return new $i(e.span,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))},e.prototype.visitPipe=function(e,t){return new ea(e.span,e.exp.visit(this),e.name,this.visitAll(e.args))},e.prototype.visitKeyedRead=function(e,t){return new Qi(e.span,e.obj.visit(this),e.key.visit(this))},e.prototype.visitKeyedWrite=function(e,t){return new Zi(e.span,e.obj.visit(this),e.key.visit(this),e.value.visit(this))},e.prototype.visitAll=function(e){for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r].visit(this);return t},e.prototype.visitChain=function(e,t){return new Wi(e.span,this.visitAll(e.expressions))},e.prototype.visitQuote=function(e,t){return new Xi(e.span,e.prefix,e.uninterpretedExpression,e.location)},e}(),ma=function(){function e(){}return e.prototype.visitImplicitReceiver=function(e,t){return e},e.prototype.visitInterpolation=function(e,t){var r=this.visitAll(e.expressions);return r!==e.expressions?new ia(e.span,e.strings,r):e},e.prototype.visitLiteralPrimitive=function(e,t){return e},e.prototype.visitPropertyRead=function(e,t){var r=e.receiver.visit(this);return r!==e.receiver?new Hi(e.span,r,e.name):e},e.prototype.visitPropertyWrite=function(e,t){var r=e.receiver.visit(this),n=e.value.visit(this);return r!==e.receiver||n!==e.value?new zi(e.span,r,e.name,n):e},e.prototype.visitSafePropertyRead=function(e,t){var r=e.receiver.visit(this);return r!==e.receiver?new Gi(e.span,r,e.name):e},e.prototype.visitMethodCall=function(e,t){var r=e.receiver.visit(this);return r!==e.receiver?new ua(e.span,r,e.name,this.visitAll(e.args)):e},e.prototype.visitSafeMethodCall=function(e,t){var r=e.receiver.visit(this),n=this.visitAll(e.args);return r!==e.receiver||n!==e.args?new la(e.span,r,e.name,n):e},e.prototype.visitFunctionCall=function(e,t){var r=e.target&&e.target.visit(this),n=this.visitAll(e.args);return r!==e.target||n!==e.args?new ca(e.span,r,n):e},e.prototype.visitLiteralArray=function(e,t){var r=this.visitAll(e.expressions);return r!==e.expressions?new ra(e.span,r):e},e.prototype.visitLiteralMap=function(e,t){var r=this.visitAll(e.values);return r!==e.values?new na(e.span,e.keys,r):e},e.prototype.visitBinary=function(e,t){var r=e.left.visit(this),n=e.right.visit(this);return r!==e.left||n!==e.right?new aa(e.span,e.operation,r,n):e},e.prototype.visitPrefixNot=function(e,t){var r=e.expression.visit(this);return r!==e.expression?new sa(e.span,r):e},e.prototype.visitNonNullAssert=function(e,t){var r=e.expression.visit(this);return r!==e.expression?new oa(e.span,r):e},e.prototype.visitConditional=function(e,t){var r=e.condition.visit(this),n=e.trueExp.visit(this),i=e.falseExp.visit(this);return r!==e.condition||n!==e.trueExp||i!=i?new $i(e.span,r,n,i):e},e.prototype.visitPipe=function(e,t){var r=e.exp.visit(this),n=this.visitAll(e.args);return r!==e.exp||n!==e.args?new ea(e.span,r,e.name,n):e},e.prototype.visitKeyedRead=function(e,t){var r=e.obj.visit(this),n=e.key.visit(this);return r!==e.obj||n!==e.key?new Qi(e.span,r,n):e},e.prototype.visitKeyedWrite=function(e,t){var r=e.obj.visit(this),n=e.key.visit(this),i=e.value.visit(this);return r!==e.obj||n!==e.key||i!==e.value?new Zi(e.span,r,n,i):e},e.prototype.visitAll=function(e){for(var t=new Array(e.length),r=!1,n=0;n<e.length;++n){var i=e[n],a=i.visit(this);t[n]=a,r=r||a!==i}return r?t:e},e.prototype.visitChain=function(e,t){var r=this.visitAll(e.expressions);return r!==e.expressions?new Wi(e.span,r):e},e.prototype.visitQuote=function(e,t){return e},e}();function va(e,t,r){function n(e){t.visit&&t.visit(e,r)||e.visit(t,r)}function i(e){e.forEach(n)}e.visit({visitBinary:function(e){n(e.left),n(e.right)},visitChain:function(e){i(e.expressions)},visitConditional:function(e){n(e.condition),n(e.trueExp),n(e.falseExp)},visitFunctionCall:function(e){e.target&&n(e.target),i(e.args)},visitImplicitReceiver:function(e){},visitInterpolation:function(e){i(e.expressions)},visitKeyedRead:function(e){n(e.obj),n(e.key)},visitKeyedWrite:function(e){n(e.obj),n(e.key),n(e.obj)},visitLiteralArray:function(e){i(e.expressions)},visitLiteralMap:function(e){},visitLiteralPrimitive:function(e){},visitMethodCall:function(e){n(e.receiver),i(e.args)},visitPipe:function(e){n(e.exp),i(e.args)},visitPrefixNot:function(e){n(e.expression)},visitNonNullAssert:function(e){n(e.expression)},visitPropertyRead:function(e){n(e.receiver)},visitPropertyWrite:function(e){n(e.receiver),n(e.value)},visitQuote:function(e){},visitSafeMethodCall:function(e){n(e.receiver),i(e.args)},visitSafePropertyRead:function(e){n(e.receiver)}})}var ga,Ta=function(e,t,r,n){this.name=e,this.expression=t,this.type=r,this.sourceSpan=n,this.isLiteral=this.type===ga.LITERAL_ATTR,this.isAnimation=this.type===ga.ANIMATION};!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION"}(ga||(ga={}));var Ea=function(e,t,r,n,i){this.name=e,this.targetOrPhase=t,this.type=r,this.handler=n,this.sourceSpan=i},Sa=function(e,t,r){this.name=e,this.value=t,this.sourceSpan=r},ba=function(e,t,r,n,i,a){this.name=e,this.type=t,this.securityContext=r,this.value=n,this.unit=i,this.sourceSpan=a},xa=function(){function e(){}return e.event=yt("$event"),e}(),Da=function(e,t){this.stmts=e,this.allowDefault=t,this.render3Stmts=e.map((function(e){if(e instanceof Ye&&e.name==t.name&&e.value instanceof Me){var r=e.value.lhs;return new He(r.value)}return e}))};function Aa(e,t,r,n,i){e||(e=new Ba);var a=Ca({createLiteralArrayConverter:function(e){return function(e){return Tt(e)}},createLiteralMapConverter:function(e){return function(t){return Et(e.map((function(e,r){return{key:e.key,value:t[r],quoted:e.quoted}})))}},createPipeConverter:function(e){throw new Error("Illegal State: Actions are not allowed to contain pipes. Pipe: "+e)}},r),s=new Ma(e,t,n,i),o=[];!function e(t,r){Array.isArray(t)?t.forEach((function(t){return e(t,r)})):r.push(t)}(a.visit(s,wa.Statement),o),function(e,t,r){for(var n=e-1;n>=0;n--)r.unshift(Na(t,n))}(s.temporaryCount,n,o);var u=o.length-1,l=null;if(u>=0){var c=function(e){if(e instanceof $e)return e.expr;if(e instanceof He)return e.value;return null}(o[u]);c&&(l=function(e){return yt("pd_"+e)}(n),o[u]=l.set(c.cast(oe).notIdentical(xt(!1))).toDeclStmt(null,[xe.Final]))}return new Da(o,l)}function Ca(e,t){return function(e,t){var r=new La(e);return t.visit(r)}(e,t)}var Pa,wa,_a=function(e,t){this.stmts=e,this.currValExpr=t};function Oa(e,t,r,n,i,a){e||(e=new Ba);var s=function(e){return yt("currVal_"+e)}(n),o=[],u=new Ma(e,t,n,a),l=r.visit(u,wa.Expression);if(u.temporaryCount)for(var c=0;c<u.temporaryCount;c++)o.push(Na(n,c));else if(i==Pa.TrySimple)return new _a([],l);return o.push(s.set(l).toDeclStmt(oe,[xe.Final])),new _a(o,s)}function Fa(e,t){return"tmp_"+e+"_"+t}function Na(e,t){return new Ye(Fa(e,t),Ke)}function Ia(e,t){if(e!==wa.Expression)throw new Error("Expected an expression, but saw "+t)}function ka(e,t){return e===wa.Statement?t.toStmt():t}!function(e){e[e.General=0]="General",e[e.TrySimple=1]="TrySimple"}(Pa||(Pa={})),function(e){e[e.Statement=0]="Statement",e[e.Expression=1]="Expression"}(wa||(wa={}));var La=function(e){function t(t){var r=e.call(this)||this;return r._converterFactory=t,r}return Object(i.b)(t,e),t.prototype.visitPipe=function(e,t){var r=this,n=Object(i.d)([e.exp],e.args).map((function(e){return e.visit(r,t)}));return new Ra(e.span,n,this._converterFactory.createPipeConverter(e.name,n.length))},t.prototype.visitLiteralArray=function(e,t){var r=this,n=e.expressions.map((function(e){return e.visit(r,t)}));return new Ra(e.span,n,this._converterFactory.createLiteralArrayConverter(e.expressions.length))},t.prototype.visitLiteralMap=function(e,t){var r=this,n=e.values.map((function(e){return e.visit(r,t)}));return new Ra(e.span,n,this._converterFactory.createLiteralMapConverter(e.keys))},t}(ya),Ma=function(){function e(e,t,r,n){this._localResolver=e,this._implicitReceiver=t,this.bindingId=r,this.interpolationFunction=n,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0}return e.prototype.visitBinary=function(e,t){var r;switch(e.operation){case"+":r=re.Plus;break;case"-":r=re.Minus;break;case"*":r=re.Multiply;break;case"/":r=re.Divide;break;case"%":r=re.Modulo;break;case"&&":r=re.And;break;case"||":r=re.Or;break;case"==":r=re.Equals;break;case"!=":r=re.NotEquals;break;case"===":r=re.Identical;break;case"!==":r=re.NotIdentical;break;case"<":r=re.Lower;break;case">":r=re.Bigger;break;case"<=":r=re.LowerEquals;break;case">=":r=re.BiggerEquals;break;default:throw new Error("Unsupported operation "+e.operation)}return ka(t,new Me(r,this._visit(e.left,wa.Expression),this._visit(e.right,wa.Expression)))},e.prototype.visitChain=function(e,t){return function(e,t){if(e!==wa.Statement)throw new Error("Expected a statement, but saw "+t)}(t,e),this.visitAll(e.expressions,t)},e.prototype.visitConditional=function(e,t){return ka(t,this._visit(e.condition,wa.Expression).conditional(this._visit(e.trueExp,wa.Expression),this._visit(e.falseExp,wa.Expression)))},e.prototype.visitPipe=function(e,t){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+e.name)},e.prototype.visitFunctionCall=function(e,t){var r=this.visitAll(e.args,wa.Expression);return ka(t,e instanceof Ra?e.converter(r):this._visit(e.target,wa.Expression).callFn(r))},e.prototype.visitImplicitReceiver=function(e,t){return Ia(t,e),this._implicitReceiver},e.prototype.visitInterpolation=function(e,t){Ia(t,e);for(var r=[xt(e.expressions.length)],n=0;n<e.strings.length-1;n++)r.push(xt(e.strings[n])),r.push(this._visit(e.expressions[n],wa.Expression));return r.push(xt(e.strings[e.strings.length-1])),this.interpolationFunction?this.interpolationFunction(r):e.expressions.length<=9?mt(ir.inlineInterpolate).callFn(r):mt(ir.interpolate).callFn([r[0],Tt(r.slice(1))])},e.prototype.visitKeyedRead=function(e,t){var r=this.leftMostSafeNode(e);return r?this.convertSafeAccess(e,r,t):ka(t,this._visit(e.obj,wa.Expression).key(this._visit(e.key,wa.Expression)))},e.prototype.visitKeyedWrite=function(e,t){var r=this._visit(e.obj,wa.Expression),n=this._visit(e.key,wa.Expression),i=this._visit(e.value,wa.Expression);return ka(t,r.key(n).set(i))},e.prototype.visitLiteralArray=function(e,t){throw new Error("Illegal State: literal arrays should have been converted into functions")},e.prototype.visitLiteralMap=function(e,t){throw new Error("Illegal State: literal maps should have been converted into functions")},e.prototype.visitLiteralPrimitive=function(e,t){var r=null===e.value||void 0===e.value||!0===e.value||!0===e.value?ue:void 0;return ka(t,xt(e.value,r))},e.prototype._getLocal=function(e){return this._localResolver.getLocal(e)},e.prototype.visitMethodCall=function(e,t){if(e.receiver instanceof Yi&&"$any"==e.name){if(1!=(n=this.visitAll(e.args,wa.Expression)).length)throw new Error("Invalid call to $any, expected 1 argument but received "+(n.length||"none"));return n[0].cast(oe)}var r=this.leftMostSafeNode(e);if(r)return this.convertSafeAccess(e,r,t);var n=this.visitAll(e.args,wa.Expression),i=null,a=this._visit(e.receiver,wa.Expression);if(a===this._implicitReceiver){var s=this._getLocal(e.name);s&&(i=s.callFn(n))}return null==i&&(i=a.callMethod(e.name,n)),ka(t,i)},e.prototype.visitPrefixNot=function(e,t){return ka(t,(r=this._visit(e.expression,wa.Expression),new Fe(r,n)));var r,n},e.prototype.visitNonNullAssert=function(e,t){return ka(t,(r=this._visit(e.expression,wa.Expression),new Ne(r,n)));var r,n},e.prototype.visitPropertyRead=function(e,t){var r=this.leftMostSafeNode(e);if(r)return this.convertSafeAccess(e,r,t);var n=null,i=this._visit(e.receiver,wa.Expression);return i===this._implicitReceiver&&(n=this._getLocal(e.name)),null==n&&(n=i.prop(e.name)),ka(t,n)},e.prototype.visitPropertyWrite=function(e,t){var r=this._visit(e.receiver,wa.Expression),n=null;if(r===this._implicitReceiver){var i=this._getLocal(e.name);if(i){if(!(i instanceof Be))throw new Error("Cannot assign to a reference or variable!");n=i}}return null===n&&(n=r.prop(e.name)),ka(t,n.set(this._visit(e.value,wa.Expression)))},e.prototype.visitSafePropertyRead=function(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)},e.prototype.visitSafeMethodCall=function(e,t){return this.convertSafeAccess(e,this.leftMostSafeNode(e),t)},e.prototype.visitAll=function(e,t){var r=this;return e.map((function(e){return r._visit(e,t)}))},e.prototype.visitQuote=function(e,t){throw new Error("Quotes are not supported for evaluation!\n Statement: "+e.uninterpretedExpression+" located at "+e.location)},e.prototype._visit=function(e,t){var r=this._resultMap.get(e);return r||(this._nodeMap.get(e)||e).visit(this,t)},e.prototype.convertSafeAccess=function(e,t,r){var n=this._visit(t.receiver,wa.Expression),i=void 0;this.needsTemporary(t.receiver)&&(n=(i=this.allocateTemporary()).set(n),this._resultMap.set(t.receiver,i));var a=n.isBlank();t instanceof la?this._nodeMap.set(t,new ua(t.span,t.receiver,t.name,t.args)):this._nodeMap.set(t,new Hi(t.span,t.receiver,t.name));var s=this._visit(e,wa.Expression);return this._nodeMap.delete(t),i&&this.releaseTemporary(i),ka(r,a.conditional(xt(null),s))},e.prototype.leftMostSafeNode=function(e){var t=this,r=function(e,r){return(t._nodeMap.get(r)||r).visit(e)};return e.visit({visitBinary:function(e){return null},visitChain:function(e){return null},visitConditional:function(e){return null},visitFunctionCall:function(e){return null},visitImplicitReceiver:function(e){return null},visitInterpolation:function(e){return null},visitKeyedRead:function(e){return r(this,e.obj)},visitKeyedWrite:function(e){return null},visitLiteralArray:function(e){return null},visitLiteralMap:function(e){return null},visitLiteralPrimitive:function(e){return null},visitMethodCall:function(e){return r(this,e.receiver)},visitPipe:function(e){return null},visitPrefixNot:function(e){return null},visitNonNullAssert:function(e){return null},visitPropertyRead:function(e){return r(this,e.receiver)},visitPropertyWrite:function(e){return null},visitQuote:function(e){return null},visitSafeMethodCall:function(e){return r(this,e.receiver)||e},visitSafePropertyRead:function(e){return r(this,e.receiver)||e}})},e.prototype.needsTemporary=function(e){var t=this,r=function(e,r){return r&&(t._nodeMap.get(r)||r).visit(e)};return e.visit({visitBinary:function(e){return r(this,e.left)||r(this,e.right)},visitChain:function(e){return!1},visitConditional:function(e){return r(this,e.condition)||r(this,e.trueExp)||r(this,e.falseExp)},visitFunctionCall:function(e){return!0},visitImplicitReceiver:function(e){return!1},visitInterpolation:function(e){return function(e,t){return t.some((function(t){return r(e,t)}))}(this,e.expressions)},visitKeyedRead:function(e){return!1},visitKeyedWrite:function(e){return!1},visitLiteralArray:function(e){return!0},visitLiteralMap:function(e){return!0},visitLiteralPrimitive:function(e){return!1},visitMethodCall:function(e){return!0},visitPipe:function(e){return!0},visitPrefixNot:function(e){return r(this,e.expression)},visitNonNullAssert:function(e){return r(this,e.expression)},visitPropertyRead:function(e){return!1},visitPropertyWrite:function(e){return!1},visitQuote:function(e){return!1},visitSafeMethodCall:function(e){return!0},visitSafePropertyRead:function(e){return!1}})},e.prototype.allocateTemporary=function(){var e=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new ve(Fa(this.bindingId,e))},e.prototype.releaseTemporary=function(e){if(this._currentTemporary--,e.name!=Fa(this.bindingId,this._currentTemporary))throw new Error("Temporary "+e.name+" released out of order")},e}();var Ba=function(){function e(){}return e.prototype.getLocal=function(e){return e===xa.event.name?xa.event:null},e}();var ja,Ra=function(e){function t(t,r,n){var i=e.call(this,t,null,r)||this;return i.args=r,i.converter=n,i}return Object(i.b)(t,e),t}(ca);
216/**
217 * @license
218 * Copyright Google Inc. All Rights Reserved.
219 *
220 * Use of this source code is governed by an MIT-style license that can be
221 * found in the LICENSE file at https://angular.io/license
222 */!function(e){e[e.OnInit=0]="OnInit",e[e.OnDestroy=1]="OnDestroy",e[e.DoCheck=2]="DoCheck",e[e.OnChanges=3]="OnChanges",e[e.AfterContentInit=4]="AfterContentInit",e[e.AfterContentChecked=5]="AfterContentChecked",e[e.AfterViewInit=6]="AfterViewInit",e[e.AfterViewChecked=7]="AfterViewChecked"}(ja||(ja={}));var Va=[ja.OnInit,ja.OnDestroy,ja.DoCheck,ja.OnChanges,ja.AfterContentInit,ja.AfterContentChecked,ja.AfterViewInit,ja.AfterViewChecked];function qa(e,t,r){return e.hasLifecycleHook(r,function(e){switch(e){case ja.OnInit:return"ngOnInit";case ja.OnDestroy:return"ngOnDestroy";case ja.DoCheck:return"ngDoCheck";case ja.OnChanges:return"ngOnChanges";case ja.AfterContentInit:return"ngAfterContentInit";case ja.AfterContentChecked:return"ngAfterContentChecked";case ja.AfterViewInit:return"ngAfterViewInit";case ja.AfterViewChecked:return"ngAfterViewChecked";default:throw new Error("unexpected "+e)}}
223/**
224 * @license
225 * Copyright Google Inc. All Rights Reserved.
226 *
227 * Use of this source code is governed by an MIT-style license that can be
228 * found in the LICENSE file at https://angular.io/license
229 */(t))}var Ua=0,Ka=9,Xa=10,Ja=11,Ya=12,Wa=13,$a=32,Ha=34,za=36,Ga=39,Qa=43,Za=45,es=47,ts=59,rs=61,ns=62,is=48,as=57,ss=65,os=69,us=70,ls=90,cs=95,ps=97,fs=101,ds=102,hs=110,ys=114,ms=116,vs=118,gs=122,Ts=123,Es=160,Ss=96;function bs(e){return e>=Ka&&e<=$a||e==Es}function xs(e){return is<=e&&e<=as}function Ds(e){return e>=ps&&e<=gs||e>=ss&&e<=ls}
230/**
231 * @license
232 * Copyright Google Inc. All Rights Reserved.
233 *
234 * Use of this source code is governed by an MIT-style license that can be
235 * found in the LICENSE file at https://angular.io/license
236 */
237var As,Cs=function(){function e(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}return e.prototype.toString=function(){return null!=this.offset?this.file.url+"@"+this.line+":"+this.col:this.file.url},e.prototype.moveBy=function(t){for(var r=this.file.content,n=r.length,i=this.offset,a=this.line,s=this.col;i>0&&t<0;){if(i--,t++,(u=r.charCodeAt(i))==Xa){a--;var o=r.substr(0,i-1).lastIndexOf(String.fromCharCode(Xa));s=o>0?i-o:i}else s--}for(;i<n&&t>0;){var u=r.charCodeAt(i);i++,t--,u==Xa?(a++,s=0):s++}return new e(this.file,i,a,s)},e.prototype.getContext=function(e,t){var r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);for(var i=n,a=0,s=0;a<e&&n>0&&(a++,"\n"!=r[--n]||++s!=t););for(a=0,s=0;a<e&&i<r.length-1&&(a++,"\n"!=r[++i]||++s!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null},e}(),Ps=function(e,t){this.content=e,this.url=t},ws=function(){function e(e,t,r){void 0===r&&(r=null),this.start=e,this.end=t,this.details=r}return e.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},e}();!function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(As||(As={}));var _s=function(){function e(e,t,r){void 0===r&&(r=As.ERROR),this.span=e,this.msg=t,this.level=r}return e.prototype.contextualMessage=function(){var e=this.span.start.getContext(100,3);return e?this.msg+' ("'+e.before+"["+As[this.level]+" ->]"+e.after+'")':this.msg},e.prototype.toString=function(){var e=this.span.details?", "+this.span.details:"";return this.contextualMessage()+": "+this.span.start+e},e}();function Os(e,t){var r=hr(t),n=null!=r?"in "+e+" "+dr(t)+" in "+r:"in "+e+" "+dr(t),i=new Ps("",n);return new ws(new Cs(i,-1,-1,-1),new Cs(i,-1,-1,-1))}
238/**
239 * @license
240 * Copyright Google Inc. All Rights Reserved.
241 *
242 * Use of this source code is governed by an MIT-style license that can be
243 * found in the LICENSE file at https://angular.io/license
244 */var Fs=function(){function e(){this.strictStyling=!0}return e.prototype.shimCssText=function(e,t,r){void 0===r&&(r="");var n=e.match(zs)||[];e=function(e){return e.replace(Hs,"")}(e),e=this._insertDirectives(e);var a=this._scopeCssText(e,t,r);return Object(i.d)([a],n).join("\n")},e.prototype._insertDirectives=function(e){return e=this._insertPolyfillDirectivesInCssText(e),this._insertPolyfillRulesInCssText(e)},e.prototype._insertPolyfillDirectivesInCssText=function(e){return e.replace(Is,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[2]+"{"}))},e.prototype._insertPolyfillRulesInCssText=function(e){return e.replace(ks,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[0].replace(e[1],"").replace(e[2],"");return e[4]+r}))},e.prototype._scopeCssText=function(e,t,r){var n=this._extractUnscopedRulesFromCssText(e);return e=this._insertPolyfillHostInCssText(e),e=this._convertColonHost(e),e=this._convertColonHostContext(e),e=this._convertShadowDOMSelectors(e),t&&(e=this._scopeSelectors(e,t,r)),(e=e+"\n"+n).trim()},e.prototype._extractUnscopedRulesFromCssText=function(e){var t,r="";for(Ls.lastIndex=0;null!==(t=Ls.exec(e));){r+=t[0].replace(t[2],"").replace(t[1],t[4])+"\n\n"}return r},e.prototype._convertColonHost=function(e){return this._convertColonRule(e,Rs,this._colonHostPartReplacer)},e.prototype._convertColonHostContext=function(e){return this._convertColonRule(e,Vs,this._colonHostContextPartReplacer)},e.prototype._convertColonRule=function(e,t,r){return e.replace(t,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e[2]){for(var n=e[2].split(","),i=[],a=0;a<n.length;a++){var s=n[a].trim();if(!s)break;i.push(r(qs,s,e[3]))}return i.join(",")}return qs+e[3]}))},e.prototype._colonHostContextPartReplacer=function(e,t,r){return t.indexOf(Ms)>-1?this._colonHostPartReplacer(e,t,r):e+t+r+", "+t+" "+e+r},e.prototype._colonHostPartReplacer=function(e,t,r){return e+t.replace(Ms,"")+r},e.prototype._convertShadowDOMSelectors=function(e){return Ks.reduce((function(e,t){return e.replace(t," ")}),e)},e.prototype._scopeSelectors=function(e,t,r){var n,i,a,s=this;return n=function(e){var n=e.selector,i=e.content;return"@"!=e.selector[0]?n=s._scopeSelector(e.selector,t,r,s.strictStyling):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(i=s._scopeSelectors(e.content,t,r)),new ro(n,i)},i=function(e){for(var t=e.split(Qs),r=[],n=[],i=0,a=[],s=0;s<t.length;s++){var o=t[s];o==eo&&i--,i>0?a.push(o):(a.length>0&&(n.push(a.join("")),r.push(to),a=[]),r.push(o)),o==Zs&&i++}return a.length>0&&(n.push(a.join("")),r.push(to)),new no(r.join(""),n)}
245/**
246 * @license
247 * Copyright Google Inc. All Rights Reserved.
248 *
249 * Use of this source code is governed by an MIT-style license that can be
250 * found in the LICENSE file at https://angular.io/license
251 */(e),a=0,i.escapedString.replace(Gs,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[2],s="",o=e[4],u="";o&&o.startsWith("{"+to)&&(s=i.blocks[a++],o=o.substring(to.length+1),u="{");var l=n(new ro(r,s));return""+e[1]+l.selector+e[3]+u+l.content+o}))},e.prototype._scopeSelector=function(e,t,r,n){var a=this;return e.split(",").map((function(e){return e.trim().split(Xs)})).map((function(e){var s=Object(i.c)(e),o=s[0],u=s.slice(1);return Object(i.d)([function(e){return a._selectorNeedsScoping(e,t)?n?a._applyStrictSelectorScope(e,t,r):a._applySelectorScope(e,t,r):e}(o)],u).join(" ")})).join(", ")},e.prototype._selectorNeedsScoping=function(e,t){return!this._makeScopeMatcher(t).test(e)},e.prototype._makeScopeMatcher=function(e){return e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+e+")"+Js,"m")},e.prototype._applySelectorScope=function(e,t,r){return this._applySimpleSelectorScope(e,t,r)},e.prototype._applySimpleSelectorScope=function(e,t,r){if(Ys.lastIndex=0,Ys.test(e)){var n=this.strictStyling?"["+r+"]":t;return e.replace(Us,(function(e,t){return t.replace(/([^:]*)(:*)(.*)/,(function(e,t,r,i){return t+n+r+i}))})).replace(Ys,n+" ")}return t+" "+e},e.prototype._applyStrictSelectorScope=function(e,t,r){for(var n,i=this,a="["+(t=t.replace(/\[is=([^\]]*)\]/g,(function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t[0]})))+"]",s=function(e){var n=e.trim();if(!n)return"";if(e.indexOf(qs)>-1)n=i._applySimpleSelectorScope(e,t,r);else{var s=e.replace(Ys,"");if(s.length>0){var o=s.match(/([^:]*)(:*)(.*)/);o&&(n=o[1]+a+o[2]+o[3])}}return n},o=new Ns(e),u="",l=0,c=/( |>|\+|~(?!=))\s*/g,p=!((e=o.content()).indexOf(qs)>-1);null!==(n=c.exec(e));){var f=n[1],d=e.slice(l,n.index).trim();u+=((p=p||d.indexOf(qs)>-1)?s(d):d)+" "+f+" ",l=c.lastIndex}var h=e.substring(l);return u+=(p=p||h.indexOf(qs)>-1)?s(h):h,o.restore(u)},e.prototype._insertPolyfillHostInCssText=function(e){return e.replace($s,Bs).replace(Ws,Ms)},e}(),Ns=function(){function e(e){var t=this;this.placeholders=[],this.index=0,e=e.replace(/(\[[^\]]*\])/g,(function(e,r){var n="__ph-"+t.index+"__";return t.placeholders.push(r),t.index++,n})),this._content=e.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(function(e,r,n){var i="__ph-"+t.index+"__";return t.placeholders.push(n),t.index++,r+i}))}return e.prototype.restore=function(e){var t=this;return e.replace(/__ph-(\d+)__/g,(function(e,r){return t.placeholders[+r]}))},e.prototype.content=function(){return this._content},e}(),Is=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,ks=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Ls=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,Ms="-shadowcsshost",Bs="-shadowcsscontext",js=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Rs=new RegExp("("+Ms+js,"gim"),Vs=new RegExp("("+Bs+js,"gim"),qs=Ms+"-no-combinator",Us=/-shadowcsshost-no-combinator([^\s]*)/,Ks=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],Xs=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,Js="([>\\s~+[.,{:][\\s\\S]*)?$",Ys=/-shadowcsshost/gim,Ws=/:host/gim,$s=/:host-context/gim,Hs=/\/\*\s*[\s\S]*?\*\//g;var zs=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;var Gs=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Qs=/([{}])/g,Zs="{",eo="}",to="%BLOCK%",ro=function(e,t){this.selector=e,this.content=t};var no=function(e,t){this.escapedString=e,this.blocks=t};var io="_nghost-%COMP%",ao="_ngcontent-%COMP%",so=function(e,t,r){this.name=e,this.moduleUrl=t,this.setValue=r},oo=function(e,t,r,n,i){this.outputCtx=e,this.stylesVar=t,this.dependencies=r,this.isShimmed=n,this.meta=i},uo=function(){function e(e){this._urlResolver=e,this._shadowCss=new Fs}return e.prototype.compileComponent=function(e,t){var r=t.template;return this._compileStyles(e,t,new Sr({styles:r.styles,styleUrls:r.styleUrls,moduleUrl:hr(t.type)}),this.needsStyleShim(t),!0)},e.prototype.compileStyles=function(e,t,r,n){return void 0===n&&(n=this.needsStyleShim(t)),this._compileStyles(e,t,r,n,!1)},e.prototype.needsStyleShim=function(e){return e.template.encapsulation===v.Emulated},e.prototype._compileStyles=function(e,t,r,n,i){var a=this,s=r.styles.map((function(e){return xt(a._shimIfNeeded(e,n))})),o=[];r.styleUrls.forEach((function(t){var r=s.length;s.push(null),o.push(new so(lo(null),t,(function(t){return s[r]=e.importExpr(t)})))}));var u=lo(i?t:null),l=yt(u).set(Tt(s,new ae(oe,[Q.Const]))).toDeclStmt(null,i?[xe.Final]:[xe.Final,xe.Exported]);return e.statements.push(l),new oo(e,u,o,n,r)},e.prototype._shimIfNeeded=function(e,t){return t?this._shadowCss.shimCssText(e,ao,io):e},e}();function lo(e){var t="styles";return e&&(t+="_"+dr(e.type)),t}
252/**
253 * @license
254 * Copyright Google Inc. All Rights Reserved.
255 *
256 * Use of this source code is governed by an MIT-style license that can be
257 * found in the LICENSE file at https://angular.io/license
258 */function co(e){var t=e.charCodeAt(0);if(t==e.charCodeAt(e.length-1)&&(39==t||34==t)){var r=e.substring(1,e.length-1);-1==r.indexOf("'")&&-1==r.indexOf('"')&&(e=r)}return e}function po(e){return e.replace(/[a-z][A-Z]/g,(function(e){return e.charAt(0)+"-"+e.charAt(1)})).toLowerCase()}var fo,ho=function(){function e(e,t){this._elementIndexExpr=e,this._directiveIndexExpr=t,this.hasBindingsOrInitialValues=!1,this._classMapInput=null,this._styleMapInput=null,this._singleStyleInputs=null,this._singleClassInputs=null,this._lastStylingInput=null,this._stylesIndex=new Map,this._classesIndex=new Map,this._initialStyleValues={},this._initialClassValues={},this._useDefaultSanitizer=!1,this._applyFnRequired=!1}return e.prototype.registerBoundInput=function(e){var t=e.name,r=null;switch(e.type){case 0:"style"==t?r=this.registerStyleInput(null,e.value,"",e.sourceSpan):function(e){return"className"==e||"class"==e}(e.name)&&(r=this.registerClassInput(null,e.value,e.sourceSpan));break;case 3:r=this.registerStyleInput(e.name,e.value,e.unit,e.sourceSpan);break;case 2:r=this.registerClassInput(e.name,e.value,e.sourceSpan)}return!!r},e.prototype.registerStyleInput=function(e,t,r,n){var i,a={name:e,unit:r,value:t,sourceSpan:n};return e?((this._singleStyleInputs=this._singleStyleInputs||[]).push(a),this._useDefaultSanitizer=this._useDefaultSanitizer||("background-image"===(i=e)||"background"===i||"border-image"===i||"filter"===i||"list-style"===i||"list-style-image"===i),yo(this._stylesIndex,e),this.hasBindingsOrInitialValues=!0):(this._useDefaultSanitizer=!0,this._styleMapInput=a),this._lastStylingInput=a,this.hasBindingsOrInitialValues=!0,this._applyFnRequired=!0,a},e.prototype.registerClassInput=function(e,t,r){var n={name:e,value:t,sourceSpan:r};return e?((this._singleClassInputs=this._singleClassInputs||[]).push(n),this.hasBindingsOrInitialValues=!0,yo(this._classesIndex,e)):this._classMapInput=n,this._lastStylingInput=n,this.hasBindingsOrInitialValues=!0,this._applyFnRequired=!0,n},e.prototype.registerStyleAttr=function(e){var t=this;this._initialStyleValues=function(e){for(var t={},r=0,n=0,i=0,a=0,s=0,o=null,u=!1;r<e.length;){switch(e.charCodeAt(r++)){case 40:n++;break;case 41:n--;break;case 39:u=u||a>0,0===i?i=39:39===i&&92!==e.charCodeAt(r-1)&&(i=0);break;case 34:u=u||a>0,0===i?i=34:34===i&&92!==e.charCodeAt(r-1)&&(i=0);break;case 58:o||0!==n||0!==i||(o=po(e.substring(s,r-1).trim()),a=r);break;case 59:if(o&&a>0&&0===n&&0===i){var l=e.substring(a,r-1).trim();t[o]=u?co(l):l,s=r,a=0,o=null,u=!1}}}if(o&&a){l=e.substr(a).trim();t[o]=u?co(l):l}return t}(e),Object.keys(this._initialStyleValues).forEach((function(e){yo(t._stylesIndex,e),t.hasBindingsOrInitialValues=!0}))},e.prototype.registerClassAttr=function(e){var t=this;this._initialClassValues={},e.split(/\s+/g).forEach((function(e){t._initialClassValues[e]=!0,yo(t._classesIndex,e),t.hasBindingsOrInitialValues=!0}))},e.prototype._buildInitExpr=function(e,t){var r=[],n=[];return e.forEach((function(e,i){var a=xt(i);r.push(a);var s=t[i];s&&n.push(a,xt(s))})),n.length&&(r.push(xt(1)),r.push.apply(r,Object(i.d)(n))),r.length?Tt(r):null},e.prototype.buildCreateLevelInstruction=function(e,t){if(this.hasBindingsOrInitialValues){var r=this._buildInitExpr(this._classesIndex,this._initialClassValues),n=this._buildInitExpr(this._stylesIndex,this._initialStyleValues),i=this._useDefaultSanitizer,a=[];return r?a.push(t.getConstLiteral(r,!0)):(n||i)&&a.push(Ke),n?a.push(t.getConstLiteral(n,!0)):(i||this._directiveIndexExpr)&&a.push(Ke),(i||this._directiveIndexExpr)&&(a.push(i?mt(Br.defaultStyleSanitizer):Ke),this._directiveIndexExpr&&a.push(this._directiveIndexExpr)),{sourceSpan:e,reference:Br.elementStyling,buildParams:function(){return a}}}return null},e.prototype._buildStylingMap=function(e){var t=this;if(this._classMapInput||this._styleMapInput){var r=this._classMapInput||this._styleMapInput,n=this._classMapInput?this._classMapInput.value.visit(e):null,i=this._styleMapInput?this._styleMapInput.value.visit(e):null;return{sourceSpan:r.sourceSpan,reference:Br.elementStylingMap,buildParams:function(e){var r=[t._elementIndexExpr];return n?r.push(e(n)):t._styleMapInput&&r.push(Ke),i?r.push(e(i)):t._directiveIndexExpr&&r.push(Ke),t._directiveIndexExpr&&r.push(t._directiveIndexExpr),r}}}return null},e.prototype._buildSingleInputs=function(e,t,r,n,i){var a=this;return t.map((function(t){var s=r.get(t.name),o=t.value.visit(i);return{sourceSpan:t.sourceSpan,reference:e,buildParams:function(e){var r=[a._elementIndexExpr,xt(s),e(o)];return n&&(t.unit?r.push(xt(t.unit)):a._directiveIndexExpr&&r.push(Ke)),a._directiveIndexExpr&&r.push(a._directiveIndexExpr),r}}}))},e.prototype._buildClassInputs=function(e){return this._singleClassInputs?this._buildSingleInputs(Br.elementClassProp,this._singleClassInputs,this._classesIndex,!1,e):[]},e.prototype._buildStyleInputs=function(e){return this._singleStyleInputs?this._buildSingleInputs(Br.elementStyleProp,this._singleStyleInputs,this._stylesIndex,!0,e):[]},e.prototype._buildApplyFn=function(){var e=this;return{sourceSpan:this._lastStylingInput?this._lastStylingInput.sourceSpan:null,reference:Br.elementStylingApply,buildParams:function(){var t=[e._elementIndexExpr];return e._directiveIndexExpr&&t.push(e._directiveIndexExpr),t}}},e.prototype.buildUpdateLevelInstructions=function(e){var t=[];if(this.hasBindingsOrInitialValues){var r=this._buildStylingMap(e);r&&t.push(r),t.push.apply(t,Object(i.d)(this._buildStyleInputs(e))),t.push.apply(t,Object(i.d)(this._buildClassInputs(e))),this._applyFnRequired&&t.push(this._buildApplyFn())}return t},e}();function yo(e,t){e.has(t)||e.set(t,e.size)}!function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.Keyword=2]="Keyword",e[e.String=3]="String",e[e.Operator=4]="Operator",e[e.Number=5]="Number",e[e.Error=6]="Error"}(fo||(fo={}));var mo=["var","let","as","null","undefined","true","false","if","else","this"],vo=function(){function e(){}return e.prototype.tokenize=function(e){for(var t=new bo(e),r=[],n=t.scanToken();null!=n;)r.push(n),n=t.scanToken();return r},e}(),go=function(){function e(e,t,r,n){this.index=e,this.type=t,this.numValue=r,this.strValue=n}return e.prototype.isCharacter=function(e){return this.type==fo.Character&&this.numValue==e},e.prototype.isNumber=function(){return this.type==fo.Number},e.prototype.isString=function(){return this.type==fo.String},e.prototype.isOperator=function(e){return this.type==fo.Operator&&this.strValue==e},e.prototype.isIdentifier=function(){return this.type==fo.Identifier},e.prototype.isKeyword=function(){return this.type==fo.Keyword},e.prototype.isKeywordLet=function(){return this.type==fo.Keyword&&"let"==this.strValue},e.prototype.isKeywordAs=function(){return this.type==fo.Keyword&&"as"==this.strValue},e.prototype.isKeywordNull=function(){return this.type==fo.Keyword&&"null"==this.strValue},e.prototype.isKeywordUndefined=function(){return this.type==fo.Keyword&&"undefined"==this.strValue},e.prototype.isKeywordTrue=function(){return this.type==fo.Keyword&&"true"==this.strValue},e.prototype.isKeywordFalse=function(){return this.type==fo.Keyword&&"false"==this.strValue},e.prototype.isKeywordThis=function(){return this.type==fo.Keyword&&"this"==this.strValue},e.prototype.isError=function(){return this.type==fo.Error},e.prototype.toNumber=function(){return this.type==fo.Number?this.numValue:-1},e.prototype.toString=function(){switch(this.type){case fo.Character:case fo.Identifier:case fo.Keyword:case fo.Operator:case fo.String:case fo.Error:return this.strValue;case fo.Number:return this.numValue.toString();default:return null}},e}();function To(e,t){return new go(e,fo.Character,t,String.fromCharCode(t))}function Eo(e,t){return new go(e,fo.Operator,0,t)}var So=new go(-1,fo.Character,0,""),bo=function(){function e(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}return e.prototype.advance=function(){this.peek=++this.index>=this.length?Ua:this.input.charCodeAt(this.index)},e.prototype.scanToken=function(){for(var e=this.input,t=this.length,r=this.peek,n=this.index;r<=$a;){if(++n>=t){r=Ua;break}r=e.charCodeAt(n)}if(this.peek=r,this.index=n,n>=t)return null;if(xo(r))return this.scanIdentifier();if(xs(r))return this.scanNumber(n);var i=n;switch(r){case 46:return this.advance(),xs(this.peek)?this.scanNumber(i):To(i,46);case 40:case 41:case Ts:case 125:case 91:case 93:case 44:case 58:case ts:return this.scanCharacter(i,r);case Ga:case Ha:return this.scanString();case 35:case Qa:case Za:case 42:case es:case 37:case 94:return this.scanOperator(i,String.fromCharCode(r));case 63:return this.scanComplexOperator(i,"?",46,".");case 60:case ns:return this.scanComplexOperator(i,String.fromCharCode(r),rs,"=");case 33:case rs:return this.scanComplexOperator(i,String.fromCharCode(r),rs,"=",rs,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case Es:for(;bs(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+String.fromCharCode(r)+"]",0)},e.prototype.scanCharacter=function(e,t){return this.advance(),To(e,t)},e.prototype.scanOperator=function(e,t){return this.advance(),Eo(e,t)},e.prototype.scanComplexOperator=function(e,t,r,n,i,a){this.advance();var s=t;return this.peek==r&&(this.advance(),s+=n),null!=i&&this.peek==i&&(this.advance(),s+=a),Eo(e,s)},e.prototype.scanIdentifier=function(){var e=this.index;for(this.advance();Ao(this.peek);)this.advance();var t,r=this.input.substring(e,this.index);return mo.indexOf(r)>-1?(t=r,new go(e,fo.Keyword,0,t)):function(e,t){return new go(e,fo.Identifier,0,t)}(e,r)},e.prototype.scanNumber=function(e){var t,r=this.index===e;for(this.advance();;){if(xs(this.peek));else if(46==this.peek)r=!1;else{if((t=this.peek)!=fs&&t!=os)break;if(this.advance(),Co(this.peek)&&this.advance(),!xs(this.peek))return this.error("Invalid exponent",-1);r=!1}this.advance()}var n,i=this.input.substring(e,this.index),a=r?function(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}
259/**
260 * @license
261 * Copyright Google Inc. All Rights Reserved.
262 *
263 * Use of this source code is governed by an MIT-style license that can be
264 * found in the LICENSE file at https://angular.io/license
265 */(i):parseFloat(i);return n=a,new go(e,fo.Number,n,"")},e.prototype.scanString=function(){var e=this.index,t=this.peek;this.advance();for(var r="",n=this.index,i=this.input;this.peek!=t;)if(92==this.peek){r+=i.substring(n,this.index),this.advance();var a=void 0;if(this.peek=this.peek,117==this.peek){var s=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(s))return this.error("Invalid unicode escape [\\u"+s+"]",0);a=parseInt(s,16);for(var o=0;o<5;o++)this.advance()}else a=wo(this.peek),this.advance();r+=String.fromCharCode(a),n=this.index}else{if(this.peek==Ua)return this.error("Unterminated quote",0);this.advance()}var u,l=i.substring(n,this.index);return this.advance(),u=r+l,new go(e,fo.String,0,u)},e.prototype.error=function(e,t){var r=this.index+t;return function(e,t){return new go(e,fo.Error,0,t)}(r,"Lexer Error: "+e+" at column "+r+" in expression ["+this.input+"]")},e}();function xo(e){return ps<=e&&e<=gs||ss<=e&&e<=ls||e==cs||e==za}function Do(e){if(0==e.length)return!1;var t=new bo(e);if(!xo(t.peek))return!1;for(t.advance();t.peek!==Ua;){if(!Ao(t.peek))return!1;t.advance()}return!0}function Ao(e){return Ds(e)||xs(e)||e==cs||e==za}function Co(e){return e==Za||e==Qa}function Po(e){return e===Ga||e===Ha||e===Ss}function wo(e){switch(e){case hs:return Xa;case ds:return Ya;case ys:return Wa;case ms:return Ka;case vs:return Ja;default:return e}}function _o(e,t){if(null!=t){if(!Array.isArray(t))throw new Error("Expected '"+e+"' to be an array of strings.");for(var r=0;r<t.length;r+=1)if("string"!=typeof t[r])throw new Error("Expected '"+e+"' to be an array of strings.")}}var Oo=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Fo(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error("Expected '"+e+"' to be an array, [start, end].");if(null!=t){var r=t[0],n=t[1];Oo.forEach((function(e){if(e.test(r)||e.test(n))throw new Error("['"+r+"', '"+n+"'] contains unusable interpolation symbol.")}))}}
266/**
267 * @license
268 * Copyright Google Inc. All Rights Reserved.
269 *
270 * Use of this source code is governed by an MIT-style license that can be
271 * found in the LICENSE file at https://angular.io/license
272 */var No=function(){function e(e,t){this.start=e,this.end=t}return e.fromArray=function(t){return t?(Fo("interpolation",t),new e(t[0],t[1])):Io},e}(),Io=new No("{{","}}"),ko=function(e,t,r){this.strings=e,this.expressions=t,this.offsets=r},Lo=function(e,t,r){this.templateBindings=e,this.warnings=t,this.errors=r};function Mo(e){var t=qt(e.start)+"([\\s\\S]*?)"+qt(e.end);return new RegExp(t,"g")}var Bo=function(){function e(e){this._lexer=e,this.errors=[]}return e.prototype.parseAction=function(e,t,r){void 0===r&&(r=Io),this._checkNoInterpolation(e,t,r);var n=this._stripComments(e),i=this._lexer.tokenize(this._stripComments(e)),a=new jo(e,t,i,n.length,!0,this.errors,e.length-n.length).parseChain();return new pa(a,e,t,this.errors)},e.prototype.parseBinding=function(e,t,r){void 0===r&&(r=Io);var n=this._parseBindingAst(e,t,r);return new pa(n,e,t,this.errors)},e.prototype.parseSimpleBinding=function(e,t,r){void 0===r&&(r=Io);var n=this._parseBindingAst(e,t,r),i=Ro.check(n);return i.length>0&&this._reportError("Host binding expression cannot contain "+i.join(" "),e,t),new pa(n,e,t,this.errors)},e.prototype._reportError=function(e,t,r,n){this.errors.push(new qi(e,t,r,n))},e.prototype._parseBindingAst=function(e,t,r){var n=this._parseQuote(e,t);if(null!=n)return n;this._checkNoInterpolation(e,t,r);var i=this._stripComments(e),a=this._lexer.tokenize(i);return new jo(e,t,a,i.length,!1,this.errors,e.length-i.length).parseChain()},e.prototype._parseQuote=function(e,t){if(null==e)return null;var r=e.indexOf(":");if(-1==r)return null;var n=e.substring(0,r).trim();if(!Do(n))return null;var i=e.substring(r+1);return new Xi(new Ui(0,e.length),n,i,t)},e.prototype.parseTemplateBindings=function(e,t,r){var n=this._lexer.tokenize(t);return new jo(t,r,n,t.length,!1,this.errors,0).parseTemplateBindings(e)},e.prototype.parseInterpolation=function(e,t,r){void 0===r&&(r=Io);var n=this.splitInterpolation(e,t,r);if(null==n)return null;for(var i=[],a=0;a<n.expressions.length;++a){var s=n.expressions[a],o=this._stripComments(s),u=this._lexer.tokenize(o),l=new jo(e,t,u,o.length,!1,this.errors,n.offsets[a]+(s.length-o.length)).parseChain();i.push(l)}return new pa(new ia(new Ui(0,null==e?0:e.length),n.strings,i),e,t,this.errors)},e.prototype.splitInterpolation=function(e,t,r){void 0===r&&(r=Io);var n=Mo(r),i=e.split(n);if(i.length<=1)return null;for(var a=[],s=[],o=[],u=0,l=0;l<i.length;l++){var c=i[l];l%2==0?(a.push(c),u+=c.length):c.trim().length>0?(u+=r.start.length,s.push(c),o.push(u),u+=c.length+r.end.length):(this._reportError("Blank expressions are not allowed in interpolated strings",e,"at column "+this._findInterpolationErrorColumn(i,l,r)+" in",t),s.push("$implict"),o.push(u))}return new ko(a,s,o)},e.prototype.wrapLiteralPrimitive=function(e,t){return new pa(new ta(new Ui(0,null==e?0:e.length),e),e,t,this.errors)},e.prototype._stripComments=function(e){var t=this._commentStart(e);return null!=t?e.substring(0,t).trim():e},e.prototype._commentStart=function(e){for(var t=null,r=0;r<e.length-1;r++){var n=e.charCodeAt(r),i=e.charCodeAt(r+1);if(n===es&&i==es&&null==t)return r;t===n?t=null:null==t&&Po(n)&&(t=n)}return null},e.prototype._checkNoInterpolation=function(e,t,r){var n=Mo(r),i=e.split(n);i.length>1&&this._reportError("Got interpolation ("+r.start+r.end+") where expression was expected",e,"at column "+this._findInterpolationErrorColumn(i,1,r)+" in",t)},e.prototype._findInterpolationErrorColumn=function(e,t,r){for(var n="",i=0;i<t;i++)n+=i%2==0?e[i]:""+r.start+e[i]+r.end;return n.length},e}(),jo=function(){function e(e,t,r,n,i,a,s){this.input=e,this.location=t,this.tokens=r,this.inputLength=n,this.parseAction=i,this.errors=a,this.offset=s,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.index=0}return e.prototype.peek=function(e){var t=this.index+e;return t<this.tokens.length?this.tokens[t]:So},Object.defineProperty(e.prototype,"next",{get:function(){return this.peek(0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"inputIndex",{get:function(){return this.index<this.tokens.length?this.next.index+this.offset:this.inputLength+this.offset},enumerable:!0,configurable:!0}),e.prototype.span=function(e){return new Ui(e,this.inputIndex)},e.prototype.advance=function(){this.index++},e.prototype.optionalCharacter=function(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)},e.prototype.peekKeywordLet=function(){return this.next.isKeywordLet()},e.prototype.peekKeywordAs=function(){return this.next.isKeywordAs()},e.prototype.expectCharacter=function(e){this.optionalCharacter(e)||this.error("Missing expected "+String.fromCharCode(e))},e.prototype.optionalOperator=function(e){return!!this.next.isOperator(e)&&(this.advance(),!0)},e.prototype.expectOperator=function(e){this.optionalOperator(e)||this.error("Missing expected operator "+e)},e.prototype.expectIdentifierOrKeyword=function(){var e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(this.error("Unexpected token "+e+", expected identifier or keyword"),"")},e.prototype.expectIdentifierOrKeywordOrString=function(){var e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(this.error("Unexpected token "+e+", expected identifier, keyword, or string"),"")},e.prototype.parseChain=function(){for(var e=[],t=this.inputIndex;this.index<this.tokens.length;){var r=this.parsePipe();if(e.push(r),this.optionalCharacter(ts))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.optionalCharacter(ts););else this.index<this.tokens.length&&this.error("Unexpected token '"+this.next+"'")}return 0==e.length?new Ji(this.span(t)):1==e.length?e[0]:new Wi(this.span(t),e)},e.prototype.parsePipe=function(){var e=this.parseExpression();if(this.optionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{for(var t=this.expectIdentifierOrKeyword(),r=[];this.optionalCharacter(58);)r.push(this.parseExpression());e=new ea(this.span(e.span.start),e,t,r)}while(this.optionalOperator("|"))}return e},e.prototype.parseExpression=function(){return this.parseConditional()},e.prototype.parseConditional=function(){var e=this.inputIndex,t=this.parseLogicalOr();if(this.optionalOperator("?")){var r=this.parsePipe(),n=void 0;if(this.optionalCharacter(58))n=this.parsePipe();else{var i=this.inputIndex,a=this.input.substring(e,i);this.error("Conditional expression "+a+" requires all 3 expressions"),n=new Ji(this.span(e))}return new $i(this.span(e),t,r,n)}return t},e.prototype.parseLogicalOr=function(){for(var e=this.parseLogicalAnd();this.optionalOperator("||");){var t=this.parseLogicalAnd();e=new aa(this.span(e.span.start),"||",e,t)}return e},e.prototype.parseLogicalAnd=function(){for(var e=this.parseEquality();this.optionalOperator("&&");){var t=this.parseEquality();e=new aa(this.span(e.span.start),"&&",e,t)}return e},e.prototype.parseEquality=function(){for(var e=this.parseRelational();this.next.type==fo.Operator;){var t=this.next.strValue;switch(t){case"==":case"===":case"!=":case"!==":this.advance();var r=this.parseRelational();e=new aa(this.span(e.span.start),t,e,r);continue}break}return e},e.prototype.parseRelational=function(){for(var e=this.parseAdditive();this.next.type==fo.Operator;){var t=this.next.strValue;switch(t){case"<":case">":case"<=":case">=":this.advance();var r=this.parseAdditive();e=new aa(this.span(e.span.start),t,e,r);continue}break}return e},e.prototype.parseAdditive=function(){for(var e=this.parseMultiplicative();this.next.type==fo.Operator;){var t=this.next.strValue;switch(t){case"+":case"-":this.advance();var r=this.parseMultiplicative();e=new aa(this.span(e.span.start),t,e,r);continue}break}return e},e.prototype.parseMultiplicative=function(){for(var e=this.parsePrefix();this.next.type==fo.Operator;){var t=this.next.strValue;switch(t){case"*":case"%":case"/":this.advance();var r=this.parsePrefix();e=new aa(this.span(e.span.start),t,e,r);continue}break}return e},e.prototype.parsePrefix=function(){if(this.next.type==fo.Operator){var e=this.inputIndex,t=this.next.strValue,r=void 0;switch(t){case"+":return this.advance(),r=this.parsePrefix(),new aa(this.span(e),"-",r,new ta(new Ui(e,e),0));case"-":return this.advance(),r=this.parsePrefix(),new aa(this.span(e),t,new ta(new Ui(e,e),0),r);case"!":return this.advance(),r=this.parsePrefix(),new sa(this.span(e),r)}}return this.parseCallChain()},e.prototype.parseCallChain=function(){for(var e=this.parsePrimary();;)if(this.optionalCharacter(46))e=this.parseAccessMemberOrMethodCall(e,!1);else if(this.optionalOperator("?."))e=this.parseAccessMemberOrMethodCall(e,!0);else if(this.optionalCharacter(91)){this.rbracketsExpected++;var t=this.parsePipe();if(this.rbracketsExpected--,this.expectCharacter(93),this.optionalOperator("=")){var r=this.parseConditional();e=new Zi(this.span(e.span.start),e,t,r)}else e=new Qi(this.span(e.span.start),e,t)}else if(this.optionalCharacter(40)){this.rparensExpected++;var n=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(41),e=new ca(this.span(e.span.start),e,n)}else{if(!this.optionalOperator("!"))return e;e=new oa(this.span(e.span.start),e)}},e.prototype.parsePrimary=function(){var e=this.inputIndex;if(this.optionalCharacter(40)){this.rparensExpected++;var t=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),t}if(this.next.isKeywordNull())return this.advance(),new ta(this.span(e),null);if(this.next.isKeywordUndefined())return this.advance(),new ta(this.span(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new ta(this.span(e),!0);if(this.next.isKeywordFalse())return this.advance(),new ta(this.span(e),!1);if(this.next.isKeywordThis())return this.advance(),new Yi(this.span(e));if(this.optionalCharacter(91)){this.rbracketsExpected++;var r=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new ra(this.span(e),r)}if(this.next.isCharacter(Ts))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new Yi(this.span(e)),!1);if(this.next.isNumber()){var n=this.next.toNumber();return this.advance(),new ta(this.span(e),n)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new ta(this.span(e),i)}return this.index>=this.tokens.length?(this.error("Unexpected end of expression: "+this.input),new Ji(this.span(e))):(this.error("Unexpected token "+this.next),new Ji(this.span(e)))},e.prototype.parseExpressionList=function(e){var t=[];if(!this.next.isCharacter(e))do{t.push(this.parsePipe())}while(this.optionalCharacter(44));return t},e.prototype.parseLiteralMap=function(){var e=[],t=[],r=this.inputIndex;if(this.expectCharacter(Ts),!this.optionalCharacter(125)){this.rbracesExpected++;do{var n=this.next.isString(),i=this.expectIdentifierOrKeywordOrString();e.push({key:i,quoted:n}),this.expectCharacter(58),t.push(this.parsePipe())}while(this.optionalCharacter(44));this.rbracesExpected--,this.expectCharacter(125)}return new na(this.span(r),e,t)},e.prototype.parseAccessMemberOrMethodCall=function(e,t){void 0===t&&(t=!1);var r=e.span.start,n=this.expectIdentifierOrKeyword();if(this.optionalCharacter(40)){this.rparensExpected++;var i=this.parseCallArguments();this.expectCharacter(41),this.rparensExpected--;var a=this.span(r);return t?new la(a,e,n,i):new ua(a,e,n,i)}if(t)return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new Ji(this.span(r))):new Gi(this.span(r),e,n);if(this.optionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new Ji(this.span(r));var s=this.parseConditional();return new zi(this.span(r),e,n,s)}return new Hi(this.span(r),e,n)},e.prototype.parseCallArguments=function(){if(this.next.isCharacter(41))return[];var e=[];do{e.push(this.parsePipe())}while(this.optionalCharacter(44));return e},e.prototype.expectTemplateBindingKey=function(){var e="",t=!1;do{e+=this.expectIdentifierOrKeywordOrString(),(t=this.optionalOperator("-"))&&(e+="-")}while(t);return e.toString()},e.prototype.parseTemplateBindings=function(e){var t=!0,r=[];do{var n=this.inputIndex,i=void 0,a=void 0,s=!1;t?(i=a=e,t=!1):((s=this.peekKeywordLet())&&this.advance(),i=this.expectTemplateBindingKey(),a=s?i:e+i[0].toUpperCase()+i.substring(1),this.optionalCharacter(58));var o=null,u=null;if(s)o=this.optionalOperator("=")?this.expectTemplateBindingKey():"$implicit";else if(this.peekKeywordAs())this.advance(),o=i,a=this.expectTemplateBindingKey(),s=!0;else if(this.next!==So&&!this.peekKeywordLet()){var l=this.inputIndex,c=this.parsePipe(),p=this.input.substring(l-this.offset,this.inputIndex-this.offset);u=new pa(c,p,this.location,this.errors)}if(r.push(new fa(this.span(n),a,s,o,u)),this.peekKeywordAs()&&!s){var f=this.inputIndex;this.advance();var d=this.expectTemplateBindingKey();r.push(new fa(this.span(f),d,!0,a,null))}this.optionalCharacter(ts)||this.optionalCharacter(44)}while(this.index<this.tokens.length);return new Lo(r,[],this.errors)},e.prototype.error=function(e,t){void 0===t&&(t=null),this.errors.push(new qi(e,this.input,this.locationText(t),this.location)),this.skip()},e.prototype.locationText=function(e){return void 0===e&&(e=null),null==e&&(e=this.index),e<this.tokens.length?"at column "+(this.tokens[e].index+1)+" in":"at the end of the expression"},e.prototype.skip=function(){for(var e=this.next;this.index<this.tokens.length&&!e.isCharacter(ts)&&(this.rparensExpected<=0||!e.isCharacter(41))&&(this.rbracesExpected<=0||!e.isCharacter(125))&&(this.rbracketsExpected<=0||!e.isCharacter(93));)this.next.isError()&&this.errors.push(new qi(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next},e}(),Ro=function(){function e(){this.errors=[]}return e.check=function(t){var r=new e;return t.visit(r),r.errors},e.prototype.visitImplicitReceiver=function(e,t){},e.prototype.visitInterpolation=function(e,t){},e.prototype.visitLiteralPrimitive=function(e,t){},e.prototype.visitPropertyRead=function(e,t){},e.prototype.visitPropertyWrite=function(e,t){},e.prototype.visitSafePropertyRead=function(e,t){},e.prototype.visitMethodCall=function(e,t){},e.prototype.visitSafeMethodCall=function(e,t){},e.prototype.visitFunctionCall=function(e,t){},e.prototype.visitLiteralArray=function(e,t){this.visitAll(e.expressions)},e.prototype.visitLiteralMap=function(e,t){this.visitAll(e.values)},e.prototype.visitBinary=function(e,t){},e.prototype.visitPrefixNot=function(e,t){},e.prototype.visitNonNullAssert=function(e,t){},e.prototype.visitConditional=function(e,t){},e.prototype.visitPipe=function(e,t){this.errors.push("pipes")},e.prototype.visitKeyedRead=function(e,t){},e.prototype.visitKeyedWrite=function(e,t){},e.prototype.visitAll=function(e){var t=this;return e.map((function(e){return e.visit(t)}))},e.prototype.visitChain=function(e,t){},e.prototype.visitQuote=function(e,t){},e}(),Vo=function(){function e(e,t){void 0===t&&(t=-1),this.path=e,this.position=t}return Object.defineProperty(e.prototype,"empty",{get:function(){return!this.path||!this.path.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"head",{get:function(){return this.path[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tail",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),e.prototype.parentOf=function(e){return e&&this.path[this.path.indexOf(e)-1]},e.prototype.childOf=function(e){return this.path[this.path.indexOf(e)+1]},e.prototype.first=function(e){for(var t=this.path.length-1;t>=0;t--){var r=this.path[t];if(r instanceof e)return r}},e.prototype.push=function(e){this.path.push(e)},e.prototype.pop=function(){return this.path.pop()},e}(),qo=function(){function e(e,t,r){this.value=e,this.sourceSpan=t,this.i18n=r}return e.prototype.visit=function(e,t){return e.visitText(this,t)},e}(),Uo=function(){function e(e,t,r,n,i,a){this.switchValue=e,this.type=t,this.cases=r,this.sourceSpan=n,this.switchValueSourceSpan=i,this.i18n=a}return e.prototype.visit=function(e,t){return e.visitExpansion(this,t)},e}(),Ko=function(){function e(e,t,r,n,i){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=i}return e.prototype.visit=function(e,t){return e.visitExpansionCase(this,t)},e}(),Xo=function(){function e(e,t,r,n,i){this.name=e,this.value=t,this.sourceSpan=r,this.valueSpan=n,this.i18n=i}return e.prototype.visit=function(e,t){return e.visitAttribute(this,t)},e}(),Jo=function(){function e(e,t,r,n,i,a,s){void 0===i&&(i=null),void 0===a&&(a=null),this.name=e,this.attrs=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=i,this.endSourceSpan=a,this.i18n=s}return e.prototype.visit=function(e,t){return e.visitElement(this,t)},e}(),Yo=function(){function e(e,t){this.value=e,this.sourceSpan=t}return e.prototype.visit=function(e,t){return e.visitComment(this,t)},e}();function Wo(e,t,r){void 0===r&&(r=null);var n=[],i=e.visit?function(t){return e.visit(t,r)||t.visit(e,r)}:function(t){return t.visit(e,r)};return t.forEach((function(e){var t=i(e);t&&n.push(t)})),n}var $o,Ho=function(){function e(){}return e.prototype.visitElement=function(e,t){this.visitChildren(t,(function(t){t(e.attrs),t(e.children)}))},e.prototype.visitAttribute=function(e,t){},e.prototype.visitText=function(e,t){},e.prototype.visitComment=function(e,t){},e.prototype.visitExpansion=function(e,t){return this.visitChildren(t,(function(t){t(e.cases)}))},e.prototype.visitExpansionCase=function(e,t){},e.prototype.visitChildren=function(e,t){var r=[],n=this;return t((function(t){t&&r.push(Wo(n,t,e))})),[].concat.apply([],r)},e}();function zo(e,t){var r=[];return Wo(new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(n,e),n.prototype.visit=function(e,n){var i=function e(t){var r=t.sourceSpan.start.offset,n=t.sourceSpan.end.offset;return t instanceof Jo&&(t.endSourceSpan?n=t.endSourceSpan.end.offset:t.children&&t.children.length&&(n=e(t.children[t.children.length-1]).end)),{start:r,end:n}}(e);if(!(i.start<=t&&t<i.end))return!0;r.push(e)},n}(Ho)),e),new Vo(r,t)}
273/**
274 * @license
275 * Copyright Google Inc. All Rights Reserved.
276 *
277 * Use of this source code is governed by an MIT-style license that can be
278 * found in the LICENSE file at https://angular.io/license
279 */!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_VALUE=12]="ATTR_VALUE",e[e.DOC_TYPE=13]="DOC_TYPE",e[e.EXPANSION_FORM_START=14]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=15]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=16]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=17]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=18]="EXPANSION_FORM_END",e[e.EOF=19]="EOF"}($o||($o={}));var Go=function(e,t,r){this.type=e,this.parts=t,this.sourceSpan=r},Qo=function(e){function t(t,r,n){var i=e.call(this,n,t)||this;return i.tokenType=r,i}return Object(i.b)(t,e),t}(_s),Zo=function(e,t){this.tokens=e,this.errors=t};var eu=/\r\n?/g;function tu(e){return'Unexpected character "'+(e===Ua?"EOF":String.fromCharCode(e))+'"'}function ru(e){return'Unknown entity "'+e+'" - use the "&#<decimal>;" or "&#x<hex>;" syntax'}var nu=function(e){this.error=e},iu=function(){function e(e,t,r,n){void 0===n&&(n=Io),this._file=e,this._getTagDefinition=t,this._tokenizeIcu=r,this._interpolationConfig=n,this._peek=-1,this._nextPeek=-1,this._index=-1,this._line=0,this._column=-1,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this._input=e.content,this._length=e.content.length,this._advance()}return e.prototype._processCarriageReturns=function(e){return e.replace(eu,"\n")},e.prototype.tokenize=function(){for(;this._peek!==Ua;){var e=this._getLocation();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(e):this._attemptCharCode(Za)?this._consumeComment(e):this._consumeDocType(e):this._attemptCharCode(es)?this._consumeTagClose(e):this._consumeTagOpen(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){if(!(e instanceof nu))throw e;this.errors.push(e.error)}}return this._beginToken($o.EOF),this._endToken([]),new Zo(function(e){for(var t=[],r=void 0,n=0;n<e.length;n++){var i=e[n];r&&r.type==$o.TEXT&&i.type==$o.TEXT?(r.parts[0]+=i.parts[0],r.sourceSpan.end=i.sourceSpan.end):(r=i,t.push(r))}return t}
280/**
281 * @license
282 * Copyright Google Inc. All Rights Reserved.
283 *
284 * Use of this source code is governed by an MIT-style license that can be
285 * found in the LICENSE file at https://angular.io/license
286 */(this.tokens),this.errors)},e.prototype._tokenizeExpansionForm=function(){if(lu(this._input,this._index,this._interpolationConfig))return this._consumeExpansionFormStart(),!0;if(((e=this._peek)===rs||Ds(e)||xs(e))&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;var e;if(125===this._peek){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1},e.prototype._getLocation=function(){return new Cs(this._file,this._index,this._line,this._column)},e.prototype._getSpan=function(e,t){return void 0===e&&(e=this._getLocation()),void 0===t&&(t=this._getLocation()),new ws(e,t)},e.prototype._beginToken=function(e,t){void 0===t&&(t=this._getLocation()),this._currentTokenStart=t,this._currentTokenType=e},e.prototype._endToken=function(e,t){void 0===t&&(t=this._getLocation());var r=new Go(this._currentTokenType,e,new ws(this._currentTokenStart,t));return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r},e.prototype._createError=function(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var r=new Qo(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new nu(r)},e.prototype._advance=function(){if(this._index>=this._length)throw this._createError(tu(Ua),this._getSpan());this._peek===Xa?(this._line++,this._column=0):this._peek!==Xa&&this._peek!==Wa&&this._column++,this._index++,this._peek=this._index>=this._length?Ua:this._input.charCodeAt(this._index),this._nextPeek=this._index+1>=this._length?Ua:this._input.charCodeAt(this._index+1)},e.prototype._attemptCharCode=function(e){return this._peek===e&&(this._advance(),!0)},e.prototype._attemptCharCodeCaseInsensitive=function(e){return t=this._peek,r=e,cu(t)==cu(r)&&(this._advance(),!0);var t,r},e.prototype._requireCharCode=function(e){var t=this._getLocation();if(!this._attemptCharCode(e))throw this._createError(tu(this._peek),this._getSpan(t,t))},e.prototype._attemptStr=function(e){var t=e.length;if(this._index+t>this._length)return!1;for(var r=this._savePosition(),n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._restorePosition(r),!1;return!0},e.prototype._attemptStrCaseInsensitive=function(e){for(var t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0},e.prototype._requireStr=function(e){var t=this._getLocation();if(!this._attemptStr(e))throw this._createError(tu(this._peek),this._getSpan(t))},e.prototype._attemptCharCodeUntilFn=function(e){for(;!e(this._peek);)this._advance()},e.prototype._requireCharCodeUntilFn=function(e,t){var r=this._getLocation();if(this._attemptCharCodeUntilFn(e),this._index-r.offset<t)throw this._createError(tu(this._peek),this._getSpan(r,r))},e.prototype._attemptUntilChar=function(e){for(;this._peek!==e;)this._advance()},e.prototype._readChar=function(e){if(e&&38===this._peek)return this._decodeEntity();var t=this._index;return this._advance(),this._input[t]},e.prototype._decodeEntity=function(){var e=this._getLocation();if(this._advance(),!this._attemptCharCode(35)){var t=this._savePosition();if(this._attemptCharCodeUntilFn(uu),this._peek!=ts)return this._restorePosition(t),"&";this._advance();var r=this._input.substring(e.offset+1,this._index-1),n=p[r];if(!n)throw this._createError(ru(r),this._getSpan(e));return n}var i=this._attemptCharCode(120)||this._attemptCharCode(88),a=this._getLocation().offset;if(this._attemptCharCodeUntilFn(ou),this._peek!=ts)throw this._createError(tu(this._peek),this._getSpan());this._advance();var s=this._input.substring(a,this._index-1);try{var o=parseInt(s,i?16:10);return String.fromCharCode(o)}catch(t){var u=this._input.substring(e.offset+1,this._index-1);throw this._createError(ru(u),this._getSpan(e))}},e.prototype._consumeRawText=function(e,t,r){var n,i=this._getLocation();this._beginToken(e?$o.ESCAPABLE_RAW_TEXT:$o.RAW_TEXT,i);for(var a=[];n=this._getLocation(),!this._attemptCharCode(t)||!r();)for(this._index>n.offset&&a.push(this._input.substring(n.offset,this._index));this._peek!==t;)a.push(this._readChar(e));return this._endToken([this._processCarriageReturns(a.join(""))],n)},e.prototype._consumeComment=function(e){var t=this;this._beginToken($o.COMMENT_START,e),this._requireCharCode(Za),this._endToken([]);var r=this._consumeRawText(!1,Za,(function(){return t._attemptStr("->")}));this._beginToken($o.COMMENT_END,r.sourceSpan.end),this._endToken([])},e.prototype._consumeCdata=function(e){var t=this;this._beginToken($o.CDATA_START,e),this._requireStr("CDATA["),this._endToken([]);var r=this._consumeRawText(!1,93,(function(){return t._attemptStr("]>")}));this._beginToken($o.CDATA_END,r.sourceSpan.end),this._endToken([])},e.prototype._consumeDocType=function(e){this._beginToken($o.DOC_TYPE,e),this._attemptUntilChar(ns),this._advance(),this._endToken([this._input.substring(e.offset+2,this._index-1)])},e.prototype._consumePrefixAndName=function(){for(var e,t,r=this._index,n=null;58!==this._peek&&!(((e=this._peek)<ps||gs<e)&&(e<ss||ls<e)&&(e<is||e>as));)this._advance();return 58===this._peek?(this._advance(),n=this._input.substring(r,this._index-1),t=this._index):t=r,this._requireCharCodeUntilFn(su,this._index===t?1:0),[n,this._input.substring(t,this._index)]},e.prototype._consumeTagOpen=function(e){var t,r,i=this._savePosition();try{if(!Ds(this._peek))throw this._createError(tu(this._peek),this._getSpan());var a=this._index;for(this._consumeTagOpenStart(e),r=(t=this._input.substring(a,this._index)).toLowerCase(),this._attemptCharCodeUntilFn(au);this._peek!==es&&this._peek!==ns;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(au),this._attemptCharCode(rs)&&(this._attemptCharCodeUntilFn(au),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(au);this._consumeTagOpenEnd()}catch(t){if(t instanceof nu)return this._restorePosition(i),this._beginToken($o.TEXT,e),void this._endToken(["<"]);throw t}var s=this._getTagDefinition(t).contentType;s===n.RAW_TEXT?this._consumeRawTextWithTagClose(r,!1):s===n.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,!0)},e.prototype._consumeRawTextWithTagClose=function(e,t){var r=this,n=this._consumeRawText(t,60,(function(){return!!r._attemptCharCode(es)&&(r._attemptCharCodeUntilFn(au),!!r._attemptStrCaseInsensitive(e)&&(r._attemptCharCodeUntilFn(au),r._attemptCharCode(ns)))}));this._beginToken($o.TAG_CLOSE,n.sourceSpan.end),this._endToken([null,e])},e.prototype._consumeTagOpenStart=function(e){this._beginToken($o.TAG_OPEN_START,e);var t=this._consumePrefixAndName();this._endToken(t)},e.prototype._consumeAttributeName=function(){this._beginToken($o.ATTR_NAME);var e=this._consumePrefixAndName();this._endToken(e)},e.prototype._consumeAttributeValue=function(){var e;if(this._beginToken($o.ATTR_VALUE),this._peek===Ga||this._peek===Ha){var t=this._peek;this._advance();for(var r=[];this._peek!==t;)r.push(this._readChar(!0));e=r.join(""),this._advance()}else{var n=this._index;this._requireCharCodeUntilFn(su,1),e=this._input.substring(n,this._index)}this._endToken([this._processCarriageReturns(e)])},e.prototype._consumeTagOpenEnd=function(){var e=this._attemptCharCode(es)?$o.TAG_OPEN_END_VOID:$o.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(ns),this._endToken([])},e.prototype._consumeTagClose=function(e){this._beginToken($o.TAG_CLOSE,e),this._attemptCharCodeUntilFn(au);var t=this._consumePrefixAndName();this._attemptCharCodeUntilFn(au),this._requireCharCode(ns),this._endToken(t)},e.prototype._consumeExpansionFormStart=function(){this._beginToken($o.EXPANSION_FORM_START,this._getLocation()),this._requireCharCode(Ts),this._endToken([]),this._expansionCaseStack.push($o.EXPANSION_FORM_START),this._beginToken($o.RAW_TEXT,this._getLocation());var e=this._readUntil(44);this._endToken([e],this._getLocation()),this._requireCharCode(44),this._attemptCharCodeUntilFn(au),this._beginToken($o.RAW_TEXT,this._getLocation());var t=this._readUntil(44);this._endToken([t],this._getLocation()),this._requireCharCode(44),this._attemptCharCodeUntilFn(au)},e.prototype._consumeExpansionCaseStart=function(){this._beginToken($o.EXPANSION_CASE_VALUE,this._getLocation());var e=this._readUntil(Ts).trim();this._endToken([e],this._getLocation()),this._attemptCharCodeUntilFn(au),this._beginToken($o.EXPANSION_CASE_EXP_START,this._getLocation()),this._requireCharCode(Ts),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(au),this._expansionCaseStack.push($o.EXPANSION_CASE_EXP_START)},e.prototype._consumeExpansionCaseEnd=function(){this._beginToken($o.EXPANSION_CASE_EXP_END,this._getLocation()),this._requireCharCode(125),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(au),this._expansionCaseStack.pop()},e.prototype._consumeExpansionFormEnd=function(){this._beginToken($o.EXPANSION_FORM_END,this._getLocation()),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()},e.prototype._consumeText=function(){var e=this._getLocation();this._beginToken($o.TEXT,e);var t=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(t.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(t.push(this._interpolationConfig.end),this._inInterpolation=!1):t.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(t.join(""))])},e.prototype._isTextEnd=function(){if(60===this._peek||this._peek===Ua)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(lu(this._input,this._index,this._interpolationConfig))return!0;if(125===this._peek&&this._isInExpansionCase())return!0}return!1},e.prototype._savePosition=function(){return[this._peek,this._index,this._column,this._line,this.tokens.length]},e.prototype._readUntil=function(e){var t=this._index;return this._attemptUntilChar(e),this._input.substring(t,this._index)},e.prototype._restorePosition=function(e){this._peek=e[0],this._index=e[1],this._column=e[2],this._line=e[3];var t=e[4];t<this.tokens.length&&(this.tokens=this.tokens.slice(0,t))},e.prototype._isInExpansionCase=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===$o.EXPANSION_CASE_EXP_START},e.prototype._isInExpansionForm=function(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===$o.EXPANSION_FORM_START},e}();function au(e){return!bs(e)||e===Ua}function su(e){return bs(e)||e===ns||e===es||e===Ga||e===Ha||e===rs}function ou(e){return e==ts||e==Ua||!function(e){return e>=ps&&e<=ds||e>=ss&&e<=us||xs(e)}(e)}function uu(e){return e==ts||e==Ua||!Ds(e)}function lu(e,t,r){var n=!!r&&e.indexOf(r.start,t)==t;return e.charCodeAt(t)==Ts&&!n}function cu(e){return e>=ps&&e<=gs?e-ps+ss:e}var pu=function(e){function t(t,r,n){var i=e.call(this,r,n)||this;return i.elementName=t,i}return Object(i.b)(t,e),t.create=function(e,r,n){return new t(e,r,n)},t}(_s),fu=function(e,t){this.rootNodes=e,this.errors=t},du=function(){function e(e){this.getTagDefinition=e}return e.prototype.parse=function(e,t,r,n){void 0===r&&(r=!1),void 0===n&&(n=Io);var i=function(e,t,r,n,i){return void 0===n&&(n=!1),void 0===i&&(i=Io),new iu(new Ps(e,t),r,n,i).tokenize()}(e,t,this.getTagDefinition,r,n),a=new hu(i.tokens,this.getTagDefinition).build();return new fu(a.rootNodes,i.errors.concat(a.errors))},e}(),hu=function(){function e(e,t){this.tokens=e,this.getTagDefinition=t,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return e.prototype.build=function(){for(;this._peek.type!==$o.EOF;)this._peek.type===$o.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===$o.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===$o.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===$o.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===$o.TEXT||this._peek.type===$o.RAW_TEXT||this._peek.type===$o.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===$o.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new fu(this._rootNodes,this._errors)},e.prototype._advance=function(){var e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e},e.prototype._advanceIf=function(e){return this._peek.type===e?this._advance():null},e.prototype._consumeCdata=function(e){this._consumeText(this._advance()),this._advanceIf($o.CDATA_END)},e.prototype._consumeComment=function(e){var t=this._advanceIf($o.RAW_TEXT);this._advanceIf($o.COMMENT_END);var r=null!=t?t.parts[0].trim():null;this._addToParent(new Yo(r,e.sourceSpan))},e.prototype._consumeExpansion=function(e){for(var t=this._advance(),r=this._advance(),n=[];this._peek.type===$o.EXPANSION_CASE_VALUE;){var i=this._parseExpansionCase();if(!i)return;n.push(i)}if(this._peek.type===$o.EXPANSION_FORM_END){var a=new ws(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new Uo(t.parts[0],r.parts[0],n,a,t.sourceSpan)),this._advance()}else this._errors.push(pu.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."))},e.prototype._parseExpansionCase=function(){var t=this._advance();if(this._peek.type!==$o.EXPANSION_CASE_EXP_START)return this._errors.push(pu.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;var r=this._advance(),n=this._collectExpansionExpTokens(r);if(!n)return null;var i=this._advance();n.push(new Go($o.EOF,[],i.sourceSpan));var a=new e(n,this.getTagDefinition).build();if(a.errors.length>0)return this._errors=this._errors.concat(a.errors),null;var s=new ws(t.sourceSpan.start,i.sourceSpan.end),o=new ws(r.sourceSpan.start,i.sourceSpan.end);return new Ko(t.parts[0],a.rootNodes,s,t.sourceSpan,o)},e.prototype._collectExpansionExpTokens=function(e){for(var t=[],r=[$o.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==$o.EXPANSION_FORM_START&&this._peek.type!==$o.EXPANSION_CASE_EXP_START||r.push(this._peek.type),this._peek.type===$o.EXPANSION_CASE_EXP_END){if(!yu(r,$o.EXPANSION_CASE_EXP_START))return this._errors.push(pu.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0==r.length)return t}if(this._peek.type===$o.EXPANSION_FORM_END){if(!yu(r,$o.EXPANSION_FORM_START))return this._errors.push(pu.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(this._peek.type===$o.EOF)return this._errors.push(pu.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}},e.prototype._consumeText=function(e){var t=e.parts[0];if(t.length>0&&"\n"==t[0]){var r=this._getParentElement();null!=r&&0==r.children.length&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}t.length>0&&this._addToParent(new qo(t,e.sourceSpan))},e.prototype._closeVoidElement=function(){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()},e.prototype._consumeStartTag=function(e){for(var t=e.parts[0],r=e.parts[1],n=[];this._peek.type===$o.ATTR_NAME;)n.push(this._consumeAttr(this._advance()));var i=this._getElementFullName(t,r,this._getParentElement()),a=!1;if(this._peek.type===$o.TAG_OPEN_END_VOID){this._advance(),a=!0;var s=this.getTagDefinition(i);s.canSelfClose||null!==l(i)||s.isVoid||this._errors.push(pu.create(i,e.sourceSpan,'Only void and foreign elements can be self closed "'+e.parts[1]+'"'))}else this._peek.type===$o.TAG_OPEN_END&&(this._advance(),a=!1);var o=this._peek.sourceSpan.start,u=new ws(e.sourceSpan.start,o),c=new Jo(i,n,[],u,u,void 0);this._pushElement(c),a&&(this._popElement(i),c.endSourceSpan=u)},e.prototype._pushElement=function(e){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop();var r=this.getTagDefinition(e.name),n=this._getParentElementSkippingContainers(),i=n.parent,a=n.container;if(i&&r.requireExtraParent(i.name)){var s=new Jo(r.parentToAdd,[],[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan);this._insertBeforeContainer(i,a,s)}this._addToParent(e),this._elementStack.push(e)},e.prototype._consumeEndTag=function(e){var t=this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),this.getTagDefinition(t).isVoid)this._errors.push(pu.create(t,e.sourceSpan,'Void elements do not have end tags "'+e.parts[1]+'"'));else if(!this._popElement(t)){var r='Unexpected closing tag "'+t+'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags';this._errors.push(pu.create(t,e.sourceSpan,r))}},e.prototype._popElement=function(e){for(var t=this._elementStack.length-1;t>=0;t--){var r=this._elementStack[t];if(r.name==e)return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(r.name).closedByParent)return!1}return!1},e.prototype._consumeAttr=function(e){var t=c(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n="",i=void 0;if(this._peek.type===$o.ATTR_VALUE){var a=this._advance();n=a.parts[0],r=a.sourceSpan.end,i=a.sourceSpan}return new Xo(t,n,new ws(e.sourceSpan.start,r),i)},e.prototype._getParentElement=function(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null},e.prototype._getParentElementSkippingContainers=function(){for(var e=null,t=this._elementStack.length-1;t>=0;t--){if(!s(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:null,container:e}},e.prototype._addToParent=function(e){var t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)},e.prototype._insertBeforeContainer=function(e,t,r){if(t){if(e){var n=e.children.indexOf(t);e.children[n]=r}else this._rootNodes.push(r);r.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,r)}else this._addToParent(r),this._elementStack.push(r)},e.prototype._getElementFullName=function(e,t,r){return null==e&&null==(e=this.getTagDefinition(t).implicitNamespacePrefix)&&null!=r&&(e=l(r.name)),c(e,t)},e}();function yu(e,t){return e.length>0&&e[e.length-1]===t}
287/**
288 * @license
289 * Copyright Google Inc. All Rights Reserved.
290 *
291 * Use of this source code is governed by an MIT-style license that can be
292 * found in the LICENSE file at https://angular.io/license
293 */var mu=function(e){function t(){return e.call(this,m)||this}return Object(i.b)(t,e),t.prototype.parse=function(t,r,n,i){return void 0===n&&(n=!1),void 0===i&&(i=Io),e.prototype.parse.call(this,t,r,n,i)},t}(du),vu="ngPreserveWhitespaces",gu=new Set(["pre","template","textarea","script","style"]),Tu=" \f\n\r\t\v ᠎ - \u2028\u2029   \ufeff",Eu=new RegExp("[^"+Tu+"]"),Su=new RegExp("["+Tu+"]{2,}","g");
294/**
295 * @license
296 * Copyright Google Inc. All Rights Reserved.
297 *
298 * Use of this source code is governed by an MIT-style license that can be
299 * found in the LICENSE file at https://angular.io/license
300 */function bu(e){return e.replace(new RegExp(f,"g")," ")}var xu,Du=function(){function e(){}return e.prototype.visitElement=function(e,t){return gu.has(e.name)||e.attrs.some((function(e){return e.name===vu}))?new Jo(e.name,Wo(this,e.attrs),e.children,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n):new Jo(e.name,e.attrs,Wo(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)},e.prototype.visitAttribute=function(e,t){return e.name!==vu?e:null},e.prototype.visitText=function(e,t){return e.value.match(Eu)?new qo(bu(e.value).replace(Su," "),e.sourceSpan,e.i18n):null},e.prototype.visitComment=function(e,t){return e},e.prototype.visitExpansion=function(e,t){return e},e.prototype.visitExpansionCase=function(e,t){return e},e}();function Au(e){return new fu(Wo(new Du,e.rootNodes),e.errors)}
301/**
302 * @license
303 * Copyright Google Inc. All Rights Reserved.
304 *
305 * Use of this source code is governed by an MIT-style license that can be
306 * found in the LICENSE file at https://angular.io/license
307 */function Cu(){return xu||(xu={},Pu(N.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Pu(N.STYLE,["*|style"]),Pu(N.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","img|srcset","input|src","ins|cite","q|cite","source|src","source|srcset","track|src","video|poster","video|src"]),Pu(N.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),xu}function Pu(e,t){var r,n;try{for(var a=Object(i.e)(t),s=a.next();!s.done;s=a.next()){var o=s.value;xu[o.toLowerCase()]=e}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}
308/**
309 * @license
310 * Copyright Google Inc. All Rights Reserved.
311 *
312 * Use of this source code is governed by an MIT-style license that can be
313 * found in the LICENSE file at https://angular.io/license
314 */var wu=function(){},_u="boolean",Ou="number",Fu="string",Nu="object",Iu=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,outerText,!spellcheck,%style,#tabIndex,title,!translate","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,src,%srcObject,#volume",":svg:^[HTMLElement]|*abort,*auxclick,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type","select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","shadow^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|media,sizes,src,srcset,type","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|#height,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],ku={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Lu=function(e){function t(){var t=e.call(this)||this;return t._schema={},Iu.forEach((function(e){var r={},n=Object(i.c)(e.split("|"),2),a=n[0],s=n[1].split(","),o=Object(i.c)(a.split("^"),2),u=o[0],l=o[1];u.split(",").forEach((function(e){return t._schema[e.toLowerCase()]=r}));var c=l&&t._schema[l.toLowerCase()];c&&Object.keys(c).forEach((function(e){r[e]=c[e]})),s.forEach((function(e){if(e.length>0)switch(e[0]){case"*":break;case"!":r[e.substring(1)]=_u;break;case"#":r[e.substring(1)]=Ou;break;case"%":r[e.substring(1)]=Nu;break;default:r[e]=Fu}}))})),t}return Object(i.b)(t,e),t.prototype.hasProperty=function(e,t,r){if(r.some((function(e){return e.name===K.name})))return!0;if(e.indexOf("-")>-1){if(s(e)||o(e))return!1;if(r.some((function(e){return e.name===U.name})))return!0}return!!(this._schema[e.toLowerCase()]||this._schema.unknown)[t]},t.prototype.hasElement=function(e,t){if(t.some((function(e){return e.name===K.name})))return!0;if(e.indexOf("-")>-1){if(s(e)||o(e))return!0;if(t.some((function(e){return e.name===U.name})))return!0}return!!this._schema[e.toLowerCase()]},t.prototype.securityContext=function(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();var n=Cu()[e+"|"+t];return n||((n=Cu()["*|"+t])||N.NONE)},t.prototype.getMappedPropName=function(e){return ku[e]||e},t.prototype.getDefaultComponentElementName=function(){return"ng-component"},t.prototype.validateProperty=function(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:"Binding to event property '"+e+"' is disallowed for security reasons, please use ("+e.slice(2)+")=...\nIf '"+e+"' is a directive input, make sure the directive is imported by the current module."}:{error:!1}},t.prototype.validateAttribute=function(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:"Binding to event attribute '"+e+"' is disallowed for security reasons, please use ("+e.slice(2)+")=..."}:{error:!1}},t.prototype.allKnownElementNames=function(){return Object.keys(this._schema)},t.prototype.normalizeAnimationStyleProperty=function(e){return e.replace(At,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[1].toUpperCase()}))},t.prototype.normalizeAnimationStyleValue=function(e,t,r){var n="",i=r.toString().trim(),a=null;if(function(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}
315/**
316 * @license
317 * Copyright Google Inc. All Rights Reserved.
318 *
319 * Use of this source code is governed by an MIT-style license that can be
320 * found in the LICENSE file at https://angular.io/license
321 */(e)&&0!==r&&"0"!==r)if("number"==typeof r)n="px";else{var s=r.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&(a="Please provide a CSS unit value for "+t+":"+r)}return{error:a,value:i+n}},t}(wu);
322/**
323 * @license
324 * Copyright Google Inc. All Rights Reserved.
325 *
326 * Use of this source code is governed by an MIT-style license that can be
327 * found in the LICENSE file at https://angular.io/license
328 */var Mu=function(){function e(e,t,r,n,i){if(this._exprParser=e,this._interpolationConfig=t,this._schemaRegistry=r,this.errors=i,this.pipesByName=null,this._usedPipes=new Map,n){var a=new Map;n.forEach((function(e){return a.set(e.name,e)})),this.pipesByName=a}}return e.prototype.getUsedPipes=function(){return Array.from(this._usedPipes.values())},e.prototype.createBoundHostProperties=function(e,t){var r=this;if(e.hostProperties){var n=[];return Object.keys(e.hostProperties).forEach((function(i){var a=e.hostProperties[i];"string"==typeof a?r.parsePropertyBinding(i,a,!0,t,[],n):r._reportError('Value of the host property binding "'+i+'" needs to be a string representing an expression but got "'+a+'" ('+typeof a+")",t)})),n}return null},e.prototype.createDirectiveHostPropertyAsts=function(e,t,r){var n=this,i=this.createBoundHostProperties(e,r);return i&&i.map((function(e){return n.createBoundElementProperty(t,e)}))},e.prototype.createDirectiveHostEventAsts=function(e,t){var r=this;if(e.hostListeners){var n=[];return Object.keys(e.hostListeners).forEach((function(i){var a=e.hostListeners[i];"string"==typeof a?r.parseEvent(i,a,t,[],n):r._reportError('Value of the host listener "'+i+'" needs to be a string representing an expression but got "'+a+'" ('+typeof a+")",t)})),n}return null},e.prototype.parseInterpolation=function(e,t){var r=t.start.toString();try{var n=this._exprParser.parseInterpolation(e,r,this._interpolationConfig);return n&&this._reportExpressionParserErrors(n.errors,t),this._checkPipes(n,t),n}catch(e){return this._reportError(""+e,t),this._exprParser.wrapLiteralPrimitive("ERROR",r)}},e.prototype.parseInlineTemplateBinding=function(e,t,r,n,i,a){for(var s=this._parseTemplateBindings(e,t,r),o=0;o<s.length;o++){var u=s[o];u.keyIsVar?a.push(new Sa(u.key,u.name,r)):u.expression?this._parsePropertyAst(u.key,u.expression,r,n,i):(n.push([u.key,""]),this.parseLiteralAttr(u.key,null,r,n,i))}},e.prototype._parseTemplateBindings=function(e,t,r){var n=this,i=r.start.toString();try{var a=this._exprParser.parseTemplateBindings(e,t,i);return this._reportExpressionParserErrors(a.errors,r),a.templateBindings.forEach((function(e){e.expression&&n._checkPipes(e.expression,r)})),a.warnings.forEach((function(e){n._reportError(e,r,As.WARNING)})),a.templateBindings}catch(e){return this._reportError(""+e,r),[]}},e.prototype.parseLiteralAttr=function(e,t,r,n,i){ju(e)?(e=e.substring(1),t&&this._reportError('Assigning animation triggers via @prop="exp" attributes with an expression is invalid. Use property bindings (e.g. [@prop]="exp") or use an attribute without a value (e.g. @prop) instead.',r,As.ERROR),this._parseAnimation(e,t,r,n,i)):i.push(new Ta(e,this._exprParser.wrapLiteralPrimitive(t,""),ga.LITERAL_ATTR,r))},e.prototype.parsePropertyBinding=function(e,t,r,n,i,a){var s=!1;e.startsWith("animate-")?(s=!0,e=e.substring("animate-".length)):ju(e)&&(s=!0,e=e.substring(1)),s?this._parseAnimation(e,t,n,i,a):this._parsePropertyAst(e,this._parseBinding(t,r,n),n,i,a)},e.prototype.parsePropertyInterpolation=function(e,t,r,n,i){var a=this.parseInterpolation(t,r);return!!a&&(this._parsePropertyAst(e,a,r,n,i),!0)},e.prototype._parsePropertyAst=function(e,t,r,n,i){n.push([e,t.source]),i.push(new Ta(e,t,ga.DEFAULT,r))},e.prototype._parseAnimation=function(e,t,r,n,i){var a=this._parseBinding(t||"undefined",!1,r);n.push([e,a.source]),i.push(new Ta(e,a,ga.ANIMATION,r))},e.prototype._parseBinding=function(e,t,r){var n=(r&&r.start||"(unknown)").toString();try{var i=t?this._exprParser.parseSimpleBinding(e,n,this._interpolationConfig):this._exprParser.parseBinding(e,n,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,r),this._checkPipes(i,r),i}catch(e){return this._reportError(""+e,r),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},e.prototype.createBoundElementProperty=function(e,t){if(t.isAnimation)return new ba(t.name,4,N.NONE,t.expression,null,t.sourceSpan);var r=null,n=void 0,i=null,a=t.name.split("."),s=void 0;if(a.length>1)if("attr"==a[0]){i=a[1],this._validatePropertyOrAttributeName(i,t.sourceSpan,!0),s=Ru(this._schemaRegistry,e,i,!0);var o=i.indexOf(":");if(o>-1){var u=i.substring(0,o),l=i.substring(o+1);i=c(u,l)}n=1}else"class"==a[0]?(i=a[1],n=2,s=[N.NONE]):"style"==a[0]&&(r=a.length>2?a[2]:null,i=a[1],n=3,s=[N.STYLE]);return null===i&&(i=this._schemaRegistry.getMappedPropName(t.name),s=Ru(this._schemaRegistry,e,i,!1),n=0,this._validatePropertyOrAttributeName(i,t.sourceSpan,!1)),new ba(i,n,s[0],t.expression,r,t.sourceSpan)},e.prototype.parseEvent=function(e,t,r,n,i){ju(e)?(e=e.substr(1),this._parseAnimationEvent(e,t,r,i)):this._parseRegularEvent(e,t,r,n,i)},e.prototype._parseAnimationEvent=function(e,t,r,n){var i=Pt(e,".",[e,""]),a=i[0],s=i[1].toLowerCase();if(s)switch(s){case"start":case"done":var o=this._parseAction(t,r);n.push(new Ea(a,s,1,o,r));break;default:this._reportError('The provided animation output phase value "'+s+'" for "@'+a+'" is not supported (use start or done)',r)}else this._reportError("The animation trigger output event (@"+a+") is missing its phase value name (start or done are currently supported)",r)},e.prototype._parseRegularEvent=function(e,t,r,n,a){var s=Object(i.c)(Ct(e,[null,e]),2),o=s[0],u=s[1],l=this._parseAction(t,r);n.push([e,l.source]),a.push(new Ea(u,o,0,l,r))},e.prototype._parseAction=function(e,t){var r=(t&&t.start||"(unknown").toString();try{var n=this._exprParser.parseAction(e,r,this._interpolationConfig);return n&&this._reportExpressionParserErrors(n.errors,t),!n||n.ast instanceof Ji?(this._reportError("Empty expressions are not allowed",t),this._exprParser.wrapLiteralPrimitive("ERROR",r)):(this._checkPipes(n,t),n)}catch(e){return this._reportError(""+e,t),this._exprParser.wrapLiteralPrimitive("ERROR",r)}},e.prototype._reportError=function(e,t,r){void 0===r&&(r=As.ERROR),this.errors.push(new _s(t,e,r))},e.prototype._reportExpressionParserErrors=function(e,t){var r,n;try{for(var a=Object(i.e)(e),s=a.next();!s.done;s=a.next()){var o=s.value;this._reportError(o.message,t)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}},e.prototype._checkPipes=function(e,t){var r=this;if(e&&this.pipesByName){var n=new Bu;e.visit(n),n.pipes.forEach((function(e,n){var i=r.pipesByName.get(n);i?r._usedPipes.set(n,i):r._reportError("The pipe '"+n+"' could not be found",new ws(t.start.moveBy(e.span.start),t.start.moveBy(e.span.end)))}))}},e.prototype._validatePropertyOrAttributeName=function(e,t,r){var n=r?this._schemaRegistry.validateAttribute(e):this._schemaRegistry.validateProperty(e);n.error&&this._reportError(n.msg,t,As.ERROR)},e}(),Bu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pipes=new Map,t}return Object(i.b)(t,e),t.prototype.visitPipe=function(e,t){return this.pipes.set(e.name,e),e.exp.visit(this),this.visitAll(e.args,t),null},t}(ha);function ju(e){return"@"==e[0]}function Ru(e,t,r,n){var a=[];return E.parse(t).forEach((function(t){var s=t.element?[t.element]:e.allKnownElementNames(),o=new Set(t.notSelectors.filter((function(e){return e.isElementSelector()})).map((function(e){return e.element}))),u=s.filter((function(e){return!o.has(e)}));a.push.apply(a,Object(i.d)(u.map((function(t){return e.securityContext(t,r,n)}))))})),0===a.length?[N.NONE]:Array.from(new Set(a)).sort()}
329/**
330 * @license
331 * Copyright Google Inc. All Rights Reserved.
332 *
333 * Use of this source code is governed by an MIT-style license that can be
334 * found in the LICENSE file at https://angular.io/license
335 */var Vu=function(){function e(e,t){this.value=e,this.sourceSpan=t}return e.prototype.visit=function(e){return e.visitText(this)},e}(),qu=function(){function e(e,t,r){this.value=e,this.sourceSpan=t,this.i18n=r}return e.prototype.visit=function(e){return e.visitBoundText(this)},e}(),Uu=function(){function e(e,t,r,n,i){this.name=e,this.value=t,this.sourceSpan=r,this.valueSpan=n,this.i18n=i}return e.prototype.visit=function(e){return e.visitTextAttribute(this)},e}(),Ku=function(){function e(e,t,r,n,i,a,s){this.name=e,this.type=t,this.securityContext=r,this.value=n,this.unit=i,this.sourceSpan=a,this.i18n=s}return e.fromBoundElementProperty=function(t,r){return new e(t.name,t.type,t.securityContext,t.value,t.unit,t.sourceSpan,r)},e.prototype.visit=function(e){return e.visitBoundAttribute(this)},e}(),Xu=function(){function e(e,t,r,n,i){this.name=e,this.handler=t,this.target=r,this.phase=n,this.sourceSpan=i}return e.fromParsedEvent=function(t){var r=0===t.type?t.targetOrPhase:null,n=1===t.type?t.targetOrPhase:null;return new e(t.name,t.handler,r,n,t.sourceSpan)},e.prototype.visit=function(e){return e.visitBoundEvent(this)},e}(),Ju=function(){function e(e,t,r,n,i,a,s,o,u,l){this.name=e,this.attributes=t,this.inputs=r,this.outputs=n,this.children=i,this.references=a,this.sourceSpan=s,this.startSourceSpan=o,this.endSourceSpan=u,this.i18n=l}return e.prototype.visit=function(e){return e.visitElement(this)},e}(),Yu=function(){function e(e,t,r,n,i,a,s,o,u,l){this.attributes=e,this.inputs=t,this.outputs=r,this.children=n,this.references=i,this.variables=a,this.sourceSpan=s,this.startSourceSpan=o,this.endSourceSpan=u,this.i18n=l}return e.prototype.visit=function(e){return e.visitTemplate(this)},e}(),Wu=function(){function e(e,t,r,n){this.selectorIndex=e,this.attributes=t,this.sourceSpan=r,this.i18n=n}return e.prototype.visit=function(e){return e.visitContent(this)},e}(),$u=function(){function e(e,t,r){this.name=e,this.value=t,this.sourceSpan=r}return e.prototype.visit=function(e){return e.visitVariable(this)},e}(),Hu=function(){function e(e,t,r){this.name=e,this.value=t,this.sourceSpan=r}return e.prototype.visit=function(e){return e.visitReference(this)},e}(),zu=function(){function e(e,t,r,n){this.vars=e,this.placeholders=t,this.sourceSpan=r,this.i18n=n}return e.prototype.visit=function(e){return e.visitIcu(this)},e}();function Gu(e,t){var r,n,a,s,o=[];if(e.visit)try{for(var u=Object(i.e)(t),l=u.next();!l.done;l=u.next())var c=l.value,p=e.visit(c)||c.visit(e)}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}else try{for(var f=Object(i.e)(t),d=f.next();!d.done;d=f.next()){(p=(c=d.value).visit(e))&&o.push(p)}}catch(e){a={error:e}}finally{try{d&&!d.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}return o}
336/**
337 * @license
338 * Copyright Google Inc. All Rights Reserved.
339 *
340 * Use of this source code is governed by an MIT-style license that can be
341 * found in the LICENSE file at https://angular.io/license
342 */var Qu=function(e,t){this.style=e,this.styleUrls=t};function Zu(e){if(null==e||0===e.length||"/"==e[0])return!1;var t=e.match(nl);return null===t||"package"==t[1]||"asset"==t[1]}var el,tl=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,rl=/\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g,nl=/^([^:/?#]+):/,il="select",al="link",sl="rel",ol="href",ul="stylesheet",ll="style",cl="script",pl="ngNonBindable",fl="ngProjectAs";function dl(e){var t=null,r=null,n=null,i=!1,a="";e.attrs.forEach((function(e){var s=e.name.toLowerCase();s==il?t=e.value:s==ol?r=e.value:s==sl?n=e.value:e.name==pl?i=!0:e.name==fl&&e.value.length>0&&(a=e.value)})),t=function(e){if(null===e||0===e.length)return"*";return e}
343/**
344 * @license
345 * Copyright Google Inc. All Rights Reserved.
346 *
347 * Use of this source code is governed by an MIT-style license that can be
348 * found in the LICENSE file at https://angular.io/license
349 */(t);var s=e.name.toLowerCase(),u=el.OTHER;return o(s)?u=el.NG_CONTENT:s==ll?u=el.STYLE:s==cl?u=el.SCRIPT:s==al&&n==ul&&(u=el.STYLESHEET),new hl(u,t,r,i,a)}!function(e){e[e.NG_CONTENT=0]="NG_CONTENT",e[e.STYLE=1]="STYLE",e[e.STYLESHEET=2]="STYLESHEET",e[e.SCRIPT=3]="SCRIPT",e[e.OTHER=4]="OTHER"}(el||(el={}));var hl=function(e,t,r,n,i){this.type=e,this.selectAttr=t,this.hrefAttr=r,this.nonBindable=n,this.projectAs=i};var yl=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/;function ml(e,t){var r=new gl(t),n=Wo(r,e),i=t.errors.concat(r.errors),a=i.filter((function(e){return e.level===As.ERROR}));if(a.length>0)throw Mt("Template parse errors:\n"+a.join("\n"),a);return{nodes:n,errors:i,ngContentSelectors:r.ngContentSelectors,hasNgContent:r.hasNgContent}}var vl,gl=function(){function e(e){this.bindingParser=e,this.errors=[],this.ngContentSelectors=[],this.hasNgContent=!1}return e.prototype.visitElement=function(e){var t,r,n=this,a=dl(e);if(a.type===el.SCRIPT||a.type===el.STYLE)return null;if(a.type===el.STYLESHEET&&Zu(a.hrefAttr))return null;var s=u(e.name),o=[],l=[],c=[],p=[],f=[],d={},h=[],y=[],m=!1;try{for(var v=Object(i.e)(e.attrs),g=v.next();!g.done;g=v.next()){var T=g.value,E=!1,S=El(T.name),b=!1;if(T.i18n&&(d[T.name]=T.i18n),S.startsWith("*")){m&&this.reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",T.sourceSpan),b=!0,m=!0;var x=T.value,D=S.substring("*".length),A=[];this.bindingParser.parseInlineTemplateBinding(D,x,T.sourceSpan,[],h,A),y.push.apply(y,Object(i.d)(A.map((function(e){return new $u(e.name,e.value,e.sourceSpan)}))))}else E=this.parseAttribute(s,T,[],o,l,c,p);E||b||f.push(this.visitAttribute(T))}}catch(e){t={error:e}}finally{try{g&&!g.done&&(r=v.return)&&r.call(v)}finally{if(t)throw t.error}}var C,P=Wo(a.nonBindable?Tl:this,e.children);if(a.type===el.NG_CONTENT){this.hasNgContent=!0,e.children&&!e.children.every(bl)&&this.reportError("<ng-content> element cannot have content.",e.sourceSpan);var w=a.selectAttr,_=e.attrs.map((function(e){return n.visitAttribute(e)})),O="*"===w?0:this.ngContentSelectors.push(w);C=new Wu(O,_,e.sourceSpan,e.i18n)}else if(s){var F=this.extractAttributes(e.name,o,d);C=new Yu(f,F.bound,l,P,p,c,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}else{F=this.extractAttributes(e.name,o,d);C=new Ju(e.name,f,F.bound,l,P,p,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}if(m){F=this.extractAttributes("ng-template",h,d);C=new Yu(F.literal,F.bound,[],[C],[],y,e.sourceSpan,e.startSourceSpan,e.endSourceSpan,e.i18n)}return C},e.prototype.visitAttribute=function(e){return new Uu(e.name,e.value,e.sourceSpan,e.valueSpan,e.i18n)},e.prototype.visitText=function(e){return this._visitTextWithInterpolation(e.value,e.sourceSpan,e.i18n)},e.prototype.visitExpansion=function(e){var t=this,r=e.i18n;if(!r)return null;var n={},i={};return Object.keys(r.placeholders).forEach((function(a){var s=r.placeholders[a];a.startsWith("VAR_")?n[a]=t._visitTextWithInterpolation("{{"+s+"}}",e.sourceSpan):i[a]=t._visitTextWithInterpolation(s,e.sourceSpan)})),new zu(n,i,e.sourceSpan,r)},e.prototype.visitExpansionCase=function(e){return null},e.prototype.visitComment=function(e){return null},e.prototype.extractAttributes=function(e,t,r){var n=this,i=[],a=[];return t.forEach((function(t){var s=r[t.name];if(t.isLiteral)a.push(new Uu(t.name,t.expression.source||"",t.sourceSpan,void 0,s));else{var o=n.bindingParser.createBoundElementProperty(e,t);i.push(Ku.fromBoundElementProperty(o,s))}})),{bound:i,literal:a}},e.prototype.parseAttribute=function(e,t,r,n,i,a,s){var o=El(t.name),u=t.value,l=t.sourceSpan,c=o.match(yl),p=!1;if(c){if(p=!0,null!=c[1])this.bindingParser.parsePropertyBinding(c[7],u,!1,l,r,n);else if(c[2])if(e){var f=c[7];this.parseVariable(f,u,l,a)}else this.reportError('"let-" is only supported on ng-template elements.',l);else if(c[3]){f=c[7];this.parseReference(f,u,l,s)}else if(c[4]){var d=[];this.bindingParser.parseEvent(c[7],u,l,r,d),Sl(d,i)}else if(c[5])this.bindingParser.parsePropertyBinding(c[7],u,!1,l,r,n),this.parseAssignmentEvent(c[7],u,l,r,i);else if(c[6])this.bindingParser.parseLiteralAttr(o,u,l,r,n);else if(c[8])this.bindingParser.parsePropertyBinding(c[8],u,!1,l,r,n),this.parseAssignmentEvent(c[8],u,l,r,i);else if(c[9])this.bindingParser.parsePropertyBinding(c[9],u,!1,l,r,n);else if(c[10]){d=[];this.bindingParser.parseEvent(c[10],u,l,r,d),Sl(d,i)}}else p=this.bindingParser.parsePropertyInterpolation(o,u,l,r,n);return p},e.prototype._visitTextWithInterpolation=function(e,t,r){var n=bu(e),i=this.bindingParser.parseInterpolation(n,t);return i?new qu(i,t,r):new Vu(n,t)},e.prototype.parseVariable=function(e,t,r,n){e.indexOf("-")>-1&&this.reportError('"-" is not allowed in variable names',r),n.push(new $u(e,t,r))},e.prototype.parseReference=function(e,t,r,n){e.indexOf("-")>-1&&this.reportError('"-" is not allowed in reference names',r),n.push(new Hu(e,t,r))},e.prototype.parseAssignmentEvent=function(e,t,r,n,i){var a=[];this.bindingParser.parseEvent(e+"Change",t+"=$event",r,n,a),Sl(a,i)},e.prototype.reportError=function(e,t,r){void 0===r&&(r=As.ERROR),this.errors.push(new _s(t,e,r))},e}(),Tl=new(function(){function e(){}return e.prototype.visitElement=function(e){var t=dl(e);if(t.type===el.SCRIPT||t.type===el.STYLE||t.type===el.STYLESHEET)return null;var r=Wo(this,e.children,null);return new Ju(e.name,Wo(this,e.attrs),[],[],r,[],e.sourceSpan,e.startSourceSpan,e.endSourceSpan)},e.prototype.visitComment=function(e){return null},e.prototype.visitAttribute=function(e){return new Uu(e.name,e.value,e.sourceSpan,void 0,e.i18n)},e.prototype.visitText=function(e){return new Vu(e.value,e.sourceSpan)},e.prototype.visitExpansion=function(e){return null},e.prototype.visitExpansionCase=function(e){return null},e}());function El(e){return/^data-/i.test(e)?e.substring(5):e}function Sl(e,t){t.push.apply(t,Object(i.d)(e.map((function(e){return Xu.fromParsedEvent(e)}))))}function bl(e){return e instanceof qo&&0==e.value.trim().length}
350/**
351 * @license
352 * Copyright Google Inc. All Rights Reserved.
353 *
354 * Use of this source code is governed by an MIT-style license that can be
355 * found in the LICENSE file at https://angular.io/license
356 */!function(e){e[e.ELEMENT=0]="ELEMENT",e[e.TEMPLATE=1]="TEMPLATE"}(vl||(vl={}));var xl=function(){function e(e,t,r,n,i,a){void 0===r&&(r=0),void 0===n&&(n=null),this.index=e,this.ref=t,this.level=r,this.templateIndex=n,this.meta=i,this.registry=a,this.bindings=new Set,this.placeholders=new Map,this._unresolvedCtxCount=0,this._registry=a||{getUniqueId:Yn(),icus:new Map},this.id=this._registry.getUniqueId()}return e.prototype.appendTag=function(e,t,r,n){if(!t.isVoid||!n){var i=t.isVoid||!n?t.startName:t.closeName,a={type:e,index:r,ctx:this.id,isVoid:t.isVoid,closed:n};$n(this.placeholders,i,a)}},Object.defineProperty(e.prototype,"icus",{get:function(){return this._registry.icus},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isRoot",{get:function(){return 0===this.level},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isResolved",{get:function(){return 0===this._unresolvedCtxCount},enumerable:!0,configurable:!0}),e.prototype.getSerializedPlaceholders=function(){var e=new Map;return this.placeholders.forEach((function(t,r){return e.set(r,t.map(Pl))})),e},e.prototype.appendBinding=function(e){this.bindings.add(e)},e.prototype.appendIcu=function(e,t){$n(this._registry.icus,e,t)},e.prototype.appendBoundText=function(e){var t=this;Hn(e,this.bindings.size,this.id).forEach((function(e,r){return $n.apply(void 0,Object(i.d)([t.placeholders,r],e))}))},e.prototype.appendTemplate=function(e,t){this.appendTag(vl.TEMPLATE,e,t,!1),this.appendTag(vl.TEMPLATE,e,t,!0),this._unresolvedCtxCount++},e.prototype.appendElement=function(e,t,r){this.appendTag(vl.ELEMENT,e,t,r)},e.prototype.forkChildContext=function(t,r,n){return new e(t,this.ref,this.level+1,r,n,this._registry)},e.prototype.reconcileChildContext=function(e){var t=this;["start","close"].forEach((function(r){var n=e.meta[r+"Name"],i=(t.placeholders.get(n)||[]).find(Cl(t.id,e.templateIndex));i&&(i.ctx=e.id)})),e.placeholders.forEach((function(r,n){var a=t.placeholders.get(n);if(a){var s=function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r;return-1}(a,Cl(e.id,e.templateIndex));if(s>=0){var o=n.startsWith("CLOSE");if(n.endsWith("NG-TEMPLATE"))a.splice.apply(a,Object(i.d)([s+(o?0:1),0],r));else r[o?r.length-1:0].tmpl=a[s],a.splice.apply(a,Object(i.d)([s,1],r))}else a.push.apply(a,Object(i.d)(r));t.placeholders.set(n,a)}else t.placeholders.set(n,r)})),this._unresolvedCtxCount--},e}();function Dl(e,t,r,n){return Jn(""+(n?"/":"")+e+t,r)}function Al(e,t,r){var n=t.index,i=t.ctx;return t.isVoid?Dl(e,n,i)+Dl(e,n,i,!0):Dl(e,n,i,r)}function Cl(e,t){return function(r){return"object"==typeof r&&r.type===vl.TEMPLATE&&r.index===t&&r.ctx===e}}function Pl(e){var t=function(e,t){return Al("#",e,t)},r=function(e,t){return Al("*",e,t)};switch(e.type){case vl.ELEMENT:return e.closed?t(e,!0)+(e.tmpl?r(e.tmpl,!0):""):e.tmpl?r(e.tmpl)+t(e)+(e.isVoid?r(e.tmpl,!0):""):t(e);case vl.TEMPLATE:return r(e,e.closed);default:return e}}
357/**
358 * @license
359 * Copyright Google Inc. All Rights Reserved.
360 *
361 * Use of this source code is governed by an MIT-style license that can be
362 * found in the LICENSE file at https://angular.io/license
363 */var wl={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"},_l=function(){function e(){this._placeHolderNameCounts={},this._signatureToName={}}return e.prototype.getStartTagPlaceholderName=function(e,t,r){var n=this._hashTag(e,t,r);if(this._signatureToName[n])return this._signatureToName[n];var i=e.toUpperCase(),a=wl[i]||"TAG_"+i,s=this._generateUniqueName(r?a:"START_"+a);return this._signatureToName[n]=s,s},e.prototype.getCloseTagPlaceholderName=function(e){var t=this._hashClosingTag(e);if(this._signatureToName[t])return this._signatureToName[t];var r=e.toUpperCase(),n=wl[r]||"TAG_"+r,i=this._generateUniqueName("CLOSE_"+n);return this._signatureToName[t]=i,i},e.prototype.getPlaceholderName=function(e,t){var r=e.toUpperCase(),n="PH: "+r+"="+t;if(this._signatureToName[n])return this._signatureToName[n];var i=this._generateUniqueName(r);return this._signatureToName[n]=i,i},e.prototype.getUniquePlaceholder=function(e){return this._generateUniqueName(e.toUpperCase())},e.prototype._hashTag=function(e,t,r){return"<"+e+Object.keys(t).sort().map((function(e){return" "+e+"="+t[e]})).join("")+(r?"/>":"></"+e+">")},e.prototype._hashClosingTag=function(e){return this._hashTag("/"+e,{},!1)},e.prototype._generateUniqueName=function(e){if(!this._placeHolderNameCounts.hasOwnProperty(e))return this._placeHolderNameCounts[e]=1,e;var t=this._placeHolderNameCounts[e];return this._placeHolderNameCounts[e]=t+1,e+"_"+t},e}(),Ol=new Bo(new vo);function Fl(e){var t=new Nl(Ol,e);return function(e,r,n,i,a){return t.toI18nMessage(e,r,n,i,a)}}var Nl=function(){function e(e,t){this._expressionParser=e,this._interpolationConfig=t}return e.prototype.toI18nMessage=function(e,t,r,n,i){this._isIcu=1==e.length&&e[0]instanceof Uo,this._icuDepth=0,this._placeholderRegistry=new _l,this._placeholderToContent={},this._placeholderToMessage={},this._visitNodeFn=i;var a=Wo(this,e,{});return new jr(a,this._placeholderToContent,this._placeholderToMessage,t,r,n)},e.prototype._visitNode=function(e,t){return this._visitNodeFn&&this._visitNodeFn(e,t),t},e.prototype.visitElement=function(e,t){var r=Wo(this,e.children),n={};e.attrs.forEach((function(e){n[e.name]=e.value}));var i=m(e.name).isVoid,a=this._placeholderRegistry.getStartTagPlaceholderName(e.name,n,i);this._placeholderToContent[a]=e.sourceSpan.toString();var s="";i||(s=this._placeholderRegistry.getCloseTagPlaceholderName(e.name),this._placeholderToContent[s]="</"+e.name+">");var o=new Ur(e.name,n,a,s,r,i,e.sourceSpan);return this._visitNode(e,o)},e.prototype.visitAttribute=function(e,t){var r=this._visitTextWithInterpolation(e.value,e.sourceSpan);return this._visitNode(e,r)},e.prototype.visitText=function(e,t){var r=this._visitTextWithInterpolation(e.value,e.sourceSpan);return this._visitNode(e,r)},e.prototype.visitComment=function(e,t){return null},e.prototype.visitExpansion=function(t,r){var n=this;this._icuDepth++;var i={},a=new qr(t.switchValue,t.type,i,t.sourceSpan);if(t.cases.forEach((function(e){i[e.value]=new Vr(e.expression.map((function(e){return e.visit(n,{})})),e.expSourceSpan)})),this._icuDepth--,this._isIcu||this._icuDepth>0){var s=this._placeholderRegistry.getUniquePlaceholder("VAR_"+t.type);return a.expressionPlaceholder=s,this._placeholderToContent[s]=t.switchValue,this._visitNode(t,a)}var o=this._placeholderRegistry.getPlaceholderName("ICU",t.sourceSpan.toString()),u=new e(this._expressionParser,this._interpolationConfig);this._placeholderToMessage[o]=u.toI18nMessage([t],"","","");var l=new Xr(a,o,t.sourceSpan);return this._visitNode(t,l)},e.prototype.visitExpansionCase=function(e,t){throw new Error("Unreachable code")},e.prototype._visitTextWithInterpolation=function(e,t){var r=this._expressionParser.splitInterpolation(e,t.start.toString(),this._interpolationConfig);if(!r)return new Rr(e,t);for(var n=[],i=new Vr(n,t),a=this._interpolationConfig,s=a.start,o=a.end,u=0;u<r.strings.length-1;u++){var l=r.expressions[u],c=l.split(Il)[2]||"INTERPOLATION",p=this._placeholderRegistry.getPlaceholderName(c,l);r.strings[u].length&&n.push(new Rr(r.strings[u],t)),n.push(new Kr(l,p,t)),this._placeholderToContent[p]=s+l+o}var f=r.strings.length-1;return r.strings[f].length&&n.push(new Rr(r.strings[f],t)),i},e}(),Il=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;
364/**
365 * @license
366 * Copyright Google Inc. All Rights Reserved.
367 *
368 * Use of this source code is governed by an MIT-style license that can be
369 * found in the LICENSE file at https://angular.io/license
370 */
371function kl(e,t){e.i18n=t}var Ll=function(){function e(e){this.config=e,this._createI18nMessage=Fl(Io)}return e.prototype._generateI18nMessage=function(e,t,r){void 0===t&&(t="");var n="string"==typeof t?function(e){var t,r,n,a,s;if(e){var o=e.indexOf(Ln),u=e.indexOf(kn),l=void 0;l=(t=Object(i.c)(o>-1?[e.slice(0,o),e.slice(o+2)]:[e,""],2))[0],n=t[1],a=(r=Object(i.c)(u>-1?[l.slice(0,u),l.slice(u+1)]:["",l],2))[0],s=r[1]}return{id:n,meaning:a,description:s}}(t):Kn(t),a=this._createI18nMessage(e,n.meaning||"",n.description||"",n.id||"",r);return a.id||(a.id="string"!=typeof t&&t.id||$r(a)),a},e.prototype.visitElement=function(e,t){var r,n,a,s;if(function(e){return e.attrs.some((function(e){return Vn(e.name)}))}(e)){var o=[],u={};try{for(var l=Object(i.e)(e.attrs),c=l.next();!c.done;c=l.next()){if((y=c.value).name===Mn){var p=e.i18n||y.value,f=this._generateI18nMessage(e.children,p,kl);f.nodes.length&&(e.i18n=f)}else if(y.name.startsWith(Bn)){u[y.name.slice(Bn.length)]=y.value}else o.push(y)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}if(Object.keys(u).length)try{for(var d=Object(i.e)(o),h=d.next();!h.done;h=d.next()){var y,m=u[(y=h.value).name];void 0!==m&&y.value&&(y.i18n=this._generateI18nMessage([y],y.i18n||m))}}catch(e){a={error:e}}finally{try{h&&!h.done&&(s=d.return)&&s.call(d)}finally{if(a)throw a.error}}this.config.keepI18nAttrs||(e.attrs=o)}return Wo(this,e.children),e},e.prototype.visitExpansion=function(e,t){var r,n=e.i18n;if(n instanceof Xr){var i=n.name;Xn(r=this._generateI18nMessage([e],n)).name=i}else r=this._generateI18nMessage([e],n);return e.i18n=r,e},e.prototype.visitText=function(e,t){return e},e.prototype.visitAttribute=function(e,t){return e},e.prototype.visitComment=function(e,t){return e},e.prototype.visitExpansionCase=function(e,t){return e},e}(),Ml=function(e){return"{$"+zn(e)+"}"},Bl=new(function(){function e(){}return e.prototype.visitText=function(e,t){return e.value},e.prototype.visitContainer=function(e,t){var r=this;return e.children.map((function(e){return e.visit(r)})).join("")},e.prototype.visitIcu=function(e,t){var r=this,n=Object.keys(e.cases).map((function(t){return t+" {"+e.cases[t].visit(r)+"}"}));return"{"+e.expressionPlaceholder+", "+e.type+", "+n.join(" ")+"}"},e.prototype.visitTagPlaceholder=function(e,t){var r=this;return e.isVoid?Ml(e.startName):""+Ml(e.startName)+e.children.map((function(e){return e.visit(r)})).join("")+Ml(e.closeName)},e.prototype.visitPlaceholder=function(e,t){return Ml(e.name)},e.prototype.visitIcuPlaceholder=function(e,t){return Ml(e.name)},e}());
372/**
373 * @license
374 * Copyright Google Inc. All Rights Reserved.
375 *
376 * Use of this source code is governed by an MIT-style license that can be
377 * found in the LICENSE file at https://angular.io/license
378 */function jl(e,t){return bt(yt(ei).bitwiseAnd(xt(e),null,!1),t)}var Rl=function(){function e(e,t,r,n,i,a,s,o,u,l,c,p,f,d){void 0===r&&(r=0);var h=this;this.constantPool=e,this.level=r,this.contextName=n,this.i18nContext=i,this.templateIndex=a,this.templateName=s,this.viewQueries=o,this.directiveMatcher=u,this.directives=l,this.pipeTypeByName=c,this.pipes=p,this._namespace=f,this.relativeContextFilePath=d,this._dataIndex=0,this._bindingContext=0,this._prefixCode=[],this._creationCodeFns=[],this._updateCodeFns=[],this._tempVariables=[],this._nestedTemplateFns=[],this._unsupported=ri,this.i18n=null,this._pureFunctionSlots=0,this._bindingSlots=0,this.visitReference=ni,this.visitVariable=ni,this.visitTextAttribute=ni,this.visitBoundAttribute=ni,this.visitBoundEvent=ni,this._dataIndex=o.length,this._bindingScope=t.nestedScope(r),this.fileBasedI18nSuffix=d.replace(/[^A-Za-z0-9]/g,"_")+"_",this._valueConverter=new Vl(e,(function(){return h.allocateDataSlot()}),(function(e){return h.allocatePureFunctionSlots(e)}),(function(e,t,r,n){var i=c.get(e);i&&h.pipes.add(i),h._bindingScope.set(h.level,t,n),h.creationInstruction(null,Br.pipe,[xt(r),xt(e)])}))}return e.prototype.registerContextVariables=function(e){var t=this._bindingScope.freshReferenceName(),r=this.level,n=yt(e.name+t);this._bindingScope.set(r,e.name,n,1,(function(t,i){var a;if(t.bindingLevel===r)a=yt(Zn);else{var s=t.getSharedContextName(r);a=s||Xl(i)}return[n.set(a.prop(e.value||"$implicit")).toConstDecl()]}))},e.prototype.buildTemplateFunction=function(e,t,r,n,a){var s=this;if(void 0===r&&(r=!1),void 0===n&&(n=[]),this._namespace!==Br.namespaceHTML&&this.creationInstruction(null,this._namespace),t.forEach((function(e){return s.registerContextVariables(e)})),r){var o=[];if(n.length>1){var u=n.map((function(e){return G(e)})),l=this.constantPool.getConstLiteral(ii(u),!0),c=this.constantPool.getConstLiteral(ii(n),!0);o.push(l,c)}this.creationInstruction(null,Br.projectionDef,o)}var p=this.i18nContext||qn(a)&&!(Gl(e)&&e[0].i18n===a),f=Ql(e);p&&this.i18nStart(null,a,f),Gu(this,e),this._pureFunctionSlots+=this._bindingSlots,this._valueConverter.updatePipeSlotOffsets(this._bindingSlots),this._nestedTemplateFns.forEach((function(e){return e()})),p&&this.i18nEnd(null,f);var d=this._creationCodeFns.map((function(e){return e()})),h=this._updateCodeFns.map((function(e){return e()})),y=this._bindingScope.viewSnapshotStatements(),m=this._bindingScope.variableDeclarations().concat(this._tempVariables),v=d.length>0?[jl(1,y.concat(d))]:[],g=h.length>0?[jl(2,m.concat(h))]:[];return St([new ke(ei,ce),new ke(Zn,null)],Object(i.d)(this._prefixCode,v,g),ue,null,this.templateName)},e.prototype.getLocal=function(e){return this._bindingScope.get(e)},e.prototype.i18nTranslate=function(e,t,r,n){var a;void 0===t&&(t={});var s=r||this.i18nAllocateRef(),o={};t&&Object.keys(t).length&&Object.keys(t).forEach((function(e){return o[zn(e)]=t[e]}));var u=Kn(e),l=Gn(s,function(e){return e.nodes.map((function(e){return e.visit(Bl,null)})).join("")}
379/**
380 * @license
381 * Copyright Google Inc. All Rights Reserved.
382 *
383 * Use of this source code is governed by an MIT-style license that can be
384 * found in the LICENSE file at https://angular.io/license
385 */(e),u,o,n);return(a=this.constantPool.statements).push.apply(a,Object(i.d)(l)),s},e.prototype.i18nAppendBindings=function(e){var t=this;if(this.i18n&&e.length){var r=yt(Zn);e.forEach((function(e){var n=t.convertExpressionBinding(r,e);t.i18n.appendBinding(n)}))}},e.prototype.i18nBindProps=function(e){var t=this,r={};return Object.keys(e).forEach((function(n){var i=e[n];if(i instanceof Vu)r[n]=xt(i.value);else{var a=i.value.visit(t._valueConverter);if(a instanceof ia){var s=a.strings,o=a.expressions,u=t.i18n,l=u.id,c=function(e,t,r){if(void 0===t&&(t=0),void 0===r&&(r=0),!e.length)return"";for(var n="",i=e.length-1,a=0;a<i;a++)n+=""+e[a]+Jn(t+a,r);return n+=e[i]}(s,u.bindings.size,l);t.i18nAppendBindings(o),r[n]=xt(c)}}})),r},e.prototype.i18nAllocateRef=function(){var e,t=(e=this.fileBasedI18nSuffix,(""+On+e).toUpperCase());return yt(this.constantPool.uniqueName(t))},e.prototype.i18nUpdateRef=function(e){var t=e.icus,r=e.meta,n=e.isRoot,i=e.isResolved;if(n&&i&&!Un(r)){var a=e.getSerializedPlaceholders(),s={},o=a.size?Wn(a):{};t.size&&t.forEach((function(e,t){if(1===e.length)o[t]=e[0];else{var r=Jn("I18N_EXP_"+t);o[t]=xt(r),s[t]=Tt(e)}}));var u=void 0;(Array.from(a.values()).some((function(e){return e.length>1}))||Object.keys(s).length)&&(u=function(e){var t=[e];return Object.keys(s).length&&t.push(_n(s,!0)),Kl(null,Br.i18nPostprocess,t)}),this.i18nTranslate(r,o,e.ref,u)}},e.prototype.i18nStart=function(e,t,r){void 0===e&&(e=null);var n=this.allocateDataSlot();if(this.i18nContext)this.i18n=this.i18nContext.forkChildContext(n,this.templateIndex,t);else{var i=this.i18nAllocateRef();this.i18n=new xl(n,i,0,this.templateIndex,t)}var a=this.i18n,s=a.id,o=a.ref,u=[xt(n),o];s>0&&u.push(xt(s)),this.creationInstruction(e,r?Br.i18n:Br.i18nStart,u)},e.prototype.i18nEnd=function(e,t){var r=this;if(void 0===e&&(e=null),!this.i18n)throw new Error("i18nEnd is executed with no i18n context present");this.i18nContext?(this.i18nContext.reconcileChildContext(this.i18n),this.i18nUpdateRef(this.i18nContext)):this.i18nUpdateRef(this.i18n);var n=this.i18n,i=n.index,a=n.bindings;a.size&&(a.forEach((function(t){return r.updateInstruction(e,Br.i18nExp,[t])})),this.updateInstruction(e,Br.i18nApply,[xt(i)])),t||this.creationInstruction(e,Br.i18nEnd),this.i18n=null},e.prototype.visitContent=function(e){var t=this.allocateDataSlot(),r=e.selectorIndex,n=[xt(t)],i=[];e.attributes.forEach((function(e){var t=e.name;"select"!==t&&i.push(t,e.value)})),i.length>0?n.push(xt(r),ii(i)):0!==r&&n.push(xt(r)),this.creationInstruction(e.sourceSpan,Br.projection,n)},e.prototype.getNamespaceInstruction=function(e){switch(e){case"math":return Br.namespaceMathML;case"svg":return Br.namespaceSVG;default:return Br.namespaceHTML}},e.prototype.addNamespaceInstruction=function(e,t){this._namespace=e,this.creationInstruction(t.sourceSpan,e)},e.prototype.visitElement=function(e){var t,r,n=this,o=this.allocateDataSlot(),u=new ho(xt(o),null),l=!1,c=qn(e.i18n);if(c&&this.i18n)throw new Error("Could not mark an element as translatable inside of a translatable section");var p=[],f=[],d=Object(i.c)(a(e.name),2),h=d[0],y=d[1],m=s(e.name);try{for(var v=Object(i.e)(e.attributes),g=v.next();!g.done;g=v.next()){var T=g.value,E=T.name,S=T.value;"ngNonBindable"===E?l=!0:"style"==E?u.registerStyleAttr(S):"class"==E?u.registerClassAttr(S):T.i18n?p.push(T):f.push(T)}}catch(e){t={error:e}}finally{try{g&&!g.done&&(r=v.return)&&r.call(v)}finally{if(t)throw t.error}}this.matchDirectives(e.name,e);var b=[xt(o)];m||b.push(xt(y));var x=[],D=[];e.inputs.forEach((function(e){u.registerBoundInput(e)||(0==e.type&&e.i18n?p.push(e):D.push(e))})),f.forEach((function(e){return x.push(xt(e.name),xt(e.value))})),x.push.apply(x,Object(i.d)(this.prepareSyntheticAndSelectOnlyAttrs(D,e.outputs))),b.push(this.toAttrsParam(x)),b.push(this.prepareRefsParameter(e.references));var A=this._namespace,C=this.getNamespaceInstruction(h);C!==A&&this.addNamespaceInstruction(C,e);var P=yt(Zn);this.i18n&&this.i18n.appendElement(e.i18n,o);var w=!u.hasBindingsOrInitialValues&&!m&&0===e.outputs.length&&0===p.length&&!(!c&&n.i18n?!Ql(e.children):e.children.length>0),_=!w&&Ql(e.children);if(w)this.creationInstruction(e.sourceSpan,Br.element,si(b));else{if(this.creationInstruction(e.sourceSpan,m?Br.elementContainerStart:Br.elementStart,si(b)),l&&this.creationInstruction(e.sourceSpan,Br.disableBindings),c&&this.i18nStart(e.sourceSpan,e.i18n,_),p.length){var O=!1,F=[];if(p.forEach((function(t){var r=t.i18n;if(t instanceof Uu)F.push(xt(t.name),n.i18nTranslate(r));else{var i=t.value.visit(n._valueConverter);if(i instanceof ia){var a=Wn(Hn(r));F.push(xt(t.name),n.i18nTranslate(r,a)),i.expressions.forEach((function(t){O=!0;var r=n.convertExpressionBinding(P,t);n.updateInstruction(e.sourceSpan,Br.i18nExp,[r])}))}}})),F.length){var I=xt(this.allocateDataSlot()),k=this.constantPool.getConstLiteral(Tt(F),!0);this.creationInstruction(e.sourceSpan,Br.i18nAttributes,[I,k]),O&&this.updateInstruction(e.sourceSpan,Br.i18nApply,[I])}}this.processStylingInstruction(P,u.buildCreateLevelInstruction(e.sourceSpan,this.constantPool),!0),e.outputs.forEach((function(t){n.creationInstruction(t.sourceSpan,Br.listener,n.prepareListenerParameter(e.name,t))}))}if(u.buildUpdateLevelInstructions(this._valueConverter).forEach((function(e){n.processStylingInstruction(P,e,!1)})),D.forEach((function(e){var t=function(e){switch(e){case 0:return Br.elementProperty;case 2:return Br.elementClassProp;case 1:case 4:return Br.elementAttribute;default:return}}(e.type);if(4===e.type){var r=e.value.visit(n._valueConverter);if(r.name||r.value){var a=zl(e.name);n.updateInstruction(e.sourceSpan,Br.elementAttribute,(function(){return[xt(o),xt(a),n.convertPropertyBinding(P,r)]}))}}else if(t){var s=[],u=function(e,t){switch(t){case N.HTML:return mt(Br.sanitizeHtml);case N.SCRIPT:return mt(Br.sanitizeScript);case N.STYLE:return 1===e.type?mt(Br.sanitizeStyle):null;case N.URL:return mt(Br.sanitizeUrl);case N.RESOURCE_URL:return mt(Br.sanitizeResourceUrl);default:return null}}(e,e.securityContext);u&&s.push(u);var l=e.value.visit(n._valueConverter);n.allocateBindingSlots(l),n.updateInstruction(e.sourceSpan,t,(function(){return Object(i.d)([xt(o),xt(e.name),n.convertPropertyBinding(P,l)],s)}))}else n._unsupported("binding type "+e.type)})),Gu(this,e.children),!c&&this.i18n&&this.i18n.appendElement(e.i18n,o,!0),!w){var L=e.endSourceSpan||e.sourceSpan;c&&this.i18nEnd(L,_),l&&this.creationInstruction(L,Br.enableBindings),this.creationInstruction(L,m?Br.elementContainerEnd:Br.elementEnd)}},e.prototype.visitTemplate=function(t){var r=this,n=this.allocateDataSlot();this.i18n&&this.i18n.appendTemplate(t.i18n,n);var a="";Gl(t.children)&&(a=cr(t.children[0].name));var s=a?this.contextName+"_"+a:"",o=s?s+"_Template_"+n:"Template_"+n,u=[xt(n),yt(o),Xe];this.matchDirectives("ng-template",t);var l=[];t.attributes.forEach((function(e){l.push(ii(e.name),ii(e.value))})),l.push.apply(l,Object(i.d)(this.prepareSyntheticAndSelectOnlyAttrs(t.inputs,t.outputs))),u.push(this.toAttrsParam(l)),t.references&&t.references.length&&(u.push(this.prepareRefsParameter(t.references)),u.push(mt(Br.templateRefExtractor)));var c=yt(Zn);t.inputs.forEach((function(e){var i=e.value.visit(r._valueConverter);r.allocateBindingSlots(i),r.updateInstruction(t.sourceSpan,Br.elementProperty,(function(){return[xt(n),xt(e.name),r.convertPropertyBinding(c,i)]}))}));var p=new e(this.constantPool,this._bindingScope,this.level+1,s,this.i18n,n,o,[],this.directiveMatcher,this.directives,this.pipeTypeByName,this.pipes,this._namespace,this.fileBasedI18nSuffix);this._nestedTemplateFns.push((function(){var e=p.buildTemplateFunction(t.children,t.variables,!1,[],t.i18n);r.constantPool.statements.push(e.toDeclStmt(o,null))})),this.creationInstruction(t.sourceSpan,Br.templateCreate,(function(){return u.splice(2,0,xt(p.getConstCount()),xt(p.getVarCount())),si(u)})),t.outputs.forEach((function(e){r.creationInstruction(e.sourceSpan,Br.listener,r.prepareListenerParameter("ng_template",e))}))},e.prototype.visitBoundText=function(e){var t=this;if(this.i18n){var r=e.value.visit(this._valueConverter);r instanceof ia&&(this.i18n.appendBoundText(e.i18n),this.i18nAppendBindings(r.expressions))}else{var n=this.allocateDataSlot();this.creationInstruction(e.sourceSpan,Br.text,[xt(n)]);var i=e.value.visit(this._valueConverter);this.allocateBindingSlots(i),this.updateInstruction(e.sourceSpan,Br.textBinding,(function(){return[xt(n),t.convertPropertyBinding(yt(Zn),i)]}))}},e.prototype.visitText=function(e){this.i18n||this.creationInstruction(e.sourceSpan,Br.text,[xt(this.allocateDataSlot()),xt(e.value)])},e.prototype.visitIcu=function(e){var t=!1;this.i18n||(t=!0,this.i18nStart(null,e.i18n,!0));var r=this.i18n,n=this.i18nBindProps(e.vars),i=this.i18nBindProps(e.placeholders),a=e.i18n,s=function(e){return Kl(null,Br.i18nPostprocess,[e,_n(n,!0)])};if(Un(r.meta))this.i18nTranslate(a,i,r.ref,s);else{var o=this.i18nTranslate(a,i,void 0,s);r.appendIcu(Xn(a).name,o)}return t&&this.i18nEnd(null,!0),null},e.prototype.allocateDataSlot=function(){return this._dataIndex++},e.prototype.getConstCount=function(){return this._dataIndex},e.prototype.getVarCount=function(){return this._pureFunctionSlots},e.prototype.bindingContext=function(){return""+this._bindingContext++},e.prototype.instructionFn=function(e,t,r,n){e.push((function(){var e=Array.isArray(n)?n:n();return Kl(t,r,e).toStmt()}))},e.prototype.processStylingInstruction=function(e,t,r){var n=this;if(t){var i=function(){return t.buildParams((function(t){return n.convertPropertyBinding(e,t,!0)}))};r?this.creationInstruction(t.sourceSpan,t.reference,i):this.updateInstruction(t.sourceSpan,t.reference,i)}},e.prototype.creationInstruction=function(e,t,r){this.instructionFn(this._creationCodeFns,e,t,r||[])},e.prototype.updateInstruction=function(e,t,r){this.instructionFn(this._updateCodeFns,e,t,r||[])},e.prototype.allocatePureFunctionSlots=function(e){var t=this._pureFunctionSlots;return this._pureFunctionSlots+=e,t},e.prototype.allocateBindingSlots=function(e){this._bindingSlots+=e instanceof ia?e.expressions.length:1},e.prototype.convertExpressionBinding=function(e,t){var r=Oa(this,e,t,this.bindingContext(),Pa.TrySimple).currValExpr;return mt(Br.bind).callFn([r])},e.prototype.convertPropertyBinding=function(e,t,r){var n,a=t instanceof ia?Wl:function(){return Lt("Unexpected interpolation")},s=Oa(this,e,t,this.bindingContext(),Pa.TrySimple,a);(n=this._tempVariables).push.apply(n,Object(i.d)(s.stmts));var o=s.currValExpr;return t instanceof ia||r?o:mt(Br.bind).callFn([o])},e.prototype.matchDirectives=function(e,t){var r,n,i,a=this;if(this.directiveMatcher){var s=(r=e,n=ci(t),(i=new E).setElement(r),Object.getOwnPropertyNames(n).forEach((function(e){var t=n[e];i.addAttribute(e,t),"class"===e.toLowerCase()&&t.trim().split(/\s+/g).forEach((function(e){return i.addClassName(e)}))})),i);this.directiveMatcher.match(s,(function(e,t){a.directives.add(t)}))}},e.prototype.prepareSyntheticAndSelectOnlyAttrs=function(e,t){var r=[],n=[];if(e.length){var i=ii("");e.forEach((function(e){4===e.type?r.push(ii(zl(e.name)),i):n.push(e)}))}return(n.length||t.length)&&(r.push(xt(1)),n.forEach((function(e){return r.push(ii(e.name))})),t.forEach((function(e){return r.push(ii(e.name))}))),r},e.prototype.toAttrsParam=function(e){return e.length>0?this.constantPool.getConstLiteral(Tt(e),!0):Xe},e.prototype.prepareRefsParameter=function(e){var t=this;if(!e||0===e.length)return Xe;var r=Or(e.map((function(e){var r=t.allocateDataSlot(),n=t._bindingScope.freshReferenceName(),i=t.level,a=yt(n);return t._bindingScope.set(i,e.name,a,0,(function(e,t){var n=t>0?[Xl(t).toStmt()]:[],i=a.set(mt(Br.reference).callFn([xt(r)]));return n.concat(i.toConstDecl())}),!0),[e.name,e.value]})));return this.constantPool.getConstLiteral(ii(r),!0)},e.prototype.prepareListenerParameter=function(e,t){var r=this,n=cr(t.name),a=cr(e),s=this.templateName+"_"+a+"_"+n+"_listener";return function(){var e=r._bindingScope.nestedScope(r._bindingScope.bindingLevel),n=Aa(e,yt(Zn),t.handler,"b",(function(){return Lt("Unexpected interpolation")})),a=Object(i.d)(e.restoreViewStatement(),e.variableDeclarations(),n.render3Stmts),o=St([new ke("$event",oe)],a,ue,null,s);return[xt(t.name),o]}},e}(),Vl=function(e){function t(t,r,n,i){var a=e.call(this)||this;return a.constantPool=t,a.allocateSlot=r,a.allocatePureFunctionSlots=n,a.definePipe=i,a._pipeBindExprs=[],a}return Object(i.b)(t,e),t.prototype.visitPipe=function(e,t){var r=this.allocateSlot(),n="PIPE:"+r,a=this.allocatePureFunctionSlots(2+e.args.length),s=new Hi(e.span,new Yi(e.span),n),o=function(e){var t=ql[e.length];return{identifier:t||Br.pipeBindV,isVarLength:!t}}(e.args),u=o.identifier,l=o.isVarLength;this.definePipe(e.name,n,r,mt(u));var c=Object(i.d)([e.exp],e.args),p=l?this.visitAll([new ra(e.span,c)]):this.visitAll(c),f=new ca(e.span,s,Object(i.d)([new ta(e.span,r),new ta(e.span,a)],p));return this._pipeBindExprs.push(f),f},t.prototype.updatePipeSlotOffsets=function(e){this._pipeBindExprs.forEach((function(t){t.args[1].value+=e}))},t.prototype.visitLiteralArray=function(e,t){var r=this;return new Ra(e.span,this.visitAll(e.expressions),(function(e){var t=Tt(e);return e.every((function(e){return e.isConstant()}))?r.constantPool.getConstLiteral(t,!0):Jl(r.constantPool,t,r.allocatePureFunctionSlots)}))},t.prototype.visitLiteralMap=function(e,t){var r=this;return new Ra(e.span,this.visitAll(e.values),(function(t){var n=Et(t.map((function(t,r){return{key:e.keys[r].key,value:t,quoted:e.keys[r].quoted}})));return t.every((function(e){return e.isConstant()}))?r.constantPool.getConstLiteral(n,!0):Jl(r.constantPool,n,r.allocatePureFunctionSlots)}))},t}(ma),ql=[Br.pipeBind1,Br.pipeBind2,Br.pipeBind3,Br.pipeBind4];var Ul=[Br.pureFunction0,Br.pureFunction1,Br.pureFunction2,Br.pureFunction3,Br.pureFunction4,Br.pureFunction5,Br.pureFunction6,Br.pureFunction7,Br.pureFunction8];function Kl(e,t,r){return mt(t,null,e).callFn(r,e)}function Xl(e){return mt(Br.nextContext).callFn(e>1?[xt(e)]:[])}function Jl(e,t,r){var n=e.getLiteralFactory(t),a=n.literalFactory,s=n.literalFactoryArguments,o=r(1+s.length);s.length>0||Lt("Expected arguments to a literal factory function");var u=function(e){var t=Ul[e.length];return{identifier:t||Br.pureFunctionV,isVarLength:!t}}(s),l=u.identifier,c=u.isVarLength,p=[xt(o),a];return c?p.push(Tt(s)):p.push.apply(p,Object(i.d)(s)),mt(l).callFn(p)}var Yl=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=null),this.bindingLevel=e,this.parent=t,this.map=new Map,this.referenceNameIndex=0,this.restoreViewVariable=null}return Object.defineProperty(e,"ROOT_SCOPE",{get:function(){return e._ROOT_SCOPE||(e._ROOT_SCOPE=(new e).set(0,"$event",yt("$event"))),e._ROOT_SCOPE},enumerable:!0,configurable:!0}),e.prototype.get=function(e){for(var t=this;t;){var r=t.map.get(e);if(null!=r)return t!==this&&(r={retrievalLevel:r.retrievalLevel,lhs:r.lhs,declareLocalCallback:r.declareLocalCallback,declare:!1,priority:r.priority,localRef:r.localRef},this.map.set(e,r),this.maybeGenerateSharedContextVar(r),this.maybeRestoreView(r.retrievalLevel,r.localRef)),r.declareLocalCallback&&!r.declare&&(r.declare=!0),r.lhs;t=t.parent}return 0===this.bindingLevel?null:this.getComponentProperty(e)},e.prototype.set=function(e,t,r,n,i,a){return void 0===n&&(n=0),!this.map.has(t)||Lt("The name "+t+" is already defined in scope to be "+this.map.get(t)),this.map.set(t,{retrievalLevel:e,lhs:r,declare:!1,declareLocalCallback:i,priority:n,localRef:a||!1}),this},e.prototype.getLocal=function(e){return this.get(e)},e.prototype.nestedScope=function(t){var r=new e(t,this);return t>0&&r.generateSharedContextVar(0),r},e.prototype.getSharedContextName=function(e){var t=this.map.get("$$shared_ctx$$"+e);return t&&t.declare?t.lhs:null},e.prototype.maybeGenerateSharedContextVar=function(e){if(1===e.priority){var t=this.map.get("$$shared_ctx$$"+e.retrievalLevel);t?t.declare=!0:this.generateSharedContextVar(e.retrievalLevel)}},e.prototype.generateSharedContextVar=function(e){var t=yt(Zn+this.freshReferenceName());this.map.set("$$shared_ctx$$"+e,{retrievalLevel:e,lhs:t,declareLocalCallback:function(e,r){return[t.set(Xl(r)).toConstDecl()]},declare:!1,priority:2,localRef:!1})},e.prototype.getComponentProperty=function(e){var t=this.map.get("$$shared_ctx$$0");return t.declare=!0,this.maybeRestoreView(0,!1),t.lhs.prop(e)},e.prototype.maybeRestoreView=function(e,t){this.isListenerScope()&&(e<this.bindingLevel||t)&&(this.parent.restoreViewVariable||(this.parent.restoreViewVariable=yt(this.parent.freshReferenceName())),this.restoreViewVariable=this.parent.restoreViewVariable)},e.prototype.restoreViewStatement=function(){return this.restoreViewVariable?[Kl(null,Br.restoreView,[this.restoreViewVariable]).toStmt()]:[]},e.prototype.viewSnapshotStatements=function(){var e=Kl(null,Br.getCurrentView,[]);return this.restoreViewVariable?[this.restoreViewVariable.set(e).toConstDecl()]:[]},e.prototype.isListenerScope=function(){return this.parent&&this.parent.bindingLevel===this.bindingLevel},e.prototype.variableDeclarations=function(){var e=this,t=0;return Array.from(this.map.values()).filter((function(e){return e.declare})).sort((function(e,t){return t.retrievalLevel-e.retrievalLevel||t.priority-e.priority})).reduce((function(r,n){var i=e.bindingLevel-n.retrievalLevel,a=n.declareLocalCallback(e,i-t);return t=i,r.concat(a)}),[])},e.prototype.freshReferenceName=function(){for(var e=this;e.parent;)e=e.parent;return"_r"+e.referenceNameIndex++},e}();function Wl(e){switch((e=e.slice(1)).length){case 3:return mt(Br.interpolation1).callFn(e);case 5:return mt(Br.interpolation2).callFn(e);case 7:return mt(Br.interpolation3).callFn(e);case 9:return mt(Br.interpolation4).callFn(e);case 11:return mt(Br.interpolation5).callFn(e);case 13:return mt(Br.interpolation6).callFn(e);case 15:return mt(Br.interpolation7).callFn(e);case 17:return mt(Br.interpolation8).callFn(e)}return e.length>=19&&e.length%2==1||Lt("Invalid interpolation argument length "+e.length),mt(Br.interpolationV).callFn([Tt(e)])}function $l(e,t,r,n){void 0===r&&(r={});var i=Hl(),a=(new mu).parse(e,t,!0);if(a.errors&&a.errors.length>0)return{errors:a.errors,nodes:[],hasNgContent:!1,ngContentSelectors:[],relativeContextFilePath:n};var s=a.rootNodes,o={keepI18nAttrs:!r.preserveWhitespaces};s=Wo(new Ll(o),s),r.preserveWhitespaces||(s=Wo(new Du,s),s=Wo(new Ll({keepI18nAttrs:!1}),s));var u=ml(s,i),l=u.nodes,c=u.hasNgContent,p=u.ngContentSelectors,f=u.errors;return f&&f.length>0?{errors:f,nodes:[],hasNgContent:!1,ngContentSelectors:[],relativeContextFilePath:n}:{nodes:l,hasNgContent:c,ngContentSelectors:p,relativeContextFilePath:n}}function Hl(){return new Mu(new Bo(new vo),Io,new Lu,null,[])}function zl(e){return"@"+e}function Gl(e){return 1===e.length&&e[0]instanceof Ju}function Ql(e){return!e.find((function(e){return!(e instanceof Vu||e instanceof qu||e instanceof zu)}))}
386/**
387 * @license
388 * Copyright Google Inc. All Rights Reserved.
389 *
390 * Use of this source code is governed by an MIT-style license that can be
391 * found in the LICENSE file at https://angular.io/license
392 */var Zl=[],ec=/attr\.([^\]]+)/;function tc(e,t,r){var n=new li;n.set("type",e.type),n.set("selectors",ii(G(e.selector)));var a=pi({name:e.name,type:e.type,deps:e.deps,injectFn:Br.directiveInject,extraStatementFn:yc(e,r)});n.set("factory",a.factory),n.set("contentQueries",function(e,t){if(e.queries.length){var r=e.queries.map((function(e){var r=lc(e,t,null);return mt(Br.registerContentQuery).callFn([r,yt("dirIndex")]).toStmt()})),n=e.name;return St([new ke("dirIndex",ce)],r,ue,null,n?n+"_ContentQueries":null)}return null}(e,t)),n.set("contentQueriesRefresh",function(e){if(e.queries.length>0){var t=[],r=e.name,n=[new ke("dirIndex",ce),new ke("queryStartIndex",ce)],i=yt("instance"),a=ti(t,Qn);return t.push(i.set(mt(Br.load).callFn([yt("dirIndex")])).toDeclStmt(ue,[xe.Final])),e.queries.forEach((function(e,r){var n=yt("queryStartIndex"),s=mt(Br.loadQueryList).callFn([r>0?n.plus(xt(r)):n]),o=a().set(s),u=mt(Br.queryRefresh).callFn([o]),l=i.prop(e.propertyName).set(e.first?a().prop("first"):a()),c=u.and(l);t.push(c.toStmt())})),St(n,t,ue,null,r?r+"_ContentQueriesRefresh":null)}return null}(e));for(var s=Object.keys(e.host.properties).length,o=yt("elIndex"),u=yt("dirIndex"),l=new ho(o,u),c={},p=Object.getOwnPropertyNames(e.host.attributes),f=0;f<p.length;f++){var d=p[f],h=e.host.attributes[d];switch(d){case"style":l.registerStyleAttr(h);break;case"class":l.registerClassAttr(h);break;default:c[d]=h}}return n.set("attributes",function(e){var t,r,n=[];try{for(var a=Object(i.e)(Object.getOwnPropertyNames(e)),s=a.next();!s.done;s=a.next()){var o=s.value,u=e[o];n.push(xt(o),xt(u))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}if(n.length>0)return Tt(n);return null}(c)),n.set("hostBindings",function(e,t,r,n,a,s,o){var u,l,c=[],p=e.typeSourceSpan,f=mc(e),d=a.createBoundHostProperties(f,p),h=mt(Br.load).callFn([r]),y=function(e,t){return Oa(null,e,t,"b",Pa.TrySimple,(function(){return Lt("Unexpected interpolation")}))};if(d){var m=new Vl(s,(function(){return Lt("Unexpected node")}),o,(function(){return Lt("Unexpected pipe")}));try{for(var v=Object(i.e)(d),g=v.next();!g.done;g=v.next()){var T=g.value,E=T.name,S=E.substring(0,5).toLowerCase();if("style"===S){var b=Ec(E),x=b.propertyName,D=b.unit;n.registerStyleInput(x,T.expression,D,T.sourceSpan)}else if("class"===S)n.registerClassInput(Ec(E).propertyName,T.expression,T.sourceSpan);else{var A=T.expression.visit(m),C=y(h,A),P=hc(E),w=P.bindingName,_=P.instruction;c.push.apply(c,Object(i.d)(C.stmts)),c.push(mt(_).callFn([t,xt(w),mt(Br.bind).callFn([C.currValExpr])]).toStmt())}}}catch(e){u={error:e}}finally{try{g&&!g.done&&(l=v.return)&&l.call(v)}finally{if(u)throw u.error}}if(n.hasBindingsOrInitialValues){var O=n.buildCreateLevelInstruction(null,s);if(O){var F=dc(O,h,y);c.push(F)}n.buildUpdateLevelInstructions(m).forEach((function(e){var t=dc(e,h,y);c.push(t)}))}}if(c.length>0){var N=e.name;return St([new ke(r.name,ce),new ke(t.name,ce)],c,ue,null,N?N+"_HostBindings":null)}return null}(e,o,u,l,r,t,(function(e){var t=s;return s+=e,t}))),s&&n.set("hostVars",xt(s)),n.set("inputs",ai(e.inputs)),n.set("outputs",ai(e.outputs)),null!==e.exportAs&&n.set("exportAs",xt(e.exportAs)),{definitionMap:n,statements:a.statements}}function rc(e,t){var r=[],n=t.providers,i=t.viewProviders;if(n||i){var a=[n||new Re([])];i&&a.push(i),r.push(mt(Br.ProvidersFeature).callFn(a))}t.usesInheritance&&r.push(mt(Br.InheritDefinitionFeature)),t.lifecycle.usesOnChanges&&r.push(mt(Br.NgOnChangesFeature)),r.length&&e.set("features",Tt(r))}function nc(e,t,r){var n=tc(e,t,r),i=n.definitionMap,a=n.statements;rc(i,e);var s=mt(Br.defineDirective).callFn([i.toLiteralMap()]);(e.selector||"").replace(/\n/g,"");return{expression:s,type:fc(e,Br.DirectiveDefWithMeta),statements:a}}function ic(e){var t=new li;if(e.inputs){var r=e.inputs,n=Object.keys(r).map((function(e){var t=r[e];return{key:e,value:Array.isArray(t)?Tt(t.map((function(e){return xt(e)}))):xt(t),quoted:!1}}));t.set("inputs",Et(n))}if(e.outputs){var i=e.outputs,a=Object.keys(i).map((function(e){return{key:e,value:xt(i[e]),quoted:!1}}));t.set("outputs",Et(a))}return{expression:mt(Br.defineBase).callFn([t.toLiteralMap()]),type:new ie(mt(Br.BaseDef))}}function ac(e,t,r){var n=tc(e,t,r),i=n.definitionMap,a=n.statements;rc(i,e);var s=e.selector&&E.parse(e.selector),o=s&&s[0];if(o){var u=o.getAttrs();u.length&&i.set("attrs",t.getConstLiteral(Tt(u.map((function(e){return xt(null!=e?e:void 0)}))),!0))}var l=null;if(e.directives.size){var c=new S;e.directives.forEach((function(e,t){c.addSelectables(E.parse(t),e)})),l=c}e.viewQueries.length&&i.set("viewQuery",function(e,t){for(var r=[],n=[],i=ti(n,Qn),a=0;a<e.viewQueries.length;a++){var s=e.viewQueries[a],o=lc(s,t,a);r.push(o.toStmt());var u=i(),l=mt(Br.load).callFn([xt(a)]),c=mt(Br.queryRefresh).callFn([u.set(l)]),p=yt(Zn).prop(s.propertyName).set(s.first?u.prop("first"):u);n.push(c.and(p).toStmt())}var f=e.name?e.name+"_Query":null;return St([new ke(ei,ce),new ke(Zn,null)],[jl(1,r),jl(2,n)],ue,null,f)}(e,t));var p=e.name,f=p?p+"_Template":null,d=new Set,h=new Set,y=e.template,m=new Rl(t,Yl.ROOT_SCOPE,0,p,null,null,f,e.viewQueries,l,d,e.pipes,h,Br.namespaceHTML,e.template.relativeContextFilePath),g=m.buildTemplateFunction(y.nodes,[],y.hasNgContent,y.ngContentSelectors);if(i.set("consts",xt(m.getConstCount())),i.set("vars",xt(m.getVarCount())),i.set("template",g),d.size){var T=Tt(Array.from(d));e.wrapDirectivesAndPipesInClosure&&(T=St([],[new He(T)])),i.set("directives",T)}if(h.size){var b=Tt(Array.from(h));e.wrapDirectivesAndPipesInClosure&&(b=St([],[new He(b)])),i.set("pipes",b)}if(null===e.encapsulation&&(e.encapsulation=v.Emulated),e.styles&&e.styles.length){var x=(e.encapsulation==v.Emulated?function(e,t,r){var n=new Fs;return e.map((function(e){return n.shimCssText(e,t,r)}))}(e.styles,ao,io):e.styles).map((function(e){return xt(e)}));i.set("styles",Tt(x))}else e.encapsulation===v.Emulated&&(e.encapsulation=v.None);e.encapsulation!==v.Emulated&&i.set("encapsulation",xt(e.encapsulation)),null!==e.animations&&i.set("data",Et([{key:"animations",value:e.animations,quoted:!1}]));(e.selector||"").replace(/\n/g,"");return{expression:mt(Br.defineComponent).callFn([i.toLiteralMap()]),type:fc(e,Br.ComponentDefWithMeta),statements:a}}function sc(e,t,r){var n=e.toSummary(),i=dr(e.type);return i||Lt("Cannot resolver the name of "+e.type),{name:i,type:t.importExpr(e.type.reference),typeArgumentCount:0,typeSourceSpan:Os(e.isComponent?"Component":"Directive",e.type),selector:e.selector,deps:di(e.type,t,r),queries:oc(e.queries,t),lifecycle:{usesOnChanges:e.type.lifecycleHooks.some((function(e){return e==ja.OnChanges}))},host:{attributes:e.hostAttributes,listeners:n.hostListeners,properties:n.hostProperties},inputs:e.inputs,outputs:e.outputs,usesInheritance:!1,exportAs:null,providers:e.providers.length>0?new Te(e.providers):null}}function oc(e,t){return e.map((function(e){var r=null;return e.read&&e.read.identifier&&(r=t.importExpr(e.read.identifier.reference)),{propertyName:e.propertyName,first:e.first,predicate:uc(e.selectors,t),descendants:e.descendants,read:r}}))}function uc(e,t){if(e.length>1||1==e.length&&e[0].value){var r=e.map((function(e){return e.value}));return r.some((function(e){return!e}))&&Lt("Found a type among the string selectors expected"),t.constantPool.getConstLiteral(Tt(r.map((function(e){return xt(e)}))))}if(1==e.length){var n=e[0];if(n.identifier)return t.importExpr(n.identifier.reference)}return Lt("Unexpected query form"),Ke}function lc(e,t,r){var n=function(e,t){if(Array.isArray(e.predicate)){var r=[];return e.predicate.forEach((function(e){var t=e.split(",").map((function(e){return xt(e.trim())}));r.push.apply(r,Object(i.d)(t))})),t.getConstLiteral(Tt(r),!0)}return e.predicate}(e,t),a=[xt(r,ue),n,xt(e.descendants)];return e.read&&a.push(e.read),mt(Br.query).callFn(a)}function cc(e){return gt(xt(e))}function pc(e){return gt(Et(Object.keys(e).map((function(t){return{key:t,value:xt(Array.isArray(e[t])?e[t][0]:e[t]),quoted:!0}}))))}function fc(e,t){var r,n=(e.selector||"").replace(/\n/g,"");return gt(mt(t,[vi(e.type,e.typeArgumentCount),cc(n),null!==e.exportAs?cc(e.exportAs):pe,pc(e.inputs),pc(e.outputs),(r=e.queries.map((function(e){return e.propertyName})),r.length>0?gt(Tt(r.map((function(e){return xt(e)})))):pe)]))}function dc(e,t,r){var n=e.buildParams((function(e){return r(t,e).currValExpr}));return mt(e.reference,null,e.sourceSpan).callFn(n,e.sourceSpan).toStmt()}function hc(e){var t,r=e.match(ec);return r?(e=r[1],t=Br.elementAttribute):t=Br.elementProperty,{bindingName:e,instruction:t}}function yc(e,t){var r=t.createDirectiveHostEventAsts(mc(e),e.typeSourceSpan);return r&&r.length?function(t){return function(e,t,r){return t.map((function(t){var n=Aa(null,e,t.handler,"b",(function(){return Lt("Unexpected interpolation")})),a=t.name&&cr(t.name),s=r.name,o=s&&a?s+"_"+a+"_HostBindingHandler":null,u=St([new ke("$event",oe)],Object(i.d)(n.render3Stmts),ue,null,o);return mt(Br.listener).callFn([xt(t.name),u]).toStmt()}))}(t,r,e)}:null}function mc(e){return{hostAttributes:e.host.attributes,hostListeners:e.host.listeners,hostProperties:e.host.properties}}function vc(e,t){var r=Array.from(e).map((function(e){var r=Object(i.c)(e,2),n=r[0],a=r[1];return[n,t.importExpr(a)]}));return new Map(r)}var gc=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Tc(e){var t={},r={},n={},i={};return Object.keys(e).forEach((function(a){var s=e[a],o=a.match(gc);null===o?t[a]=s:null!=o[1]?n[o[1]]=s:null!=o[2]?r[o[2]]=s:null!=o[3]&&(i[o[3]]=s)})),{attributes:t,listeners:r,properties:n,animations:i}}function Ec(e){var t="",r="",n=e.indexOf(".");if(n>0){var i=e.lastIndexOf(".");i!==n?(t=e.substring(i+1,e.length),r=e.substring(n+1,i)):r=e.substring(n+1,e.length)}return{propertyName:r,unit:t}}
393/**
394 * @license
395 * Copyright Google Inc. All Rights Reserved.
396 *
397 * Use of this source code is governed by an MIT-style license that can be
398 * found in the LICENSE file at https://angular.io/license
399 */var Sc=function(){function e(){this.R3ResolvedDependencyType=ui}return e.prototype.compilePipe=function(e,t,r){var n=Vi({name:r.name,type:new Te(r.type),deps:Nc(r.deps),pipeName:r.pipeName,pure:r.pure});return Mi(n.expression,e,t,n.statements)},e.prototype.compileInjectable=function(e,t,r){var n=gi({name:r.name,type:new Te(r.type),providedIn:Oc(r.providedIn),useClass:_c(r,bc),useFactory:_c(r,xc),useValue:_c(r,Dc),useExisting:_c(r,Ac),ctorDeps:Nc(r.ctorDeps),userDeps:Nc(r.userDeps)||void 0});return Mi(n.expression,e,t,n.statements)},e.prototype.compileInjector=function(e,t,r){var n=ji({name:r.name,type:new Te(r.type),deps:Nc(r.deps),providers:new Te(r.providers),imports:new Te(r.imports)});return Mi(n.expression,e,t,n.statements)},e.prototype.compileNgModule=function(e,t,r){return Mi(Bi({type:new Te(r.type),bootstrap:r.bootstrap.map(Cc),declarations:r.declarations.map(Cc),imports:r.imports.map(Cc),exports:r.exports.map(Cc),emitInline:!0}).expression,e,t,[])},e.prototype.compileDirective=function(e,t,r){var n=new Zt,a=Hl(),s=nc(wc(r),n,a),o=Object(i.d)(n.statements,s.statements);return Mi(s.expression,e,t,o)},e.prototype.compileComponent=function(e,t,r){var n=new Zt,a=$l(r.template,t,{preserveWhitespaces:r.preserveWhitespaces||!1},"");if(void 0!==a.errors){var s=a.errors.map((function(e){return e.toString()})).join(", ");throw new Error("Errors during JIT compilation of template for "+r.name+": "+s)}var o=ac(Object(i.a)({},r,wc(r),{template:a,viewQueries:r.viewQueries.map(Pc),wrapDirectivesAndPipesInClosure:!1,styles:r.styles||[],encapsulation:r.encapsulation,animations:null!=r.animations?new Te(r.animations):null,viewProviders:null!=r.viewProviders?new Te(r.viewProviders):null}),n,Hl()),u=Object(i.d)(n.statements,o.statements);return Mi(o.expression,e,t,u)},e}(),bc=Object.keys({useClass:null})[0],xc=Object.keys({useFactory:null})[0],Dc=Object.keys({useValue:null})[0],Ac=Object.keys({useExisting:null})[0],Cc=function(e){var t=new Te(e);return{value:t,type:t}};function Pc(e){return Object(i.a)({},e,{predicate:Array.isArray(e.predicate)?e.predicate:new Te(e.predicate),read:e.read?new Te(e.read):null})}function wc(e){var t=kc(e.inputs||[]),r=kc(e.outputs||[]),n=e.propMetadata,a={},s={},o=function(e){n.hasOwnProperty(e)&&n[e].forEach((function(t){"Input"===t.ngMetadataName?a[e]=t.bindingPropertyName?[t.bindingPropertyName,e]:e:function(e){return"Output"===e.ngMetadataName}(t)&&(s[e]=t.bindingPropertyName||e)}))};for(var u in n)o(u);return Object(i.a)({},e,{typeSourceSpan:null,type:new Te(e.type),deps:Nc(e.deps),host:Ic(e.host,e.propMetadata),inputs:Object(i.a)({},t,a),outputs:Object(i.a)({},r,s),queries:e.queries.map(Pc),providers:null!=e.providers?new Te(e.providers):null})}function _c(e,t){return e.hasOwnProperty(t)?new Te(e[t]):void 0}function Oc(e){return null==e||"string"==typeof e?new Pe(e):new Te(e)}function Fc(e){return{token:null===e.token?new Pe(null):e.resolved===ui.Attribute?new Pe(e.token):new Te(e.token),resolved:e.resolved,host:e.host,optional:e.optional,self:e.self,skipSelf:e.skipSelf}}function Nc(e){return null==e?null:e.map(Fc)}function Ic(e,t){var r=Tc(e||{}),n=r.attributes,i=r.listeners,a=r.properties,s=r.animations;if(Object.keys(s).length>0)throw new Error("Animation bindings are as-of-yet unsupported in Ivy");var o=function(e){t.hasOwnProperty(e)&&t[e].forEach((function(t){"HostBinding"===t.ngMetadataName?a[t.hostPropertyName||e]=e:function(e){return"HostListener"===e.ngMetadataName}(t)&&(i[t.eventName||e]=e+"("+(t.args||[]).join(",")+")")}))};for(var u in t)o(u);return{attributes:n,listeners:i,properties:a}}function kc(e){return e.reduce((function(e,t){var r=Object(i.c)(t.split(",").map((function(e){return e.trim()})),2),n=r[0],a=r[1];return e[n]=a||n,e}),{})}function Lc(e){(e.ng||(e.ng={})).ɵcompilerFacade=new Sc}
400/**
401 * @license
402 * Copyright Google Inc. All Rights Reserved.
403 *
404 * Use of this source code is governed by an MIT-style license that can be
405 * found in the LICENSE file at https://angular.io/license
406 */var Mc,Bc,jc=new Wt("7.1.2"),Rc=function(){function e(e,t,r){this.value=e,this.ngContentIndex=t,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitText(this,t)},e}(),Vc=function(){function e(e,t,r){this.value=e,this.ngContentIndex=t,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitBoundText(this,t)},e}(),qc=function(){function e(e,t,r){this.name=e,this.value=t,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitAttr(this,t)},e}(),Uc=((Mc={})[4]=4,Mc[1]=1,Mc[2]=2,Mc[0]=0,Mc[3]=3,Mc),Kc=function(){function e(e,t,r,n,i,a){this.name=e,this.type=t,this.securityContext=r,this.value=n,this.unit=i,this.sourceSpan=a,this.isAnimation=4===this.type}return e.fromBoundProperty=function(t){var r=Uc[t.type];return new e(t.name,r,t.securityContext,t.value,t.unit,t.sourceSpan)},e.prototype.visit=function(e,t){return e.visitElementProperty(this,t)},e}(),Xc=function(){function e(t,r,n,i,a){this.name=t,this.target=r,this.phase=n,this.handler=i,this.sourceSpan=a,this.fullName=e.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}return e.calcFullName=function(e,t,r){return t?t+":"+e:r?"@"+e+"."+r:e},e.fromParsedEvent=function(t){var r=0===t.type?t.targetOrPhase:null,n=1===t.type?t.targetOrPhase:null;return new e(t.name,r,n,t.handler,t.sourceSpan)},e.prototype.visit=function(e,t){return e.visitEvent(this,t)},e}(),Jc=function(){function e(e,t,r,n){this.name=e,this.value=t,this.originalValue=r,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitReference(this,t)},e}(),Yc=function(){function e(e,t,r){this.name=e,this.value=t,this.sourceSpan=r}return e.fromParsedVariable=function(t){return new e(t.name,t.value,t.sourceSpan)},e.prototype.visit=function(e,t){return e.visitVariable(this,t)},e}(),Wc=function(){function e(e,t,r,n,i,a,s,o,u,l,c,p,f){this.name=e,this.attrs=t,this.inputs=r,this.outputs=n,this.references=i,this.directives=a,this.providers=s,this.hasViewContainer=o,this.queryMatches=u,this.children=l,this.ngContentIndex=c,this.sourceSpan=p,this.endSourceSpan=f}return e.prototype.visit=function(e,t){return e.visitElement(this,t)},e}(),$c=function(){function e(e,t,r,n,i,a,s,o,u,l,c){this.attrs=e,this.outputs=t,this.references=r,this.variables=n,this.directives=i,this.providers=a,this.hasViewContainer=s,this.queryMatches=o,this.children=u,this.ngContentIndex=l,this.sourceSpan=c}return e.prototype.visit=function(e,t){return e.visitEmbeddedTemplate(this,t)},e}(),Hc=function(){function e(e,t,r,n){this.directiveName=e,this.templateName=t,this.value=r,this.sourceSpan=n}return e.prototype.visit=function(e,t){return e.visitDirectiveProperty(this,t)},e}(),zc=function(){function e(e,t,r,n,i,a){this.directive=e,this.inputs=t,this.hostProperties=r,this.hostEvents=n,this.contentQueryStartId=i,this.sourceSpan=a}return e.prototype.visit=function(e,t){return e.visitDirective(this,t)},e}(),Gc=function(){function e(e,t,r,n,i,a,s,o){this.token=e,this.multiProvider=t,this.eager=r,this.providers=n,this.providerType=i,this.lifecycleHooks=a,this.sourceSpan=s,this.isModule=o}return e.prototype.visit=function(e,t){return null},e}();
407/**
408 * @license
409 * Copyright Google Inc. All Rights Reserved.
410 *
411 * Use of this source code is governed by an MIT-style license that can be
412 * found in the LICENSE file at https://angular.io/license
413 */!function(e){e[e.PublicService=0]="PublicService",e[e.PrivateService=1]="PrivateService",e[e.Component=2]="Component",e[e.Directive=3]="Directive",e[e.Builtin=4]="Builtin"}(Bc||(Bc={}));var Qc=function(){function e(e,t,r){this.index=e,this.ngContentIndex=t,this.sourceSpan=r}return e.prototype.visit=function(e,t){return e.visitNgContent(this,t)},e}(),Zc=function(){function e(){}return e.prototype.visitNgContent=function(e,t){},e.prototype.visitEmbeddedTemplate=function(e,t){},e.prototype.visitElement=function(e,t){},e.prototype.visitReference=function(e,t){},e.prototype.visitVariable=function(e,t){},e.prototype.visitEvent=function(e,t){},e.prototype.visitElementProperty=function(e,t){},e.prototype.visitAttr=function(e,t){},e.prototype.visitBoundText=function(e,t){},e.prototype.visitText=function(e,t){},e.prototype.visitDirective=function(e,t){},e.prototype.visitDirectiveProperty=function(e,t){},e}(),ep=function(e){function t(){return e.call(this)||this}return Object(i.b)(t,e),t.prototype.visitEmbeddedTemplate=function(e,t){return this.visitChildren(t,(function(t){t(e.attrs),t(e.references),t(e.variables),t(e.directives),t(e.providers),t(e.children)}))},t.prototype.visitElement=function(e,t){return this.visitChildren(t,(function(t){t(e.attrs),t(e.inputs),t(e.outputs),t(e.references),t(e.directives),t(e.providers),t(e.children)}))},t.prototype.visitDirective=function(e,t){return this.visitChildren(t,(function(t){t(e.inputs),t(e.hostProperties),t(e.hostEvents)}))},t.prototype.visitChildren=function(e,t){var r=[],n=this;return t((function(t){t&&t.length&&r.push(tp(n,t,e))})),[].concat.apply([],r)},t}(Zc);function tp(e,t,r){void 0===r&&(r=null);var n=[],i=e.visit?function(t){return e.visit(t,r)||t.visit(e,r)}:function(t){return t.visit(e,r)};return t.forEach((function(e){var t=i(e);t&&n.push(t)})),n}
414/**
415 * @license
416 * Copyright Google Inc. All Rights Reserved.
417 *
418 * Use of this source code is governed by an MIT-style license that can be
419 * found in the LICENSE file at https://angular.io/license
420 */var rp=function(e){var t=void 0===e?{}:e,r=t.defaultEncapsulation,n=void 0===r?v.Emulated:r,i=t.useJit,a=void 0===i||i,s=t.jitDevMode,o=void 0!==s&&s,u=t.missingTranslation,l=void 0===u?null:u,c=t.preserveWhitespaces,p=t.strictInjectionParameters;this.defaultEncapsulation=n,this.useJit=!!a,this.jitDevMode=!!o,this.missingTranslation=l,this.preserveWhitespaces=np(Ot(c)),this.strictInjectionParameters=!0===p};function np(e,t){return void 0===t&&(t=!1),null===e?t:e}
421/**
422 * @license
423 * Copyright Google Inc. All Rights Reserved.
424 *
425 * Use of this source code is governed by an MIT-style license that can be
426 * found in the LICENSE file at https://angular.io/license
427 */var ip=function(){function e(e,t,r,n){this._resourceLoader=e,this._urlResolver=t,this._htmlParser=r,this._config=n,this._resourceLoaderCache=new Map}return e.prototype.clearCache=function(){this._resourceLoaderCache.clear()},e.prototype.clearCacheFor=function(e){var t=this;if(e.isComponent){var r=e.template;this._resourceLoaderCache.delete(r.templateUrl),r.externalStylesheets.forEach((function(e){t._resourceLoaderCache.delete(e.moduleUrl)}))}},e.prototype._fetch=function(e){var t=this._resourceLoaderCache.get(e);return t||(t=this._resourceLoader.get(e),this._resourceLoaderCache.set(e,t)),t},e.prototype.normalizeTemplate=function(e){var t=this;if(_t(e.template)){if(_t(e.templateUrl))throw Mt("'"+Xt(e.componentType)+"' component cannot define both template and templateUrl");if("string"!=typeof e.template)throw Mt("The template specified for component "+Xt(e.componentType)+" is not a string")}else{if(!_t(e.templateUrl))throw Mt("No template specified for component "+Xt(e.componentType));if("string"!=typeof e.templateUrl)throw Mt("The templateUrl specified for component "+Xt(e.componentType)+" is not a string")}if(_t(e.preserveWhitespaces)&&"boolean"!=typeof e.preserveWhitespaces)throw Mt("The preserveWhitespaces option for component "+Xt(e.componentType)+" must be a boolean");return It(this._preParseTemplate(e),(function(r){return t._normalizeTemplateMetadata(e,r)}))},e.prototype._preParseTemplate=function(e){var t,r,n=this;return null!=e.template?(t=e.template,r=e.moduleUrl):(r=this._urlResolver.resolve(e.moduleUrl,e.templateUrl),t=this._fetch(r)),It(t,(function(t){return n._preparseLoadedTemplate(e,t,r)}))},e.prototype._preparseLoadedTemplate=function(e,t,r){var n=!!e.template,i=No.fromArray(e.interpolation),a=this._htmlParser.parse(t,Nr({reference:e.ngModuleType},{type:{reference:e.componentType}},{isInline:n,templateUrl:r}),!0,i);if(a.errors.length>0)throw Mt("Template parse errors:\n"+a.errors.join("\n"));var s=this._normalizeStylesheet(new Sr({styles:e.styles,moduleUrl:e.moduleUrl})),o=new ap;Wo(o,a.rootNodes);var u=this._normalizeStylesheet(new Sr({styles:o.styles,styleUrls:o.styleUrls,moduleUrl:r}));return{template:t,templateUrl:r,isInline:n,htmlAst:a,styles:s.styles.concat(u.styles),inlineStyleUrls:s.styleUrls.concat(u.styleUrls),styleUrls:this._normalizeStylesheet(new Sr({styleUrls:e.styleUrls,moduleUrl:e.moduleUrl})).styleUrls,ngContentSelectors:o.ngContentSelectors}},e.prototype._normalizeTemplateMetadata=function(e,t){var r=this;return It(this._loadMissingExternalStylesheets(t.styleUrls.concat(t.inlineStyleUrls)),(function(n){return r._normalizeLoadedTemplateMetadata(e,t,n)}))},e.prototype._normalizeLoadedTemplateMetadata=function(e,t,r){var n=this,a=Object(i.d)(t.styles);this._inlineStyles(t.inlineStyleUrls,r,a);var s=t.styleUrls,o=s.map((function(e){var t=r.get(e),a=Object(i.d)(t.styles);return n._inlineStyles(t.styleUrls,r,a),new Sr({moduleUrl:e,styles:a})})),u=e.encapsulation;return null==u&&(u=this._config.defaultEncapsulation),u===v.Emulated&&0===a.length&&0===s.length&&(u=v.None),new br({encapsulation:u,template:t.template,templateUrl:t.templateUrl,htmlAst:t.htmlAst,styles:a,styleUrls:s,ngContentSelectors:t.ngContentSelectors,animations:e.animations,interpolation:e.interpolation,isInline:t.isInline,externalStylesheets:o,preserveWhitespaces:np(e.preserveWhitespaces,this._config.preserveWhitespaces)})},e.prototype._inlineStyles=function(e,t,r){var n=this;e.forEach((function(e){var i=t.get(e);i.styles.forEach((function(e){return r.push(e)})),n._inlineStyles(i.styleUrls,t,r)}))},e.prototype._loadMissingExternalStylesheets=function(e,t){var r=this;return void 0===t&&(t=new Map),It(kt(e.filter((function(e){return!t.has(e)})).map((function(e){return It(r._fetch(e),(function(n){var i=r._normalizeStylesheet(new Sr({styles:[n],moduleUrl:e}));return t.set(e,i),r._loadMissingExternalStylesheets(i.styleUrls,t)}))}))),(function(e){return t}))},e.prototype._normalizeStylesheet=function(e){var t=this,r=e.moduleUrl,n=e.styleUrls.filter(Zu).map((function(e){return t._urlResolver.resolve(r,e)})),a=e.styles.map((function(e){var a,s,o,u,l=(a=t._urlResolver,s=r,o=[],u=e.replace(rl,"").replace(tl,(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e[1]||e[2];return Zu(r)?(o.push(a.resolve(s,r)),""):e[0]})),new Qu(u,o));return n.push.apply(n,Object(i.d)(l.styleUrls)),l.style}));return new Sr({styles:a,styleUrls:n,moduleUrl:r})},e}(),ap=function(){function e(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return e.prototype.visitElement=function(e,t){var r=dl(e);switch(r.type){case el.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(r.selectAttr);break;case el.STYLE:var n="";e.children.forEach((function(e){e instanceof qo&&(n+=e.value)})),this.styles.push(n);break;case el.STYLESHEET:this.styleUrls.push(r.hrefAttr)}return r.nonBindable&&this.ngNonBindableStackCount++,Wo(this,e.children),r.nonBindable&&this.ngNonBindableStackCount--,null},e.prototype.visitExpansion=function(e,t){Wo(this,e.cases)},e.prototype.visitExpansionCase=function(e,t){Wo(this,e.expression)},e.prototype.visitComment=function(e,t){return null},e.prototype.visitAttribute=function(e,t){return null},e.prototype.visitText=function(e,t){return null},e}(),sp=[O,_,w,P],op=function(){function e(e){this._reflector=e}return e.prototype.isDirective=function(e){var t=this._reflector.annotations(Jt(e));return t&&t.some(up)},e.prototype.resolve=function(e,t){void 0===t&&(t=!0);var r=this._reflector.annotations(Jt(e));if(r){var n=lp(r,up);if(n){var i=this._reflector.propMetadata(e),a=this._reflector.guards(e);return this._mergeWithPropertyMetadata(n,i,a,e)}}if(t)throw new Error("No Directive annotation found on "+Xt(e));return null},e.prototype._mergeWithPropertyMetadata=function(e,t,r,n){var i=[],a=[],s={},o={};return Object.keys(t).forEach((function(e){var r=lp(t[e],(function(e){return M.isTypeOf(e)}));r&&(r.bindingPropertyName?i.push(e+": "+r.bindingPropertyName):i.push(e));var n=lp(t[e],(function(e){return B.isTypeOf(e)}));n&&(n.bindingPropertyName?a.push(e+": "+n.bindingPropertyName):a.push(e)),t[e].filter((function(e){return j.isTypeOf(e)})).forEach((function(t){if(t.hostPropertyName){var r=t.hostPropertyName[0];if("("===r)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===r)throw new Error("@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.");s["["+t.hostPropertyName+"]"]=e}else s["["+e+"]"]=e})),t[e].filter((function(e){return R.isTypeOf(e)})).forEach((function(t){var r=t.args||[];s["("+t.eventName+")"]=e+"("+r.join(",")+")"}));var u=lp(t[e],(function(e){return sp.some((function(t){return t.isTypeOf(e)}))}));u&&(o[e]=u)})),this._merge(e,i,a,s,o,r,n)},e.prototype._extractPublicName=function(e){return Ct(e,[null,e])[1].trim()},e.prototype._dedupeBindings=function(e){for(var t=new Set,r=new Set,n=[],i=e.length-1;i>=0;i--){var a=e[i],s=this._extractPublicName(a);r.add(s),t.has(s)||(t.add(s),n.push(a))}return n.reverse()},e.prototype._merge=function(e,t,r,n,a,s,o){var u=this._dedupeBindings(e.inputs?e.inputs.concat(t):t),l=this._dedupeBindings(e.outputs?e.outputs.concat(r):r),c=e.host?Object(i.a)({},e.host,n):n,p=e.queries?Object(i.a)({},e.queries,a):a;if(k.isTypeOf(e)){var f=e;return k({selector:f.selector,inputs:u,outputs:l,host:c,exportAs:f.exportAs,moduleId:f.moduleId,queries:p,changeDetection:f.changeDetection,providers:f.providers,viewProviders:f.viewProviders,entryComponents:f.entryComponents,template:f.template,templateUrl:f.templateUrl,styles:f.styles,styleUrls:f.styleUrls,encapsulation:f.encapsulation,animations:f.animations,interpolation:f.interpolation,preserveWhitespaces:e.preserveWhitespaces})}return F({selector:e.selector,inputs:u,outputs:l,host:c,exportAs:e.exportAs,queries:p,providers:e.providers,guards:s})},e}();function up(e){return F.isTypeOf(e)||k.isTypeOf(e)}function lp(e,t){for(var r=e.length-1;r>=0;r--)if(t(e[r]))return e[r];return null}
428/**
429 * @license
430 * Copyright Google Inc. All Rights Reserved.
431 *
432 * Use of this source code is governed by an MIT-style license that can be
433 * found in the LICENSE file at https://angular.io/license
434 */var cp=function(e){function t(t,r){return e.call(this,t,r)||this}return Object(i.b)(t,e),t}(_s),pp="i18n",fp=/^i18n:?/,dp="|",hp="@@",yp=!1;
435/**
436 * @license
437 * Copyright Google Inc. All Rights Reserved.
438 *
439 * Use of this source code is governed by an MIT-style license that can be
440 * found in the LICENSE file at https://angular.io/license
441 */var mp,vp=function(e,t){this.messages=e,this.errors=t};!function(e){e[e.Extract=0]="Extract",e[e.Merge=1]="Merge"}(mp||(mp={}));var gp=function(){function e(e,t){this._implicitTags=e,this._implicitAttrs=t}return e.prototype.extract=function(e,t){var r=this;return this._init(mp.Extract,t),e.forEach((function(e){return e.visit(r,null)})),this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new vp(this._messages,this._errors)},e.prototype.merge=function(e,t,r){this._init(mp.Merge,r),this._translations=t;var n=new Jo("wrapper",[],e,void 0,void 0,void 0).visit(this,null);return this._inI18nBlock&&this._reportError(e[e.length-1],"Unclosed block"),new fu(n.children,this._errors)},e.prototype.visitExpansionCase=function(e,t){var r=Wo(this,e.expression,t);if(this._mode===mp.Merge)return new Ko(e.value,r,e.sourceSpan,e.valueSourceSpan,e.expSourceSpan)},e.prototype.visitExpansion=function(e,t){this._mayBeAddBlockChildren(e);var r=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([e]),this._inIcu=!0);var n=Wo(this,e.cases,t);return this._mode===mp.Merge&&(e=new Uo(e.switchValue,e.type,n,e.sourceSpan,e.switchValueSourceSpan)),this._inIcu=r,e},e.prototype.visitComment=function(e,t){var r,n=!!((r=e)instanceof Yo&&r.value&&r.value.startsWith("i18n"));if(n&&this._isInTranslatableSection)this._reportError(e,"Could not start a block inside a translatable section");else{var i=function(e){return!!(e instanceof Yo&&e.value&&"/i18n"===e.value)}(e);if(!i||this._inI18nBlock){if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(i){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(e,this._blockChildren),this._inI18nBlock=!1;var a=this._addMessage(this._blockChildren,this._blockMeaningAndDesc);return Wo(this,this._translateMessage(e,a))}return void this._reportError(e,"I18N blocks should not cross element boundaries")}}else if(n){if(!yp&&console&&console.warn){yp=!0;var s=e.sourceSpan.details?", "+e.sourceSpan.details:"";console.warn("I18n comments are deprecated, use an <ng-container> element instead ("+e.sourceSpan.start+s+")")}this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=e.value.replace(fp,"").trim(),this._openTranslatableSection(e)}}else this._reportError(e,"Trying to close an unopened block")}},e.prototype.visitText=function(e,t){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(e),e},e.prototype.visitElement=function(e,t){var r=this;this._mayBeAddBlockChildren(e),this._depth++;var n=this._inI18nNode,i=this._inImplicitNode,a=[],s=void 0,o=e.attrs.find((function(e){return e.name===pp}))||null,u=o?o.value:"",l=this._implicitTags.some((function(t){return e.name===t}))&&!this._inIcu&&!this._isInTranslatableSection,c=!i&&l;if(this._inImplicitNode=i||l,this._isInTranslatableSection||this._inIcu)(o||c)&&this._reportError(e,"Could not mark an element as translatable inside a translatable section"),this._mode==mp.Extract&&Wo(this,e.children);else{if(o||c){this._inI18nNode=!0;var p=this._addMessage(e.children,u);s=this._translateMessage(e,p)}if(this._mode==mp.Extract){var f=o||c;f&&this._openTranslatableSection(e),Wo(this,e.children),f&&this._closeTranslatableSection(e,e.children)}}this._mode===mp.Merge&&(s||e.children).forEach((function(e){var n=e.visit(r,t);n&&!r._isInTranslatableSection&&(a=a.concat(n))}));if(this._visitAttributesOf(e),this._depth--,this._inI18nNode=n,this._inImplicitNode=i,this._mode===mp.Merge){var d=this._translateAttributes(e);return new Jo(e.name,d,a,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}return null},e.prototype.visitAttribute=function(e,t){throw new Error("unreachable code")},e.prototype._init=function(e,t){this._mode=e,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=Fl(t)},e.prototype._visitAttributesOf=function(e){var t=this,r={},n=this._implicitAttrs[e.name]||[];e.attrs.filter((function(e){return e.name.startsWith("i18n-")})).forEach((function(e){return r[e.name.slice("i18n-".length)]=e.value})),e.attrs.forEach((function(e){e.name in r?t._addMessage([e],r[e.name]):n.some((function(t){return e.name===t}))&&t._addMessage([e])}))},e.prototype._addMessage=function(e,t){if(0==e.length||1==e.length&&e[0]instanceof Xo&&!e[0].value)return null;var r=Tp(t),n=r.meaning,i=r.description,a=r.id,s=this._createI18nMessage(e,n,i,a);return this._messages.push(s),s},e.prototype._translateMessage=function(e,t){if(t&&this._mode===mp.Merge){var r=this._translations.get(t);if(r)return r;this._reportError(e,'Translation unavailable for message id="'+this._translations.digest(t)+'"')}return[]},e.prototype._translateAttributes=function(e){var t=this,r=e.attrs,n={};r.forEach((function(e){e.name.startsWith("i18n-")&&(n[e.name.slice("i18n-".length)]=Tp(e.value))}));var i=[];return r.forEach((function(r){if(r.name!==pp&&!r.name.startsWith("i18n-"))if(r.value&&""!=r.value&&n.hasOwnProperty(r.name)){var a=n[r.name],s=a.meaning,o=a.description,u=a.id,l=t._createI18nMessage([r],s,o,u),c=t._translations.get(l);if(c)if(0==c.length)i.push(new Xo(r.name,"",r.sourceSpan));else if(c[0]instanceof qo){var p=c[0].value;i.push(new Xo(r.name,p,r.sourceSpan))}else t._reportError(e,'Unexpected translation for attribute "'+r.name+'" (id="'+(u||t._translations.digest(l))+'")');else t._reportError(e,'Translation unavailable for attribute "'+r.name+'" (id="'+(u||t._translations.digest(l))+'")')}else i.push(r)})),i},e.prototype._mayBeAddBlockChildren=function(e){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(e)},e.prototype._openTranslatableSection=function(e){this._isInTranslatableSection?this._reportError(e,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length},Object.defineProperty(e.prototype,"_isInTranslatableSection",{get:function(){return void 0!==this._msgCountAtSectionStart},enumerable:!0,configurable:!0}),e.prototype._closeTranslatableSection=function(e,t){if(this._isInTranslatableSection){var r=this._msgCountAtSectionStart;if(1==t.reduce((function(e,t){return e+(t instanceof Yo?0:1)}),0))for(var n=this._messages.length-1;n>=r;n--){var i=this._messages[n].nodes;if(!(1==i.length&&i[0]instanceof Rr)){this._messages.splice(n,1);break}}this._msgCountAtSectionStart=void 0}else this._reportError(e,"Unexpected section end")},e.prototype._reportError=function(e,t){this._errors.push(new cp(e.sourceSpan,t))},e}();function Tp(e){if(!e)return{meaning:"",description:"",id:""};var t=e.indexOf(hp),r=e.indexOf(dp),n=Object(i.c)(t>-1?[e.slice(0,t),e.slice(t+2)]:[e,""],2),a=n[0],s=n[1],o=Object(i.c)(r>-1?[a.slice(0,r),a.slice(r+1)]:["",a],2);return{meaning:o[0],description:o[1],id:s}}
442/**
443 * @license
444 * Copyright Google Inc. All Rights Reserved.
445 *
446 * Use of this source code is governed by an MIT-style license that can be
447 * found in the LICENSE file at https://angular.io/license
448 */var Ep=new(function(){function e(){this.closedByParent=!1,this.contentType=n.PARSABLE_DATA,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0}return e.prototype.requireExtraParent=function(e){return!1},e.prototype.isClosedByChild=function(e){return!1},e}());function Sp(e){return Ep}
449/**
450 * @license
451 * Copyright Google Inc. All Rights Reserved.
452 *
453 * Use of this source code is governed by an MIT-style license that can be
454 * found in the LICENSE file at https://angular.io/license
455 */var bp=function(e){function t(){return e.call(this,Sp)||this}return Object(i.b)(t,e),t.prototype.parse=function(t,r,n){return void 0===n&&(n=!1),e.prototype.parse.call(this,t,r,n)},t}(du),xp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.write=function(e,t){var r=new Dp,n=[];e.forEach((function(e){var t,a=[];e.sources.forEach((function(e){var t=new Tn("context-group",{purpose:"location"});t.children.push(new Sn(10),new Tn("context",{"context-type":"sourcefile"},[new En(e.filePath)]),new Sn(10),new Tn("context",{"context-type":"linenumber"},[new En(""+e.startLine)]),new Sn(8)),a.push(new Sn(8),t)}));var s=new Tn("trans-unit",{id:e.id,datatype:"html"});(t=s.children).push.apply(t,Object(i.d)([new Sn(8),new Tn("source",{},r.serialize(e.nodes))],a)),e.description&&s.children.push(new Sn(8),new Tn("note",{priority:"1",from:"description"},[new En(e.description)])),e.meaning&&s.children.push(new Sn(8),new Tn("note",{priority:"1",from:"meaning"},[new En(e.meaning)])),s.children.push(new Sn(6)),n.push(new Sn(6),s)}));var a=new Tn("body",{},Object(i.d)(n,[new Sn(4)])),s=new Tn("file",{"source-language":t||"en",datatype:"plaintext",original:"ng2.template"},[new Sn(4),a,new Sn(2)]),o=new Tn("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new Sn(2),s,new Sn]);return mn([new vn({version:"1.0",encoding:"UTF-8"}),new Sn,o,new Sn])},t.prototype.load=function(e,t){var r=(new Ap).parse(e,t),n=r.locale,a=r.msgIdToHtml,s=r.errors,o={},u=new Cp;if(Object.keys(a).forEach((function(e){var r=u.convert(a[e],t),n=r.i18nNodes,l=r.errors;s.push.apply(s,Object(i.d)(l)),o[e]=n})),s.length)throw new Error("xliff parse errors:\n"+s.join("\n"));return{locale:n,i18nNodesByMsgId:o}},t.prototype.digest=function(e){return Wr(e)},t}(dn),Dp=function(){function e(){}return e.prototype.visitText=function(e,t){return[new En(e.value)]},e.prototype.visitContainer=function(e,t){var r=this,n=[];return e.children.forEach((function(e){return n.push.apply(n,Object(i.d)(e.visit(r)))})),n},e.prototype.visitIcu=function(e,t){var r=this,n=[new En("{"+e.expressionPlaceholder+", "+e.type+", ")];return Object.keys(e.cases).forEach((function(t){n.push.apply(n,Object(i.d)([new En(t+" {")],e.cases[t].visit(r),[new En("} ")]))})),n.push(new En("}")),n},e.prototype.visitTagPlaceholder=function(e,t){var r=function(e){switch(e.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+e}}
456/**
457 * @license
458 * Copyright Google Inc. All Rights Reserved.
459 *
460 * Use of this source code is governed by an MIT-style license that can be
461 * found in the LICENSE file at https://angular.io/license
462 */(e.tag);if(e.isVoid)return[new Tn("x",{id:e.startName,ctype:r,"equiv-text":"<"+e.tag+"/>"})];var n=new Tn("x",{id:e.startName,ctype:r,"equiv-text":"<"+e.tag+">"}),a=new Tn("x",{id:e.closeName,ctype:r,"equiv-text":"</"+e.tag+">"});return Object(i.d)([n],this.serialize(e.children),[a])},e.prototype.visitPlaceholder=function(e,t){return[new Tn("x",{id:e.name,"equiv-text":"{{"+e.value+"}}"})]},e.prototype.visitIcuPlaceholder=function(e,t){var r="{"+e.value.expression+", "+e.value.type+", "+Object.keys(e.value.cases).map((function(e){return e+" {...}"})).join(" ")+"}";return[new Tn("x",{id:e.name,"equiv-text":r})]},e.prototype.serialize=function(e){var t=this;return[].concat.apply([],Object(i.d)(e.map((function(e){return e.visit(t)}))))},e}(),Ap=function(){function e(){this._locale=null}return e.prototype.parse=function(e,t){this._unitMlString=null,this._msgIdToHtml={};var r=(new bp).parse(e,t,!1);return this._errors=r.errors,Wo(this,r.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},e.prototype.visitElement=function(e,t){switch(e.name){case"trans-unit":this._unitMlString=null;var r=e.attrs.find((function(e){return"id"===e.name}));if(r){var n=r.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,"Duplicated translations for msg "+n):(Wo(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,"Message "+n+" misses a translation"))}else this._addError(e,'<trans-unit> misses the "id" attribute');break;case"source":case"seg-source":break;case"target":var i=e.startSourceSpan.end.offset,a=e.endSourceSpan.start.offset,s=e.startSourceSpan.start.file.content.slice(i,a);this._unitMlString=s;break;case"file":var o=e.attrs.find((function(e){return"target-language"===e.name}));o&&(this._locale=o.value),Wo(this,e.children,null);break;default:Wo(this,e.children,null)}},e.prototype.visitAttribute=function(e,t){},e.prototype.visitText=function(e,t){},e.prototype.visitComment=function(e,t){},e.prototype.visitExpansion=function(e,t){},e.prototype.visitExpansionCase=function(e,t){},e.prototype._addError=function(e,t){this._errors.push(new cp(e.sourceSpan,t))},e}(),Cp=function(){function e(){}return e.prototype.convert=function(e,t){var r=(new bp).parse(e,t,!0);return this._errors=r.errors,{i18nNodes:this._errors.length>0||0==r.rootNodes.length?[]:[].concat.apply([],Object(i.d)(Wo(this,r.rootNodes))),errors:this._errors}},e.prototype.visitText=function(e,t){return new Rr(e.value,e.sourceSpan)},e.prototype.visitElement=function(e,t){if("x"===e.name){var r=e.attrs.find((function(e){return"id"===e.name}));return r?new Kr("",r.value,e.sourceSpan):(this._addError(e,'<x> misses the "id" attribute'),null)}return"mrk"===e.name?[].concat.apply([],Object(i.d)(Wo(this,e.children))):(this._addError(e,"Unexpected tag"),null)},e.prototype.visitExpansion=function(e,t){var r={};return Wo(this,e.cases).forEach((function(t){r[t.value]=new Vr(t.nodes,e.sourceSpan)})),new qr(e.switchValue,e.type,r,e.sourceSpan)},e.prototype.visitExpansionCase=function(e,t){return{value:e.value,nodes:Wo(this,e.expression)}},e.prototype.visitComment=function(e,t){},e.prototype.visitAttribute=function(e,t){},e.prototype._addError=function(e,t){this._errors.push(new cp(e.sourceSpan,t))},e}();
463/**
464 * @license
465 * Copyright Google Inc. All Rights Reserved.
466 *
467 * Use of this source code is governed by an MIT-style license that can be
468 * found in the LICENSE file at https://angular.io/license
469 */var Pp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.write=function(e,t){var r=new wp,n=[];e.forEach((function(e){var t=new Tn("unit",{id:e.id}),i=new Tn("notes");(e.description||e.meaning)&&(e.description&&i.children.push(new Sn(8),new Tn("note",{category:"description"},[new En(e.description)])),e.meaning&&i.children.push(new Sn(8),new Tn("note",{category:"meaning"},[new En(e.meaning)]))),e.sources.forEach((function(e){i.children.push(new Sn(8),new Tn("note",{category:"location"},[new En(e.filePath+":"+e.startLine+(e.endLine!==e.startLine?","+e.endLine:""))]))})),i.children.push(new Sn(6)),t.children.push(new Sn(6),i);var a=new Tn("segment");a.children.push(new Sn(8),new Tn("source",{},r.serialize(e.nodes)),new Sn(6)),t.children.push(new Sn(6),a,new Sn(4)),n.push(new Sn(4),t)}));var a=new Tn("file",{original:"ng.template",id:"ngi18n"},Object(i.d)(n,[new Sn(2)])),s=new Tn("xliff",{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:t||"en"},[new Sn(2),a,new Sn]);return mn([new vn({version:"1.0",encoding:"UTF-8"}),new Sn,s,new Sn])},t.prototype.load=function(e,t){var r=(new _p).parse(e,t),n=r.locale,a=r.msgIdToHtml,s=r.errors,o={},u=new Op;if(Object.keys(a).forEach((function(e){var r=u.convert(a[e],t),n=r.i18nNodes,l=r.errors;s.push.apply(s,Object(i.d)(l)),o[e]=n})),s.length)throw new Error("xliff2 parse errors:\n"+s.join("\n"));return{locale:n,i18nNodesByMsgId:o}},t.prototype.digest=function(e){return $r(e)},t}(dn),wp=function(){function e(){}return e.prototype.visitText=function(e,t){return[new En(e.value)]},e.prototype.visitContainer=function(e,t){var r=this,n=[];return e.children.forEach((function(e){return n.push.apply(n,Object(i.d)(e.visit(r)))})),n},e.prototype.visitIcu=function(e,t){var r=this,n=[new En("{"+e.expressionPlaceholder+", "+e.type+", ")];return Object.keys(e.cases).forEach((function(t){n.push.apply(n,Object(i.d)([new En(t+" {")],e.cases[t].visit(r),[new En("} ")]))})),n.push(new En("}")),n},e.prototype.visitTagPlaceholder=function(e,t){var r=this,n=function(e){switch(e.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}
470/**
471 * @license
472 * Copyright Google Inc. All Rights Reserved.
473 *
474 * Use of this source code is governed by an MIT-style license that can be
475 * found in the LICENSE file at https://angular.io/license
476 */(e.tag);if(e.isVoid)return[new Tn("ph",{id:(this._nextPlaceholderId++).toString(),equiv:e.startName,type:n,disp:"<"+e.tag+"/>"})];var a=new Tn("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:e.startName,equivEnd:e.closeName,type:n,dispStart:"<"+e.tag+">",dispEnd:"</"+e.tag+">"}),s=[].concat.apply([],Object(i.d)(e.children.map((function(e){return e.visit(r)}))));return s.length?s.forEach((function(e){return a.children.push(e)})):a.children.push(new En("")),[a]},e.prototype.visitPlaceholder=function(e,t){var r=(this._nextPlaceholderId++).toString();return[new Tn("ph",{id:r,equiv:e.name,disp:"{{"+e.value+"}}"})]},e.prototype.visitIcuPlaceholder=function(e,t){var r=Object.keys(e.value.cases).map((function(e){return e+" {...}"})).join(" "),n=(this._nextPlaceholderId++).toString();return[new Tn("ph",{id:n,equiv:e.name,disp:"{"+e.value.expression+", "+e.value.type+", "+r+"}"})]},e.prototype.serialize=function(e){var t=this;return this._nextPlaceholderId=0,[].concat.apply([],Object(i.d)(e.map((function(e){return e.visit(t)}))))},e}(),_p=function(){function e(){this._locale=null}return e.prototype.parse=function(e,t){this._unitMlString=null,this._msgIdToHtml={};var r=(new bp).parse(e,t,!1);return this._errors=r.errors,Wo(this,r.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},e.prototype.visitElement=function(e,t){switch(e.name){case"unit":this._unitMlString=null;var r=e.attrs.find((function(e){return"id"===e.name}));if(r){var n=r.value;this._msgIdToHtml.hasOwnProperty(n)?this._addError(e,"Duplicated translations for msg "+n):(Wo(this,e.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[n]=this._unitMlString:this._addError(e,"Message "+n+" misses a translation"))}else this._addError(e,'<unit> misses the "id" attribute');break;case"source":break;case"target":var i=e.startSourceSpan.end.offset,a=e.endSourceSpan.start.offset,s=e.startSourceSpan.start.file.content.slice(i,a);this._unitMlString=s;break;case"xliff":var o=e.attrs.find((function(e){return"trgLang"===e.name}));o&&(this._locale=o.value);var u=e.attrs.find((function(e){return"version"===e.name}));if(u){var l=u.value;"2.0"!==l?this._addError(e,"The XLIFF file version "+l+" is not compatible with XLIFF 2.0 serializer"):Wo(this,e.children,null)}break;default:Wo(this,e.children,null)}},e.prototype.visitAttribute=function(e,t){},e.prototype.visitText=function(e,t){},e.prototype.visitComment=function(e,t){},e.prototype.visitExpansion=function(e,t){},e.prototype.visitExpansionCase=function(e,t){},e.prototype._addError=function(e,t){this._errors.push(new cp(e.sourceSpan,t))},e}(),Op=function(){function e(){}return e.prototype.convert=function(e,t){var r=(new bp).parse(e,t,!0);return this._errors=r.errors,{i18nNodes:this._errors.length>0||0==r.rootNodes.length?[]:[].concat.apply([],Object(i.d)(Wo(this,r.rootNodes))),errors:this._errors}},e.prototype.visitText=function(e,t){return new Rr(e.value,e.sourceSpan)},e.prototype.visitElement=function(e,t){var r=this;switch(e.name){case"ph":var n=e.attrs.find((function(e){return"equiv"===e.name}));if(n)return[new Kr("",n.value,e.sourceSpan)];this._addError(e,'<ph> misses the "equiv" attribute');break;case"pc":var a=e.attrs.find((function(e){return"equivStart"===e.name})),s=e.attrs.find((function(e){return"equivEnd"===e.name}));if(a){if(s){var o=a.value,u=s.value,l=[];return l.concat.apply(l,Object(i.d)([new Kr("",o,e.sourceSpan)],e.children.map((function(e){return e.visit(r,null)})),[new Kr("",u,e.sourceSpan)]))}this._addError(e,'<ph> misses the "equivEnd" attribute')}else this._addError(e,'<ph> misses the "equivStart" attribute');break;case"mrk":return[].concat.apply([],Object(i.d)(Wo(this,e.children)));default:this._addError(e,"Unexpected tag")}return null},e.prototype.visitExpansion=function(e,t){var r={};return Wo(this,e.cases).forEach((function(t){r[t.value]=new Vr(t.nodes,e.sourceSpan)})),new qr(e.switchValue,e.type,r,e.sourceSpan)},e.prototype.visitExpansionCase=function(e,t){return{value:e.value,nodes:[].concat.apply([],Object(i.d)(Wo(this,e.expression)))}},e.prototype.visitComment=function(e,t){},e.prototype.visitAttribute=function(e,t){},e.prototype._addError=function(e,t){this._errors.push(new cp(e.sourceSpan,t))},e}();var Fp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.write=function(e,t){throw new Error("Unsupported")},t.prototype.load=function(e,t){var r=(new Np).parse(e,t),n=r.locale,i=r.msgIdToHtml,a=r.errors,s={},o=new Ip;if(Object.keys(i).forEach((function(e){!function(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){var n=r();return Object.defineProperty(e,t,{enumerable:!0,value:n}),n},set:function(e){throw new Error("Could not overwrite an XTB translation")}})}(s,e,(function(){var r=o.convert(i[e],t),n=r.i18nNodes,a=r.errors;if(a.length)throw new Error("xtb parse errors:\n"+a.join("\n"));return n}))})),a.length)throw new Error("xtb parse errors:\n"+a.join("\n"));return{locale:n,i18nNodesByMsgId:s}},t.prototype.digest=function(e){return Cn(e)},t.prototype.createNameMapper=function(e){return new hn(e,wn)},t}(dn);var Np=function(){function e(){this._locale=null}return e.prototype.parse=function(e,t){this._bundleDepth=0,this._msgIdToHtml={};var r=(new bp).parse(e,t,!1);return this._errors=r.errors,Wo(this,r.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},e.prototype.visitElement=function(e,t){switch(e.name){case"translationbundle":this._bundleDepth++,this._bundleDepth>1&&this._addError(e,"<translationbundle> elements can not be nested");var r=e.attrs.find((function(e){return"lang"===e.name}));r&&(this._locale=r.value),Wo(this,e.children,null),this._bundleDepth--;break;case"translation":var n=e.attrs.find((function(e){return"id"===e.name}));if(n){var i=n.value;if(this._msgIdToHtml.hasOwnProperty(i))this._addError(e,"Duplicated translations for msg "+i);else{var a=e.startSourceSpan.end.offset,s=e.endSourceSpan.start.offset,o=e.startSourceSpan.start.file.content.slice(a,s);this._msgIdToHtml[i]=o}}else this._addError(e,'<translation> misses the "id" attribute');break;default:this._addError(e,"Unexpected tag")}},e.prototype.visitAttribute=function(e,t){},e.prototype.visitText=function(e,t){},e.prototype.visitComment=function(e,t){},e.prototype.visitExpansion=function(e,t){},e.prototype.visitExpansionCase=function(e,t){},e.prototype._addError=function(e,t){this._errors.push(new cp(e.sourceSpan,t))},e}(),Ip=function(){function e(){}return e.prototype.convert=function(e,t){var r=(new bp).parse(e,t,!0);return this._errors=r.errors,{i18nNodes:this._errors.length>0||0==r.rootNodes.length?[]:Wo(this,r.rootNodes),errors:this._errors}},e.prototype.visitText=function(e,t){return new Rr(e.value,e.sourceSpan)},e.prototype.visitExpansion=function(e,t){var r={};return Wo(this,e.cases).forEach((function(t){r[t.value]=new Vr(t.nodes,e.sourceSpan)})),new qr(e.switchValue,e.type,r,e.sourceSpan)},e.prototype.visitExpansionCase=function(e,t){return{value:e.value,nodes:Wo(this,e.expression)}},e.prototype.visitElement=function(e,t){if("ph"===e.name){var r=e.attrs.find((function(e){return"name"===e.name}));if(r)return new Kr("",r.value,e.sourceSpan);this._addError(e,'<ph> misses the "name" attribute')}else this._addError(e,"Unexpected tag");return null},e.prototype.visitComment=function(e,t){},e.prototype.visitAttribute=function(e,t){},e.prototype._addError=function(e,t){this._errors.push(new cp(e.sourceSpan,t))},e}(),kp=function(){function e(e,t,r,n,i,a){void 0===e&&(e={}),void 0===i&&(i=I.Warning),this._i18nNodesByMsgId=e,this.digest=r,this.mapperFactory=n,this._i18nToHtml=new Lp(e,t,r,n,i,a)}return e.load=function(t,r,n,i,a){var s=n.load(t,r),o=s.locale;return new e(s.i18nNodesByMsgId,o,(function(e){return n.digest(e)}),(function(e){return n.createNameMapper(e)}),i,a)},e.prototype.get=function(e){var t=this._i18nToHtml.convert(e);if(t.errors.length)throw new Error(t.errors.join("\n"));return t.nodes},e.prototype.has=function(e){return this.digest(e)in this._i18nNodesByMsgId},e}(),Lp=function(){function e(e,t,r,n,i,a){void 0===e&&(e={}),this._i18nNodesByMsgId=e,this._locale=t,this._digest=r,this._mapperFactory=n,this._missingTranslationStrategy=i,this._console=a,this._contextStack=[],this._errors=[]}return e.prototype.convert=function(e){this._contextStack.length=0,this._errors.length=0;var t=this._convertToText(e),r=e.nodes[0].sourceSpan.start.file.url,n=(new mu).parse(t,r,!0);return{nodes:n.rootNodes,errors:Object(i.d)(this._errors,n.errors)}},e.prototype.visitText=function(e,t){return xn(e.value)},e.prototype.visitContainer=function(e,t){var r=this;return e.children.map((function(e){return e.visit(r)})).join("")},e.prototype.visitIcu=function(e,t){var r=this,n=Object.keys(e.cases).map((function(t){return t+" {"+e.cases[t].visit(r)+"}"}));return"{"+(this._srcMsg.placeholders.hasOwnProperty(e.expression)?this._srcMsg.placeholders[e.expression]:e.expression)+", "+e.type+", "+n.join(" ")+"}"},e.prototype.visitPlaceholder=function(e,t){var r=this._mapper(e.name);return this._srcMsg.placeholders.hasOwnProperty(r)?this._srcMsg.placeholders[r]:this._srcMsg.placeholderToMessage.hasOwnProperty(r)?this._convertToText(this._srcMsg.placeholderToMessage[r]):(this._addError(e,'Unknown placeholder "'+e.name+'"'),"")},e.prototype.visitTagPlaceholder=function(e,t){var r=this,n=""+e.tag,i=Object.keys(e.attrs).map((function(t){return t+'="'+e.attrs[t]+'"'})).join(" ");return e.isVoid?"<"+n+" "+i+"/>":"<"+n+" "+i+">"+e.children.map((function(e){return e.visit(r)})).join("")+"</"+n+">"},e.prototype.visitIcuPlaceholder=function(e,t){return this._convertToText(this._srcMsg.placeholderToMessage[e.name])},e.prototype._convertToText=function(e){var t,r=this,n=this._digest(e),i=this._mapperFactory?this._mapperFactory(e):null;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=e,this._i18nNodesByMsgId.hasOwnProperty(n))t=this._i18nNodesByMsgId[n],this._mapper=function(e){return i?i.toInternalName(e):e};else{if(this._missingTranslationStrategy===I.Error){var a=this._locale?' for locale "'+this._locale+'"':"";this._addError(e.nodes[0],'Missing translation for message "'+n+'"'+a)}else if(this._console&&this._missingTranslationStrategy===I.Warning){a=this._locale?' for locale "'+this._locale+'"':"";this._console.warn('Missing translation for message "'+n+'"'+a)}t=e.nodes,this._mapper=function(e){return e}}var s=t.map((function(e){return e.visit(r)})).join(""),o=this._contextStack.pop();return this._srcMsg=o.msg,this._mapper=o.mapper,s},e.prototype._addError=function(e,t){this._errors.push(new cp(e.sourceSpan,t))},e}(),Mp=function(){function e(e,t,r,n,i){if(void 0===n&&(n=I.Warning),this._htmlParser=e,t){var a=function(e){switch(e=(e||"xlf").toLowerCase()){case"xmb":return new Dn;case"xtb":return new Fp;case"xliff2":case"xlf2":return new Pp;case"xliff":case"xlf":default:return new xp}}
477/**
478 * @license
479 * Copyright Google Inc. All Rights Reserved.
480 *
481 * Use of this source code is governed by an MIT-style license that can be
482 * found in the LICENSE file at https://angular.io/license
483 */(r);this._translationBundle=kp.load(t,"i18n",a,n,i)}else this._translationBundle=new kp({},null,Wr,void 0,n,i)}return e.prototype.parse=function(e,t,r,n){void 0===r&&(r=!1),void 0===n&&(n=Io);var i=this._htmlParser.parse(e,t,r,n);return i.errors.length?new fu(i.rootNodes,i.errors):function(e,t,r,n,i){return new gp(n,i).merge(e,t,r)}(i.rootNodes,this._translationBundle,n,[],{})},e}();function Bp(e,t,r){return void 0===r&&(r=null),wt(t,new jp(e),r)}var jp=function(){function e(e){this.ctx=e}return e.prototype.visitArray=function(e,t){var r=this;return Tt(e.map((function(e){return wt(e,r,null)})),t)},e.prototype.visitStringMap=function(e,t){var r=this,n=[],i=new Set(e&&e.$quoted$);return Object.keys(e).forEach((function(t){n.push(new Ve(t,wt(e[t],r,null),i.has(t)))})),new qe(n,t)},e.prototype.visitPrimitive=function(e,t){return xt(e,t)},e.prototype.visitOther=function(e,t){return e instanceof ye?e:this.ctx.importExpr(e)},e}();
484/**
485 * @license
486 * Copyright Google Inc. All Rights Reserved.
487 *
488 * Use of this source code is governed by an MIT-style license that can be
489 * found in the LICENSE file at https://angular.io/license
490 */function Rp(e,t){return{key:e,value:t,quoted:!1}}var Vp=function(){function e(e,t){this.reflector=e,this.alwaysGenerateDef=t,this.tokenInjector=e.resolveExternalReference(ir.Injector)}return e.prototype.depsArray=function(e,t){var r=this;return e.map((function(e){var n,i=e,a=[i],s=0;if(Array.isArray(e))for(var o=0;o<e.length;o++){var u=e[o];u&&("Optional"===u.ngMetadataName?s|=8:"SkipSelf"===u.ngMetadataName?s|=4:"Self"===u.ngMetadataName?s|=2:i="Inject"===u.ngMetadataName?u.token:u)}return n="string"==typeof i?xt(i):i===r.tokenInjector?mt(ir.INJECTOR):t.importExpr(i),a=0!==s?[n,xt(s)]:[n],mt(ir.inject).callFn(a)}))},e.prototype.factoryFor=function(e,t){var r;if(e.useExisting)r=mt(ir.inject).callFn([t.importExpr(e.useExisting)]);else if(e.useFactory){var n=e.deps||[];if(!(n.length>0))return t.importExpr(e.useFactory);r=t.importExpr(e.useFactory).callFn(this.depsArray(n,t))}else if(e.useValue)r=Bp(t,e.useValue);else{var i=e.useClass||e.symbol,a=this.depsArray(this.reflector.parameters(i),t);r=new Ce(t.importExpr(i),a)}return St([],[new He(r)],void 0,void 0,e.symbol.name+"_Factory")},e.prototype.injectableDef=function(e,t){var r=Ke;void 0!==e.providedIn&&(r=null===e.providedIn?Ke:"string"==typeof e.providedIn?xt(e.providedIn):t.importExpr(e.providedIn));var n=[Rp("factory",this.factoryFor(e,t)),Rp("token",t.importExpr(e.type.reference)),Rp("providedIn",r)];return mt(ir.defineInjectable).callFn([Et(n)])},e.prototype.compile=function(e,t){if(this.alwaysGenerateDef||void 0!==e.providedIn){var r=dr(e.type),n=new et(r,null,[new Ge("ngInjectableDef",ue,[xe.Static],this.injectableDef(e,t))],[],new Qe(null,[],[]),[]);t.statements.push(n)}},e}(),qp=/(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/,Up=/\.ngfactory\.|\.ngsummary\./,Kp=/\.ngsummary\./,Xp=/NgSummary$/;
491/**
492 * @license
493 * Copyright Google Inc. All Rights Reserved.
494 *
495 * Use of this source code is governed by an MIT-style license that can be
496 * found in the LICENSE file at https://angular.io/license
497 */function Jp(e,t){void 0===t&&(t=!1);var r=Wp(e,t);return r[0]+".ngfactory"+$p(r[1])}function Yp(e){return e.replace(Up,".")}function Wp(e,t){if(void 0===t&&(t=!1),e.endsWith(".d.ts"))return[e.slice(0,-5),t?".ts":".d.ts"];var r=e.lastIndexOf(".");return-1!==r?[e.substring(0,r),e.substring(r)]:[e,""]}function $p(e){return".tsx"===e?".ts":e}function Hp(e){return e.replace(qp,"")+".ngsummary.json"}function zp(e,t){void 0===t&&(t=!1);var r=Wp(Yp(e),t);return r[0]+".ngsummary"+r[1]}function Gp(e){return e+"NgSummary"}var Qp=/\u0275\d+/;function Zp(e){return Qp.test(e)}function ef(e){return"ɵ"+e}
498/**
499 * @license
500 * Copyright Google Inc. All Rights Reserved.
501 *
502 * Use of this source code is governed by an MIT-style license that can be
503 * found in the LICENSE file at https://angular.io/license
504 */var tf="ngComponentType",rf=function(){function e(e,t,r,n,i,a,s,o,u,l,c,p){this._config=e,this._htmlParser=t,this._ngModuleResolver=r,this._directiveResolver=n,this._pipeResolver=i,this._summaryResolver=a,this._schemaRegistry=s,this._directiveNormalizer=o,this._console=u,this._staticSymbolCache=l,this._reflector=c,this._errorCollector=p,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map,this._shallowModuleCache=new Map}return e.prototype.getReflector=function(){return this._reflector},e.prototype.clearCacheFor=function(e){var t=this._directiveCache.get(e);this._directiveCache.delete(e),this._nonNormalizedDirectiveCache.delete(e),this._summaryCache.delete(e),this._pipeCache.delete(e),this._ngModuleOfTypes.delete(e),this._ngModuleCache.clear(),t&&this._directiveNormalizer.clearCacheFor(t)},e.prototype.clearCache=function(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()},e.prototype._createProxyClass=function(e,t){var r=null,n=function(){if(!r)throw new Error("Illegal state: Class "+t+" for type "+Xt(e)+" is not compiled yet!");return r.apply(this,arguments)};return n.setDelegate=function(e){r=e,n.prototype=e.prototype},n.overriddenName=t,n},e.prototype.getGeneratedClass=function(e,t){return e instanceof or?this._staticSymbolCache.get(Jp(e.filePath),t):this._createProxyClass(e,t)},e.prototype.getComponentViewClass=function(e){return this.getGeneratedClass(e,yr(e,0))},e.prototype.getHostComponentViewClass=function(e){return this.getGeneratedClass(e,vr(e))},e.prototype.getHostComponentType=function(e){var t=dr({reference:e})+"_Host";return e instanceof or?this._staticSymbolCache.get(e.filePath,t):this._createProxyClass(e,t)},e.prototype.getRendererType=function(e){return e instanceof or?this._staticSymbolCache.get(Jp(e.filePath),mr(e)):{}},e.prototype.getComponentFactory=function(e,t,r,n){if(t instanceof or)return this._staticSymbolCache.get(Jp(t.filePath),gr(t));var i=this.getHostComponentViewClass(t);return this._reflector.resolveExternalReference(ir.createComponentFactory)(e,t,i,r,n,[])},e.prototype.initComponentFactory=function(e,t){var r;e instanceof or||(r=e.ngContentSelectors).push.apply(r,Object(i.d)(t))},e.prototype._loadSummary=function(e,t){var r=this._summaryCache.get(e);if(!r){var n=this._summaryResolver.resolveSummary(e);r=n?n.type:null,this._summaryCache.set(e,r||null)}return r&&r.summaryKind===t?r:null},e.prototype.getHostComponentMetadata=function(e,t){var r=this.getHostComponentType(e.type.reference);t||(t=this.getHostComponentViewClass(r));var n=E.parse(e.selector)[0].getMatchingElementTemplate(),i=this._htmlParser.parse(n,"");return xr.create({isHost:!0,type:{reference:r,diDeps:[],lifecycleHooks:[]},template:new br({encapsulation:v.None,template:n,templateUrl:"",htmlAst:i,styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:g.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],guards:{},viewQueries:[],componentViewType:t,rendererType:{id:"__Host__",encapsulation:v.None,styles:[],data:{}},entryComponents:[],componentFactory:null})},e.prototype.loadDirectiveMetadata=function(e,t,r){var n=this;if(this._directiveCache.has(t))return null;t=Jt(t);var i,a,s=this.getNonNormalizedDirectiveMetadata(t),o=s.annotation,u=s.metadata,l=function(e){var r=new xr({isHost:!1,type:u.type,isComponent:u.isComponent,selector:u.selector,exportAs:u.exportAs,changeDetection:u.changeDetection,inputs:u.inputs,outputs:u.outputs,hostListeners:u.hostListeners,hostProperties:u.hostProperties,hostAttributes:u.hostAttributes,providers:u.providers,viewProviders:u.viewProviders,queries:u.queries,guards:u.guards,viewQueries:u.viewQueries,entryComponents:u.entryComponents,componentViewType:u.componentViewType,rendererType:u.rendererType,componentFactory:u.componentFactory,template:e});return e&&n.initComponentFactory(u.componentFactory,e.ngContentSelectors),n._directiveCache.set(t,r),n._summaryCache.set(t,r.toSummary()),null};if(u.isComponent){var c=u.template,p=this._directiveNormalizer.normalizeTemplate({ngModuleType:e,componentType:t,moduleUrl:this._reflector.componentModuleUrl(t,o),encapsulation:c.encapsulation,template:c.template,templateUrl:c.templateUrl,styles:c.styles,styleUrls:c.styleUrls,animations:c.animations,interpolation:c.interpolation,preserveWhitespaces:c.preserveWhitespaces});return Yt(p)&&r?(this._reportError((i=t,(a=Error("Can't compile synchronously as "+Xt(i)+" is still being loaded!"))[tf]=i,a),t),null):It(p,l)}return l(null),null},e.prototype.getNonNormalizedDirectiveMetadata=function(e){var t=this;if(!(e=Jt(e)))return null;var r=this._nonNormalizedDirectiveCache.get(e);if(r)return r;var n=this._directiveResolver.resolve(e,!1);if(!n)return null;var i=void 0;if(k.isTypeOf(n)){_o("styles",(s=n).styles),_o("styleUrls",s.styleUrls),Fo("interpolation",s.interpolation);var a=s.animations;i=new br({encapsulation:Ot(s.encapsulation),template:Ot(s.template),templateUrl:Ot(s.templateUrl),htmlAst:null,styles:s.styles||[],styleUrls:s.styleUrls||[],animations:a||[],interpolation:Ot(s.interpolation),isInline:!!s.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:Ot(n.preserveWhitespaces)})}var s,o=null,u=[],l=[],c=n.selector;k.isTypeOf(n)?(o=(s=n).changeDetection,s.viewProviders&&(u=this._getProvidersMetadata(s.viewProviders,l,'viewProviders for "'+of(e)+'"',[],e)),s.entryComponents&&(l=nf(s.entryComponents).map((function(e){return t._getEntryComponentMetadata(e)})).concat(l)),c||(c=this._schemaRegistry.getDefaultComponentElementName())):c||(this._reportError(Mt("Directive "+of(e)+" has no selector, please add it!"),e),c="error");var p=[];null!=n.providers&&(p=this._getProvidersMetadata(n.providers,l,'providers for "'+of(e)+'"',[],e));var f=[],d=[];null!=n.queries&&(f=this._getQueriesMetadata(n.queries,!1,e),d=this._getQueriesMetadata(n.queries,!0,e));var h=xr.create({isHost:!1,selector:c,exportAs:Ot(n.exportAs),isComponent:!!i,type:this._getTypeMetadata(e),template:i,changeDetection:o,inputs:n.inputs||[],outputs:n.outputs||[],host:n.host||{},providers:p||[],viewProviders:u||[],queries:f||[],guards:n.guards||{},viewQueries:d||[],entryComponents:l,componentViewType:i?this.getComponentViewClass(e):null,rendererType:i?this.getRendererType(e):null,componentFactory:null});return i&&(h.componentFactory=this.getComponentFactory(c,e,h.inputs,h.outputs)),r={metadata:h,annotation:n},this._nonNormalizedDirectiveCache.set(e,r),r},e.prototype.getDirectiveMetadata=function(e){var t=this._directiveCache.get(e);return t||this._reportError(Mt("Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive "+of(e)+"."),e),t},e.prototype.getDirectiveSummary=function(e){var t=this._loadSummary(e,pr.Directive);return t||this._reportError(Mt("Illegal state: Could not load the summary for directive "+of(e)+"."),e),t},e.prototype.isDirective=function(e){return!!this._loadSummary(e,pr.Directive)||this._directiveResolver.isDirective(e)},e.prototype.isPipe=function(e){return!!this._loadSummary(e,pr.Pipe)||this._pipeResolver.isPipe(e)},e.prototype.isNgModule=function(e){return!!this._loadSummary(e,pr.NgModule)||this._ngModuleResolver.isNgModule(e)},e.prototype.getNgModuleSummary=function(e,t){void 0===t&&(t=null);var r=this._loadSummary(e,pr.NgModule);if(!r){var n=this.getNgModuleMetadata(e,!1,t);(r=n?n.toSummary():null)&&this._summaryCache.set(e,r)}return r},e.prototype.loadNgModuleDirectiveAndPipeMetadata=function(e,t,r){var n=this;void 0===r&&(r=!0);var i=this.getNgModuleMetadata(e,r),a=[];return i&&(i.declaredDirectives.forEach((function(r){var i=n.loadDirectiveMetadata(e,r.reference,t);i&&a.push(i)})),i.declaredPipes.forEach((function(e){return n._loadPipeMetadata(e.reference)}))),Promise.all(a)},e.prototype.getShallowModuleMetadata=function(e){var t=this._shallowModuleCache.get(e);if(t)return t;var r=lp(this._reflector.shallowAnnotations(e),V.isTypeOf);return t={type:this._getTypeMetadata(e),rawExports:r.exports,rawImports:r.imports,rawProviders:r.providers},this._shallowModuleCache.set(e,t),t},e.prototype.getNgModuleMetadata=function(e,t,r){var n=this;void 0===t&&(t=!0),void 0===r&&(r=null),e=Jt(e);var a=this._ngModuleCache.get(e);if(a)return a;var s=this._ngModuleResolver.resolve(e,t);if(!s)return null;var o=[],u=[],l=[],c=[],p=[],f=[],d=[],h=[],y=[];s.imports&&nf(s.imports).forEach((function(t){var a=void 0;if(af(t))a=t;else if(t&&t.ngModule){var s=t;a=s.ngModule,s.providers&&f.push.apply(f,Object(i.d)(n._getProvidersMetadata(s.providers,d,"provider for the NgModule '"+of(a)+"'",[],t)))}if(a){if(!n._checkSelfImport(e,a))if(r||(r=new Set),r.has(a))n._reportError(Mt(n._getTypeDescriptor(a)+" '"+of(t)+"' is imported recursively by the module '"+of(e)+"'."),e);else{r.add(a);var o=n.getNgModuleSummary(a,r);r.delete(a),o?c.push(o):n._reportError(Mt("Unexpected "+n._getTypeDescriptor(t)+" '"+of(t)+"' imported by the module '"+of(e)+"'. Please add a @NgModule annotation."),e)}}else n._reportError(Mt("Unexpected value '"+of(t)+"' imported by the module '"+of(e)+"'"),e)})),s.exports&&nf(s.exports).forEach((function(t){if(af(t))if(r||(r=new Set),r.has(t))n._reportError(Mt(n._getTypeDescriptor(t)+" '"+Xt(t)+"' is exported recursively by the module '"+of(e)+"'"),e);else{r.add(t);var i=n.getNgModuleSummary(t,r);r.delete(t),i?p.push(i):u.push(n._getIdentifierMetadata(t))}else n._reportError(Mt("Unexpected value '"+of(t)+"' exported by the module '"+of(e)+"'"),e)}));var m=this._getTransitiveNgModuleMetadata(c,p);s.declarations&&nf(s.declarations).forEach((function(t){if(af(t)){var r=n._getIdentifierMetadata(t);if(n.isDirective(t))m.addDirective(r),o.push(r),n._addTypeToModule(t,e);else{if(!n.isPipe(t))return void n._reportError(Mt("Unexpected "+n._getTypeDescriptor(t)+" '"+of(t)+"' declared by the module '"+of(e)+"'. Please add a @Pipe/@Directive/@Component annotation."),e);m.addPipe(r),m.pipes.push(r),l.push(r),n._addTypeToModule(t,e)}}else n._reportError(Mt("Unexpected value '"+of(t)+"' declared by the module '"+of(e)+"'"),e)}));var v=[],g=[];return u.forEach((function(t){if(m.directivesSet.has(t.reference))v.push(t),m.addExportedDirective(t);else{if(!m.pipesSet.has(t.reference))return void n._reportError(Mt("Can't export "+n._getTypeDescriptor(t.reference)+" "+of(t.reference)+" from "+of(e)+" as it was neither declared nor imported!"),e);g.push(t),m.addExportedPipe(t)}})),s.providers&&f.push.apply(f,Object(i.d)(this._getProvidersMetadata(s.providers,d,"provider for the NgModule '"+of(e)+"'",[],e))),s.entryComponents&&d.push.apply(d,Object(i.d)(nf(s.entryComponents).map((function(e){return n._getEntryComponentMetadata(e)})))),s.bootstrap&&nf(s.bootstrap).forEach((function(t){af(t)?h.push(n._getIdentifierMetadata(t)):n._reportError(Mt("Unexpected value '"+of(t)+"' used in the bootstrap property of module '"+of(e)+"'"),e)})),d.push.apply(d,Object(i.d)(h.map((function(e){return n._getEntryComponentMetadata(e.reference)})))),s.schemas&&y.push.apply(y,Object(i.d)(nf(s.schemas))),a=new Cr({type:this._getTypeMetadata(e),providers:f,entryComponents:d,bootstrapComponents:h,schemas:y,declaredDirectives:o,exportedDirectives:v,declaredPipes:l,exportedPipes:g,importedModules:c,exportedModules:p,transitiveModule:m,id:s.id||null}),d.forEach((function(e){return m.addEntryComponent(e)})),f.forEach((function(e){return m.addProvider(e,a.type)})),m.addModule(a.type),this._ngModuleCache.set(e,a),a},e.prototype._checkSelfImport=function(e,t){return e===t&&(this._reportError(Mt("'"+of(e)+"' module can't import itself"),e),!0)},e.prototype._getTypeDescriptor=function(e){if(af(e)){if(this.isDirective(e))return"directive";if(this.isPipe(e))return"pipe";if(this.isNgModule(e))return"module"}return e.provide?"provider":"value"},e.prototype._addTypeToModule=function(e,t){var r=this._ngModuleOfTypes.get(e);r&&r!==t?this._reportError(Mt("Type "+of(e)+" is part of the declarations of 2 modules: "+of(r)+" and "+of(t)+"! Please consider moving "+of(e)+" to a higher module that imports "+of(r)+" and "+of(t)+". You can also create a new NgModule that exports and includes "+of(e)+" then import that NgModule in "+of(r)+" and "+of(t)+"."),t):this._ngModuleOfTypes.set(e,t)},e.prototype._getTransitiveNgModuleMetadata=function(e,t){var r=new Pr,n=new Map;return e.concat(t).forEach((function(e){e.modules.forEach((function(e){return r.addModule(e)})),e.entryComponents.forEach((function(e){return r.addEntryComponent(e)}));var t=new Set;e.providers.forEach((function(e){var i=Er(e.provider.token),a=n.get(i);a||(a=new Set,n.set(i,a));var s=e.module.reference;!t.has(i)&&a.has(s)||(a.add(s),t.add(i),r.addProvider(e.provider,e.module))}))})),t.forEach((function(e){e.exportedDirectives.forEach((function(e){return r.addExportedDirective(e)})),e.exportedPipes.forEach((function(e){return r.addExportedPipe(e)}))})),e.forEach((function(e){e.exportedDirectives.forEach((function(e){return r.addDirective(e)})),e.exportedPipes.forEach((function(e){return r.addPipe(e)}))})),r},e.prototype._getIdentifierMetadata=function(e){return{reference:e=Jt(e)}},e.prototype.isInjectable=function(e){return this._reflector.tryAnnotations(e).some((function(e){return q.isTypeOf(e)}))},e.prototype.getInjectableSummary=function(e){return{summaryKind:pr.Injectable,type:this._getTypeMetadata(e,null,!1)}},e.prototype.getInjectableMetadata=function(e,t,r){void 0===t&&(t=null),void 0===r&&(r=!0);var n=this._loadSummary(e,pr.Injectable),i=n?n.type:this._getTypeMetadata(e,t,r),a=this._reflector.annotations(e).filter((function(e){return q.isTypeOf(e)}));if(0===a.length)return null;var s=a[a.length-1];return{symbol:e,type:i,providedIn:s.providedIn,useValue:s.useValue,useClass:s.useClass,useExisting:s.useExisting,useFactory:s.useFactory,deps:s.deps}},e.prototype._getTypeMetadata=function(e,t,r){void 0===t&&(t=null),void 0===r&&(r=!0);var n,i,a=this._getIdentifierMetadata(e);return{reference:a.reference,diDeps:this._getDependenciesMetadata(a.reference,t,r),lifecycleHooks:(n=this._reflector,i=a.reference,Va.filter((function(e){return qa(n,e,i)})))}},e.prototype._getFactoryMetadata=function(e,t){return void 0===t&&(t=null),{reference:e=Jt(e),diDeps:this._getDependenciesMetadata(e,t)}},e.prototype.getPipeMetadata=function(e){var t=this._pipeCache.get(e);return t||this._reportError(Mt("Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe "+of(e)+"."),e),t||null},e.prototype.getPipeSummary=function(e){var t=this._loadSummary(e,pr.Pipe);return t||this._reportError(Mt("Illegal state: Could not load the summary for pipe "+of(e)+"."),e),t},e.prototype.getOrLoadPipeMetadata=function(e){var t=this._pipeCache.get(e);return t||(t=this._loadPipeMetadata(e)),t},e.prototype._loadPipeMetadata=function(e){e=Jt(e);var t=this._pipeResolver.resolve(e),r=new Dr({type:this._getTypeMetadata(e),name:t.name,pure:!!t.pure});return this._pipeCache.set(e,r),this._summaryCache.set(e,r.toSummary()),r},e.prototype._getDependenciesMetadata=function(e,t,r){var n=this;void 0===r&&(r=!0);var i=!1,a=(t||this._reflector.parameters(e)||[]).map((function(e){var t=!1,r=!1,a=!1,s=!1,o=!1,u=null;return Array.isArray(e)?e.forEach((function(e){W.isTypeOf(e)?r=!0:J.isTypeOf(e)?a=!0:Y.isTypeOf(e)?s=!0:X.isTypeOf(e)?o=!0:C.isTypeOf(e)?(t=!0,u=e.attributeName):D.isTypeOf(e)?u=e.token:A.isTypeOf(e)||e instanceof or?u=e:af(e)&&null==u&&(u=e)})):u=e,null==u?(i=!0,null):{isAttribute:t,isHost:r,isSelf:a,isSkipSelf:s,isOptional:o,token:n._getTokenMetadata(u)}}));if(i){var s=a.map((function(e){return e?of(e.token):"?"})).join(", "),o="Can't resolve all parameters for "+of(e)+": ("+s+").";r||this._config.strictInjectionParameters?this._reportError(Mt(o),e):this._console.warn("Warning: "+o+" This will become an error in Angular v6.x")}return a},e.prototype._getTokenMetadata=function(e){return"string"==typeof(e=Jt(e))?{value:e}:{identifier:{reference:e}}},e.prototype._getProvidersMetadata=function(e,t,r,n,a){var s=this;return void 0===n&&(n=[]),e.forEach((function(o,u){if(Array.isArray(o))s._getProvidersMetadata(o,t,r,n);else{var l=void 0;if((o=Jt(o))&&"object"==typeof o&&o.hasOwnProperty("provide"))s._validateProvider(o),l=new _r(o.provide,o);else{if(!af(o)){if(void 0===o)return void s._reportError(Mt("Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files."));var c=e.reduce((function(e,t,r){return r<u?e.push(""+of(t)):r==u?e.push("?"+of(t)+"?"):r==u+1&&e.push("..."),e}),[]).join(", ");return void s._reportError(Mt("Invalid "+(r||"provider")+" - only instances of Provider and Type are allowed, got: ["+c+"]"),a)}l=new _r(o,{useClass:o})}l.token===s._reflector.resolveExternalReference(ir.ANALYZE_FOR_ENTRY_COMPONENTS)?t.push.apply(t,Object(i.d)(s._getEntryComponentsFromProvider(l,a))):n.push(s.getProviderMetadata(l))}})),n},e.prototype._validateProvider=function(e){e.hasOwnProperty("useClass")&&null==e.useClass&&this._reportError(Mt("Invalid provider for "+of(e.provide)+". useClass cannot be "+e.useClass+".\n Usually it happens when:\n 1. There's a circular dependency (might be caused by using index.ts (barrel) files).\n 2. Class was used before it was declared. Use forwardRef in this case."))},e.prototype._getEntryComponentsFromProvider=function(e,t){var r,n,i=this,a=[],s=[];return e.useFactory||e.useExisting||e.useClass?(this._reportError(Mt("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!"),t),[]):e.multi?(r=e.useValue,n=s,wt(r,new sf,n),s.forEach((function(e){var t=i._getEntryComponentMetadata(e.reference,!1);t&&a.push(t)})),a):(this._reportError(Mt("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!"),t),[])},e.prototype._getEntryComponentMetadata=function(e,t){void 0===t&&(t=!0);var r=this.getNonNormalizedDirectiveMetadata(e);if(r&&r.metadata.isComponent)return{componentType:e,componentFactory:r.metadata.componentFactory};var n=this._loadSummary(e,pr.Directive);if(n&&n.isComponent)return{componentType:e,componentFactory:n.componentFactory};if(t)throw Mt(e.name+" cannot be used as an entry component.");return null},e.prototype._getInjectableTypeMetadata=function(e,t){void 0===t&&(t=null);var r=this._loadSummary(e,pr.Injectable);return r?r.type:this._getTypeMetadata(e,t)},e.prototype.getProviderMetadata=function(e){var t=void 0,r=null,n=null,i=this._getTokenMetadata(e.token);return e.useClass?(t=(r=this._getInjectableTypeMetadata(e.useClass,e.dependencies)).diDeps,e.token===e.useClass&&(i={identifier:r})):e.useFactory&&(t=(n=this._getFactoryMetadata(e.useFactory,e.dependencies)).diDeps),{token:i,useClass:r,useValue:e.useValue,useFactory:n,useExisting:e.useExisting?this._getTokenMetadata(e.useExisting):void 0,deps:t,multi:e.multi}},e.prototype._getQueriesMetadata=function(e,t,r){var n=this,i=[];return Object.keys(e).forEach((function(a){var s=e[a];s.isViewQuery===t&&i.push(n._getQueryMetadata(s,a,r))})),i},e.prototype._queryVarBindings=function(e){return e.split(/\s*,\s*/)},e.prototype._getQueryMetadata=function(e,t,r){var n,i=this;return"string"==typeof e.selector?n=this._queryVarBindings(e.selector).map((function(e){return i._getTokenMetadata(e)})):e.selector?n=[this._getTokenMetadata(e.selector)]:(this._reportError(Mt("Can't construct a query for the property \""+t+'" of "'+of(r)+"\" since the query selector wasn't defined."),r),n=[]),{selectors:n,first:e.first,descendants:e.descendants,propertyName:t,read:e.read?this._getTokenMetadata(e.read):null}},e.prototype._reportError=function(e,t,r){if(!this._errorCollector)throw e;this._errorCollector(e,t),r&&this._errorCollector(e,r)},e}();function nf(e){return(t=function e(t,r){if(void 0===r&&(r=[]),t)for(var n=0;n<t.length;n++){var i=Jt(t[n]);Array.isArray(i)?e(i,r):r.push(i)}return r}(e))?Array.from(new Set(t)):[];var t}function af(e){return e instanceof or||e instanceof $}var sf=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.visitOther=function(e,t){t.push({reference:e})},t}(Ft);function of(e){return e instanceof or?e.name+" in "+e.filePath:Xt(e)}
505/**
506 * @license
507 * Copyright Google Inc. All Rights Reserved.
508 *
509 * Use of this source code is governed by an MIT-style license that can be
510 * found in the LICENSE file at https://angular.io/license
511 */
512var uf=function(e){function t(t,r){return e.call(this,r,t)||this}return Object(i.b)(t,e),t}(_s),lf=function(e,t){var r=this;this.reflector=e,this.component=t,this.errors=[],this.viewQueries=function(e){var t=1,r=new Map;return e.viewQueries&&e.viewQueries.forEach((function(e){return yf(r,{meta:e,queryId:t++})})),r}(t),this.viewProviders=new Map,t.viewProviders.forEach((function(e){null==r.viewProviders.get(Er(e.token))&&r.viewProviders.set(Er(e.token),!0)}))},cf=function(){function e(e,t,r,n,i,a,s,o,u){var l=this;this.viewContext=e,this._parent=t,this._isViewRoot=r,this._directiveAsts=n,this._sourceSpan=u,this._transformedProviders=new Map,this._seenProviders=new Map,this._queriedTokens=new Map,this.transformedHasViewContainer=!1,this._attrs={},i.forEach((function(e){return l._attrs[e.name]=e.value}));var c,p,f,d,h=n.map((function(e){return e.directive}));if(this._allProviders=(c=h,p=u,f=e.errors,d=new Map,c.forEach((function(e){hf([{token:{identifier:e.type},useClass:e.type}],e.isComponent?Bc.Component:Bc.Directive,!0,p,f,d,!1)})),c.filter((function(e){return e.isComponent})).concat(c.filter((function(e){return!e.isComponent}))).forEach((function(e){hf(e.providers,Bc.PublicService,!1,p,f,d,!1),hf(e.viewProviders,Bc.PrivateService,!1,p,f,d,!1)})),d),this._contentQueries=function(e,t){var r=e,n=new Map;return t.forEach((function(e,t){e.queries&&e.queries.forEach((function(e){return yf(n,{meta:e,queryId:r++})}))})),n}(o,h),Array.from(this._allProviders.values()).forEach((function(e){l._addQueryReadsTo(e.token,e.token,l._queriedTokens)})),s){var y=sr(this.viewContext.reflector,ir.TemplateRef);this._addQueryReadsTo(y,y,this._queriedTokens)}a.forEach((function(e){var t=e.value||sr(l.viewContext.reflector,ir.ElementRef);l._addQueryReadsTo({value:e.name},t,l._queriedTokens)})),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(ir.ViewContainerRef))&&(this.transformedHasViewContainer=!0),Array.from(this._allProviders.values()).forEach((function(e){(e.eager||l._queriedTokens.get(Er(e.token)))&&l._getOrCreateLocalProvider(e.providerType,e.token,!0)}))}return e.prototype.afterElement=function(){var e=this;Array.from(this._allProviders.values()).forEach((function(t){e._getOrCreateLocalProvider(t.providerType,t.token,!1)}))},Object.defineProperty(e.prototype,"transformProviders",{get:function(){var e=[],t=[];return this._transformedProviders.forEach((function(r){r.eager?t.push(r):e.push(r)})),e.concat(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"transformedDirectiveAsts",{get:function(){var e=this.transformProviders.map((function(e){return e.token.identifier})),t=this._directiveAsts.slice();return t.sort((function(t,r){return e.indexOf(t.directive.type)-e.indexOf(r.directive.type)})),t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryMatches",{get:function(){var e=[];return this._queriedTokens.forEach((function(t){e.push.apply(e,Object(i.d)(t))})),e},enumerable:!0,configurable:!0}),e.prototype._addQueryReadsTo=function(e,t,r){this._getQueriesFor(e).forEach((function(e){var n=e.meta.read||t,i=Er(n),a=r.get(i);a||(a=[],r.set(i,a)),a.push({queryId:e.queryId,value:n})}))},e.prototype._getQueriesFor=function(e){for(var t,r=[],n=this,a=0;null!==n;)(t=n._contentQueries.get(Er(e)))&&r.push.apply(r,Object(i.d)(t.filter((function(e){return e.meta.descendants||a<=1})))),n._directiveAsts.length>0&&a++,n=n._parent;return(t=this.viewContext.viewQueries.get(Er(e)))&&r.push.apply(r,Object(i.d)(t)),r},e.prototype._getOrCreateLocalProvider=function(e,t,r){var n=this,i=this._allProviders.get(Er(t));if(!i||(e===Bc.Directive||e===Bc.PublicService)&&i.providerType===Bc.PrivateService||(e===Bc.PrivateService||e===Bc.PublicService)&&i.providerType===Bc.Builtin)return null;var a=this._transformedProviders.get(Er(t));if(a)return a;if(null!=this._seenProviders.get(Er(t)))return this.viewContext.errors.push(new uf("Cannot instantiate cyclic dependency! "+Tr(t),this._sourceSpan)),null;this._seenProviders.set(Er(t),!0);var s=i.providers.map((function(e){var t=e.useValue,a=e.useExisting,s=void 0;if(null!=e.useExisting){var o=n._getDependency(i.providerType,{token:e.useExisting},r);null!=o.token?a=o.token:(a=null,t=o.value)}else if(e.useFactory){s=(e.deps||e.useFactory.diDeps).map((function(e){return n._getDependency(i.providerType,e,r)}))}else if(e.useClass){s=(e.deps||e.useClass.diDeps).map((function(e){return n._getDependency(i.providerType,e,r)}))}return ff(e,{useExisting:a,useValue:t,deps:s})}));return a=df(i,{eager:r,providers:s}),this._transformedProviders.set(Er(t),a),a},e.prototype._getLocalDependency=function(e,t,r){if(void 0===r&&(r=!1),t.isAttribute){var n=this._attrs[t.token.value];return{isValue:!0,value:null==n?null:n}}if(null!=t.token){if(e===Bc.Directive||e===Bc.Component){if(Er(t.token)===this.viewContext.reflector.resolveExternalReference(ir.Renderer)||Er(t.token)===this.viewContext.reflector.resolveExternalReference(ir.ElementRef)||Er(t.token)===this.viewContext.reflector.resolveExternalReference(ir.ChangeDetectorRef)||Er(t.token)===this.viewContext.reflector.resolveExternalReference(ir.TemplateRef))return t;Er(t.token)===this.viewContext.reflector.resolveExternalReference(ir.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(Er(t.token)===this.viewContext.reflector.resolveExternalReference(ir.Injector))return t;if(null!=this._getOrCreateLocalProvider(e,t.token,r))return t}return null},e.prototype._getDependency=function(e,t,r){void 0===r&&(r=!1);var n=this,i=r,a=null;if(t.isSkipSelf||(a=this._getLocalDependency(e,t,r)),t.isSelf)!a&&t.isOptional&&(a={isValue:!0,value:null});else{for(;!a&&n._parent;){var s=n;n=n._parent,s._isViewRoot&&(i=!1),a=n._getLocalDependency(Bc.PublicService,t,i)}a||(a=!t.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===Er(t.token)||null!=this.viewContext.viewProviders.get(Er(t.token))?t:t.isOptional?{isValue:!0,value:null}:null)}return a||this.viewContext.errors.push(new uf("No provider for "+Tr(t.token),this._sourceSpan)),a},e}(),pf=function(){function e(e,t,r,n){var i=this;this.reflector=e,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,t.transitiveModule.modules.forEach((function(e){hf([{token:{identifier:e},useClass:e}],Bc.PublicService,!0,n,i._errors,i._allProviders,!0)})),hf(t.transitiveModule.providers.map((function(e){return e.provider})).concat(r),Bc.PublicService,!1,n,this._errors,this._allProviders,!1)}return e.prototype.parse=function(){var e=this;if(Array.from(this._allProviders.values()).forEach((function(t){e._getOrCreateLocalProvider(t.token,t.eager)})),this._errors.length>0){var t=this._errors.join("\n");throw new Error("Provider parse errors:\n"+t)}var r=[],n=[];return this._transformedProviders.forEach((function(e){e.eager?n.push(e):r.push(e)})),r.concat(n)},e.prototype._getOrCreateLocalProvider=function(e,t){var r=this,n=this._allProviders.get(Er(e));if(!n)return null;var i=this._transformedProviders.get(Er(e));if(i)return i;if(null!=this._seenProviders.get(Er(e)))return this._errors.push(new uf("Cannot instantiate cyclic dependency! "+Tr(e),n.sourceSpan)),null;this._seenProviders.set(Er(e),!0);var a=n.providers.map((function(e){var i=e.useValue,a=e.useExisting,s=void 0;if(null!=e.useExisting){var o=r._getDependency({token:e.useExisting},t,n.sourceSpan);null!=o.token?a=o.token:(a=null,i=o.value)}else if(e.useFactory){s=(e.deps||e.useFactory.diDeps).map((function(e){return r._getDependency(e,t,n.sourceSpan)}))}else if(e.useClass){s=(e.deps||e.useClass.diDeps).map((function(e){return r._getDependency(e,t,n.sourceSpan)}))}return ff(e,{useExisting:a,useValue:i,deps:s})}));return i=df(n,{eager:t,providers:a}),this._transformedProviders.set(Er(e),i),i},e.prototype._getDependency=function(e,t,r){return void 0===t&&(t=!1),e.isSkipSelf||null==e.token||Er(e.token)===this.reflector.resolveExternalReference(ir.Injector)||Er(e.token)===this.reflector.resolveExternalReference(ir.ComponentFactoryResolver)||this._getOrCreateLocalProvider(e.token,t),e},e}();function ff(e,t){var r=t.useExisting,n=t.useValue,i=t.deps;return{token:e.token,useClass:e.useClass,useExisting:r,useFactory:e.useFactory,useValue:n,deps:i,multi:e.multi}}function df(e,t){var r=t.eager,n=t.providers;return new Gc(e.token,e.multiProvider,e.eager||r,n,e.providerType,e.lifecycleHooks,e.sourceSpan,e.isModule)}function hf(e,t,r,n,i,a,s){e.forEach((function(e){var o=a.get(Er(e.token));if(null!=o&&!!o.multiProvider!=!!e.multi&&i.push(new uf("Mixing multi and non multi provider is not possible for token "+Tr(o.token),n)),o)e.multi||(o.providers.length=0),o.providers.push(e);else{var u=e.token.identifier&&e.token.identifier.lifecycleHooks?e.token.identifier.lifecycleHooks:[],l=!(e.useClass||e.useExisting||e.useFactory);o=new Gc(e.token,!!e.multi,r||l,[e],t,u,n,s),a.set(Er(e.token),o)}}))}function yf(e,t){t.meta.selectors.forEach((function(r){var n=e.get(Er(r));n||(n=[],e.set(Er(r),n)),n.push(t)}))}
513/**
514 * @license
515 * Copyright Google Inc. All Rights Reserved.
516 *
517 * Use of this source code is governed by an MIT-style license that can be
518 * found in the LICENSE file at https://angular.io/license
519 */function mf(e,t){var r=0;t.eager||(r|=4096),t.providerType===Bc.PrivateService&&(r|=8192),t.isModule&&(r|=1073741824),t.lifecycleHooks.forEach((function(e){e!==ja.OnDestroy&&t.providerType!==Bc.Directive&&t.providerType!==Bc.Component||(r|=Ef(e))}));var n=t.multiProvider?function(e,t,r){var n=[],i=[],a=r.map((function(t,r){var n;if(t.useClass){var i=s(r,t.deps||t.useClass.diDeps);n=e.importExpr(t.useClass.reference).instantiate(i)}else if(t.useFactory){i=s(r,t.deps||t.useFactory.diDeps);n=e.importExpr(t.useFactory.reference).callFn(i)}else if(t.useExisting){n=(i=s(r,[{token:t.useExisting}]))[0]}else n=Bp(e,t.useValue);return n}));return{providerExpr:St(i,[new He(Tt(a))],ue),flags:1024|t,depsExpr:Tt(n)};function s(t,r){return r.map((function(r,a){var s="p"+t+"_"+a;return i.push(new ke(s,oe)),n.push(Tf(e,r)),yt(s)}))}}(e,r,t.providers):vf(e,r,t.providerType,t.providers[0]);return{providerExpr:n.providerExpr,flags:n.flags,depsExpr:n.depsExpr,tokenExpr:gf(e,t.token)}}function vf(e,t,r,n){var i,a;return r===Bc.Directive||r===Bc.Component?(i=e.importExpr(n.useClass.reference),t|=16384,a=n.deps||n.useClass.diDeps):n.useClass?(i=e.importExpr(n.useClass.reference),t|=512,a=n.deps||n.useClass.diDeps):n.useFactory?(i=e.importExpr(n.useFactory.reference),t|=1024,a=n.deps||n.useFactory.diDeps):n.useExisting?(i=Ke,t|=2048,a=[{token:n.useExisting}]):(i=Bp(e,n.useValue),t|=256,a=[]),{providerExpr:i,flags:t,depsExpr:Tt(a.map((function(t){return Tf(e,t)})))}}function gf(e,t){return t.identifier?e.importExpr(t.identifier.reference):xt(t.value)}function Tf(e,t){var r=t.isValue?Bp(e,t.value):gf(e,t.token),n=0;return t.isSkipSelf&&(n|=1),t.isOptional&&(n|=2),t.isSelf&&(n|=4),t.isValue&&(n|=8),0===n?r:Tt([xt(n),r])}function Ef(e){var t=0;switch(e){case ja.AfterContentChecked:t=2097152;break;case ja.AfterContentInit:t=1048576;break;case ja.AfterViewChecked:t=8388608;break;case ja.AfterViewInit:t=4194304;break;case ja.DoCheck:t=262144;break;case ja.OnChanges:t=524288;break;case ja.OnDestroy:t=131072;break;case ja.OnInit:t=65536}return t}function Sf(e,t,r,n){var i=n.map((function(e){return t.importExpr(e.componentFactory)})),a=sr(e,ir.ComponentFactoryResolver),s={diDeps:[{isValue:!0,value:Tt(i)},{token:a,isSkipSelf:!0,isOptional:!0},{token:sr(e,ir.NgModuleRef)}],lifecycleHooks:[],reference:e.resolveExternalReference(ir.CodegenComponentFactoryResolver)},o=vf(t,r,Bc.PrivateService,{token:a,multi:!1,useClass:s});return{providerExpr:o.providerExpr,flags:o.flags,depsExpr:o.depsExpr,tokenExpr:gf(t,a)}}
520/**
521 * @license
522 * Copyright Google Inc. All Rights Reserved.
523 *
524 * Use of this source code is governed by an MIT-style license that can be
525 * found in the LICENSE file at https://angular.io/license
526 */var bf=function(e){this.ngModuleFactoryVar=e},xf=yt("_l"),Df=function(){function e(e){this.reflector=e}return e.prototype.compile=function(e,t,r){var n=Os("NgModule",t.type),i=t.transitiveModule.entryComponents,a=t.bootstrapComponents,s=new pf(this.reflector,t,r,n),o=[Sf(this.reflector,e,0,i)].concat(s.parse().map((function(t){return mf(e,t)}))).map((function(e){var t=e.providerExpr,r=e.depsExpr,n=e.flags,i=e.tokenExpr;return mt(ir.moduleProviderDef).callFn([xt(n),i,t,r])})),u=mt(ir.moduleDef).callFn([Tt(o)]),l=St([new ke(xf.name)],[new He(u)],ue),c=dr(t.type)+"NgFactory";if(this._createNgModuleFactory(e,t.type.reference,mt(ir.createModuleFactory).callFn([e.importExpr(t.type.reference),Tt(a.map((function(t){return e.importExpr(t.reference)}))),l])),t.id){var p="string"==typeof t.id?xt(t.id):e.importExpr(t.id),f=mt(ir.RegisterModuleFactoryFn).callFn([p,yt(c)]).toStmt();e.statements.push(f)}return new bf(c)},e.prototype.createStub=function(e,t){this._createNgModuleFactory(e,t,Ke)},e.prototype._createNgModuleFactory=function(e,t,r){var n=yt(dr({reference:t})+"NgFactory").set(r).toDeclStmt(vt(ir.NgModuleFactory,[gt(e.importExpr(t))],[Q.Const]),[xe.Final,xe.Exported]);e.statements.push(n)},e}(),Af=function(){function e(e){this._reflector=e}return e.prototype.isNgModule=function(e){return this._reflector.annotations(e).some(V.isTypeOf)},e.prototype.resolve=function(e,t){void 0===t&&(t=!0);var r=lp(this._reflector.annotations(e),V.isTypeOf);if(r)return r;if(t)throw new Error("No NgModule metadata found for '"+Xt(e)+"'.");return null},e}();
527/**
528 * @license
529 * Copyright Google Inc. All Rights Reserved.
530 *
531 * Use of this source code is governed by an MIT-style license that can be
532 * found in the LICENSE file at https://angular.io/license
533 */
534function Cf(e){var t=new wf,r=_i.createRoot();return(Array.isArray(e)?e:[e]).forEach((function(e){if(e instanceof Je)e.visitStatement(t,r);else if(e instanceof ye)e.visitExpression(t,r);else{if(!(e instanceof te))throw new Error("Don't know how to print debug info for "+e);e.visitType(t,r)}})),r.toSource()}var Pf=function(){function e(){}return e.prototype.emitStatementsAndContext=function(e,t,r,n,a,s){void 0===r&&(r=""),void 0===n&&(n=!0);var o=new wf(a,s),u=_i.createRoot();o.visitAllStatements(t,u);var l=r?r.split("\n"):[];o.reexports.forEach((function(e,t){var r=e.map((function(e){return e.name+" as "+e.as})).join(",");l.push("export {"+r+"} from '"+t+"';")})),o.importsWithPrefixes.forEach((function(e,t){l.push("import * as "+e+" from '"+t+"';")}));var c=n?u.toSourceMapGenerator(e,l.length).toJsComment():"",p=Object(i.d)(l,[u.toSource(),c]);return c&&p.push(""),u.setPreambleLineCount(l.length),{sourceText:p.join("\n"),context:u}},e.prototype.emitStatements=function(e,t,r){return void 0===r&&(r=""),this.emitStatementsAndContext(e,t,r).sourceText},e}(),wf=function(e){function t(t,r){var n=e.call(this,!1)||this;return n.referenceFilter=t,n.importFilter=r,n.typeExpression=0,n.importsWithPrefixes=new Map,n.reexports=new Map,n}return Object(i.b)(t,e),t.prototype.visitType=function(e,t,r){void 0===r&&(r="any"),e?(this.typeExpression++,e.visitType(this,t),this.typeExpression--):t.print(null,r)},t.prototype.visitLiteralExpr=function(t,r){var n=t.value;return null==n&&t.type!=ue?(r.print(t,"("+n+" as any)"),null):e.prototype.visitLiteralExpr.call(this,t,r)},t.prototype.visitLiteralArrayExpr=function(t,r){0===t.entries.length&&r.print(t,"(");var n=e.prototype.visitLiteralArrayExpr.call(this,t,r);return 0===t.entries.length&&r.print(t," as any[])"),n},t.prototype.visitExternalExpr=function(e,t){return this._visitIdentifier(e.value,e.typeParams,t),null},t.prototype.visitAssertNotNullExpr=function(t,r){var n=e.prototype.visitAssertNotNullExpr.call(this,t,r);return r.print(t,"!"),n},t.prototype.visitDeclareVarStmt=function(e,t){if(e.hasModifier(xe.Exported)&&e.value instanceof we&&!e.type){var r=e.value.value,n=r.name,i=r.moduleName;if(i){var a=this.reexports.get(i);return a||(a=[],this.reexports.set(i,a)),a.push({name:n,as:e.name}),null}}return e.hasModifier(xe.Exported)&&t.print(e,"export "),e.hasModifier(xe.Final)?t.print(e,"const"):t.print(e,"var"),t.print(e," "+e.name),this._printColonType(e.type,t),e.value&&(t.print(e," = "),e.value.visitExpression(this,t)),t.println(e,";"),null},t.prototype.visitWrappedNodeExpr=function(e,t){throw new Error("Cannot visit a WrappedNodeExpr when outputting Typescript.")},t.prototype.visitCastExpr=function(e,t){return t.print(e,"(<"),e.type.visitType(this,t),t.print(e,">"),e.value.visitExpression(this,t),t.print(e,")"),null},t.prototype.visitInstantiateExpr=function(e,t){return t.print(e,"new "),this.typeExpression++,e.classExpr.visitExpression(this,t),this.typeExpression--,t.print(e,"("),this.visitAllExpressions(e.args,t,","),t.print(e,")"),null},t.prototype.visitDeclareClassStmt=function(e,t){var r=this;return t.pushClass(e),e.hasModifier(xe.Exported)&&t.print(e,"export "),t.print(e,"class "+e.name),null!=e.parent&&(t.print(e," extends "),this.typeExpression++,e.parent.visitExpression(this,t),this.typeExpression--),t.println(e," {"),t.incIndent(),e.fields.forEach((function(e){return r._visitClassField(e,t)})),null!=e.constructorMethod&&this._visitClassConstructor(e,t),e.getters.forEach((function(e){return r._visitClassGetter(e,t)})),e.methods.forEach((function(e){return r._visitClassMethod(e,t)})),t.decIndent(),t.println(e,"}"),t.popClass(),null},t.prototype._visitClassField=function(e,t){e.hasModifier(xe.Private)&&t.print(null,"/*private*/ "),e.hasModifier(xe.Static)&&t.print(null,"static "),t.print(null,e.name),this._printColonType(e.type,t),e.initializer&&(t.print(null," = "),e.initializer.visitExpression(this,t)),t.println(null,";")},t.prototype._visitClassGetter=function(e,t){e.hasModifier(xe.Private)&&t.print(null,"private "),t.print(null,"get "+e.name+"()"),this._printColonType(e.type,t),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")},t.prototype._visitClassConstructor=function(e,t){t.print(e,"constructor("),this._visitParams(e.constructorMethod.params,t),t.println(e,") {"),t.incIndent(),this.visitAllStatements(e.constructorMethod.body,t),t.decIndent(),t.println(e,"}")},t.prototype._visitClassMethod=function(e,t){e.hasModifier(xe.Private)&&t.print(null,"private "),t.print(null,e.name+"("),this._visitParams(e.params,t),t.print(null,")"),this._printColonType(e.type,t,"void"),t.println(null," {"),t.incIndent(),this.visitAllStatements(e.body,t),t.decIndent(),t.println(null,"}")},t.prototype.visitFunctionExpr=function(e,t){return e.name&&(t.print(e,"function "),t.print(e,e.name)),t.print(e,"("),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),e.name||t.print(e," => "),t.println(e,"{"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.print(e,"}"),null},t.prototype.visitDeclareFunctionStmt=function(e,t){return e.hasModifier(xe.Exported)&&t.print(e,"export "),t.print(e,"function "+e.name+"("),this._visitParams(e.params,t),t.print(e,")"),this._printColonType(e.type,t,"void"),t.println(e," {"),t.incIndent(),this.visitAllStatements(e.statements,t),t.decIndent(),t.println(e,"}"),null},t.prototype.visitTryCatchStmt=function(e,t){t.println(e,"try {"),t.incIndent(),this.visitAllStatements(e.bodyStmts,t),t.decIndent(),t.println(e,"} catch ("+Ci.name+") {"),t.incIndent();var r=[Pi.set(Ci.prop("stack",null)).toDeclStmt(null,[xe.Final])].concat(e.catchStmts);return this.visitAllStatements(r,t),t.decIndent(),t.println(e,"}"),null},t.prototype.visitBuiltinType=function(e,t){var r;switch(e.name){case ee.Bool:r="boolean";break;case ee.Dynamic:r="any";break;case ee.Function:r="Function";break;case ee.Number:case ee.Int:r="number";break;case ee.String:r="string";break;case ee.None:r="never";break;default:throw new Error("Unsupported builtin type "+e.name)}return t.print(null,r),null},t.prototype.visitExpressionType=function(e,t){var r=this;return e.value.visitExpression(this,t),null!==e.typeParams&&(t.print(null,"<"),this.visitAllObjects((function(e){return r.visitType(e,t)}),e.typeParams,t,","),t.print(null,">")),null},t.prototype.visitArrayType=function(e,t){return this.visitType(e.of,t),t.print(null,"[]"),null},t.prototype.visitMapType=function(e,t){return t.print(null,"{[key: string]:"),this.visitType(e.valueType,t),t.print(null,"}"),null},t.prototype.getBuiltinMethodName=function(e){var t;switch(e){case me.ConcatArray:t="concat";break;case me.SubscribeObservable:t="subscribe";break;case me.Bind:t="bind";break;default:throw new Error("Unknown builtin method: "+e)}return t},t.prototype._visitParams=function(e,t){var r=this;this.visitAllObjects((function(e){t.print(null,e.name),r._printColonType(e.type,t)}),e,t,",")},t.prototype._visitIdentifier=function(e,t,r){var n=this,i=e.name,a=e.moduleName;if(this.referenceFilter&&this.referenceFilter(e))r.print(null,"(null as any)");else{if(a&&(!this.importFilter||!this.importFilter(e))){var s=this.importsWithPrefixes.get(a);null==s&&(s="i"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(a,s)),r.print(null,s+".")}if(r.print(null,i),this.typeExpression>0)(t||[]).length>0&&(r.print(null,"<"),this.visitAllObjects((function(e){return e.visitType(n,r)}),t,r,","),r.print(null,">"))}},t.prototype._printColonType=function(e,t,r){e!==ue&&(t.print(null,":"),this.visitType(e,t,r))},t}(Oi),_f=function(){function e(e){this._reflector=e}return e.prototype.isPipe=function(e){var t=this._reflector.annotations(Jt(e));return t&&t.some(L.isTypeOf)},e.prototype.resolve=function(e,t){void 0===t&&(t=!0);var r=this._reflector.annotations(Jt(e));if(r){var n=lp(r,L.isTypeOf);if(n)return n}if(t)throw new Error("No Pipe decorator found on "+Xt(e));return null},e}(),Of=["zero","one","two","few","many","other"];function Ff(e){var t=new kf;return new Nf(Wo(t,e),t.isExpanded,t.errors)}var Nf=function(e,t,r){this.nodes=e,this.expanded=t,this.errors=r},If=function(e){function t(t,r){return e.call(this,t,r)||this}return Object(i.b)(t,e),t}(_s),kf=function(){function e(){this.isExpanded=!1,this.errors=[]}return e.prototype.visitElement=function(e,t){return new Jo(e.name,e.attrs,Wo(this,e.children),e.sourceSpan,e.startSourceSpan,e.endSourceSpan)},e.prototype.visitAttribute=function(e,t){return e},e.prototype.visitText=function(e,t){return e},e.prototype.visitComment=function(e,t){return e},e.prototype.visitExpansion=function(e,t){return this.isExpanded=!0,"plural"==e.type?(r=e,n=this.errors,a=r.cases.map((function(e){-1!=Of.indexOf(e.value)||e.value.match(/^=\d+$/)||n.push(new If(e.valueSourceSpan,'Plural cases should be "=<number>" or one of '+Of.join(", ")));var t=Ff(e.expression);return n.push.apply(n,Object(i.d)(t.errors)),new Jo("ng-template",[new Xo("ngPluralCase",""+e.value,e.valueSourceSpan)],t.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)})),s=new Xo("[ngPlural]",r.switchValue,r.switchValueSourceSpan),new Jo("ng-container",[s],a,r.sourceSpan,r.sourceSpan,r.sourceSpan)):function(e,t){var r=e.cases.map((function(e){var r=Ff(e.expression);return t.push.apply(t,Object(i.d)(r.errors)),"other"===e.value?new Jo("ng-template",[new Xo("ngSwitchDefault","",e.valueSourceSpan)],r.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan):new Jo("ng-template",[new Xo("ngSwitchCase",""+e.value,e.valueSourceSpan)],r.nodes,e.sourceSpan,e.sourceSpan,e.sourceSpan)})),n=new Xo("[ngSwitch]",e.switchValue,e.switchValueSourceSpan);return new Jo("ng-container",[n],r,e.sourceSpan,e.sourceSpan,e.sourceSpan)}
535/**
536 * @license
537 * Copyright Google Inc. All Rights Reserved.
538 *
539 * Use of this source code is governed by an MIT-style license that can be
540 * found in the LICENSE file at https://angular.io/license
541 */(e,this.errors);var r,n,a,s},e.prototype.visitExpansionCase=function(e,t){throw new Error("Should not be reached")},e}();var Lf,Mf=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/,Bf="class";function jf(){return Lf||(Lf=E.parse("*")[0]),Lf}var Rf=function(e){function t(t,r,n){return e.call(this,r,t,n)||this}return Object(i.b)(t,e),t}(_s),Vf=function(e,t,r){this.templateAst=e,this.usedPipes=t,this.errors=r},qf=function(){function e(e,t,r,n,i,a,s){this._config=e,this._reflector=t,this._exprParser=r,this._schemaRegistry=n,this._htmlParser=i,this._console=a,this.transforms=s}return Object.defineProperty(e.prototype,"expressionParser",{get:function(){return this._exprParser},enumerable:!0,configurable:!0}),e.prototype.parse=function(e,t,r,n,i,a,s){var o=this.tryParse(e,t,r,n,i,a,s),u=o.errors.filter((function(e){return e.level===As.WARNING})),l=o.errors.filter((function(e){return e.level===As.ERROR}));if(u.length>0&&this._console.warn("Template parse warnings:\n"+u.join("\n")),l.length>0)throw Mt("Template parse errors:\n"+l.join("\n"),l);return{template:o.templateAst,pipes:o.usedPipes}},e.prototype.tryParse=function(e,t,r,n,i,a,s){var o="string"==typeof t?this._htmlParser.parse(t,a,!0,this.getInterpolationConfig(e)):t;return s||(o=Au(o)),this.tryParseHtml(this.expandHtml(o),e,r,n,i)},e.prototype.tryParseHtml=function(e,t,r,n,a){var s,o=e.errors,u=[];if(e.rootNodes.length>0){var l=Gf(r),c=Gf(n),p=new lf(this._reflector,t),f=void 0;t.template&&t.template.interpolation&&(f={start:t.template.interpolation[0],end:t.template.interpolation[1]});var d=new Mu(this._exprParser,f,this._schemaRegistry,c,o),h=new Uf(this._reflector,this._config,p,l,d,this._schemaRegistry,a,o);s=Wo(h,e.rootNodes,$f),o.push.apply(o,Object(i.d)(p.errors)),u.push.apply(u,Object(i.d)(d.getUsedPipes()))}else s=[];return this._assertNoReferenceDuplicationOnTemplate(s,o),o.length>0?new Vf(s,u,o):(this.transforms&&this.transforms.forEach((function(e){s=tp(e,s)})),new Vf(s,u,o))},e.prototype.expandHtml=function(e,t){void 0===t&&(t=!1);var r=e.errors;if(0==r.length||t){var n=Ff(e.rootNodes);r.push.apply(r,Object(i.d)(n.errors)),e=new fu(n.nodes,r)}return e},e.prototype.getInterpolationConfig=function(e){if(e.template)return No.fromArray(e.template.interpolation)},e.prototype._assertNoReferenceDuplicationOnTemplate=function(e,t){var r=[];e.filter((function(e){return!!e.references})).forEach((function(e){return e.references.forEach((function(e){var n=e.name;if(r.indexOf(n)<0)r.push(n);else{var i=new Rf('Reference "#'+n+'" is defined several times',e.sourceSpan,As.ERROR);t.push(i)}}))}))},e}(),Uf=function(){function e(e,t,r,n,i,a,s,o){var u=this;this.reflector=e,this.config=t,this.providerViewContext=r,this._bindingParser=i,this._schemaRegistry=a,this._schemas=s,this._targetErrors=o,this.selectorMatcher=new S,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=r.component.viewQueries.length+1,n.forEach((function(e,t){var r=E.parse(e.selector);u.selectorMatcher.addSelectables(r,e),u.directivesIndex.set(e,t)}))}return e.prototype.visitExpansion=function(e,t){return null},e.prototype.visitExpansionCase=function(e,t){return null},e.prototype.visitText=function(e,t){var r=t.findNgContentIndex(jf()),n=bu(e.value),i=this._bindingParser.parseInterpolation(n,e.sourceSpan);return i?new Vc(i,r,e.sourceSpan):new Rc(n,r,e.sourceSpan)},e.prototype.visitAttribute=function(e,t){return new qc(e.name,e.value,e.sourceSpan)},e.prototype.visitComment=function(e,t){return null},e.prototype.visitElement=function(e,t){var r=this,n=this.contentQueryStartId,a=e.name,s=dl(e);if(s.type===el.SCRIPT||s.type===el.STYLE)return null;if(s.type===el.STYLESHEET&&Zu(s.hrefAttr))return null;var o=[],l=[],c=[],p=[],f=[],d=[],h=[],y=[],m=!1,v=[],g=u(e.name);e.attrs.forEach((function(e){var t,n,a=r._parseAttr(g,e,o,l,f,c,p);p.push.apply(p,Object(i.d)([].map((function(e){return Yc.fromParsedVariable(e)}))));var s=r._normalizeAttributeName(e.name);s.startsWith("*")&&(t=e.value,n=s.substring("*".length));var u=null!=t;if(u){m&&r._reportError("Can't have multiple template bindings on one element. Use only one attribute prefixed with *",e.sourceSpan),m=!0;var T=[];r._bindingParser.parseInlineTemplateBinding(n,t,e.sourceSpan,h,d,T),y.push.apply(y,Object(i.d)(T.map((function(e){return Yc.fromParsedVariable(e)}))))}a||u||(v.push(r.visitAttribute(e,null)),o.push([e.name,e.value]))}));var T=Wf(a,o),S=this._parseDirectives(this.selectorMatcher,T),b=S.directives,x=S.matchElement,D=[],A=new Set,C=this._createDirectiveAsts(g,e.name,b,l,c,e.sourceSpan,D,A),P=this._createElementPropertyAsts(e.name,l,A),w=t.isTemplateElement||m,_=new cf(this.providerViewContext,t.providerContext,w,C,v,D,g,n,e.sourceSpan),O=Wo(s.nonBindable?Hf:this,e.children,Yf.create(g,C,g?t.providerContext:_));_.afterElement();var F,N=""!=s.projectAs?E.parse(s.projectAs)[0]:T,I=t.findNgContentIndex(N);if(s.type===el.NG_CONTENT)e.children&&!e.children.every(zf)&&this._reportError("<ng-content> element cannot have content.",e.sourceSpan),F=new Qc(this.ngContentCount++,m?null:I,e.sourceSpan);else if(g)this._assertAllEventsPublishedByDirectives(C,f),this._assertNoComponentsNorElementBindingsOnTemplate(C,P,e.sourceSpan),F=new $c(v,f,D,p,_.transformedDirectiveAsts,_.transformProviders,_.transformedHasViewContainer,_.queryMatches,O,m?null:I,e.sourceSpan);else{this._assertElementExists(x,e),this._assertOnlyOneComponent(C,e.sourceSpan);var k=m?null:t.findNgContentIndex(N);F=new Wc(a,v,P,f,D,_.transformedDirectiveAsts,_.transformProviders,_.transformedHasViewContainer,_.queryMatches,O,m?null:k,e.sourceSpan,e.endSourceSpan||null)}if(m){var L=this.contentQueryStartId,M=Wf("ng-template",h),B=this._parseDirectives(this.selectorMatcher,M).directives,j=new Set,R=this._createDirectiveAsts(!0,a,B,d,[],e.sourceSpan,[],j),V=this._createElementPropertyAsts(a,d,j);this._assertNoComponentsNorElementBindingsOnTemplate(R,V,e.sourceSpan);var q=new cf(this.providerViewContext,t.providerContext,t.isTemplateElement,R,[],[],!0,L,e.sourceSpan);q.afterElement(),F=new $c([],[],[],y,q.transformedDirectiveAsts,q.transformProviders,q.transformedHasViewContainer,q.queryMatches,[F],I,e.sourceSpan)}return F},e.prototype._parseAttr=function(e,t,r,n,a,s,o){var u=this._normalizeAttributeName(t.name),l=t.value,c=t.sourceSpan,p=[],f=u.match(Mf),d=!1;if(null!==f)if(d=!0,null!=f[1])this._bindingParser.parsePropertyBinding(f[7],l,!1,c,r,n);else if(f[2])if(e){var h=f[7];this._parseVariable(h,l,c,o)}else this._reportError('"let-" is only supported on ng-template elements.',c);else if(f[3]){h=f[7];this._parseReference(h,l,c,s)}else f[4]?this._bindingParser.parseEvent(f[7],l,c,r,p):f[5]?(this._bindingParser.parsePropertyBinding(f[7],l,!1,c,r,n),this._parseAssignmentEvent(f[7],l,c,r,p)):f[6]?this._bindingParser.parseLiteralAttr(u,l,c,r,n):f[8]?(this._bindingParser.parsePropertyBinding(f[8],l,!1,c,r,n),this._parseAssignmentEvent(f[8],l,c,r,p)):f[9]?this._bindingParser.parsePropertyBinding(f[9],l,!1,c,r,n):f[10]&&this._bindingParser.parseEvent(f[10],l,c,r,p);else d=this._bindingParser.parsePropertyInterpolation(u,l,c,r,n);return d||this._bindingParser.parseLiteralAttr(u,l,c,r,n),a.push.apply(a,Object(i.d)(p.map((function(e){return Xc.fromParsedEvent(e)})))),d},e.prototype._normalizeAttributeName=function(e){return/^data-/i.test(e)?e.substring(5):e},e.prototype._parseVariable=function(e,t,r,n){e.indexOf("-")>-1&&this._reportError('"-" is not allowed in variable names',r),n.push(new Yc(e,t,r))},e.prototype._parseReference=function(e,t,r,n){e.indexOf("-")>-1&&this._reportError('"-" is not allowed in reference names',r),n.push(new Xf(e,t,r))},e.prototype._parseAssignmentEvent=function(e,t,r,n,i){this._bindingParser.parseEvent(e+"Change",t+"=$event",r,n,i)},e.prototype._parseDirectives=function(e,t){var r=this,n=new Array(this.directivesIndex.size),i=!1;return e.match(t,(function(e,t){n[r.directivesIndex.get(t)]=t,i=i||e.hasElementSelector()})),{directives:n.filter((function(e){return!!e})),matchElement:i}},e.prototype._createDirectiveAsts=function(e,t,r,n,i,a,s,o){var u=this,l=new Set,c=null,p=r.map((function(e){var r=new ws(a.start,a.end,"Directive "+dr(e.type));e.isComponent&&(c=e);var p=[],f=u._bindingParser.createDirectiveHostPropertyAsts(e,t,r).map((function(e){return Kc.fromBoundProperty(e)}));f=u._checkPropertiesInSchema(t,f);var d=u._bindingParser.createDirectiveHostEventAsts(e,r);u._createDirectivePropertyAsts(e.inputs,n,p,o),i.forEach((function(t){(0===t.value.length&&e.isComponent||t.isReferenceToDirective(e))&&(s.push(new Jc(t.name,ar(e.type.reference),t.value,t.sourceSpan)),l.add(t.name))}));var h=d.map((function(e){return Xc.fromParsedEvent(e)})),y=u.contentQueryStartId;return u.contentQueryStartId+=e.queries.length,new zc(e,p,f,h,y,r)}));return i.forEach((function(t){if(t.value.length>0)l.has(t.name)||u._reportError('There is no directive with "exportAs" set to "'+t.value+'"',t.sourceSpan);else if(!c){var r=null;e&&(r=sr(u.reflector,ir.TemplateRef)),s.push(new Jc(t.name,r,t.value,t.sourceSpan))}})),p},e.prototype._createDirectivePropertyAsts=function(e,t,r,n){if(e){var i=new Map;t.forEach((function(e){var t=i.get(e.name);t&&!t.isLiteral||i.set(e.name,e)})),Object.keys(e).forEach((function(t){var a=e[t],s=i.get(a);s&&(n.add(s.name),Qf(s.expression)||r.push(new Hc(t,s.name,s.expression,s.sourceSpan)))}))}},e.prototype._createElementPropertyAsts=function(e,t,r){var n=this,i=[];return t.forEach((function(t){if(!t.isLiteral&&!r.has(t.name)){var a=n._bindingParser.createBoundElementProperty(e,t);i.push(Kc.fromBoundProperty(a))}})),this._checkPropertiesInSchema(e,i)},e.prototype._findComponentDirectives=function(e){return e.filter((function(e){return e.directive.isComponent}))},e.prototype._findComponentDirectiveNames=function(e){return this._findComponentDirectives(e).map((function(e){return dr(e.directive.type)}))},e.prototype._assertOnlyOneComponent=function(e,t){var r=this._findComponentDirectiveNames(e);r.length>1&&this._reportError("More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: "+r.join(","),t)},e.prototype._assertElementExists=function(e,t){var r=t.name.replace(/^:xhtml:/,"");if(!e&&!this._schemaRegistry.hasElement(r,this._schemas)){var n="'"+r+"' is not a known element:\n";n+="1. If '"+r+"' is an Angular component, then verify that it is part of this module.\n",r.indexOf("-")>-1?n+="2. If '"+r+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.":n+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(n,t.sourceSpan)}},e.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(e,t,r){var n=this,i=this._findComponentDirectiveNames(e);i.length>0&&this._reportError("Components on an embedded template: "+i.join(","),r),t.forEach((function(e){n._reportError("Property binding "+e.name+' not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the "@NgModule.declarations".',r)}))},e.prototype._assertAllEventsPublishedByDirectives=function(e,t){var r=this,n=new Set;e.forEach((function(e){Object.keys(e.directive.outputs).forEach((function(t){var r=e.directive.outputs[t];n.add(r)}))})),t.forEach((function(e){null==e.target&&n.has(e.name)||r._reportError("Event binding "+e.fullName+' not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the "@NgModule.declarations".',e.sourceSpan)}))},e.prototype._checkPropertiesInSchema=function(e,t){var r=this;return t.filter((function(t){if(0===t.type&&!r._schemaRegistry.hasProperty(e,t.name,r._schemas)){var n="Can't bind to '"+t.name+"' since it isn't a known property of '"+e+"'.";e.startsWith("ng-")?n+="\n1. If '"+t.name+"' is an Angular directive, then add 'CommonModule' to the '@NgModule.imports' of this component.\n2. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.":e.indexOf("-")>-1&&(n+="\n1. If '"+e+"' is an Angular component and it has '"+t.name+"' input, then verify that it is part of this module.\n2. If '"+e+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.\n3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component."),r._reportError(n,t.sourceSpan)}return!Qf(t.value)}))},e.prototype._reportError=function(e,t,r){void 0===r&&(r=As.ERROR),this._targetErrors.push(new _s(t,e,r))},e}(),Kf=function(){function e(){}return e.prototype.visitElement=function(e,t){var r=dl(e);if(r.type===el.SCRIPT||r.type===el.STYLE||r.type===el.STYLESHEET)return null;var n=e.attrs.map((function(e){return[e.name,e.value]})),i=Wf(e.name,n),a=t.findNgContentIndex(i),s=Wo(this,e.children,$f);return new Wc(e.name,Wo(this,e.attrs),[],[],[],[],[],!1,[],s,a,e.sourceSpan,e.endSourceSpan)},e.prototype.visitComment=function(e,t){return null},e.prototype.visitAttribute=function(e,t){return new qc(e.name,e.value,e.sourceSpan)},e.prototype.visitText=function(e,t){var r=t.findNgContentIndex(jf());return new Rc(e.value,r,e.sourceSpan)},e.prototype.visitExpansion=function(e,t){return e},e.prototype.visitExpansionCase=function(e,t){return e},e}(),Xf=function(){function e(e,t,r){this.name=e,this.value=t,this.sourceSpan=r}return e.prototype.isReferenceToDirective=function(e){return-1!==(t=e.exportAs,t?t.split(",").map((function(e){return e.trim()})):[]).indexOf(this.value);var t},e}();function Jf(e){return e.trim().split(/\s+/g)}var Yf=function(){function e(e,t,r,n){this.isTemplateElement=e,this._ngContentIndexMatcher=t,this._wildcardNgContentIndex=r,this.providerContext=n}return e.create=function(t,r,n){var i=new S,a=null,s=r.find((function(e){return e.directive.isComponent}));if(s)for(var o=s.directive.template.ngContentSelectors,u=0;u<o.length;u++){"*"===o[u]?a=u:i.addSelectables(E.parse(o[u]),u)}return new e(t,i,a,n)},e.prototype.findNgContentIndex=function(e){var t=[];return this._ngContentIndexMatcher.match(e,(function(e,r){t.push(r)})),t.sort(),null!=this._wildcardNgContentIndex&&t.push(this._wildcardNgContentIndex),t.length>0?t[0]:null},e}();function Wf(e,t){var r=new E,n=a(e)[1];r.setElement(n);for(var i=0;i<t.length;i++){var s=t[i][0],o=a(s)[1],u=t[i][1];if(r.addAttribute(o,u),s.toLowerCase()==Bf)Jf(u).forEach((function(e){return r.addClassName(e)}))}return r}var $f=new Yf(!0,new S,null,null),Hf=new Kf;function zf(e){return e instanceof qo&&0==e.value.trim().length}function Gf(e){var t=new Map;return e.forEach((function(e){t.get(e.type.reference)||t.set(e.type.reference,e)})),Array.from(t.values())}function Qf(e){return e instanceof pa&&(e=e.ast),e instanceof Ji}
542/**
543 * @license
544 * Copyright Google Inc. All Rights Reserved.
545 *
546 * Use of this source code is governed by an MIT-style license that can be
547 * found in the LICENSE file at https://angular.io/license
548 */var Zf=function(){function e(e,t){this.options=e,this.reflector=t}return e.prototype.compileComponent=function(e,t,r,n,i,a){var s=this,o=new Map;n.forEach((function(e){return o.set(e.name,e.type.reference)}));var u=0,l=function(e,r){var n=u++;return new td(s.options,s.reflector,i,e,t.type.reference,t.isHost,n,o,r,a,l)},c=l(null,[]);return c.visitAll([],r),c.build(e)},e}(),ed=new(function(){function e(){}return e.prototype.getLocal=function(e){return e===xa.event.name?yt("_any"):null},e}()),td=function(){function e(e,t,r,n,i,a,s,o,u,l,c){this.options=e,this.reflector=t,this.externalReferenceVars=r,this.parent=n,this.component=i,this.isHostComponent=a,this.embeddedViewIndex=s,this.pipes=o,this.guards=u,this.ctx=l,this.viewBuilderFactory=c,this.refOutputVars=new Map,this.variables=[],this.children=[],this.updates=[],this.actions=[]}return e.prototype.getOutputVar=function(e){var t;if(!(t=e===this.component&&this.isHostComponent?"_any":e instanceof or?this.externalReferenceVars.get(e):"_any"))throw new Error("Illegal State: referring to a type without a variable "+JSON.stringify(e));return t},e.prototype.getTypeGuardExpressions=function(e){var t,r,n,a,s=Object(i.d)(this.guards);try{for(var o=Object(i.e)(e.directives),u=o.next();!u.done;u=o.next()){var l=u.value;try{for(var c=Object(i.e)(l.inputs),p=c.next();!p.done;p=c.next()){var f=p.value,d=l.directive.guards[f.directiveName];if(d){var h="UseIf"===d;s.push({guard:d,useIf:h,expression:{context:this.component,value:f.value}})}}}catch(e){n={error:e}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return s},e.prototype.visitAll=function(e,t){this.variables=e,tp(this,t)},e.prototype.build=function(e,t){var r,n,a=this;void 0===t&&(t=[]),this.children.forEach((function(r){return r.build(e,t)}));var s=[yt("_any").set(Ke).toDeclStmt(oe)],o=0;if(this.updates.forEach((function(e){var t=a.preprocessUpdateExpression(e),r=t.sourceSpan,n=t.context,u=t.value,l=""+o++,c=Oa(n===a.component?a:ed,yt(a.getOutputVar(n)),u,l,Pa.General),p=c.stmts,f=c.currValExpr;p.push(new $e(f)),s.push.apply(s,Object(i.d)(p.map((function(e){return ft(e,r)}))))})),this.actions.forEach((function(e){var t=e.sourceSpan,r=e.context,n=e.value,u=""+o++,l=Aa(r===a.component?a:ed,yt(a.getOutputVar(r)),n,u).stmts;s.push.apply(s,Object(i.d)(l.map((function(e){return ft(e,t)}))))})),this.guards.length){var u=void 0;try{for(var l=Object(i.e)(this.guards),c=l.next();!c.done;c=l.next()){var p=c.value,f=this.preprocessUpdateExpression(p.expression),d=f.context,h=f.value,y=""+o++,m=Oa(d===this.component?this:ed,yt(this.getOutputVar(d)),h,y,Pa.TrySimple),v=m.stmts,g=m.currValExpr;if(0==v.length){var T=p.useIf?g:this.ctx.importExpr(p.guard).callFn([g]);u=u?u.and(T):T}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}u&&(s=[new tt(u,s)])}var E="_View_"+e+"_"+this.embeddedViewIndex,S=new We(E,[],s);return t.push(S),t},e.prototype.visitBoundText=function(e,t){var r=this;e.value.ast.expressions.forEach((function(t){return r.updates.push({context:r.component,value:t,sourceSpan:e.sourceSpan})}))},e.prototype.visitEmbeddedTemplate=function(e,t){if(this.visitElementOrTemplate(e),this.options.fullTemplateTypeCheck){var r=this.getTypeGuardExpressions(e),n=this.viewBuilderFactory(this,r);this.children.push(n),n.visitAll(e.variables,e.children)}},e.prototype.visitElement=function(e,t){var r=this;this.visitElementOrTemplate(e),e.inputs.forEach((function(e){r.updates.push({context:r.component,value:e.value,sourceSpan:e.sourceSpan})})),tp(this,e.children)},e.prototype.visitElementOrTemplate=function(e){var t=this;e.directives.forEach((function(e){t.visitDirective(e)})),e.references.forEach((function(e){var r=null;r=e.value&&e.value.identifier&&t.options.fullTemplateTypeCheck?e.value.identifier.reference:ee.Dynamic,t.refOutputVars.set(e.name,r)})),e.outputs.forEach((function(e){t.actions.push({context:t.component,value:e.handler,sourceSpan:e.sourceSpan})}))},e.prototype.visitDirective=function(e){var t=this,r=e.directive.type.reference;e.inputs.forEach((function(e){return t.updates.push({context:t.component,value:e.value,sourceSpan:e.sourceSpan})})),this.options.fullTemplateTypeCheck&&(e.hostProperties.forEach((function(e){return t.updates.push({context:r,value:e.value,sourceSpan:e.sourceSpan})})),e.hostEvents.forEach((function(e){return t.actions.push({context:r,value:e.handler,sourceSpan:e.sourceSpan})})))},e.prototype.getLocal=function(e){if(e==xa.event.name)return yt(this.getOutputVar(ee.Dynamic));for(var t=this;t;t=t.parent){var r=void 0;if(null==(r=t.refOutputVars.get(e)))t.variables.find((function(t){return t.name===e}))&&(r=ee.Dynamic);if(null!=r)return yt(this.getOutputVar(r))}return null},e.prototype.pipeOutputVar=function(e){var t=this.pipes.get(e);if(!t)throw new Error("Illegal State: Could not find pipe "+e+" in template of "+this.component);return this.getOutputVar(t)},e.prototype.preprocessUpdateExpression=function(e){var t=this;return{sourceSpan:e.sourceSpan,context:e.context,value:Ca({createLiteralArrayConverter:function(e){return function(e){var r=Tt(e);return t.options.fullTemplateTypeCheck?r:r.cast(oe)}},createLiteralMapConverter:function(e){return function(r){var n=Et(e.map((function(e,t){return{key:e.key,value:r[t],quoted:e.quoted}})));return t.options.fullTemplateTypeCheck?n:n.cast(oe)}},createPipeConverter:function(e,r){return function(r){return(t.options.fullTemplateTypeCheck?yt(t.pipeOutputVar(e)):yt(t.getOutputVar(ee.Dynamic))).callMethod("transform",r)}}},e.value)}},e.prototype.visitNgContent=function(e,t){},e.prototype.visitText=function(e,t){},e.prototype.visitDirectiveProperty=function(e,t){},e.prototype.visitReference=function(e,t){},e.prototype.visitVariable=function(e,t){},e.prototype.visitEvent=function(e,t){},e.prototype.visitElementProperty=function(e,t){},e.prototype.visitAttr=function(e,t){},e}(),rd="class",nd="style",id=function(e,t){this.viewClassVar=e,this.rendererTypeVar=t},ad=function(){function e(e){this._reflector=e}return e.prototype.compileComponent=function(e,t,r,n,a){var s,o=this,u=0,l=function e(t,r){void 0===r&&(r=new Map);t.forEach((function(t){var n=new Set,i=new Set,a=void 0;t instanceof Wc?(e(t.children,r),t.children.forEach((function(e){var t=r.get(e);t.staticQueryIds.forEach((function(e){return n.add(e)})),t.dynamicQueryIds.forEach((function(e){return i.add(e)}))})),a=t.queryMatches):t instanceof $c&&(e(t.children,r),t.children.forEach((function(e){var t=r.get(e);t.staticQueryIds.forEach((function(e){return i.add(e)})),t.dynamicQueryIds.forEach((function(e){return i.add(e)}))})),a=t.queryMatches),a&&a.forEach((function(e){return n.add(e.queryId)})),i.forEach((function(e){return n.delete(e)})),r.set(t,{staticQueryIds:n,dynamicQueryIds:i})}));return r}(r),c=void 0;if(!t.isHost){var p=t.template,f=[];p.animations&&p.animations.length&&f.push(new Ve("animation",Bp(e,p.animations),!0));var d=yt(mr(t.type.reference));c=d.name,e.statements.push(d.set(mt(ir.createRendererType2).callFn([new qe([new Ve("encapsulation",xt(p.encapsulation),!1),new Ve("styles",n,!1),new Ve("data",new qe(f),!1)])])).toDeclStmt(vt(ir.RendererType2),[xe.Final,xe.Exported]))}var h=function(r){var n=u++;return new fd(o._reflector,e,r,t,n,a,l,h)},y=h(null);return y.visitAll([],r),(s=e.statements).push.apply(s,Object(i.d)(y.build())),new id(y.viewName,c)},e}(),sd=yt("_l"),od=yt("_v"),ud=yt("_ck"),ld=yt("_co"),cd=yt("en"),pd=yt("ad"),fd=function(){function e(e,t,r,n,i,a,s,o){this.reflector=e,this.outputCtx=t,this.parent=r,this.component=n,this.embeddedViewIndex=i,this.usedPipes=a,this.staticQueryIds=s,this.viewBuilderFactory=o,this.nodes=[],this.purePipeNodeIndices=Object.create(null),this.refNodeIndices=Object.create(null),this.variables=[],this.children=[],this.compType=this.embeddedViewIndex>0?oe:gt(t.importExpr(this.component.type.reference)),this.viewName=yr(this.component.type.reference,this.embeddedViewIndex)}return e.prototype.visitAll=function(e,t){var r,n,i,a=this;if(this.variables=e,this.parent||this.usedPipes.forEach((function(e){e.pure&&(a.purePipeNodeIndices[e.name]=a._createPipe(null,e))})),!this.parent){var o=(r=this.staticQueryIds,n=new Set,i=new Set,Array.from(r.values()).forEach((function(e){e.staticQueryIds.forEach((function(e){return n.add(e)})),e.dynamicQueryIds.forEach((function(e){return i.add(e)}))})),i.forEach((function(e){return n.delete(e)})),{staticQueryIds:n,dynamicQueryIds:i});this.component.viewQueries.forEach((function(e,t){var r=t+1,n=e.first?0:1,i=134217728|vd(o,r,e.first);a.nodes.push((function(){return{sourceSpan:null,nodeFlags:i,nodeDef:mt(ir.queryDef).callFn([xt(i),xt(r),new qe([new Ve(e.propertyName,xt(n),!1)])])}}))}))}tp(this,t),this.parent&&(0===t.length||function e(t){var r=t[t.length-1];if(r instanceof $c)return r.hasViewContainer;if(r instanceof Wc)return s(r.name)&&r.children.length?e(r.children):r.hasViewContainer;return r instanceof Qc}(t))&&this.nodes.push((function(){return{sourceSpan:null,nodeFlags:1,nodeDef:mt(ir.anchorDef).callFn([xt(0),Ke,Ke,xt(0)])}}))},e.prototype.build=function(e){void 0===e&&(e=[]),this.children.forEach((function(t){return t.build(e)}));var t=this._createNodeExpressions(),r=t.updateRendererStmts,n=t.updateDirectivesStmts,i=t.nodeDefExprs,a=this._createUpdateFn(r),s=this._createUpdateFn(n),o=0;this.parent||this.component.changeDetection!==g.OnPush||(o|=2);var u=new We(this.viewName,[new ke(sd.name)],[new He(mt(ir.viewDef).callFn([xt(o),Tt(i),s,a]))],vt(ir.ViewDefinition),0===this.embeddedViewIndex?[xe.Exported]:[]);return e.push(u),e},e.prototype._createUpdateFn=function(e){var t;if(e.length>0){var r=[];!this.component.isHost&&ut(e).has(ld.name)&&r.push(ld.set(od.prop("component")).toDeclStmt(this.compType)),t=St([new ke(ud.name,ue),new ke(od.name,ue)],Object(i.d)(r,e),ue)}else t=Ke;return t},e.prototype.visitNgContent=function(e,t){this.nodes.push((function(){return{sourceSpan:e.sourceSpan,nodeFlags:8,nodeDef:mt(ir.ngContentDef).callFn([xt(e.ngContentIndex),xt(e.index)])}}))},e.prototype.visitText=function(e,t){this.nodes.push((function(){return{sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:mt(ir.textDef).callFn([xt(-1),xt(e.ngContentIndex),Tt([xt(e.value)])])}}))},e.prototype.visitBoundText=function(e,t){var r=this,n=this.nodes.length;this.nodes.push(null);var i=e.value.ast,a=i.expressions.map((function(t,i){return r._preprocessUpdateExpression({nodeIndex:n,bindingIndex:i,sourceSpan:e.sourceSpan,context:ld,value:t})})),s=n;this.nodes[n]=function(){return{sourceSpan:e.sourceSpan,nodeFlags:2,nodeDef:mt(ir.textDef).callFn([xt(s),xt(e.ngContentIndex),Tt(i.strings.map((function(e){return xt(e)})))]),updateRenderer:a}}},e.prototype.visitEmbeddedTemplate=function(e,t){var r=this,n=this.nodes.length;this.nodes.push(null);var i=this._visitElementOrTemplate(n,e),a=i.flags,s=i.queryMatchesExpr,o=i.hostEvents,u=this.viewBuilderFactory(this);this.children.push(u),u.visitAll(e.variables,e.children);var l=this.nodes.length-n-1;this.nodes[n]=function(){return{sourceSpan:e.sourceSpan,nodeFlags:1|a,nodeDef:mt(ir.anchorDef).callFn([xt(a),s,xt(e.ngContentIndex),xt(l),r._createElementHandleEventFn(n,o),yt(u.viewName)])}}},e.prototype.visitElement=function(e,t){var r=this,n=this.nodes.length;this.nodes.push(null);var a=s(e.name)?null:e.name,o=this._visitElementOrTemplate(n,e),u=o.flags,l=o.usedEvents,c=o.queryMatchesExpr,p=o.hostBindings,f=o.hostEvents,d=[],h=[],y=[];if(a){var m=e.inputs.map((function(e){return{context:ld,inputAst:e,dirAst:null}})).concat(p);m.length&&(h=m.map((function(e,t){return r._preprocessUpdateExpression({context:e.context,nodeIndex:n,bindingIndex:t,sourceSpan:e.inputAst.sourceSpan,value:e.inputAst.value})})),d=m.map((function(e){return function(e,t){var r=e.type;switch(r){case 1:return Tt([xt(1),xt(e.name),xt(e.securityContext)]);case 0:return Tt([xt(8),xt(e.name),xt(e.securityContext)]);case 4:return Tt([xt(8|(t&&t.directive.isComponent?32:16)),xt("@"+e.name),xt(e.securityContext)]);case 2:return Tt([xt(2),xt(e.name),Ke]);case 3:return Tt([xt(4),xt(e.name),xt(e.unit)]);default:throw new Error("unexpected "+r)}}(e.inputAst,e.dirAst)}))),y=l.map((function(e){var t=Object(i.c)(e,2),r=t[0],n=t[1];return Tt([xt(r),xt(n)])}))}tp(this,e.children);var v=this.nodes.length-n-1,g=e.directives.find((function(e){return e.directive.isComponent})),T=Ke,E=Ke;g&&(E=this.outputCtx.importExpr(g.directive.componentViewType),T=this.outputCtx.importExpr(g.directive.rendererType));var S=n;this.nodes[n]=function(){return{sourceSpan:e.sourceSpan,nodeFlags:1|u,nodeDef:mt(ir.elementDef).callFn([xt(S),xt(u),c,xt(e.ngContentIndex),xt(v),xt(a),a?dd(e):Ke,d.length?Tt(d):Ke,y.length?Tt(y):Ke,r._createElementHandleEventFn(n,f),E,T]),updateRenderer:h}}},e.prototype._visitElementOrTemplate=function(e,t){var r=this,n=0;t.hasViewContainer&&(n|=16777216);var a=new Map;t.outputs.forEach((function(e){var t=md(e,null),r=t.name,n=t.target;a.set(gd(n,r),[n,r])})),t.directives.forEach((function(e){e.hostEvents.forEach((function(t){var r=md(t,e),n=r.name,i=r.target;a.set(gd(i,n),[i,n])}))}));var s=[],o=[];this._visitComponentFactoryResolverProvider(t.directives),t.providers.forEach((function(n,u){var l=void 0,c=void 0;if(t.directives.forEach((function(e,t){e.directive.type.reference===Er(n.token)&&(l=e,c=t)})),l){var p=r._visitDirective(n,l,c,e,t.references,t.queryMatches,a,r.staticQueryIds.get(t)),f=p.hostBindings,d=p.hostEvents;s.push.apply(s,Object(i.d)(f)),o.push.apply(o,Object(i.d)(d))}else r._visitProvider(n,t.queryMatches)}));var u=[];return t.queryMatches.forEach((function(e){var t=void 0;Er(e.value)===r.reflector.resolveExternalReference(ir.ElementRef)?t=0:Er(e.value)===r.reflector.resolveExternalReference(ir.ViewContainerRef)?t=3:Er(e.value)===r.reflector.resolveExternalReference(ir.TemplateRef)&&(t=2),null!=t&&u.push(Tt([xt(e.queryId),xt(t)]))})),t.references.forEach((function(t){var n=void 0;t.value?Er(t.value)===r.reflector.resolveExternalReference(ir.TemplateRef)&&(n=2):n=1,null!=n&&(r.refNodeIndices[t.name]=e,u.push(Tt([xt(t.name),xt(n)])))})),t.outputs.forEach((function(e){o.push({context:ld,eventAst:e,dirAst:null})})),{flags:n,usedEvents:Array.from(a.values()),queryMatchesExpr:u.length?Tt(u):Ke,hostBindings:s,hostEvents:o}},e.prototype._visitDirective=function(e,t,r,n,i,a,s,o){var u=this,l=this.nodes.length;this.nodes.push(null),t.directive.queries.forEach((function(e,r){var n=t.contentQueryStartId+r,i=67108864|vd(o,n,e.first),a=e.first?0:1;u.nodes.push((function(){return{sourceSpan:t.sourceSpan,nodeFlags:i,nodeDef:mt(ir.queryDef).callFn([xt(i),xt(n),new qe([new Ve(e.propertyName,xt(a),!1)])])}}))}));var c=this.nodes.length-l-1,p=this._visitProviderOrDirective(e,a),f=p.flags,d=p.queryMatchExprs,h=p.providerExpr,y=p.depsExpr;i.forEach((function(t){t.value&&Er(t.value)===Er(e.token)&&(u.refNodeIndices[t.name]=l,d.push(Tt([xt(t.name),xt(4)])))})),t.directive.isComponent&&(f|=32768);var m=t.inputs.map((function(e,t){var r=Tt([xt(t),xt(e.directiveName)]);return new Ve(e.directiveName,r,!1)})),v=[],g=t.directive;Object.keys(g.outputs).forEach((function(e){var t=g.outputs[e];s.has(t)&&v.push(new Ve(e,xt(t),!1))}));var T=[];(t.inputs.length||(327680&f)>0)&&(T=t.inputs.map((function(e,t){return u._preprocessUpdateExpression({nodeIndex:l,bindingIndex:t,sourceSpan:e.sourceSpan,context:ld,value:e.value})})));var E=mt(ir.nodeValue).callFn([od,xt(l)]),S=t.hostProperties.map((function(e){return{context:E,dirAst:t,inputAst:e}})),b=t.hostEvents.map((function(e){return{context:E,eventAst:e,dirAst:t}})),x=l;return this.nodes[l]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:16384|f,nodeDef:mt(ir.directiveDef).callFn([xt(x),xt(f),d.length?Tt(d):Ke,xt(c),h,y,m.length?new qe(m):Ke,v.length?new qe(v):Ke]),updateDirectives:T,directive:t.directive.type}},{hostBindings:S,hostEvents:b}},e.prototype._visitProvider=function(e,t){this._addProviderNode(this._visitProviderOrDirective(e,t))},e.prototype._visitComponentFactoryResolverProvider=function(e){var t=e.find((function(e){return e.directive.isComponent}));if(t&&t.directive.entryComponents.length){var r=Sf(this.reflector,this.outputCtx,8192,t.directive.entryComponents),n=r.providerExpr,i=r.depsExpr,a=r.flags,s=r.tokenExpr;this._addProviderNode({providerExpr:n,depsExpr:i,flags:a,tokenExpr:s,queryMatchExprs:[],sourceSpan:t.sourceSpan})}},e.prototype._addProviderNode=function(e){this.nodes.length;this.nodes.push((function(){return{sourceSpan:e.sourceSpan,nodeFlags:e.flags,nodeDef:mt(ir.providerDef).callFn([xt(e.flags),e.queryMatchExprs.length?Tt(e.queryMatchExprs):Ke,e.tokenExpr,e.providerExpr,e.depsExpr])}}))},e.prototype._visitProviderOrDirective=function(e,t){var r=[];t.forEach((function(t){Er(t.value)===Er(e.token)&&r.push(Tt([xt(t.queryId),xt(4)]))}));var n=mf(this.outputCtx,e),i=n.providerExpr,a=n.depsExpr,s=n.flags,o=n.tokenExpr;return{flags:0|s,queryMatchExprs:r,providerExpr:i,depsExpr:a,tokenExpr:o,sourceSpan:e.sourceSpan}},e.prototype.getLocal=function(e){if(e==xa.event.name)return xa.event;for(var t=od,r=this;r;r=r.parent,t=t.prop("parent").cast(oe)){var n=r.refNodeIndices[e];if(null!=n)return mt(ir.nodeValue).callFn([t,xt(n)]);var i=r.variables.find((function(t){return t.name===e}));if(i){var a=i.value||"$implicit";return t.prop("context").prop(a)}}return null},e.prototype._createLiteralArrayConverter=function(e,t){if(0===t){var r=mt(ir.EMPTY_ARRAY);return function(){return r}}var n=this.nodes.length;return this.nodes.push((function(){return{sourceSpan:e,nodeFlags:32,nodeDef:mt(ir.pureArrayDef).callFn([xt(n),xt(t)])}})),function(e){return hd(n,e)}},e.prototype._createLiteralMapConverter=function(e,t){if(0===t.length){var r=mt(ir.EMPTY_MAP);return function(){return r}}var n=Et(t.map((function(e,t){return Object(i.a)({},e,{value:xt(t)})}))),a=this.nodes.length;return this.nodes.push((function(){return{sourceSpan:e,nodeFlags:64,nodeDef:mt(ir.pureObjectDef).callFn([xt(a),n])}})),function(e){return hd(a,e)}},e.prototype._createPipeConverter=function(e,t,r){var n=this.usedPipes.find((function(e){return e.name===t}));if(n.pure){var i=this.nodes.length;this.nodes.push((function(){return{sourceSpan:e.sourceSpan,nodeFlags:128,nodeDef:mt(ir.purePipeDef).callFn([xt(i),xt(r)])}}));for(var a=od,s=this;s.parent;)s=s.parent,a=a.prop("parent").cast(oe);var o=s.purePipeNodeIndices[t],u=mt(ir.nodeValue).callFn([a,xt(o)]);return function(t){return yd(e.nodeIndex,e.bindingIndex,hd(i,[u].concat(t)))}}var l=this._createPipe(e.sourceSpan,n),c=mt(ir.nodeValue).callFn([od,xt(l)]);return function(t){return yd(e.nodeIndex,e.bindingIndex,c.callMethod("transform",t))}},e.prototype._createPipe=function(e,t){var r=this,n=this.nodes.length,i=0;t.type.lifecycleHooks.forEach((function(e){e===ja.OnDestroy&&(i|=Ef(e))}));var a=t.type.diDeps.map((function(e){return Tf(r.outputCtx,e)}));return this.nodes.push((function(){return{sourceSpan:e,nodeFlags:16,nodeDef:mt(ir.pipeDef).callFn([xt(i),r.outputCtx.importExpr(t.type.reference),Tt(a)])}})),n},e.prototype._preprocessUpdateExpression=function(e){var t=this;return{nodeIndex:e.nodeIndex,bindingIndex:e.bindingIndex,sourceSpan:e.sourceSpan,context:e.context,value:Ca({createLiteralArrayConverter:function(r){return t._createLiteralArrayConverter(e.sourceSpan,r)},createLiteralMapConverter:function(r){return t._createLiteralMapConverter(e.sourceSpan,r)},createPipeConverter:function(r,n){return t._createPipeConverter(e,r,n)}},e.value)}},e.prototype._createNodeExpressions=function(){var e=this,t=0,r=[],n=[],a=this.nodes.map((function(e,t){var a=e(),o=a.nodeDef,u=a.nodeFlags,l=a.updateDirectives,c=a.updateRenderer,p=a.sourceSpan;return c&&r.push.apply(r,Object(i.d)(s(t,p,c,!1))),l&&n.push.apply(n,Object(i.d)(s(t,p,l,(327680&u)>0))),dt(3&u?new Ue([sd.callFn([]).callFn([]),o]):o,p)}));return{updateRendererStmts:r,updateDirectivesStmts:n,nodeDefExprs:a};function s(r,n,a,s){var o=[],u=a.map((function(r){var n=r.sourceSpan,a=r.context,s=r.value,u=""+t++,l=Oa(a===ld?e:null,a,s,u,Pa.General),c=l.stmts,p=l.currValExpr;return o.push.apply(o,Object(i.d)(c.map((function(e){return ft(e,n)})))),dt(p,n)}));return(a.length||s)&&o.push(ft(hd(r,u).toStmt(),n)),o}},e.prototype._createElementHandleEventFn=function(e,t){var r,n=this,a=[],s=0;if(t.forEach((function(e){var t=e.context,r=e.eventAst,i=e.dirAst,o=""+s++,u=Aa(t===ld?n:null,t,r.handler,o),l=u.stmts,c=u.allowDefault,p=l;c&&p.push(pd.set(c.and(pd)).toStmt());var f=md(r,i),d=gd(f.target,f.name);a.push(ft(new tt(xt(d).identical(cd),p),r.sourceSpan))})),a.length>0){var o=[pd.set(xt(!0)).toDeclStmt(le)];!this.component.isHost&&ut(a).has(ld.name)&&o.push(ld.set(od.prop("component")).toDeclStmt(this.compType)),r=St([new ke(od.name,ue),new ke(cd.name,ue),new ke(xa.event.name,ue)],Object(i.d)(o,a,[new He(pd)]),ue)}else r=Ke;return r},e.prototype.visitDirective=function(e,t){},e.prototype.visitDirectiveProperty=function(e,t){},e.prototype.visitReference=function(e,t){},e.prototype.visitVariable=function(e,t){},e.prototype.visitEvent=function(e,t){},e.prototype.visitElementProperty=function(e,t){},e.prototype.visitAttr=function(e,t){},e}();function dd(e){var t=Object.create(null);return e.attrs.forEach((function(e){t[e.name]=e.value})),e.directives.forEach((function(e){Object.keys(e.directive.hostAttributes).forEach((function(r){var n,i,a,s=e.directive.hostAttributes[r],o=t[r];t[r]=null!=o?(i=o,a=s,(n=r)==rd||n==nd?i+" "+a:a):s}))})),Tt(Object.keys(t).sort().map((function(e){return Tt([xt(e),xt(t[e])])})))}function hd(e,t){return t.length>10?ud.callFn([od,xt(e),xt(1),Tt(t)]):ud.callFn(Object(i.d)([od,xt(e),xt(0)],t))}function yd(e,t,r){return mt(ir.unwrapValue).callFn([od,xt(e),xt(t),r])}function md(e,t){return e.isAnimation?{name:"@"+e.name+"."+e.phase,target:t&&t.directive.isComponent?"component":null}:e}function vd(e,t,r){var n=0;return!r||!e.staticQueryIds.has(t)&&e.dynamicQueryIds.has(t)?n|=536870912:n|=268435456,n}function gd(e,t){return e?e+":"+t:t}
549/**
550 * @license
551 * Copyright Google Inc. All Rights Reserved.
552 *
553 * Use of this source code is governed by an MIT-style license that can be
554 * found in the LICENSE file at https://angular.io/license
555 */var Td=function(){function e(e,t,r,n){void 0===n&&(n=null),this._htmlParser=e,this._implicitTags=t,this._implicitAttrs=r,this._locale=n,this._messages=[]}return e.prototype.updateFromTemplate=function(e,t,r){var n,a=this._htmlParser.parse(e,t,!0,r);if(a.errors.length)return a.errors;var s=function(e,t,r,n){return new gp(r,n).extract(e,t)}(a.rootNodes,r,this._implicitTags,this._implicitAttrs);return s.errors.length?s.errors:((n=this._messages).push.apply(n,Object(i.d)(s.messages)),[])},e.prototype.getMessages=function(){return this._messages},e.prototype.write=function(e,t){var r={},n=new Ed;this._messages.forEach((function(t){var n,a=e.digest(t);r.hasOwnProperty(a)?(n=r[a].sources).push.apply(n,Object(i.d)(t.sources)):r[a]=t}));var a=Object.keys(r).map((function(i){var a=e.createNameMapper(r[i]),s=r[i],o=a?n.convert(s.nodes,a):s.nodes,u=new jr(o,{},{},s.meaning,s.description,i);return u.sources=s.sources,t&&u.sources.forEach((function(e){return e.filePath=t(e.filePath)})),u}));return e.write(a,this._locale)},e}(),Ed=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.b)(t,e),t.prototype.convert=function(e,t){var r=this;return t?e.map((function(e){return e.visit(r,t)})):e},t.prototype.visitTagPlaceholder=function(e,t){var r=this,n=t.toPublicName(e.startName),i=e.closeName?t.toPublicName(e.closeName):e.closeName,a=e.children.map((function(e){return e.visit(r,t)}));return new Ur(e.tag,e.attrs,n,i,a,e.isVoid,e.sourceSpan)},t.prototype.visitPlaceholder=function(e,t){return new Kr(e.value,t.toPublicName(e.name),e.sourceSpan)},t.prototype.visitIcuPlaceholder=function(e,t){return new Xr(e.value,t.toPublicName(e.name),e.sourceSpan)},t}(Jr),Sd=function(){function e(e,t,r){this.srcFileUrl=e,this.genFileUrl=t,"string"==typeof r?(this.source=r,this.stmts=null):(this.source=null,this.stmts=r)}return e.prototype.isEquivalent=function(e){return this.genFileUrl===e.genFileUrl&&(this.source?this.source===e.source:null!=e.stmts&&de(this.stmts,e.stmts))},e}();function bd(e,t){if(void 0===t&&(t=""),!e.stmts)throw new Error("Illegal state: No stmts present on GeneratedFile "+e.genFileUrl);return(new Pf).emitStatements(e.genFileUrl,e.stmts,t)}
556/**
557 * @license
558 * Copyright Google Inc. All Rights Reserved.
559 *
560 * Use of this source code is governed by an MIT-style license that can be
561 * found in the LICENSE file at https://angular.io/license
562 */function xd(e,t){var r,n,a,s,o=[];try{for(var u=Object(i.e)(e.transitiveModule.providers),l=u.next();!l.done;l=u.next()){var c=l.value,p=c.provider,f=c.module;if(Er(p.token)===t.ROUTES){var d=Dd(p.useValue);try{for(var h=Object(i.e)(d),y=h.next();!y.done;y=h.next()){var m=y.value;o.push(Ad(m,t,f.reference))}}catch(e){a={error:e}}finally{try{y&&!y.done&&(s=h.return)&&s.call(h)}finally{if(a)throw a.error}}}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}return o}function Dd(e,t){var r,n;if(void 0===t&&(t=[]),"string"==typeof e)t.push(e);else if(Array.isArray(e))try{for(var a=Object(i.e)(e),s=a.next();!s.done;s=a.next()){Dd(s.value,t)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}else e.loadChildren?Dd(e.loadChildren,t):e.children&&Dd(e.children,t);return t}function Ad(e,t,r){var n=Object(i.c)(e.split("#"),2),a=n[0],s=n[1],o=t.resolveExternalReference({moduleName:a,name:s},r?r.filePath:void 0);return{route:e,module:r||o,referencedModule:o}}
563/**
564 * @license
565 * Copyright Google Inc. All Rights Reserved.
566 *
567 * Use of this source code is governed by an MIT-style license that can be
568 * found in the LICENSE file at https://angular.io/license
569 */var Cd=/^(?!.*\.d\.ts$).*\.ts$/,Pd=function(e,t){this.symbol=e,this.metadata=t},wd=function(){function e(e,t,r,n){this.host=e,this.staticSymbolCache=t,this.summaryResolver=r,this.errorRecorder=n,this.metadataCache=new Map,this.resolvedSymbols=new Map,this.resolvedFilePaths=new Set,this.importAs=new Map,this.symbolResourcePaths=new Map,this.symbolFromFile=new Map,this.knownFileNameToModuleNames=new Map}return e.prototype.resolveSymbol=function(e){if(e.members.length>0)return this._resolveSymbolMembers(e);var t=this._resolveSymbolFromSummary(e);if(t)return t;var r=this.resolvedSymbols.get(e);return r||(this._createSymbolsOf(e.filePath),this.resolvedSymbols.get(e))},e.prototype.getImportAs=function(e,t){if(void 0===t&&(t=!0),e.members.length){var r=this.getStaticSymbol(e.filePath,e.name);return(i=this.getImportAs(r,t))?this.getStaticSymbol(i.filePath,i.name,e.members):null}var n=e.filePath.replace(Kp,".");if(n!==e.filePath){var i,a=e.name.replace(Xp,"");r=this.getStaticSymbol(n,a,e.members);return(i=this.getImportAs(r,t))?this.getStaticSymbol(zp(i.filePath),Gp(i.name),r.members):null}var s=t&&this.summaryResolver.getImportAs(e)||null;return s||(s=this.importAs.get(e)),s},e.prototype.getResourcePath=function(e){return this.symbolResourcePaths.get(e)||e.filePath},e.prototype.getTypeArity=function(e){if(t=e.filePath,Up.test(t))return null;for(var t,r=Od(this.resolveSymbol(e));r&&r.metadata instanceof or;)r=Od(this.resolveSymbol(r.metadata));return r&&r.metadata&&r.metadata.arity||null},e.prototype.getKnownModuleName=function(e){return this.knownFileNameToModuleNames.get(e)||null},e.prototype.recordImportAs=function(e,t){e.assertNoMembers(),t.assertNoMembers(),this.importAs.set(e,t)},e.prototype.recordModuleNameForFileName=function(e,t){this.knownFileNameToModuleNames.set(e,t)},e.prototype.invalidateFile=function(e){var t,r;this.metadataCache.delete(e),this.resolvedFilePaths.delete(e);var n=this.symbolFromFile.get(e);if(n){this.symbolFromFile.delete(e);try{for(var a=Object(i.e)(n),s=a.next();!s.done;s=a.next()){var o=s.value;this.resolvedSymbols.delete(o),this.importAs.delete(o),this.symbolResourcePaths.delete(o)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}},e.prototype.ignoreErrorsFor=function(e){var t=this.errorRecorder;this.errorRecorder=function(){};try{return e()}finally{this.errorRecorder=t}},e.prototype._resolveSymbolMembers=function(e){var t=e.members,r=this.resolveSymbol(this.getStaticSymbol(e.filePath,e.name));if(!r)return null;var n=Od(r.metadata);if(n instanceof or)return new Pd(e,this.getStaticSymbol(n.filePath,n.name,t));if(!n||"class"!==n.__symbolic){for(var i=n,a=0;a<t.length&&i;a++)i=i[t[a]];return new Pd(e,i)}return n.statics&&1===t.length?new Pd(e,n.statics[t[0]]):null},e.prototype._resolveSymbolFromSummary=function(e){var t=this.summaryResolver.resolveSummary(e);return t?new Pd(e,t.metadata):null},e.prototype.getStaticSymbol=function(e,t,r){return this.staticSymbolCache.get(e,t,r)},e.prototype.hasDecorators=function(e){var t=this.getModuleMetadata(e);return!!t.metadata&&Object.keys(t.metadata).some((function(e){var r=t.metadata[e];return r&&"class"===r.__symbolic&&r.decorators}))},e.prototype.getSymbolsOf=function(e){var t=this.summaryResolver.getSymbolsOf(e);if(t)return t;this._createSymbolsOf(e);var r=[];return this.resolvedSymbols.forEach((function(t){t.symbol.filePath===e&&r.push(t.symbol)})),r},e.prototype._createSymbolsOf=function(e){var t,r,n=this;if(!this.resolvedFilePaths.has(e)){this.resolvedFilePaths.add(e);var a=[],s=this.getModuleMetadata(e);if(s.importAs&&this.knownFileNameToModuleNames.set(e,s.importAs),s.exports){var o=function(t){if(t.export)t.export.forEach((function(r){var i,s=i=_d(i="string"==typeof r?r:r.as);"string"!=typeof r&&(s=_d(r.name));var o=n.resolveModule(t.from,e);if(o){var u=n.getStaticSymbol(o,s),l=n.getStaticSymbol(e,i);a.push(n.createExport(l,u))}}));else{var r=u.resolveModule(t.from,e);if(r)u.getSymbolsOf(r).forEach((function(t){var r=n.getStaticSymbol(e,t.name);a.push(n.createExport(r,t))}))}},u=this;try{for(var l=Object(i.e)(s.exports),c=l.next();!c.done;c=l.next()){o(c.value)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}}if(s.metadata){var p=new Set(Object.keys(s.metadata).map(_d)),f=s.origins||{};Object.keys(s.metadata).forEach((function(t){var r=s.metadata[t],i=_d(t),o=n.getStaticSymbol(e,i),u=f.hasOwnProperty(t)&&f[t];if(u){var l=n.resolveModule(u,e);l?n.symbolResourcePaths.set(o,l):n.reportError(new Error("Couldn't resolve original symbol for "+u+" from "+n.host.getOutputName(e)))}a.push(n.createResolvedSymbol(o,e,p,r))}))}a.forEach((function(e){return n.resolvedSymbols.set(e.symbol,e)})),this.symbolFromFile.set(e,a.map((function(e){return e.symbol})))}},e.prototype.createResolvedSymbol=function(e,t,r,n){var a,s=this,o=Cd.test(e.filePath);if(this.summaryResolver.isLibraryFile(e.filePath)&&!o&&n&&"class"===n.__symbolic){var u={__symbolic:"class",arity:n.arity};return new Pd(e,u)}var l=function(){return a||(a=s.host.getOutputName(t.replace(/((\.ts)|(\.d\.ts)|)$/,".ts").replace(/^.*node_modules[/\\]/,""))),a},c=this,p=wt(n,new(function(n){function a(){return null!==n&&n.apply(this,arguments)||this}return Object(i.b)(a,n),a.prototype.visitStringMap=function(a,s){var o=a.__symbolic;if("function"===o){var u=s.length;s.push.apply(s,Object(i.d)(a.parameters||[]));var p=n.prototype.visitStringMap.call(this,a,s);return s.length=u,p}if("reference"!==o)return"error"===o?Object(i.a)({},a,{fileName:l()}):n.prototype.visitStringMap.call(this,a,s);var f=a.module,d=a.name?_d(a.name):a.name;if(!d)return null;var h=void 0;return f?(h=c.resolveModule(f,e.filePath))?{__symbolic:"resolved",symbol:c.getStaticSymbol(h,d),line:a.line,character:a.character,fileName:l()}:{__symbolic:"error",message:"Could not resolve "+f+" relative to "+c.host.getMetadataFor(e.filePath)+".",line:a.line,character:a.character,fileName:l()}:s.indexOf(d)>=0?{__symbolic:"reference",name:d}:r.has(d)?c.getStaticSymbol(t,d):void 0},a}(Ft)),[]),f=Od(p);return f instanceof or?this.createExport(e,f):new Pd(e,p)},e.prototype.createExport=function(e,t){return e.assertNoMembers(),t.assertNoMembers(),this.summaryResolver.isLibraryFile(e.filePath)&&this.summaryResolver.isLibraryFile(t.filePath)&&this.importAs.set(t,this.getImportAs(e)||e),new Pd(e,t)},e.prototype.reportError=function(e,t,r){if(!this.errorRecorder)throw e;this.errorRecorder(e,t&&t.filePath||r)},e.prototype.getModuleMetadata=function(e){var t=this.metadataCache.get(e);if(!t){var r=this.host.getMetadataFor(e);if(r){var n=-1;r.forEach((function(e){e&&e.version>n&&(n=e.version,t=e)}))}if(t||(t={__symbolic:"module",version:4,module:e,metadata:{}}),4!=t.version){var i=2==t.version?"Unsupported metadata version "+t.version+" for module "+e+". This module should be compiled with a newer version of ngc":"Metadata version mismatch for module "+this.host.getOutputName(e)+", found version "+t.version+", expected 4";this.reportError(new Error(i))}this.metadataCache.set(e,t)}return t},e.prototype.getSymbolByModule=function(e,t,r){var n=this.resolveModule(e,r);return n?this.getStaticSymbol(n,t):(this.reportError(new Error("Could not resolve module "+e+(r?" relative to "+this.host.getOutputName(r):""))),this.getStaticSymbol("ERROR:"+e,t))},e.prototype.resolveModule=function(e,t){try{return this.host.moduleNameToFileName(e,t)}catch(r){console.error("Could not resolve module '"+e+"' relative to file "+t),this.reportError(r,void 0,t)}return null},e}();function _d(e){return e.startsWith("___")?e.substr(1):e}function Od(e){return e&&"resolved"===e.__symbolic?e.symbol:e}function Fd(e,t,r){var n=Gp(t.name);e.statements.push(St([],[new He(r)],new ae(oe)).toDeclStmt(n,[xe.Final,xe.Exported]))}var Nd=function(e){function t(t,r,n){var i=e.call(this)||this;return i.symbolResolver=t,i.summaryResolver=r,i.srcFileName=n,i.symbols=[],i.indexBySymbol=new Map,i.reexportedBy=new Map,i.processedSummaryBySymbol=new Map,i.processedSummaries=[],i.unprocessedSymbolSummariesBySymbol=new Map,i.moduleName=t.getKnownModuleName(n),i}return Object(i.b)(t,e),t.prototype.addSummary=function(e){var t,r=this,n=this.unprocessedSymbolSummariesBySymbol.get(e.symbol),i=this.processedSummaryBySymbol.get(e.symbol);if(n||(n={symbol:e.symbol,metadata:void 0},this.unprocessedSymbolSummariesBySymbol.set(e.symbol,n),i={symbol:this.processValue(e.symbol,0)},this.processedSummaries.push(i),this.processedSummaryBySymbol.set(e.symbol,i)),!n.metadata&&e.metadata){var a=e.metadata||{};if("class"===a.__symbolic){var s={};Object.keys(a).forEach((function(e){"decorators"!==e&&(s[e]=a[e])})),a=s}else Ld(a)&&(Ld(t=a)&&Od(t.expression)instanceof or||function(e){return Ld(e)&&e.expression&&"select"===e.expression.__symbolic&&Od(e.expression.expression)instanceof or}
570/**
571 * @license
572 * Copyright Google Inc. All Rights Reserved.
573 *
574 * Use of this source code is governed by an MIT-style license that can be
575 * found in the LICENSE file at https://angular.io/license
576 */(a)||(a={__symbolic:"error",message:"Complex function calls are not supported."}));if(n.metadata=a,i.metadata=this.processValue(a,1),a instanceof or&&this.summaryResolver.isLibraryFile(a.filePath)){var o=this.symbols[this.indexBySymbol.get(a)];Zp(o.name)||this.reexportedBy.set(o,e.symbol)}}if(!n.type&&e.type&&(n.type=e.type,i.type=this.processValue(e.type,0),e.type.summaryKind===pr.NgModule)){var u=e.type;u.exportedDirectives.concat(u.exportedPipes).forEach((function(e){var t=e.reference;if(r.summaryResolver.isLibraryFile(t.filePath)&&!r.unprocessedSymbolSummariesBySymbol.has(t)){var n=r.summaryResolver.resolveSummary(t);n&&r.addSummary(n)}}))}},t.prototype.serialize=function(){var e=this,t=[];return{json:JSON.stringify({moduleName:this.moduleName,summaries:this.processedSummaries,symbols:this.symbols.map((function(r,n){r.assertNoMembers();var i=void 0;if(e.summaryResolver.isLibraryFile(r.filePath)){var a=e.reexportedBy.get(r);if(a)i=e.indexBySymbol.get(a);else{var s=e.unprocessedSymbolSummariesBySymbol.get(r);s&&s.metadata&&"interface"===s.metadata.__symbolic||(i=r.name+"_"+n,t.push({symbol:r,exportAs:i}))}}return{__symbol:n,name:r.name,filePath:e.summaryResolver.toSummaryFileName(r.filePath,e.srcFileName),importAs:i}}))}),exportAs:t}},t.prototype.processValue=function(e,t){return wt(e,this,t)},t.prototype.visitOther=function(e,t){if(e instanceof or){var r=this.symbolResolver.getStaticSymbol(e.filePath,e.name);return{__symbol:this.visitStaticSymbol(r,t),members:e.members}}},t.prototype.visitStringMap=function(t,r){return"resolved"===t.__symbolic?wt(t.symbol,this,r):("error"===t.__symbolic&&(delete t.line,delete t.character),e.prototype.visitStringMap.call(this,t,r))},t.prototype.visitStaticSymbol=function(e,t){var r=this.indexBySymbol.get(e),n=null;if(1&t&&this.summaryResolver.isLibraryFile(e.filePath)){if(this.unprocessedSymbolSummariesBySymbol.has(e))return r;(n=this.loadSummary(e))&&n.metadata instanceof or&&(r=this.visitStaticSymbol(n.metadata,t),n=null)}else if(null!=r)return r;return null==r&&(r=this.symbols.length,this.symbols.push(e)),this.indexBySymbol.set(e,r),n&&this.addSummary(n),r},t.prototype.loadSummary=function(e){var t=this.summaryResolver.resolveSummary(e);if(!t){var r=this.symbolResolver.resolveSymbol(e);r&&(t={symbol:r.symbol,metadata:r.metadata})}return t},t}(Ft),Id=function(){function e(e,t,r){this.outputCtx=e,this.symbolResolver=t,this.summaryResolver=r,this.data=[]}return e.prototype.addSourceType=function(e,t){this.data.push({summary:e,metadata:t,isLibrary:!1})},e.prototype.addLibType=function(e){this.data.push({summary:e,metadata:null,isLibrary:!0})},e.prototype.serialize=function(e){var t,r,n,a,s,o,u=this,l=new Map;try{for(var c=Object(i.e)(e),p=c.next();!p.done;p=c.next()){var f=p.value,d=f.symbol,h=f.exportAs;l.set(d,h)}}catch(e){t={error:e}}finally{try{p&&!p.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}var y=new Set;try{for(var m=Object(i.e)(this.data),v=m.next();!v.done;v=m.next()){var g=v.value,T=g.summary,E=g.metadata,S=g.isLibrary;if(T.summaryKind===pr.NgModule){y.add(T.type.reference);var b=T;try{for(var x=Object(i.e)(b.modules),D=x.next();!D.done;D=x.next()){var A=D.value;y.add(A.reference)}}catch(e){s={error:e}}finally{try{D&&!D.done&&(o=x.return)&&o.call(x)}finally{if(s)throw s.error}}}if(!S){Gp(T.type.reference.name);Fd(this.outputCtx,T.type.reference,this.serializeSummaryWithDeps(T,E))}}}catch(e){n={error:e}}finally{try{v&&!v.done&&(a=m.return)&&a.call(m)}finally{if(n)throw n.error}}y.forEach((function(e){if(u.summaryResolver.isLibraryFile(e.filePath)){var t=Gp(l.get(e)||e.name);u.outputCtx.statements.push(yt(t).set(u.serializeSummaryRef(e)).toDeclStmt(null,[xe.Exported]))}}))},e.prototype.serializeSummaryWithDeps=function(e,t){var r=this,n=[this.serializeSummary(e)],a=[];if(t instanceof Cr)n.push.apply(n,Object(i.d)(t.declaredDirectives.concat(t.declaredPipes).map((function(e){return e.reference})).concat(t.transitiveModule.modules.map((function(e){return e.reference})).filter((function(e){return e!==t.type.reference}))).map((function(e){return r.serializeSummaryRef(e)})))),a=t.providers;else if(e.summaryKind===pr.Directive){var s=e;a=s.providers.concat(s.viewProviders)}return n.push.apply(n,Object(i.d)(a.filter((function(e){return!!e.useClass})).map((function(e){return r.serializeSummary({summaryKind:pr.Injectable,type:e.useClass})})))),Tt(n)},e.prototype.serializeSummaryRef=function(e){var t=this.symbolResolver.getStaticSymbol(zp(e.filePath),Gp(e.name));return this.outputCtx.importExpr(t)},e.prototype.serializeSummary=function(e){var t=this.outputCtx,r=function(){function e(){}return e.prototype.visitArray=function(e,t){var r=this;return Tt(e.map((function(e){return wt(e,r,t)})))},e.prototype.visitStringMap=function(e,t){var r=this;return new qe(Object.keys(e).map((function(n){return new Ve(n,wt(e[n],r,t),!1)})))},e.prototype.visitPrimitive=function(e,t){return xt(e)},e.prototype.visitOther=function(e,r){if(e instanceof or)return t.importExpr(e);throw new Error("Illegal State: Encountered value "+e)},e}();return wt(e,new r,null)},e}(),kd=function(e){function t(t,r){var n=e.call(this)||this;return n.symbolCache=t,n.summaryResolver=r,n}return Object(i.b)(t,e),t.prototype.deserialize=function(e,t){var r=this,n=JSON.parse(t),i=[];this.symbols=n.symbols.map((function(t){return r.symbolCache.get(r.summaryResolver.fromSummaryFileName(t.filePath,e),t.name)})),n.symbols.forEach((function(t,n){var a=r.symbols[n],s=t.importAs;"number"==typeof s?i.push({symbol:a,importAs:r.symbols[s]}):"string"==typeof s&&i.push({symbol:a,importAs:r.symbolCache.get(Jp(e),s)})}));var a=wt(n.summaries,this,null);return{moduleName:n.moduleName,summaries:a,importAs:i}},t.prototype.visitStringMap=function(t,r){if("__symbol"in t){var n=this.symbols[t.__symbol],i=t.members;return i.length?this.symbolCache.get(n.filePath,n.name,i):n}return e.prototype.visitStringMap.call(this,t,r)},t}(Ft);function Ld(e){return e&&"call"===e.__symbolic}var Md=function(){function e(e,t,r,n,i,a,s,o,u,l,c,p,f,d){this._config=e,this._options=t,this._host=r,this.reflector=n,this._metadataResolver=i,this._templateParser=a,this._styleCompiler=s,this._viewCompiler=o,this._typeCheckCompiler=u,this._ngModuleCompiler=l,this._injectableCompiler=c,this._outputEmitter=p,this._summaryResolver=f,this._symbolResolver=d,this._templateAstCache=new Map,this._analyzedFiles=new Map,this._analyzedFilesForInjectables=new Map}return e.prototype.clearCache=function(){this._metadataResolver.clearCache()},e.prototype.analyzeModulesSync=function(e){var t=this,r=qd(e,this._host,this._symbolResolver,this._metadataResolver);return r.ngModules.forEach((function(e){return t._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!0)})),r},e.prototype.analyzeModulesAsync=function(e){var t=this,r=qd(e,this._host,this._symbolResolver,this._metadataResolver);return Promise.all(r.ngModules.map((function(e){return t._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!1)}))).then((function(){return r}))},e.prototype._analyzeFile=function(e){var t=this._analyzedFiles.get(e);return t||(t=Kd(this._host,this._symbolResolver,this._metadataResolver,e),this._analyzedFiles.set(e,t)),t},e.prototype._analyzeFileForInjectables=function(e){var t=this._analyzedFilesForInjectables.get(e);return t||(t=Xd(this._host,this._symbolResolver,this._metadataResolver,e),this._analyzedFilesForInjectables.set(e,t)),t},e.prototype.findGeneratedFileNames=function(e){var t=this,r=[],n=this._analyzeFile(e);(this._options.allowEmptyCodegenFiles||n.directives.length||n.pipes.length||n.injectables.length||n.ngModules.length||n.exportsNonSourceFiles)&&(r.push(Jp(n.fileName,!0)),this._options.enableSummariesForJit&&r.push(zp(n.fileName,!0)));var i=$p(Wp(n.fileName,!0)[1]);return n.directives.forEach((function(e){var a=t._metadataResolver.getNonNormalizedDirectiveMetadata(e).metadata;a.isComponent&&a.template.styleUrls.forEach((function(e){var s=t._host.resourceNameToFileName(e,n.fileName);if(!s)throw Mt("Couldn't resolve resource "+e+" relative to "+n.fileName);var o=(a.template.encapsulation||t._config.defaultEncapsulation)===v.Emulated;r.push(Rd(s,o,i)),t._options.allowEmptyCodegenFiles&&r.push(Rd(s,!o,i))}))})),r},e.prototype.emitBasicStub=function(e,t){var r=this._createOutputContext(e);if(e.endsWith(".ngfactory.ts")){if(!t)throw new Error("Assertion error: require the original file for .ngfactory.ts stubs. File: "+e);var n=this._analyzeFile(t);this._createNgFactoryStub(r,n,1)}else if(e.endsWith(".ngsummary.ts")){if(this._options.enableSummariesForJit){if(!t)throw new Error("Assertion error: require the original file for .ngsummary.ts stubs. File: "+e);n=this._analyzeFile(t);Bd(r),n.ngModules.forEach((function(e){!function(e,t){Fd(e,t,Ke)}(r,e.type.reference)}))}}else e.endsWith(".ngstyle.ts")&&Bd(r);return this._codegenSourceModule("unknown",r)},e.prototype.emitTypeCheckStub=function(e,t){var r=this._analyzeFile(t),n=this._createOutputContext(e);return e.endsWith(".ngfactory.ts")&&this._createNgFactoryStub(n,r,2),n.statements.length>0?this._codegenSourceModule(r.fileName,n):null},e.prototype.loadFilesAsync=function(e,t){var r=this,n=e.map((function(e){return r._analyzeFile(e)})),i=[];n.forEach((function(e){return e.ngModules.forEach((function(e){return i.push(r._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!1))}))}));var a=t.map((function(e){return r._analyzeFileForInjectables(e)}));return Promise.all(i).then((function(e){return{analyzedModules:Yd(n),analyzedInjectables:a}}))},e.prototype.loadFilesSync=function(e,t){var r=this,n=e.map((function(e){return r._analyzeFile(e)}));n.forEach((function(e){return e.ngModules.forEach((function(e){return r._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!0)}))}));var i=t.map((function(e){return r._analyzeFileForInjectables(e)}));return{analyzedModules:Yd(n),analyzedInjectables:i}},e.prototype._createNgFactoryStub=function(e,t,r){var n=this,a=0;t.ngModules.forEach((function(t,s){n._ngModuleCompiler.createStub(e,t.type.reference);var o=Object(i.d)(t.transitiveModule.directives.map((function(e){return e.reference})),t.transitiveModule.pipes.map((function(e){return e.reference})),t.importedModules.map((function(e){return e.type.reference})),t.exportedModules.map((function(e){return e.type.reference})),n._externalIdentifierReferences([ir.TemplateRef,ir.ElementRef])),u=new Map;o.forEach((function(e,t){u.set(e,"_decl"+s+"_"+t)})),u.forEach((function(t,r){e.statements.push(yt(t).set(Ke.cast(oe)).toDeclStmt(gt(e.importExpr(r,null,!1))))})),2&r&&t.declaredDirectives.forEach((function(r){var i=n._metadataResolver.getDirectiveMetadata(r.reference);i.isComponent&&(a++,n._createTypeCheckBlock(e,i.type.reference.name+"_Host_"+a,t,n._metadataResolver.getHostComponentMetadata(i),[i.type],u),n._createTypeCheckBlock(e,i.type.reference.name+"_"+a,t,i,t.transitiveModule.directives,u))}))})),0===e.statements.length&&Bd(e)},e.prototype._externalIdentifierReferences=function(e){var t,r,n=[];try{for(var a=Object(i.e)(e),s=a.next();!s.done;s=a.next()){var o=s.value,u=sr(this.reflector,o);u.identifier&&n.push(u.identifier.reference)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},e.prototype._createTypeCheckBlock=function(e,t,r,n,a,s){var o,u=this._parseTemplate(n,r,a),l=u.template,c=u.pipes;(o=e.statements).push.apply(o,Object(i.d)(this._typeCheckCompiler.compileComponent(t,n,l,c,s,e)))},e.prototype.emitMessageBundle=function(e,t){var r=this,n=[],a=new mu,s=new Td(a,[],{},t);if(e.files.forEach((function(e){var t=[];e.directives.forEach((function(e){var n=r._metadataResolver.getDirectiveMetadata(e);n&&n.isComponent&&t.push(n)})),t.forEach((function(e){var t=e.template.template,r=e.template.templateUrl,a=No.fromArray(e.template.interpolation);n.push.apply(n,Object(i.d)(s.updateFromTemplate(t,r,a)))}))})),n.length)throw new Error(n.map((function(e){return e.toString()})).join("\n"));return s},e.prototype.emitAllPartialModules=function(e,t){var r=this,n=e.ngModuleByPipeOrDirective,a=e.files,s=new Map,o=function(e){return s.has(e)||s.set(e,r._createOutputContext(e)),s.get(e)};return a.forEach((function(e){return r._compilePartialModule(e.fileName,n,e.directives,e.pipes,e.ngModules,e.injectables,o(e.fileName))})),t.forEach((function(e){return r._compileShallowModules(e.fileName,e.shallowModules,o(e.fileName))})),Array.from(s.values()).map((function(e){return{fileName:e.genFilePath,statements:Object(i.d)(e.constantPool.statements,e.statements)}}))},e.prototype._compileShallowModules=function(e,t,r){var n=this;t.forEach((function(e){return t=r,a=e,s=n._injectableCompiler,o=dr(a.type),u=a.rawImports?[a.rawImports]:[],l=a.rawExports?[a.rawExports]:[],c=_n({factory:s.factoryFor({type:a.type,symbol:a.type.reference},t),providers:mi(a.rawProviders,t),imports:mi(Object(i.d)(u,l),t)}),p=mt(Br.defineInjector).callFn([c]),void t.statements.push(new et(o,null,[new Ge("ngInjectorDef",ue,[xe.Static],p)],[],new Qe(null,[],[]),[]));var t,a,s,o,u,l,c,p}))},e.prototype._compilePartialModule=function(e,t,r,n,a,s,o){var u=this,l=new Lu,c=new Mu(this._templateParser.expressionParser,Io,l,[],[]);r.forEach((function(e){var r=u._metadataResolver.getDirectiveMetadata(e);if(r.isComponent){var n=t.get(e);n||Lt("Cannot determine the module for component '"+dr(r.type)+"'");var a=r.template.htmlAst;r.template.preserveWhitespaces||(a=Au(a));var s=ml(a.rootNodes,c),l=new Map;n.transitiveModule.directives.map((function(e){return u._metadataResolver.getDirectiveSummary(e.reference)})).forEach((function(e){e.selector&&l.set(e.selector,e.type.reference)}));var p=new Map;n.transitiveModule.pipes.map((function(e){return u._metadataResolver.getPipeSummary(e.reference)})).forEach((function(e){p.set(e.name,e.type.reference)})),function(e,t,r,n,a,s,o){var u=dr(t.type);u||Lt("Cannot resolver the name of "+t.type);var l=e.constantPool.propertyNameOf(2),c=t.toSummary(),p=ac(Object(i.a)({},sc(t,e,n),{selector:t.selector,template:{nodes:r.nodes,hasNgContent:r.hasNgContent,ngContentSelectors:r.ngContentSelectors,relativeContextFilePath:""},directives:vc(s,e),pipes:vc(o,e),viewQueries:oc(t.viewQueries,e),wrapDirectivesAndPipesInClosure:!1,styles:c.template&&c.template.styles||Zl,encapsulation:c.template&&c.template.encapsulation||v.Emulated,animations:null,viewProviders:t.viewProviders.length>0?new Te(t.viewProviders):null}),e.constantPool,a);e.statements.push(new et(u,null,[new Ge(l,ue,[xe.Static],p.expression)],[],new Qe(null,[],[]),[]))}(o,r,s,u.reflector,c,l,p)}else!function(e,t,r,n){var i=dr(t.type);i||Lt("Cannot resolver the name of "+t.type);var a=e.constantPool.propertyNameOf(1),s=nc(sc(t,e,r),e.constantPool,n);e.statements.push(new et(i,null,[new Ge(a,ue,[xe.Static],s.expression)],[],new Qe(null,[],[]),[]))}(o,r,u.reflector,c)})),n.forEach((function(e){var t=u._metadataResolver.getPipeMetadata(e);t&&function(e,t,r){var n=dr(t.type);if(!n)return Lt("Cannot resolve the name of "+t.type);var i=Vi({name:n,pipeName:t.name,type:e.importExpr(t.type.reference),deps:di(t.type,e,r),pure:t.pure}),a=e.constantPool.propertyNameOf(3);e.statements.push(new et(n,null,[new Ge(a,ue,[xe.Static],i.expression)],[],new Qe(null,[],[]),[]))}(o,t,u.reflector)})),s.forEach((function(e){return u._injectableCompiler.compile(e,o)}))},e.prototype.emitAllPartialModules2=function(e){var t=this;return e.reduce((function(e,r){return e.push.apply(e,Object(i.d)(t._emitPartialModule2(r.fileName,r.injectables))),e}),[])},e.prototype._emitPartialModule2=function(e,t){var r=this,n=this._createOutputContext(e);return t.forEach((function(e){return r._injectableCompiler.compile(e,n)})),n.statements&&n.statements.length>0?[{fileName:e,statements:Object(i.d)(n.constantPool.statements,n.statements)}]:[]},e.prototype.emitAllImpls=function(e){var t=this,r=e.ngModuleByPipeOrDirective;return Or(e.files.map((function(e){return t._compileImplFile(e.fileName,r,e.directives,e.pipes,e.ngModules,e.injectables)})))},e.prototype._compileImplFile=function(e,t,r,n,a,s){var o=this,u=$p(Wp(e,!0)[1]),l=[],c=this._createOutputContext(Jp(e,!0));if(l.push.apply(l,Object(i.d)(this._createSummary(e,r,n,a,s,c))),a.forEach((function(e){return o._compileModule(c,e)})),r.forEach((function(r){var n=o._metadataResolver.getDirectiveMetadata(r);if(n.isComponent){var i=t.get(r);if(!i)throw new Error("Internal Error: cannot determine the module for component "+dr(n.type)+"!");var a=o._styleCompiler.compileComponent(c,n);n.template.externalStylesheets.forEach((function(t){var r=o._styleCompiler.needsStyleShim(n);l.push(o._codegenStyles(e,n,t,r,u)),o._options.allowEmptyCodegenFiles&&l.push(o._codegenStyles(e,n,t,!r,u))}));o._compileComponent(c,n,i,i.transitiveModule.directives,a,u);o._compileComponentFactory(c,n,i,u)}})),c.statements.length>0||this._options.allowEmptyCodegenFiles){var p=this._codegenSourceModule(e,c);l.unshift(p)}return l},e.prototype._createSummary=function(e,t,r,n,a,s){var o=this,u=this._symbolResolver.getSymbolsOf(e).map((function(e){return o._symbolResolver.resolveSymbol(e)})),l=Object(i.d)(n.map((function(e){return{summary:o._metadataResolver.getNgModuleSummary(e.type.reference),metadata:o._metadataResolver.getNgModuleMetadata(e.type.reference)}})),t.map((function(e){return{summary:o._metadataResolver.getDirectiveSummary(e),metadata:o._metadataResolver.getDirectiveMetadata(e)}})),r.map((function(e){return{summary:o._metadataResolver.getPipeSummary(e),metadata:o._metadataResolver.getPipeMetadata(e)}})),a.map((function(e){return{summary:o._metadataResolver.getInjectableSummary(e.symbol),metadata:o._metadataResolver.getInjectableSummary(e.symbol).type}}))),c=this._options.enableSummariesForJit?this._createOutputContext(zp(e,!0)):null,p=function(e,t,r,n,i,a){var s=new Nd(n,r,e);i.forEach((function(e){return s.addSummary({symbol:e.symbol,metadata:e.metadata})})),a.forEach((function(e){var t=e.summary;e.metadata;s.addSummary({symbol:t.type.reference,metadata:void 0,type:t})}));var o=s.serialize(),u=o.json,l=o.exportAs;if(t){var c=new Id(t,n,r);a.forEach((function(e){var t=e.summary,r=e.metadata;c.addSourceType(t,r)})),s.unprocessedSymbolSummariesBySymbol.forEach((function(e){r.isLibraryFile(e.symbol.filePath)&&e.type&&c.addLibType(e.type)})),c.serialize(l)}return{json:u,exportAs:l}}(e,c,this._summaryResolver,this._symbolResolver,u,l),f=p.json;p.exportAs.forEach((function(e){s.statements.push(yt(e.exportAs).set(s.importExpr(e.symbol)).toDeclStmt(null,[xe.Exported]))}));var d=[new Sd(e,Hp(e),f)];return c&&d.push(this._codegenSourceModule(e,c)),d},e.prototype._compileModule=function(e,t){var r=[];if(this._options.locale){var n=this._options.locale.replace(/_/g,"-");r.push({token:sr(this.reflector,ir.LOCALE_ID),useValue:n})}this._options.i18nFormat&&r.push({token:sr(this.reflector,ir.TRANSLATIONS_FORMAT),useValue:this._options.i18nFormat}),this._ngModuleCompiler.compile(e,t,r)},e.prototype._compileComponentFactory=function(e,t,r,n){var i=this._metadataResolver.getHostComponentMetadata(t),a=this._compileComponent(e,i,r,[t.type],null,n).viewClassVar,s=gr(t.type.reference),o=[];for(var u in t.inputs){var l=t.inputs[u];o.push(new Ve(u,xt(l),!1))}var c=[];for(var u in t.outputs){l=t.outputs[u];c.push(new Ve(u,xt(l),!1))}e.statements.push(yt(s).set(mt(ir.createComponentFactory).callFn([xt(t.selector),e.importExpr(t.type.reference),yt(a),new qe(o),new qe(c),Tt(t.template.ngContentSelectors.map((function(e){return xt(e)})))])).toDeclStmt(vt(ir.ComponentFactory,[gt(e.importExpr(t.type.reference))],[Q.Const]),[xe.Final,xe.Exported]))},e.prototype._compileComponent=function(e,t,r,n,i,a){var s=this._parseTemplate(t,r,n),o=s.template,u=s.pipes,l=i?yt(i.stylesVar):Tt([]),c=this._viewCompiler.compileComponent(e,t,o,l,u);return i&&jd(this._symbolResolver,i,this._styleCompiler.needsStyleShim(t),a),c},e.prototype._parseTemplate=function(e,t,r){var n=this;if(this._templateAstCache.has(e.type.reference))return this._templateAstCache.get(e.type.reference);var i=e.template.preserveWhitespaces,a=r.map((function(e){return n._metadataResolver.getDirectiveSummary(e.reference)})),s=t.transitiveModule.pipes.map((function(e){return n._metadataResolver.getPipeSummary(e.reference)})),o=this._templateParser.parse(e,e.template.htmlAst,a,s,t.schemas,Nr(t.type,e,e.template),i);return this._templateAstCache.set(e.type.reference,o),o},e.prototype._createOutputContext=function(e){var t=this;return{statements:[],genFilePath:e,importExpr:function(r,n,i){if(void 0===n&&(n=null),void 0===i&&(i=!0),!(r instanceof or))throw new Error("Internal error: unknown identifier "+JSON.stringify(r));var a=t._symbolResolver.getTypeArity(r)||0,s=t._symbolResolver.getImportAs(r,i)||r,o=s.filePath,u=s.name,l=s.members,c=t._fileNameToModuleName(o,e),p=c===t._fileNameToModuleName(e,e)?null:c,f=n||[],d=a-f.length,h=f.concat(new Array(d).fill(oe));return l.reduce((function(e,t){return e.prop(t)}),mt(new _e(p,u,null),h))},constantPool:new Zt}},e.prototype._fileNameToModuleName=function(e,t){return this._summaryResolver.getKnownModuleName(e)||this._symbolResolver.getKnownModuleName(e)||this._host.fileNameToModuleName(e,t)},e.prototype._codegenStyles=function(e,t,r,n,i){var a=this._createOutputContext(Rd(r.moduleUrl,n,i)),s=this._styleCompiler.compileStyles(a,t,r,n);return jd(this._symbolResolver,s,n,i),this._codegenSourceModule(e,a)},e.prototype._codegenSourceModule=function(e,t){return new Sd(e,t.genFilePath,t.statements)},e.prototype.listLazyRoutes=function(e,t){var r,n,a,s,o=this;if(e)return function e(t,r,n){void 0===r&&(r=new Set);void 0===n&&(n=[]);var a,s;if(r.has(t)||!t.name)return n;r.add(t);var u=xd(o._metadataResolver.getNgModuleMetadata(t,!0),o.reflector);try{for(var l=Object(i.e)(u),c=l.next();!c.done;c=l.next()){var p=c.value;n.push(p),e(p.referencedModule,r,n)}}catch(e){a={error:e}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(a)throw a.error}}return n}(Ad(e,this.reflector).referencedModule);if(t){var u=[];try{for(var l=Object(i.e)(t.ngModules),c=l.next();!c.done;c=l.next()){var p=xd(c.value,this.reflector);try{for(var f=Object(i.e)(p),d=f.next();!d.done;d=f.next()){var h=d.value;u.push(h)}}catch(e){a={error:e}}finally{try{d&&!d.done&&(s=f.return)&&s.call(f)}finally{if(a)throw a.error}}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}return u}throw new Error("Either route or analyzedModules has to be specified!")},e}();function Bd(e){e.statements.push(mt(ir.ComponentFactory).toStmt())}function jd(e,t,r,n){t.dependencies.forEach((function(t){t.setValue(e.getStaticSymbol(Rd(t.moduleUrl,r,n),t.name))}))}function Rd(e,t,r){return e+(t?".shim":"")+".ngstyle"+r}function Vd(e,t,r,n){return Jd(function(e,t,r,n){var i=new Set,a=[],s=function(e){if(i.has(e)||!t.isSourceFile(e))return!1;i.add(e);var o=Kd(t,r,n,e);a.push(o),o.ngModules.forEach((function(e){e.transitiveModule.modules.forEach((function(e){return s(e.reference.filePath)}))}))};return e.forEach((function(e){return s(e)})),a}(e,t,r,n))}function qd(e,t,r,n){return Ud(Vd(e,t,r,n))}function Ud(e){if(e.symbolsMissingModule&&e.symbolsMissingModule.length)throw Mt(e.symbolsMissingModule.map((function(e){return"Cannot determine the module for class "+e.name+" in "+e.filePath+"! Add "+e.name+" to the NgModule to fix it."})).join("\n"));return e}function Kd(e,t,r,n){var i=[],a=[],s=[],o=[],u=t.hasDecorators(n),l=!1;return n.endsWith(".d.ts")&&!u||t.getSymbolsOf(n).forEach((function(n){var u=t.resolveSymbol(n).metadata;if(u&&"error"!==u.__symbolic){var c=!1;if("class"===u.__symbolic)if(r.isDirective(n))c=!0,i.push(n);else if(r.isPipe(n))c=!0,a.push(n);else if(r.isNgModule(n)){var p=r.getNgModuleMetadata(n,!1);p&&(c=!0,o.push(p))}else if(r.isInjectable(n)){c=!0;var f=r.getInjectableMetadata(n,null,!1);f&&s.push(f)}c||(l=l||function(e,t){var r=!1,n=function(){function t(){}return t.prototype.visitArray=function(e,t){var r=this;e.forEach((function(e){return wt(e,r,t)}))},t.prototype.visitStringMap=function(e,t){var r=this;Object.keys(e).forEach((function(n){return wt(e[n],r,t)}))},t.prototype.visitPrimitive=function(e,t){},t.prototype.visitOther=function(t,n){t instanceof or&&!e.isSourceFile(t.filePath)&&(r=!0)},t}();return wt(t,new n,null),r}(e,u))}})),{fileName:n,directives:i,pipes:a,ngModules:o,injectables:s,exportsNonSourceFiles:l}}function Xd(e,t,r,n){var i=[],a=[];return t.hasDecorators(n)&&t.getSymbolsOf(n).forEach((function(e){var n=t.resolveSymbol(e).metadata;if(n&&"error"!==n.__symbolic&&"class"===n.__symbolic)if(r.isInjectable(e)){var s=r.getInjectableMetadata(e,null,!1);s&&i.push(s)}else if(r.isNgModule(e)){var o=r.getShallowModuleMetadata(e);o&&a.push(o)}})),{fileName:n,injectables:i,shallowModules:a}}function Jd(e){var t=[],r=new Map,n=new Set;e.forEach((function(e){e.ngModules.forEach((function(e){t.push(e),e.declaredDirectives.forEach((function(t){return r.set(t.reference,e)})),e.declaredPipes.forEach((function(t){return r.set(t.reference,e)}))})),e.directives.forEach((function(e){return n.add(e)})),e.pipes.forEach((function(e){return n.add(e)}))}));var i=[];return n.forEach((function(e){r.has(e)||i.push(e)})),{ngModules:t,ngModuleByPipeOrDirective:r,symbolsMissingModule:i,files:e}}function Yd(e){return Ud(Jd(e))}
577/**
578 * @license
579 * Copyright Google Inc. All Rights Reserved.
580 *
581 * Use of this source code is governed by an MIT-style license that can be
582 * found in the LICENSE file at https://angular.io/license
583 */var Wd="ngFormattedMessage";function $d(e,t){if(void 0===t&&(t=0),!e)return"";var r=e.position?e.position.fileName+"("+(e.position.line+1)+","+(e.position.column+1)+")":"",n=r&&0!==t?" at "+r:"",i=""+(r&&0===t?r+": ":"")+e.message+n;return""+function e(t){if(t<=0)return"";if(t<6)return[""," "," "," "," "," "][t];var r=e(Math.floor(t/2));return r+r+(t%2==1?" ":"")}(t)+i+(e.next&&"\n"+$d(e.next,t+2)||"")}function Hd(e){var t=Mt($d(e)+".");return t[Wd]=!0,t.chain=e,t.position=e.position,t}function zd(e){return!!e[Wd]}
584/**
585 * @license
586 * Copyright Google Inc. All Rights Reserved.
587 *
588 * Use of this source code is governed by an MIT-style license that can be
589 * found in the LICENSE file at https://angular.io/license
590 */var Gd="@angular/core",Qd=/^\$.*\$$/,Zd={__symbolic:"ignore"},eh="useValue",th="provide",rh=new Set([eh,"useFactory","data","id","loadChildren"]);function nh(e){return e&&"ignore"==e.__symbolic}var ih=function(){function e(e,t,r,n,i){void 0===r&&(r=[]),void 0===n&&(n=[]);var a=this;this.summaryResolver=e,this.symbolResolver=t,this.errorRecorder=i,this.annotationCache=new Map,this.shallowAnnotationCache=new Map,this.propertyCache=new Map,this.parameterCache=new Map,this.methodCache=new Map,this.staticCache=new Map,this.conversionMap=new Map,this.resolvedExternalReferences=new Map,this.annotationForParentClassWithSummaryKind=new Map,this.initializeConversionMap(),r.forEach((function(e){return a._registerDecoratorOrConstructor(a.getStaticSymbol(e.filePath,e.name),e.ctor)})),n.forEach((function(e){return a._registerFunction(a.getStaticSymbol(e.filePath,e.name),e.fn)})),this.annotationForParentClassWithSummaryKind.set(pr.Directive,[F,k]),this.annotationForParentClassWithSummaryKind.set(pr.Pipe,[L]),this.annotationForParentClassWithSummaryKind.set(pr.NgModule,[V]),this.annotationForParentClassWithSummaryKind.set(pr.Injectable,[q,L,F,k,V])}return e.prototype.componentModuleUrl=function(e){var t=this.findSymbolDeclaration(e);return this.symbolResolver.getResourcePath(t)},e.prototype.resolveExternalReference=function(e,t){var r=void 0;if(!t){r=e.moduleName+":"+e.name;var n=this.resolvedExternalReferences.get(r);if(n)return n}var i=this.symbolResolver.getSymbolByModule(e.moduleName,e.name,t),a=this.findSymbolDeclaration(i);return t||(this.symbolResolver.recordModuleNameForFileName(i.filePath,e.moduleName),this.symbolResolver.recordImportAs(a,i)),r&&this.resolvedExternalReferences.set(r,a),a},e.prototype.findDeclaration=function(e,t,r){return this.findSymbolDeclaration(this.symbolResolver.getSymbolByModule(e,t,r))},e.prototype.tryFindDeclaration=function(e,t,r){var n=this;return this.symbolResolver.ignoreErrorsFor((function(){return n.findDeclaration(e,t,r)}))},e.prototype.findSymbolDeclaration=function(e){var t=this.symbolResolver.resolveSymbol(e);if(t){var r=t.metadata;if(r&&"resolved"===r.__symbolic&&(r=r.symbol),r instanceof or)return this.findSymbolDeclaration(t.metadata)}return e},e.prototype.tryAnnotations=function(e){var t=this.errorRecorder;this.errorRecorder=function(e,t){};try{return this.annotations(e)}finally{this.errorRecorder=t}},e.prototype.annotations=function(e){var t=this;return this._annotations(e,(function(e,r){return t.simplify(e,r)}),this.annotationCache)},e.prototype.shallowAnnotations=function(e){var t=this;return this._annotations(e,(function(e,r){return t.simplify(e,r,!0)}),this.shallowAnnotationCache)},e.prototype._annotations=function(e,t,r){var n=r.get(e);if(!n){n=[];var a=this.getTypeMetadata(e),s=this.findParentType(e,a);if(s){var o=this.annotations(s);n.push.apply(n,Object(i.d)(o))}var u=[];if(a.decorators&&(u=t(e,a.decorators))&&n.push.apply(n,Object(i.d)(u)),s&&!this.summaryResolver.isLibraryFile(e.filePath)&&this.summaryResolver.isLibraryFile(s.filePath)){var l=this.summaryResolver.resolveSummary(s);if(l&&l.type){var c=this.annotationForParentClassWithSummaryKind.get(l.type.summaryKind);c.some((function(e){return u.some((function(t){return e.isTypeOf(t)}))}))||this.reportError(Th(sh("Class "+e.name+" in "+e.filePath+" extends from a "+pr[l.type.summaryKind]+" in another compilation unit without duplicating the decorator",void 0,"Please add a "+c.map((function(e){return e.ngMetadataName})).join(" or ")+" decorator to the class"),e),e)}}r.set(e,n.filter((function(e){return!!e})))}return n},e.prototype.propMetadata=function(e){var t=this,r=this.propertyCache.get(e);if(!r){var n=this.getTypeMetadata(e);r={};var a=this.findParentType(e,n);if(a){var s=this.propMetadata(a);Object.keys(s).forEach((function(e){r[e]=s[e]}))}var o=n.members||{};Object.keys(o).forEach((function(n){var a=o[n].find((function(e){return"property"==e.__symbolic||"method"==e.__symbolic})),s=[];r[n]&&s.push.apply(s,Object(i.d)(r[n])),r[n]=s,a&&a.decorators&&s.push.apply(s,Object(i.d)(t.simplify(e,a.decorators)))})),this.propertyCache.set(e,r)}return r},e.prototype.parameters=function(e){var t=this;if(!(e instanceof or))return this.reportError(new Error("parameters received "+JSON.stringify(e)+" which is not a StaticSymbol"),e),[];try{var r=this.parameterCache.get(e);if(!r){var n=this.getTypeMetadata(e),a=this.findParentType(e,n),s=n?n.members:null,o=s?s.__ctor__:null;if(o){var u=o.find((function(e){return"constructor"==e.__symbolic})),l=u.parameters||[],c=this.simplify(e,u.parameterDecorators||[]);r=[],l.forEach((function(n,a){var s=[],o=t.trySimplify(e,n);o&&s.push(o);var u=c?c[a]:null;u&&s.push.apply(s,Object(i.d)(u)),r.push(s)}))}else a&&(r=this.parameters(a));r||(r=[]),this.parameterCache.set(e,r)}return r}catch(t){throw console.error("Failed on type "+JSON.stringify(e)+" with error "+t),t}},e.prototype._methodNames=function(e){var t=this.methodCache.get(e);if(!t){var r=this.getTypeMetadata(e);t={};var n=this.findParentType(e,r);if(n){var i=this._methodNames(n);Object.keys(i).forEach((function(e){t[e]=i[e]}))}var a=r.members||{};Object.keys(a).forEach((function(e){var r=a[e].some((function(e){return"method"==e.__symbolic}));t[e]=t[e]||r})),this.methodCache.set(e,t)}return t},e.prototype._staticMembers=function(e){var t=this.staticCache.get(e);if(!t){var r=this.getTypeMetadata(e).statics||{};t=Object.keys(r),this.staticCache.set(e,t)}return t},e.prototype.findParentType=function(e,t){var r=this.trySimplify(e,t.extends);if(r instanceof or)return r},e.prototype.hasLifecycleHook=function(e,t){e instanceof or||this.reportError(new Error("hasLifecycleHook received "+JSON.stringify(e)+" which is not a StaticSymbol"),e);try{return!!this._methodNames(e)[t]}catch(t){throw console.error("Failed on type "+JSON.stringify(e)+" with error "+t),t}},e.prototype.guards=function(e){var t,r;if(!(e instanceof or))return this.reportError(new Error("guards received "+JSON.stringify(e)+" which is not a StaticSymbol"),e),{};var n=this._staticMembers(e),a={};try{for(var s=Object(i.e)(n),o=s.next();!o.done;o=s.next()){var u=o.value;if(u.endsWith("TypeGuard")){var l=u.substr(0,u.length-"TypeGuard".length),c=void 0;l.endsWith("UseIf")?(l=u.substr(0,l.length-"UseIf".length),c="UseIf"):c=this.getStaticSymbol(e.filePath,e.name,[u]),a[l]=c}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return a},e.prototype._registerDecoratorOrConstructor=function(e,t){this.conversionMap.set(e,(function(e,r){return new(t.bind.apply(t,Object(i.d)([void 0],r)))}))},e.prototype._registerFunction=function(e,t){this.conversionMap.set(e,(function(e,r){return t.apply(void 0,r)}))},e.prototype.initializeConversionMap=function(){this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Injectable"),q),this.injectionToken=this.findDeclaration(Gd,"InjectionToken"),this.opaqueToken=this.findDeclaration(Gd,"OpaqueToken"),this.ROUTES=this.tryFindDeclaration("@angular/router","ROUTES"),this.ANALYZE_FOR_ENTRY_COMPONENTS=this.findDeclaration(Gd,"ANALYZE_FOR_ENTRY_COMPONENTS"),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Host"),W),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Self"),J),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"SkipSelf"),Y),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Inject"),D),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Optional"),X),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Attribute"),C),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"ContentChild"),w),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"ContentChildren"),P),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"ViewChild"),O),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"ViewChildren"),_),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Input"),M),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Output"),B),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Pipe"),L),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"HostBinding"),j),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"HostListener"),R),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Directive"),F),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Component"),k),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"NgModule"),V),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Host"),W),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Self"),J),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"SkipSelf"),Y),this._registerDecoratorOrConstructor(this.findDeclaration(Gd,"Optional"),X)},e.prototype.getStaticSymbol=function(e,t,r){return this.symbolResolver.getStaticSymbol(e,t,r)},e.prototype.trySimplify=function(e,t){var r=this.errorRecorder;this.errorRecorder=function(e,t){};var n=this.simplify(e,t);return this.errorRecorder=r,n},e.prototype.simplify=function(e,t,r){void 0===r&&(r=!1);var n,a=this,s=mh.empty,o=new Map;try{n=function e(t,r,n,u){function l(e){var t=a.symbolResolver.resolveSymbol(e);return t?t.metadata:null}function c(r){return e(t,r,n,0)}function p(r,i){if(r===t)return e(r,i,n+1,u);try{return e(r,i,n+1,u)}catch(e){if(!oh(e))throw e;var s=e.chain?"references '"+e.symbol.name+"'":function(e){if(e.summary)return e.summary;switch(e.message){case uh:if(e.context&&e.context.className)return"references non-exported class "+e.context.className;break;case lh:return"is not initialized";case ch:return"is a destructured variable";case ph:return"could not be resolved";case fh:return e.context&&e.context.name?"calls '"+e.context.name+"'":"calls a function";case dh:return e.context&&e.context.name?"references local variable "+e.context.name:"references a local variable"}return"contains the error"}(e),o={message:"'"+r.name+"' "+s,position:e.position,next:e.chain};a.error({message:e.message,advise:e.advise,context:e.context,chain:o,symbol:r},t)}}function f(r){var d,h,y,m;if(yh(r))return r;if(r instanceof Array){var v=[];try{for(var g=Object(i.e)(r),T=g.next();!T.done;T=g.next()){var E=T.value;if(E&&"spread"===E.__symbolic){var S=c(E.expression);if(Array.isArray(S)){try{for(var b=Object(i.e)(S),x=b.next();!x.done;x=b.next()){var D=x.value;v.push(D)}}catch(e){y={error:e}}finally{try{x&&!x.done&&(m=b.return)&&m.call(b)}finally{if(y)throw y.error}}continue}}var A=f(E);nh(A)||v.push(A)}}catch(e){d={error:e}}finally{try{T&&!T.done&&(h=g.return)&&h.call(g)}finally{if(d)throw d.error}}return v}if(r instanceof or)return r===a.injectionToken||a.conversionMap.has(r)||u>0&&!r.members.length?r:null!=(M=l(C=r))?p(C,M):C;if(r){if(r.__symbolic){var C=void 0;switch(r.__symbolic){case"binop":var P=f(r.left);if(nh(P))return P;var w=f(r.right);if(nh(w))return w;switch(r.operator){case"&&":return P&&w;case"||":return P||w;case"|":return P|w;case"^":return P^w;case"&":return P&w;case"==":return P==w;case"!=":return P!=w;case"===":return P===w;case"!==":return P!==w;case"<":return P<w;case">":return P>w;case"<=":return P<=w;case">=":return P>=w;case"<<":return P<<w;case">>":return P>>w;case"+":return P+w;case"-":return P-w;case"*":return P*w;case"/":return P/w;case"%":return P%w}return null;case"if":var _=f(r.condition);return f(_?r.thenExpression:r.elseExpression);case"pre":var O=f(r.operand);if(nh(O))return O;switch(r.operator){case"+":return O;case"-":return-O;case"!":return!O;case"~":return~O}return null;case"index":var F=c(r.expression),N=c(r.index);return F&&yh(N)?F[N]:null;case"select":var I=r.member,k=t,L=f(r.expression);if(L instanceof or){var M,B=L.members.concat(I);return null!=(M=l(k=a.getStaticSymbol(L.filePath,L.name,B)))?p(k,M):k}return L&&yh(I)?p(k,L[I]):null;case"reference":var j=r.name,R=s.resolve(j);if(R!=mh.missing)return R;break;case"resolved":try{return f(r.symbol)}catch(e){throw oh(e)&&null!=r.fileName&&null!=r.line&&null!=r.character&&(e.position={fileName:r.fileName,line:r.line,column:r.character}),e}case"class":case"function":return t;case"new":case"call":if((C=e(t,r.expression,n+1,0))instanceof or){if(C===a.injectionToken||C===a.opaqueToken)return t;var V=r.arguments||[],q=a.conversionMap.get(C);if(q){var U=V.map((function(e){return p(t,e)})).map((function(e){return nh(e)?void 0:e}));return q(t,U)}return function(e,r,u,l){if(r&&"function"==r.__symbolic){o.get(e)&&a.error({message:"Recursion is not supported",summary:"called '"+e.name+"' recursively",value:r},e);try{var c=r.value;if(c&&(0!=n||"error"!=c.__symbolic)){var d=r.parameters,h=r.defaults;u=u.map((function(e){return p(t,e)})).map((function(e){return nh(e)?void 0:e})),h&&h.length>u.length&&u.push.apply(u,Object(i.d)(h.slice(u.length).map((function(e){return f(e)})))),o.set(e,!0);for(var y=mh.build(),m=0;m<d.length;m++)y.define(d[m],u[m]);var v,g=s;try{s=y.done(),v=p(e,c)}finally{s=g}return v}}finally{o.delete(e)}}if(0===n)return Zd;var T=void 0;if(l&&"resolved"==l.__symbolic){var E=l.line,S=l.character,b=l.fileName;null!=b&&null!=E&&null!=S&&(T={fileName:b,line:E,column:S})}a.error({message:fh,context:e,value:r,position:T},t)}(C,l(C),V,r.expression)}return Zd;case"error":var K=r.message;return null!=r.line?a.error({message:K,context:r.context,value:r,position:{fileName:r.fileName,line:r.line,column:r.character}},t):a.error({message:K,context:r.context},t),Zd;case"ignore":return r}return null}return function(e,t){if(!e)return{};var r={};return Object.keys(e).forEach((function(n){var i=t(e[n],n);nh(i)||(Qd.test(n)?Object.defineProperty(r,n,{enumerable:!1,configurable:!0,value:i}):r[n]=i)})),r}(r,(function(i,s){if(rh.has(s)){if(s===eh&&th in r){var o=f(r.provide);if(o===a.ROUTES||o==a.ANALYZE_FOR_ENTRY_COMPONENTS)return f(i)}return function(r){return e(t,r,n,u+1)}(i)}return f(i)}))}return Zd}return f(r)}(e,t,0,r?1:0)}catch(t){if(!this.errorRecorder)throw Th(t,e);this.reportError(t,e)}if(!nh(n))return n},e.prototype.getTypeMetadata=function(e){var t=this.symbolResolver.resolveSymbol(e);return t&&t.metadata?t.metadata:{__symbolic:"class"}},e.prototype.reportError=function(e,t,r){if(!this.errorRecorder)throw e;this.errorRecorder(Th(e,t),t&&t.filePath||r)},e.prototype.error=function(e,t){var r=e.message,n=e.summary,i=e.advise,a=e.position,s=e.context,o=(e.value,e.symbol),u=e.chain;this.reportError(sh(r,n,i,a,o,s,u),t)},e}(),ah="ngMetadataError";function sh(e,t,r,n,i,a,s){var o=Mt(e);return o[ah]=!0,r&&(o.advise=r),n&&(o.position=n),t&&(o.summary=t),a&&(o.context=a),s&&(o.chain=s),i&&(o.symbol=i),o}function oh(e){return!!e[ah]}var uh="Reference to non-exported class",lh="Variable not initialized",ch="Destructuring not supported",ph="Could not resolve type",fh="Function call not supported",dh="Reference to a local symbol",hh="Lambda not supported";function yh(e){return null===e||"function"!=typeof e&&"object"!=typeof e}var mh=function(){function e(){}return e.build=function(){var t=new Map;return{define:function(e,r){return t.set(e,r),this},done:function(){return t.size>0?new vh(t):e.empty}}},e.missing={},e.empty={resolve:function(t){return e.missing}},e}(),vh=function(e){function t(t){var r=e.call(this)||this;return r.bindings=t,r}return Object(i.b)(t,e),t.prototype.resolve=function(e){return this.bindings.has(e)?this.bindings.get(e):mh.missing},t}(mh);function gh(e,t){return{message:""+function(e,t){switch(e){case uh:if(t&&t.className)return"References to a non-exported class are not supported in decorators but "+t.className+" was referenced.";break;case lh:return"Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler";case ch:return"Referencing an exported destructured variable or constant is not supported in decorators and this value is needed by the template compiler";case ph:if(t&&t.typeName)return"Could not resolve type "+t.typeName;break;case fh:return t&&t.name?"Function calls are not supported in decorators but '"+t.name+"' was called":"Function calls are not supported in decorators";case dh:if(t&&t.name)return"Reference to a local (non-exported) symbols are not supported in decorators but '"+t.name+"' was referenced";break;case hh:return"Function expressions are not supported in decorators"}return e}(e.message,e.context)+(e.symbol?" in '"+e.symbol.name+"'":""),position:e.position,next:e.next?gh(e.next,t):t?{message:t}:void 0}}function Th(e,t){if(oh(e)){var r=e.position;return Hd(gh({message:"Error during template compile of '"+t.name+"'",position:r,next:{message:e.message,next:e.chain,context:e.context,symbol:e.symbol}},e.advise||function(e,t){switch(e){case uh:if(t&&t.className)return"Consider exporting '"+t.className+"'";break;case ch:return"Consider simplifying to avoid destructuring";case dh:if(t&&t.name)return"Consider exporting '"+t.name+"'";break;case hh:return"Consider changing the function expression into an exported function"}}(e.message,e.context)))}return e}
591/**
592 * @license
593 * Copyright Google Inc. All Rights Reserved.
594 *
595 * Use of this source code is governed by an MIT-style license that can be
596 * found in the LICENSE file at https://angular.io/license
597 */var Eh=function(){function e(e,t){this.host=e,this.staticSymbolCache=t,this.summaryCache=new Map,this.loadedFilePaths=new Map,this.importAs=new Map,this.knownFileNameToModuleNames=new Map}return e.prototype.isLibraryFile=function(e){return!this.host.isSourceFile(Yp(e))},e.prototype.toSummaryFileName=function(e,t){return this.host.toSummaryFileName(e,t)},e.prototype.fromSummaryFileName=function(e,t){return this.host.fromSummaryFileName(e,t)},e.prototype.resolveSummary=function(e){var t=e.members.length?this.staticSymbolCache.get(e.filePath,e.name):e,r=this.summaryCache.get(t);return r||(this._loadSummaryFile(e.filePath),r=this.summaryCache.get(e)),t===e&&r||null},e.prototype.getSymbolsOf=function(e){return this._loadSummaryFile(e)?Array.from(this.summaryCache.keys()).filter((function(t){return t.filePath===e})):null},e.prototype.getImportAs=function(e){return e.assertNoMembers(),this.importAs.get(e)},e.prototype.getKnownModuleName=function(e){return this.knownFileNameToModuleNames.get(e)||null},e.prototype.addSummary=function(e){this.summaryCache.set(e.symbol,e)},e.prototype._loadSummaryFile=function(e){var t=this,r=this.loadedFilePaths.get(e);if(null!=r)return r;var n=null;if(this.isLibraryFile(e)){var i=Hp(e);try{n=this.host.loadSummary(i)}catch(e){throw console.error("Error loading summary file "+i),e}}if(r=null!=n,this.loadedFilePaths.set(e,r),n){var a=function(e,t,r,n){return new kd(e,t).deserialize(r,n)}(this.staticSymbolCache,this,e,n),s=a.moduleName,o=a.summaries,u=a.importAs;o.forEach((function(e){return t.summaryCache.set(e.symbol,e)})),s&&this.knownFileNameToModuleNames.set(e,s),u.forEach((function(e){t.importAs.set(e.symbol,e.importAs)}))}return r},e}();
598/**
599 * @license
600 * Copyright Google Inc. All Rights Reserved.
601 *
602 * Use of this source code is governed by an MIT-style license that can be
603 * found in the LICENSE file at https://angular.io/license
604 */function Sh(e){return{resolve:function(t,r){var n=e.resourceNameToFileName(r,t);if(!n)throw Mt("Couldn't resolve resource "+r+" from "+t);return n}}}function bh(e,t,r){var n,i=t.translations||"",a=Sh(e),s=new ur,o=new Eh(e,s),u=new wd(e,s,o),l=new ih(o,u,[],[],r);n=t.enableIvy?new mu:new Mp(new mu,i,t.i18nFormat,t.missingTranslation,console);var c=new rp({defaultEncapsulation:v.Emulated,useJit:!1,missingTranslation:t.missingTranslation,preserveWhitespaces:t.preserveWhitespaces,strictInjectionParameters:t.strictInjectionParameters}),p=new ip({get:function(t){return e.loadResource(t)}},a,n,c),f=new Bo(new vo),d=new Lu,h=new qf(c,l,f,d,n,console,[]),y=new rf(c,n,new Af(l),new op(l),new _f(l),o,d,p,console,s,l,r),m=new ad(l),g=new Zf(t,l);return{compiler:new Md(c,t,e,l,y,h,new uo(a),m,g,new Df(l),new Vp(l,!!t.enableIvy),new Pf,o,u),reflector:l}}var xh=function(){},Dh=function(){function e(){this._summaries=new Map}return e.prototype.isLibraryFile=function(){return!1},e.prototype.toSummaryFileName=function(e){return e},e.prototype.fromSummaryFileName=function(e){return e},e.prototype.resolveSummary=function(e){return this._summaries.get(e)||null},e.prototype.getSymbolsOf=function(){return[]},e.prototype.getImportAs=function(e){return e},e.prototype.getKnownModuleName=function(e){return null},e.prototype.addSummary=function(e){this._summaries.set(e.symbol,e)},e}();function Ah(e,t,r,n,i){for(var a=n.createChildWihtLocalVars(),s=0;s<e.length;s++)a.vars.set(e[s],t[s]);var o=i.visitAllStatements(r,a);return o?o.value:null}var Ch=function(){function e(e,t,r,n){this.parent=e,this.instance=t,this.className=r,this.vars=n,this.exports=[]}return e.prototype.createChildWihtLocalVars=function(){return new e(this,this.instance,this.className,new Map)},e}(),Ph=function(e){this.value=e};var wh=function(){function e(e){this.reflector=e}return e.prototype.debugAst=function(e){return Cf(e)},e.prototype.visitDeclareVarStmt=function(e,t){var r=e.value?e.value.visitExpression(this,t):void 0;return t.vars.set(e.name,r),e.hasModifier(xe.Exported)&&t.exports.push(e.name),null},e.prototype.visitWriteVarExpr=function(e,t){for(var r=e.value.visitExpression(this,t),n=t;null!=n;){if(n.vars.has(e.name))return n.vars.set(e.name,r),r;n=n.parent}throw new Error("Not declared variable "+e.name)},e.prototype.visitWrappedNodeExpr=function(e,t){throw new Error("Cannot interpret a WrappedNodeExpr.")},e.prototype.visitTypeofExpr=function(e,t){throw new Error("Cannot interpret a TypeofExpr")},e.prototype.visitReadVarExpr=function(e,t){var r=e.name;if(null!=e.builtin)switch(e.builtin){case he.Super:return t.instance.__proto__;case he.This:return t.instance;case he.CatchError:r=Oh;break;case he.CatchStack:r=Fh;break;default:throw new Error("Unknown builtin variable "+e.builtin)}for(var n=t;null!=n;){if(n.vars.has(r))return n.vars.get(r);n=n.parent}throw new Error("Not declared variable "+r)},e.prototype.visitWriteKeyExpr=function(e,t){var r=e.receiver.visitExpression(this,t),n=e.index.visitExpression(this,t),i=e.value.visitExpression(this,t);return r[n]=i,i},e.prototype.visitWritePropExpr=function(e,t){var r=e.receiver.visitExpression(this,t),n=e.value.visitExpression(this,t);return r[e.name]=n,n},e.prototype.visitInvokeMethodExpr=function(e,t){var r,n=e.receiver.visitExpression(this,t),a=this.visitAllExpressions(e.args,t);if(null!=e.builtin)switch(e.builtin){case me.ConcatArray:r=n.concat.apply(n,Object(i.d)(a));break;case me.SubscribeObservable:r=n.subscribe({next:a[0]});break;case me.Bind:r=n.bind.apply(n,Object(i.d)(a));break;default:throw new Error("Unknown builtin method "+e.builtin)}else r=n[e.name].apply(n,a);return r},e.prototype.visitInvokeFunctionExpr=function(e,t){var r=this.visitAllExpressions(e.args,t),n=e.fn;return n instanceof ve&&n.builtin===he.Super?(t.instance.constructor.prototype.constructor.apply(t.instance,r),null):e.fn.visitExpression(this,t).apply(null,r)},e.prototype.visitReturnStmt=function(e,t){return new Ph(e.value.visitExpression(this,t))},e.prototype.visitDeclareClassStmt=function(e,t){var r=function(e,t,r){var n={};e.getters.forEach((function(i){n[i.name]={configurable:!1,get:function(){var n=new Ch(t,this,e.name,t.vars);return Ah([],[],i.body,n,r)}}})),e.methods.forEach((function(i){var a=i.params.map((function(e){return e.name}));n[i.name]={writable:!1,configurable:!1,value:function(){for(var n=[],s=0;s<arguments.length;s++)n[s]=arguments[s];var o=new Ch(t,this,e.name,t.vars);return Ah(a,n,i.body,o,r)}}}));var i=e.constructorMethod.params.map((function(e){return e.name})),a=function(){for(var n=this,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var o=new Ch(t,this,e.name,t.vars);e.fields.forEach((function(e){n[e.name]=void 0})),Ah(i,a,e.constructorMethod.body,o,r)},s=e.parent?e.parent.visitExpression(r,t):Object;return a.prototype=Object.create(s.prototype,n),a}(e,t,this);return t.vars.set(e.name,r),e.hasModifier(xe.Exported)&&t.exports.push(e.name),null},e.prototype.visitExpressionStmt=function(e,t){return e.expr.visitExpression(this,t)},e.prototype.visitIfStmt=function(e,t){return e.condition.visitExpression(this,t)?this.visitAllStatements(e.trueCase,t):null!=e.falseCase?this.visitAllStatements(e.falseCase,t):null},e.prototype.visitTryCatchStmt=function(e,t){try{return this.visitAllStatements(e.bodyStmts,t)}catch(n){var r=t.createChildWihtLocalVars();return r.vars.set(Oh,n),r.vars.set(Fh,n.stack),this.visitAllStatements(e.catchStmts,r)}},e.prototype.visitThrowStmt=function(e,t){throw e.error.visitExpression(this,t)},e.prototype.visitCommentStmt=function(e,t){return null},e.prototype.visitJSDocCommentStmt=function(e,t){return null},e.prototype.visitInstantiateExpr=function(e,t){var r=this.visitAllExpressions(e.args,t),n=e.classExpr.visitExpression(this,t);return new(n.bind.apply(n,Object(i.d)([void 0],r)))},e.prototype.visitLiteralExpr=function(e,t){return e.value},e.prototype.visitExternalExpr=function(e,t){return this.reflector.resolveExternalReference(e.value)},e.prototype.visitConditionalExpr=function(e,t){return e.condition.visitExpression(this,t)?e.trueCase.visitExpression(this,t):null!=e.falseCase?e.falseCase.visitExpression(this,t):null},e.prototype.visitNotExpr=function(e,t){return!e.condition.visitExpression(this,t)},e.prototype.visitAssertNotNullExpr=function(e,t){return e.condition.visitExpression(this,t)},e.prototype.visitCastExpr=function(e,t){return e.value.visitExpression(this,t)},e.prototype.visitFunctionExpr=function(e,t){return _h(e.params.map((function(e){return e.name})),e.statements,t,this)},e.prototype.visitDeclareFunctionStmt=function(e,t){var r=e.params.map((function(e){return e.name}));return t.vars.set(e.name,_h(r,e.statements,t,this)),e.hasModifier(xe.Exported)&&t.exports.push(e.name),null},e.prototype.visitBinaryOperatorExpr=function(e,t){var r=this,n=function(){return e.lhs.visitExpression(r,t)},i=function(){return e.rhs.visitExpression(r,t)};switch(e.operator){case re.Equals:return n()==i();case re.Identical:return n()===i();case re.NotEquals:return n()!=i();case re.NotIdentical:return n()!==i();case re.And:return n()&&i();case re.Or:return n()||i();case re.Plus:return n()+i();case re.Minus:return n()-i();case re.Divide:return n()/i();case re.Multiply:return n()*i();case re.Modulo:return n()%i();case re.Lower:return n()<i();case re.LowerEquals:return n()<=i();case re.Bigger:return n()>i();case re.BiggerEquals:return n()>=i();default:throw new Error("Unknown operator "+e.operator)}},e.prototype.visitReadPropExpr=function(e,t){return e.receiver.visitExpression(this,t)[e.name]},e.prototype.visitReadKeyExpr=function(e,t){return e.receiver.visitExpression(this,t)[e.index.visitExpression(this,t)]},e.prototype.visitLiteralArrayExpr=function(e,t){return this.visitAllExpressions(e.entries,t)},e.prototype.visitLiteralMapExpr=function(e,t){var r=this,n={};return e.entries.forEach((function(e){return n[e.key]=e.value.visitExpression(r,t)})),n},e.prototype.visitCommaExpr=function(e,t){var r=this.visitAllExpressions(e.parts,t);return r[r.length-1]},e.prototype.visitAllExpressions=function(e,t){var r=this;return e.map((function(e){return e.visitExpression(r,t)}))},e.prototype.visitAllStatements=function(e,t){for(var r=0;r<e.length;r++){var n=e[r].visitStatement(this,t);if(n instanceof Ph)return n}return null},e}();function _h(e,t,r,n){return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return Ah(e,i,t,r,n)}}var Oh="error",Fh="stack",Nh=function(){function e(e,t,r,n,i,a,s,o,u,l){this._metadataResolver=e,this._templateParser=t,this._styleCompiler=r,this._viewCompiler=n,this._ngModuleCompiler=i,this._summaryResolver=a,this._reflector=s,this._compilerConfig=o,this._console=u,this.getExtraNgModuleProviders=l,this._compiledTemplateCache=new Map,this._compiledHostTemplateCache=new Map,this._compiledDirectiveWrapperCache=new Map,this._compiledNgModuleCache=new Map,this._sharedStylesheetCount=0,this._addedAotSummaries=new Set}return e.prototype.compileModuleSync=function(e){return Nt(this._compileModuleAndComponents(e,!0))},e.prototype.compileModuleAsync=function(e){return Promise.resolve(this._compileModuleAndComponents(e,!1))},e.prototype.compileModuleAndAllComponentsSync=function(e){return Nt(this._compileModuleAndAllComponents(e,!0))},e.prototype.compileModuleAndAllComponentsAsync=function(e){return Promise.resolve(this._compileModuleAndAllComponents(e,!1))},e.prototype.getComponentFactory=function(e){return this._metadataResolver.getDirectiveSummary(e).componentFactory},e.prototype.loadAotSummaries=function(e){this.clearCache(),this._addAotSummaries(e)},e.prototype._addAotSummaries=function(e){if(!this._addedAotSummaries.has(e)){this._addedAotSummaries.add(e);for(var t=e(),r=0;r<t.length;r++){var n=t[r];if("function"==typeof n)this._addAotSummaries(n);else{var i=n;this._summaryResolver.addSummary({symbol:i.type.reference,metadata:null,type:i})}}}},e.prototype.hasAotSummary=function(e){return!!this._summaryResolver.resolveSummary(e)},e.prototype._filterJitIdentifiers=function(e){var t=this;return e.map((function(e){return e.reference})).filter((function(e){return!t.hasAotSummary(e)}))},e.prototype._compileModuleAndComponents=function(e,t){var r=this;return It(this._loadModules(e,t),(function(){return r._compileComponents(e,null),r._compileModule(e)}))},e.prototype._compileModuleAndAllComponents=function(e,t){var r=this;return It(this._loadModules(e,t),(function(){var t=[];return r._compileComponents(e,t),{ngModuleFactory:r._compileModule(e),componentFactories:t}}))},e.prototype._loadModules=function(e,t){var r=this,n=[],i=this._metadataResolver.getNgModuleMetadata(e);return this._filterJitIdentifiers(i.transitiveModule.modules).forEach((function(e){var i=r._metadataResolver.getNgModuleMetadata(e);r._filterJitIdentifiers(i.declaredDirectives).forEach((function(e){var a=r._metadataResolver.loadDirectiveMetadata(i.type.reference,e,t);a&&n.push(a)})),r._filterJitIdentifiers(i.declaredPipes).forEach((function(e){return r._metadataResolver.getOrLoadPipeMetadata(e)}))})),kt(n)},e.prototype._compileModule=function(e){var t=this._compiledNgModuleCache.get(e);if(!t){var r=this._metadataResolver.getNgModuleMetadata(e),n=this.getExtraNgModuleProviders(r.type.reference),i=Lh(),a=this._ngModuleCompiler.compile(i,r,n);t=this._interpretOrJit(kr(r),i.statements)[a.ngModuleFactoryVar],this._compiledNgModuleCache.set(r.type.reference,t)}return t},e.prototype._compileComponents=function(e,t){var r=this,n=this._metadataResolver.getNgModuleMetadata(e),i=new Map,a=new Set,s=this._filterJitIdentifiers(n.transitiveModule.modules);s.forEach((function(e){var n=r._metadataResolver.getNgModuleMetadata(e);r._filterJitIdentifiers(n.declaredDirectives).forEach((function(e){i.set(e,n);var s=r._metadataResolver.getDirectiveMetadata(e);if(s.isComponent&&(a.add(r._createCompiledTemplate(s,n)),t)){var o=r._createCompiledHostTemplate(s.type.reference,n);a.add(o),t.push(s.componentFactory)}}))})),s.forEach((function(e){var t=r._metadataResolver.getNgModuleMetadata(e);r._filterJitIdentifiers(t.declaredDirectives).forEach((function(e){var t=r._metadataResolver.getDirectiveMetadata(e);t.isComponent&&t.entryComponents.forEach((function(e){var t=i.get(e.componentType);a.add(r._createCompiledHostTemplate(e.componentType,t))}))})),t.entryComponents.forEach((function(e){if(!r.hasAotSummary(e.componentType)){var t=i.get(e.componentType);a.add(r._createCompiledHostTemplate(e.componentType,t))}}))})),a.forEach((function(e){return r._compileTemplate(e)}))},e.prototype.clearCacheFor=function(e){this._compiledNgModuleCache.delete(e),this._metadataResolver.clearCacheFor(e),this._compiledHostTemplateCache.delete(e),this._compiledTemplateCache.get(e)&&this._compiledTemplateCache.delete(e)},e.prototype.clearCache=function(){this._metadataResolver.clearCache(),this._compiledTemplateCache.clear(),this._compiledHostTemplateCache.clear(),this._compiledNgModuleCache.clear()},e.prototype._createCompiledHostTemplate=function(e,t){if(!t)throw new Error("Component "+Xt(e)+" is not part of any NgModule or the module has not been imported into your module.");var r=this._compiledHostTemplateCache.get(e);if(!r){var n=this._metadataResolver.getDirectiveMetadata(e);kh(n);var i=this._metadataResolver.getHostComponentMetadata(n,n.componentFactory.viewDefFactory);r=new Ih(!0,n.type,i,t,[n.type]),this._compiledHostTemplateCache.set(e,r)}return r},e.prototype._createCompiledTemplate=function(e,t){var r=this._compiledTemplateCache.get(e.type.reference);return r||(kh(e),r=new Ih(!1,e.type,e,t,t.transitiveModule.directives),this._compiledTemplateCache.set(e.type.reference,r)),r},e.prototype._compileTemplate=function(e){var t=this;if(!e.isCompiled){var r=e.compMeta,n=new Map,i=Lh(),a=this._styleCompiler.compileComponent(i,r);r.template.externalStylesheets.forEach((function(e){var i=t._styleCompiler.compileStyles(Lh(),r,e);n.set(e.moduleUrl,i)})),this._resolveStylesCompileResult(a,n);e.ngModule.transitiveModule.pipes.map((function(e){return t._metadataResolver.getPipeSummary(e.reference)}));var s=this._parseTemplate(r,e.ngModule,e.directives),o=s.template,u=s.pipes,l=this._viewCompiler.compileComponent(i,r,o,yt(a.stylesVar),u),c=this._interpretOrJit(Lr(e.ngModule.type,e.compMeta),i.statements),p=c[l.viewClassVar],f=c[l.rendererTypeVar];e.compiled(p,f)}},e.prototype._parseTemplate=function(e,t,r){var n=this,i=e.template.preserveWhitespaces,a=r.map((function(e){return n._metadataResolver.getDirectiveSummary(e.reference)})),s=t.transitiveModule.pipes.map((function(e){return n._metadataResolver.getPipeSummary(e.reference)}));return this._templateParser.parse(e,e.template.htmlAst,a,s,t.schemas,Nr(t.type,e,e.template),i)},e.prototype._resolveStylesCompileResult=function(e,t){var r=this;e.dependencies.forEach((function(e,n){var i=t.get(e.moduleUrl),a=r._resolveAndEvalStylesCompileResult(i,t);e.setValue(a)}))},e.prototype._resolveAndEvalStylesCompileResult=function(e,t){return this._resolveStylesCompileResult(e,t),this._interpretOrJit(Ir(e.meta,this._sharedStylesheetCount++),e.outputCtx.statements)[e.stylesVar]},e.prototype._interpretOrJit=function(e,t){return this._compilerConfig.useJit?Ii(e,t,this._reflector,this._compilerConfig.jitDevMode):
605/**
606 * @license
607 * Copyright Google Inc. All Rights Reserved.
608 *
609 * Use of this source code is governed by an MIT-style license that can be
610 * found in the LICENSE file at https://angular.io/license
611 */
612function(e,t){var r=new Ch(null,null,null,new Map);new wh(t).visitAllStatements(e,r);var n={};return r.exports.forEach((function(e){n[e]=r.vars.get(e)})),n}(t,this._reflector)},e}(),Ih=function(){function e(e,t,r,n,i){this.isHost=e,this.compType=t,this.compMeta=r,this.ngModule=n,this.directives=i,this._viewClass=null,this.isCompiled=!1}return e.prototype.compiled=function(e,t){for(var r in this._viewClass=e,this.compMeta.componentViewType.setDelegate(e),t)this.compMeta.rendererType[r]=t[r];this.isCompiled=!0},e}();function kh(e){if(!e.isComponent)throw new Error("Could not compile '"+dr(e.type)+"' because it is not a component.")}function Lh(){return{statements:[],genFilePath:"",importExpr:function(e){return mt({name:dr(e),moduleName:null,runtime:e})},constantPool:new Zt}}
613/**
614 * @license
615 * Copyright Google Inc. All Rights Reserved.
616 *
617 * Use of this source code is governed by an MIT-style license that can be
618 * found in the LICENSE file at https://angular.io/license
619 */var Mh=function(){};
620/**
621 * @license
622 * Copyright Google Inc. All Rights Reserved.
623 *
624 * Use of this source code is governed by an MIT-style license that can be
625 * found in the LICENSE file at https://angular.io/license
626 */function Bh(){return new Rh}function jh(){return new Rh(".")}var Rh=function(){function e(e){void 0===e&&(e=null),this._packagePrefix=e}return e.prototype.resolve=function(e,t){var r=t;null!=e&&e.length>0&&(r=function(e,t){var r=Kh(encodeURI(t)),n=Kh(e);if(null!=r[qh.Scheme])return Xh(r);r[qh.Scheme]=n[qh.Scheme];for(var i=qh.Scheme;i<=qh.Port;i++)null==r[i]&&(r[i]=n[i]);if("/"==r[qh.Path][0])return Xh(r);var a=n[qh.Path];null==a&&(a="/");var s=a.lastIndexOf("/");return a=a.substring(0,s+1)+r[qh.Path],r[qh.Path]=a,Xh(r)}
627/**
628 * @license
629 * Copyright Google Inc. All Rights Reserved.
630 *
631 * Use of this source code is governed by an MIT-style license that can be
632 * found in the LICENSE file at https://angular.io/license
633 */(e,r));var n=Kh(r),i=this._packagePrefix;if(null!=i&&null!=n&&"package"==n[qh.Scheme]){var a=n[qh.Path];return(i=i.replace(/\/+$/,""))+"/"+(a=a.replace(/^\/+/,""))}return r},e}();function Vh(e){var t=Kh(e);return t&&t[qh.Scheme]||""}var qh,Uh=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$");function Kh(e){return e.match(Uh)}function Xh(e){var t,r,n,i,a,s,o,u,l=e[qh.Path];return l=null==l?"":function(e){if("/"==e)return"/";for(var t="/"==e[0]?"/":"",r="/"===e[e.length-1]?"/":"",n=e.split("/"),i=[],a=0,s=0;s<n.length;s++){var o=n[s];switch(o){case"":case".":break;case"..":i.length>0?i.pop():a++;break;default:i.push(o)}}if(""==t){for(;a-- >0;)i.unshift("..");0===i.length&&i.push(".")}return t+i.join("/")+r}(l),e[qh.Path]=l,t=e[qh.Scheme],r=e[qh.UserInfo],n=e[qh.Domain],i=e[qh.Port],a=l,s=e[qh.QueryData],o=e[qh.Fragment],u=[],null!=t&&u.push(t+":"),null!=n&&(u.push("//"),null!=r&&u.push(r+"@"),u.push(n),null!=i&&u.push(":"+i)),null!=a&&u.push(a),null!=s&&u.push("?"+s),null!=o&&u.push("#"+o),u.join("")}!function(e){e[e.Scheme=1]="Scheme",e[e.UserInfo=2]="UserInfo",e[e.Domain=3]="Domain",e[e.Port=4]="Port",e[e.Path=5]="Path",e[e.QueryData=6]="QueryData",e[e.Fragment=7]="Fragment"}(qh||(qh={}));var Jh=function(){function e(){}return e.prototype.get=function(e){return""},e}(),Yh=function(){function e(e,t,r,n){this.host=e,this.staticSymbolResolver=t,this.messageBundle=r,this.metadataResolver=n}return e.prototype.extract=function(e){var t=this,r=qd(e,this.host,this.staticSymbolResolver,this.metadataResolver),n=r.files,a=r.ngModules;return Promise.all(a.map((function(e){return t.metadataResolver.loadNgModuleDirectiveAndPipeMetadata(e.type.reference,!1)}))).then((function(){var e=[];if(n.forEach((function(r){var n=[];r.directives.forEach((function(e){var r=t.metadataResolver.getDirectiveMetadata(e);r&&r.isComponent&&n.push(r)})),n.forEach((function(r){var n=r.template.template,a=r.template.templateUrl,s=No.fromArray(r.template.interpolation);e.push.apply(e,Object(i.d)(t.messageBundle.updateFromTemplate(n,a,s)))}))})),e.length)throw new Error(e.map((function(e){return e.toString()})).join("\n"));return t.messageBundle}))},e.create=function(t,r){var n=new mu,i=Sh(t),a=new ur,s=new Eh(t,a),o=new wd(t,a,s),u=new ih(s,o),l=new rp({defaultEncapsulation:v.Emulated,useJit:!1}),c=new ip({get:function(e){return t.loadResource(e)}},i,n,l),p=new Lu,f=new rf(l,n,new Af(u),new op(u),new _f(u),s,p,c,console,a,u),d=new Td(n,[],{},r);return{extractor:new e(t,o,d,f),staticReflector:u}},e}(),Wh=function(){function e(e){this.directiveMatcher=e}return e.prototype.bind=function(e){if(!e.template)throw new Error("Binding without a template not yet supported");var t=$h.apply(e.template),r=Hh.apply(e.template,this.directiveMatcher),n=r.directives,i=r.bindings,a=r.references,s=zh.apply(e.template,t),o=s.expressions,u=s.symbols,l=s.nestingLevel;return new Gh(e,n,i,a,o,u,l)},e}(),$h=function(){function e(e){this.parentScope=e,this.namedEntities=new Map,this.childScopes=new Map}return e.apply=function(t){var r=new e;return r.ingest(t),r},e.prototype.ingest=function(e){var t=this;e instanceof Yu?(e.variables.forEach((function(e){return t.visitVariable(e)})),e.children.forEach((function(e){return e.visit(t)}))):e.forEach((function(e){return e.visit(t)}))},e.prototype.visitElement=function(e){var t=this;e.references.forEach((function(e){return t.visitReference(e)})),e.children.forEach((function(e){return e.visit(t)}))},e.prototype.visitTemplate=function(t){var r=this;t.references.forEach((function(e){return r.visitReference(e)}));var n=new e(this);n.ingest(t),this.childScopes.set(t,n)},e.prototype.visitVariable=function(e){this.maybeDeclare(e)},e.prototype.visitReference=function(e){this.maybeDeclare(e)},e.prototype.visitContent=function(e){},e.prototype.visitBoundAttribute=function(e){},e.prototype.visitBoundEvent=function(e){},e.prototype.visitBoundText=function(e){},e.prototype.visitText=function(e){},e.prototype.visitTextAttribute=function(e){},e.prototype.visitIcu=function(e){},e.prototype.maybeDeclare=function(e){this.namedEntities.has(e.name)||this.namedEntities.set(e.name,e)},e.prototype.lookup=function(e){return this.namedEntities.has(e)?this.namedEntities.get(e):void 0!==this.parentScope?this.parentScope.lookup(e):null},e.prototype.getChildScope=function(e){var t=this.childScopes.get(e);if(void 0===t)throw new Error("Assertion error: child scope for "+e+" not found");return t},e}(),Hh=function(){function e(e,t,r,n){this.matcher=e,this.directives=t,this.bindings=r,this.references=n}return e.apply=function(t,r){var n=new Map,i=new Map,a=new Map;return new e(r,n,i,a).ingest(t),{directives:n,bindings:i,references:a}},e.prototype.ingest=function(e){var t=this;e.forEach((function(e){return e.visit(t)}))},e.prototype.visitElement=function(e){this.visitElementOrTemplate(e.name,e)},e.prototype.visitTemplate=function(e){this.visitElementOrTemplate("ng-template",e)},e.prototype.visitElementOrTemplate=function(e,t){var r=this,n=new E;n.setElement(e);var a=ci(t);Object.getOwnPropertyNames(a).forEach((function(e){var t=a[e];(n.addAttribute(e,t),"class"===e.toLowerCase())&&t.trim().split(/\s+/g).forEach((function(e){return n.addClassName(e)}))}));var s=[];this.matcher.match(n,(function(e,t){return s.push(t)})),s.length>0&&this.directives.set(t,s),t.references.forEach((function(e){var n=null;if(""===e.value.trim())n=s.find((function(e){return e.isComponent}))||null;else if(null===(n=s.find((function(t){return t.exportAs===e.value}))||null))throw new Error("Assertion error: failed to find directive with exportAs: "+e.value);null!==n?r.references.set(e,{directive:n,node:t}):r.references.set(e,t)})),Object(i.d)(t.attributes,t.inputs).forEach((function(e){var n=s.find((function(t){return t.inputs.hasOwnProperty(e.name)}));void 0!==n?r.bindings.set(e,n):r.bindings.set(e,t)})),t.outputs.forEach((function(e){var n=s.find((function(t){return t.outputs.hasOwnProperty(e.name)}));void 0!==n?r.bindings.set(e,n):r.bindings.set(e,t)})),t.children.forEach((function(e){return e.visit(r)}))},e.prototype.visitContent=function(e){},e.prototype.visitVariable=function(e){},e.prototype.visitReference=function(e){},e.prototype.visitTextAttribute=function(e){},e.prototype.visitBoundAttribute=function(e){},e.prototype.visitBoundEvent=function(e){},e.prototype.visitBoundAttributeOrEvent=function(e){},e.prototype.visitText=function(e){},e.prototype.visitBoundText=function(e){},e.prototype.visitIcu=function(e){},e}(),zh=function(e){function t(t,r,n,i,a,s){var o=e.call(this)||this;return o.bindings=t,o.symbols=r,o.nestingLevel=n,o.scope=i,o.template=a,o.level=s,o.visitNode=function(e){return e.visit(o)},o}return Object(i.b)(t,e),t.apply=function(e,r){var n=new Map,i=new Map,a=new Map;return new t(n,i,a,r,e instanceof Yu?e:null,0).ingest(e),{expressions:n,symbols:i,nestingLevel:a}},t.prototype.ingest=function(e){e instanceof Yu?(e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.variables.forEach(this.visitNode),e.children.forEach(this.visitNode),this.nestingLevel.set(e,this.level)):e.forEach(this.visitNode)},t.prototype.visitElement=function(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.children.forEach(this.visitNode)},t.prototype.visitTemplate=function(e){e.inputs.forEach(this.visitNode),e.outputs.forEach(this.visitNode),e.references.forEach(this.visitNode);var r=this.scope.getChildScope(e);new t(this.bindings,this.symbols,this.nestingLevel,r,e,this.level+1).ingest(e)},t.prototype.visitVariable=function(e){null!==this.template&&this.symbols.set(e,this.template)},t.prototype.visitReference=function(e){null!==this.template&&this.symbols.set(e,this.template)},t.prototype.visitText=function(e){},t.prototype.visitContent=function(e){},t.prototype.visitTextAttribute=function(e){},t.prototype.visitIcu=function(e){},t.prototype.visitBoundAttribute=function(e){e.value.visit(this)},t.prototype.visitBoundEvent=function(e){e.handler.visit(this)},t.prototype.visitBoundText=function(e){e.value.visit(this)},t.prototype.visitPropertyRead=function(t,r){return this.maybeMap(r,t,t.name),e.prototype.visitPropertyRead.call(this,t,r)},t.prototype.visitSafePropertyRead=function(t,r){return this.maybeMap(r,t,t.name),e.prototype.visitSafePropertyRead.call(this,t,r)},t.prototype.visitPropertyWrite=function(t,r){return this.maybeMap(r,t,t.name),e.prototype.visitPropertyWrite.call(this,t,r)},t.prototype.visitMethodCall=function(t,r){return this.maybeMap(r,t,t.name),e.prototype.visitMethodCall.call(this,t,r)},t.prototype.visitSafeMethodCall=function(t,r){return this.maybeMap(r,t,t.name),e.prototype.visitSafeMethodCall.call(this,t,r)},t.prototype.maybeMap=function(e,t,r){if(t.receiver instanceof Yi){var n=this.scope.lookup(r);null!==n&&this.bindings.set(t,n)}},t}(ha),Gh=function(){function e(e,t,r,n,i,a,s){this.target=e,this.directives=t,this.bindings=r,this.references=n,this.exprTargets=i,this.symbols=a,this.nestingLevel=s}return e.prototype.getDirectivesOfNode=function(e){return this.directives.get(e)||null},e.prototype.getReferenceTarget=function(e){return this.references.get(e)||null},e.prototype.getConsumerOfBinding=function(e){return this.bindings.get(e)||null},e.prototype.getExpressionTarget=function(e){return this.exprTargets.get(e)||null},e.prototype.getTemplateOfSymbol=function(e){return this.symbols.get(e)||null},e.prototype.getNestingLevel=function(e){return this.nestingLevel.get(e)||0},e.prototype.getUsedDirectives=function(){var e=new Set;return this.directives.forEach((function(t){return t.forEach((function(t){return e.add(t)}))})),Array.from(e.values())},e}();
634/**
635 * @license
636 * Copyright Google Inc. All Rights Reserved.
637 *
638 * Use of this source code is governed by an MIT-style license that can be
639 * found in the LICENSE file at https://angular.io/license
640 */
641/**
642 * @license
643 * Copyright Google Inc. All Rights Reserved.
644 *
645 * Use of this source code is governed by an MIT-style license that can be
646 * found in the LICENSE file at https://angular.io/license
647 */
648Lc(zt)}.call(this,r(18))},function(e,t,r){var n=r(83),i=[r(267)],a=r(42),s=r(1).INJECTED_SOURCE_PLACEHOLDER,o=r(138),u=o.getChildrenString,l=o.getFieldValue,c=o.getPropValueString,p=o.hasValueSet,f=o.isDefaultValue;function d(e,t,r){return e&&0!==e.length?e.reduce((function(e,n){return"".concat(e," ").concat(function(e,t,r){if(!p(e,r))return"";var n=l(e,r);if(f(t,n))return"";if("boolean"==typeof n&&n)return"".concat(e.name);var i=!e.isExpression&&"string"==typeof n,a=i?'"':"{",s=i?'"':"}";return e.name?"".concat(e.name,"=").concat(a).concat(c(n)).concat(s," "):c(n)}(n,t[n.name],r))}),""):""}e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(a(e))return"";var l="<".concat(e.componentName),c=d(e.props,r,o),p=u(e.children,o),f=p?">":"/>",h=p?"</".concat(e.componentName,">"):"",y="".concat(l," ").concat(c," ").concat(f).concat(p).concat(h),m=e.sourceTemplate.replace(s,y),v=Object.assign({},{parser:"babel",plugins:i},t);try{return n.format(m,v)}catch(e){return e.message}}},function(e,t,r){var n=r(83),i=[r(139)],a=r(42),s=r(645),o=r(1).INJECTED_SOURCE_PLACEHOLDER,u=r(138),l=u.getChildrenString,c=u.getFieldValue,p=u.getPropValueString,f=u.hasValueSet,d=u.isDefaultValue;function h(e,t,r){return e&&0!==e.length?e.reduce((function(e,n){return"".concat(e," ").concat(function(e,t,r){if(!f(e,r))return e.name+" ";var n=c(e,r);if(d(t,n))return"";return"".concat(e.name,'="').concat(p(n),'" ')}(n,t[n.name],r))}),""):""}e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=arguments.length>3?arguments[3]:void 0;if(a(e))return"";var c="<".concat(e.componentName),p=h(e.props,r,u),f=l(e.children,u),d=">",y="</".concat(e.componentName,">"),m=s(p),v="".concat(c).concat(m).concat(d).concat(f).concat(y),g=e.sourceTemplate.replace(o,v),T=Object.assign({},{parser:"vue",plugins:i},t);try{return n.format(g,T)}catch(e){return e.message}}},function(e,t,r){var n=r(199),i=r(646),a=r(648),s=r(649),o=r(111),u=/\s+$/;e.exports=function(e,t,r){if((e=o(e))&&(r||void 0===t))return e.replace(u,"");if(!e||!(t=n(t)))return e;var l=s(e),c=a(l,s(t))+1;return i(l,0,c).join("")}},function(e,t,r){var n=r(647);e.exports=function(e,t,r){var i=e.length;return r=void 0===r?i:r,!t&&r>=i?e:n(e,t,r)}},function(e,t){e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++n<i;)a[n]=e[n+t];return a}},function(e,t,r){var n=r(108);e.exports=function(e,t){for(var r=e.length;r--&&n(t,e[r],0)>-1;);return r}},function(e,t,r){var n=r(650),i=r(651),a=r(652);e.exports=function(e){return i(e)?a(e):n(e)}},function(e,t){e.exports=function(e){return e.split("")}},function(e,t){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return r.test(e)}},function(e,t){var r="[\\ud800-\\udfff]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",a="[^\\ud800-\\udfff]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+i+")"+"?",l="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[a,s,o].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),c="(?:"+[a+n+"?",n,s,o,r].join("|")+")",p=RegExp(i+"(?="+i+")|"+c+l,"g");e.exports=function(e){return e.match(p)||[]}},function(e,t,r){var n=r(83),i=[r(139)],a=r(42),s=r(1).INJECTED_SOURCE_PLACEHOLDER,o=r(138),u=o.getChildrenString,l=o.getFieldValue,c=o.hasValueSet,p=o.isDefaultValue,f=o.getPropValueString;function d(e,t,r){return e&&0!==e.length?e.reduce((function(e,n){return"".concat(e," ").concat(function(e,t,r){if(!c(e,r))return e.name+" ";var n=l(e,r);if(p(t,n))return"";return"".concat(e.name,'="').concat(f(n),'" ')}(n,t[n.name],r))}),""):""}e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(a(e))return"";var l="<".concat(e.componentName),c=d(e.props,r,o),p=u(e.children,o),f=">",h="</".concat(e.componentName,">"),y="".concat(l).concat(c).concat(f).concat(p).concat(h),m=e.sourceTemplate.replace(s,y),v=Object.assign({},{parser:"angular",plugins:i},t);try{return n.format(m,v)}catch(e){return e.message}}},function(e,t,r){var n=r(83),i=[r(139)],a=r(42);e.exports=function(e){var t=e.sampleCode,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};arguments.length>2&&void 0!==arguments[2]&&arguments[2],arguments.length>3&&arguments[3];if(a(t))return"";var s=Object.assign({},{parser:"html",plugins:i},r);try{return n.format(t,s)}catch(e){return e.message}}},,,,,,,,,,,,,,,,,,,,,,function(e,t,r){t.getSampleCodeBuilder=r(280).getSampleCodeBuilder,t.constants=r(1),t.getLanguageByFramework=r(281).getLanguageByFramework}])}));
\No newline at end of file